/kernel/linux/linux-5.10/sound/drivers/opl3/ |
H A D | opl3_drums.c | 72 unsigned short opl3_reg; in snd_opl3_drum_voice_set() local 75 opl3_reg = OPL3_LEFT | (OPL3_REG_AM_VIB + op_offset); in snd_opl3_drum_voice_set() 76 opl3->command(opl3, opl3_reg, data->am_vib); in snd_opl3_drum_voice_set() 79 opl3_reg = OPL3_LEFT | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_drum_voice_set() 80 opl3->command(opl3, opl3_reg, data->ksl_level); in snd_opl3_drum_voice_set() 83 opl3_reg = OPL3_LEFT | (OPL3_REG_ATTACK_DECAY + op_offset); in snd_opl3_drum_voice_set() 84 opl3->command(opl3, opl3_reg, data->attack_decay); in snd_opl3_drum_voice_set() 87 opl3_reg = OPL3_LEFT | (OPL3_REG_SUSTAIN_RELEASE + op_offset); in snd_opl3_drum_voice_set() 88 opl3->command(opl3, opl3_reg, data->sustain_release); in snd_opl3_drum_voice_set() 91 opl3_reg in snd_opl3_drum_voice_set() 106 unsigned short opl3_reg; snd_opl3_drum_note_set() local 127 unsigned short opl3_reg; snd_opl3_drum_vol_set() local [all...] |
H A D | opl3_midi.c | 292 unsigned short opl3_reg; in snd_opl3_note_on() local 395 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_note_on() 397 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on() 402 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + in snd_opl3_note_on() 405 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on() 414 opl3_reg = OPL3_RIGHT | OPL3_REG_CONNECTION_SELECT; in snd_opl3_note_on() 415 opl3->command(opl3, opl3_reg, opl3->connection_reg); in snd_opl3_note_on() 421 opl3_reg = OPL3_RIGHT | OPL3_REG_CONNECTION_SELECT; in snd_opl3_note_on() 422 opl3->command(opl3, opl3_reg, opl3->connection_reg); in snd_opl3_note_on() 468 opl3_reg in snd_opl3_note_on() 609 unsigned short opl3_reg; snd_opl3_kill_voice() local 728 unsigned short opl3_reg; snd_opl3_update_pitch() local [all...] |
H A D | opl3_synth.c | 350 unsigned short opl3_reg; in snd_opl3_reset() local 371 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][0]); in snd_opl3_reset() 372 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 1 volume */ in snd_opl3_reset() 373 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][1]); in snd_opl3_reset() 374 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 2 volume */ in snd_opl3_reset() 376 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_reset() 377 opl3->command(opl3, opl3_reg, 0x00); /* Note off */ in snd_opl3_reset() 395 unsigned short opl3_reg; in snd_opl3_play_note() local 417 opl3_reg = reg_side | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_play_note() 418 opl3->command(opl3, opl3_reg, reg_va in snd_opl3_play_note() 443 unsigned short opl3_reg; snd_opl3_set_voice() local [all...] |
/kernel/linux/linux-6.6/sound/drivers/opl3/ |
H A D | opl3_drums.c | 72 unsigned short opl3_reg; in snd_opl3_drum_voice_set() local 75 opl3_reg = OPL3_LEFT | (OPL3_REG_AM_VIB + op_offset); in snd_opl3_drum_voice_set() 76 opl3->command(opl3, opl3_reg, data->am_vib); in snd_opl3_drum_voice_set() 79 opl3_reg = OPL3_LEFT | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_drum_voice_set() 80 opl3->command(opl3, opl3_reg, data->ksl_level); in snd_opl3_drum_voice_set() 83 opl3_reg = OPL3_LEFT | (OPL3_REG_ATTACK_DECAY + op_offset); in snd_opl3_drum_voice_set() 84 opl3->command(opl3, opl3_reg, data->attack_decay); in snd_opl3_drum_voice_set() 87 opl3_reg = OPL3_LEFT | (OPL3_REG_SUSTAIN_RELEASE + op_offset); in snd_opl3_drum_voice_set() 88 opl3->command(opl3, opl3_reg, data->sustain_release); in snd_opl3_drum_voice_set() 91 opl3_reg in snd_opl3_drum_voice_set() 106 unsigned short opl3_reg; snd_opl3_drum_note_set() local 127 unsigned short opl3_reg; snd_opl3_drum_vol_set() local [all...] |
H A D | opl3_midi.c | 291 unsigned short opl3_reg; in snd_opl3_note_on() local 394 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_note_on() 396 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on() 401 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + in snd_opl3_note_on() 404 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on() 413 opl3_reg = OPL3_RIGHT | OPL3_REG_CONNECTION_SELECT; in snd_opl3_note_on() 414 opl3->command(opl3, opl3_reg, opl3->connection_reg); in snd_opl3_note_on() 420 opl3_reg = OPL3_RIGHT | OPL3_REG_CONNECTION_SELECT; in snd_opl3_note_on() 421 opl3->command(opl3, opl3_reg, opl3->connection_reg); in snd_opl3_note_on() 467 opl3_reg in snd_opl3_note_on() 608 unsigned short opl3_reg; snd_opl3_kill_voice() local 727 unsigned short opl3_reg; snd_opl3_update_pitch() local [all...] |
H A D | opl3_synth.c | 350 unsigned short opl3_reg; in snd_opl3_reset() local 371 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][0]); in snd_opl3_reset() 372 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 1 volume */ in snd_opl3_reset() 373 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][1]); in snd_opl3_reset() 374 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 2 volume */ in snd_opl3_reset() 376 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_reset() 377 opl3->command(opl3, opl3_reg, 0x00); /* Note off */ in snd_opl3_reset() 395 unsigned short opl3_reg; in snd_opl3_play_note() local 417 opl3_reg = reg_side | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_play_note() 418 opl3->command(opl3, opl3_reg, reg_va in snd_opl3_play_note() 443 unsigned short opl3_reg; snd_opl3_set_voice() local [all...] |