Searched refs:opl3_reg (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/sound/drivers/opl3/ |
D | opl3_drums.c | 86 unsigned short opl3_reg; in snd_opl3_drum_voice_set() local 89 opl3_reg = OPL3_LEFT | (OPL3_REG_AM_VIB + op_offset); in snd_opl3_drum_voice_set() 90 opl3->command(opl3, opl3_reg, data->am_vib); in snd_opl3_drum_voice_set() 93 opl3_reg = OPL3_LEFT | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_drum_voice_set() 94 opl3->command(opl3, opl3_reg, data->ksl_level); in snd_opl3_drum_voice_set() 97 opl3_reg = OPL3_LEFT | (OPL3_REG_ATTACK_DECAY + op_offset); in snd_opl3_drum_voice_set() 98 opl3->command(opl3, opl3_reg, data->attack_decay); in snd_opl3_drum_voice_set() 101 opl3_reg = OPL3_LEFT | (OPL3_REG_SUSTAIN_RELEASE + op_offset); in snd_opl3_drum_voice_set() 102 opl3->command(opl3, opl3_reg, data->sustain_release); in snd_opl3_drum_voice_set() 105 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_drum_voice_set() [all …]
|
D | opl3_midi.c | 306 unsigned short opl3_reg; in snd_opl3_note_on() local 409 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_note_on() 411 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on() 416 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + in snd_opl3_note_on() 419 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on() 428 opl3_reg = OPL3_RIGHT | OPL3_REG_CONNECTION_SELECT; in snd_opl3_note_on() 429 opl3->command(opl3, opl3_reg, opl3->connection_reg); in snd_opl3_note_on() 435 opl3_reg = OPL3_RIGHT | OPL3_REG_CONNECTION_SELECT; in snd_opl3_note_on() 436 opl3->command(opl3, opl3_reg, opl3->connection_reg); in snd_opl3_note_on() 482 opl3_reg = reg_side | (OPL3_REG_AM_VIB + op_offset); in snd_opl3_note_on() [all …]
|
D | opl3_synth.c | 362 unsigned short opl3_reg; in snd_opl3_reset() local 383 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][0]); in snd_opl3_reset() 384 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 1 volume */ in snd_opl3_reset() 385 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][1]); in snd_opl3_reset() 386 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 2 volume */ in snd_opl3_reset() 388 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_reset() 389 opl3->command(opl3, opl3_reg, 0x00); /* Note off */ in snd_opl3_reset() 407 unsigned short opl3_reg; in snd_opl3_play_note() local 429 opl3_reg = reg_side | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_play_note() 430 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_play_note() [all …]
|