Home
last modified time | relevance | path

Searched refs:writeopm (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/sys/arch/x68k/dev/
H A Dopm.c121 inline static void writeopm(int, int);
129 writeopm(int reg, int dat) in writeopm() function
152 writeopm(0x1b, (readopm(0x1b) & ~OPM1B_CT1MSK) | clk); in adpcm_chgclk()
160 writeopm(0x1b, (readopm(0x1b) & ~OPM1B_CT2MSK) | rdy); in fdc_force_ready()
168 writeopm(0x08, opm0->sc_vdata[channel].sm << 3 | channel); in opm_key_on()
174 writeopm(0x08, channel); in opm_key_off()
186 writeopm(0x20 + channel, 0xc0 | (voice->fb & 0x7) << 3 | in opm_set_voice()
194 writeopm(reg, (op->dt1 & 0x7) << 3 | (op->mul & 0x7)); in opm_set_voice_sub()
197 writeopm(reg + 0x20, op->tl & 0x7f); in opm_set_voice_sub()
200 writeopm(reg + 0x40, (op->ks & 0x3) << 6 | (op->ar & 0x1f)); in opm_set_voice_sub()
[all …]