Home
last modified time | relevance | path

Searched refs:voice_offset (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/sound/drivers/opl3/
H A Dopl3_synth.c353 unsigned char voice_offset; in snd_opl3_reset() local
365 voice_offset = i; in snd_opl3_reset()
369 voice_offset = i - MAX_OPL2_VOICES; in snd_opl3_reset()
371 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][0]); in snd_opl3_reset()
373 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][1]); in snd_opl3_reset()
376 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_reset()
393 unsigned char voice_offset; in snd_opl3_play_note() local
408 voice_offset = note->voice; in snd_opl3_play_note()
412 voice_offset = note->voice - MAX_OPL2_VOICES; in snd_opl3_play_note()
417 opl3_reg = reg_side | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_play_note()
441 unsigned char voice_offset, voice_op; snd_opl3_set_voice() local
[all...]
H A Dopl3_midi.c291 unsigned char voice_offset; in snd_opl3_note_on() local
383 voice_offset = voice; in snd_opl3_note_on()
384 connect_mask = (OPL3_LEFT_4OP_0 << voice_offset) & 0x07; in snd_opl3_note_on()
388 voice_offset = voice - MAX_OPL2_VOICES; in snd_opl3_note_on()
389 connect_mask = (OPL3_RIGHT_4OP_0 << voice_offset) & 0x38; in snd_opl3_note_on()
395 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_note_on()
403 voice_offset + 3); in snd_opl3_note_on()
464 op_offset = snd_opl3_regmap[voice_offset][i]; in snd_opl3_note_on()
500 opl3_reg = reg_side | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_note_on()
513 voice_offset in snd_opl3_note_on()
608 unsigned char voice_offset; snd_opl3_kill_voice() local
727 unsigned char voice_offset; snd_opl3_update_pitch() local
[all...]
H A Dopl3_drums.c71 unsigned char voice_offset = data->voice; in snd_opl3_drum_voice_set() local
91 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_drum_voice_set()
105 unsigned char voice_offset = data->voice; in snd_opl3_drum_note_set() local
109 opl3_reg = OPL3_LEFT | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_drum_note_set()
113 opl3_reg = OPL3_LEFT | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_drum_note_set()
125 unsigned char voice_offset = data->voice; in snd_opl3_drum_vol_set() local
142 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_drum_vol_set()
/kernel/linux/linux-6.6/sound/drivers/opl3/
H A Dopl3_synth.c353 unsigned char voice_offset; in snd_opl3_reset() local
365 voice_offset = i; in snd_opl3_reset()
369 voice_offset = i - MAX_OPL2_VOICES; in snd_opl3_reset()
371 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][0]); in snd_opl3_reset()
373 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][1]); in snd_opl3_reset()
376 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_reset()
393 unsigned char voice_offset; in snd_opl3_play_note() local
408 voice_offset = note->voice; in snd_opl3_play_note()
412 voice_offset = note->voice - MAX_OPL2_VOICES; in snd_opl3_play_note()
417 opl3_reg = reg_side | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_play_note()
441 unsigned char voice_offset, voice_op; snd_opl3_set_voice() local
[all...]
H A Dopl3_midi.c290 unsigned char voice_offset; in snd_opl3_note_on() local
382 voice_offset = voice; in snd_opl3_note_on()
383 connect_mask = (OPL3_LEFT_4OP_0 << voice_offset) & 0x07; in snd_opl3_note_on()
387 voice_offset = voice - MAX_OPL2_VOICES; in snd_opl3_note_on()
388 connect_mask = (OPL3_RIGHT_4OP_0 << voice_offset) & 0x38; in snd_opl3_note_on()
394 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_note_on()
402 voice_offset + 3); in snd_opl3_note_on()
463 op_offset = snd_opl3_regmap[voice_offset][i]; in snd_opl3_note_on()
499 opl3_reg = reg_side | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_note_on()
512 voice_offset in snd_opl3_note_on()
607 unsigned char voice_offset; snd_opl3_kill_voice() local
726 unsigned char voice_offset; snd_opl3_update_pitch() local
[all...]
H A Dopl3_drums.c71 unsigned char voice_offset = data->voice; in snd_opl3_drum_voice_set() local
91 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_drum_voice_set()
105 unsigned char voice_offset = data->voice; in snd_opl3_drum_note_set() local
109 opl3_reg = OPL3_LEFT | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_drum_note_set()
113 opl3_reg = OPL3_LEFT | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_drum_note_set()
125 unsigned char voice_offset = data->voice; in snd_opl3_drum_vol_set() local
142 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_drum_vol_set()

Completed in 5 milliseconds