Home
last modified time | relevance | path

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

/Linux-v4.19/sound/drivers/opl3/
Dopl3_synth.c365 unsigned char voice_offset; in snd_opl3_reset() local
377 voice_offset = i; in snd_opl3_reset()
381 voice_offset = i - MAX_OPL2_VOICES; in snd_opl3_reset()
383 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][0]); in snd_opl3_reset()
385 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][1]); in snd_opl3_reset()
388 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_reset()
405 unsigned char voice_offset; in snd_opl3_play_note() local
420 voice_offset = note->voice; in snd_opl3_play_note()
424 voice_offset = note->voice - MAX_OPL2_VOICES; in snd_opl3_play_note()
429 opl3_reg = reg_side | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_play_note()
[all …]
Dopl3_midi.c305 unsigned char voice_offset; in snd_opl3_note_on() local
397 voice_offset = voice; in snd_opl3_note_on()
398 connect_mask = (OPL3_LEFT_4OP_0 << voice_offset) & 0x07; in snd_opl3_note_on()
402 voice_offset = voice - MAX_OPL2_VOICES; in snd_opl3_note_on()
403 connect_mask = (OPL3_RIGHT_4OP_0 << voice_offset) & 0x38; in snd_opl3_note_on()
409 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_note_on()
417 voice_offset + 3); in snd_opl3_note_on()
478 op_offset = snd_opl3_regmap[voice_offset][i]; in snd_opl3_note_on()
514 opl3_reg = reg_side | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_note_on()
527 voice_offset + 3); in snd_opl3_note_on()
[all …]
Dopl3_drums.c85 unsigned char voice_offset = data->voice; in snd_opl3_drum_voice_set() local
105 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_drum_voice_set()
119 unsigned char voice_offset = data->voice; in snd_opl3_drum_note_set() local
123 opl3_reg = OPL3_LEFT | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_drum_note_set()
127 opl3_reg = OPL3_LEFT | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_drum_note_set()
139 unsigned char voice_offset = data->voice; in snd_opl3_drum_vol_set() local
156 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_drum_vol_set()