Searched refs:opl3_reg (Results 1 – 3 of 3) sorted by relevance
/sound/drivers/opl3/ |
D | opl3_drums.c | 88 unsigned short opl3_reg; in snd_opl3_drum_voice_set() local 91 opl3_reg = OPL3_LEFT | (OPL3_REG_AM_VIB + op_offset); in snd_opl3_drum_voice_set() 92 opl3->command(opl3, opl3_reg, data->am_vib); in snd_opl3_drum_voice_set() 95 opl3_reg = OPL3_LEFT | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_drum_voice_set() 96 opl3->command(opl3, opl3_reg, data->ksl_level); in snd_opl3_drum_voice_set() 99 opl3_reg = OPL3_LEFT | (OPL3_REG_ATTACK_DECAY + op_offset); in snd_opl3_drum_voice_set() 100 opl3->command(opl3, opl3_reg, data->attack_decay); in snd_opl3_drum_voice_set() 103 opl3_reg = OPL3_LEFT | (OPL3_REG_SUSTAIN_RELEASE + op_offset); in snd_opl3_drum_voice_set() 104 opl3->command(opl3, opl3_reg, data->sustain_release); in snd_opl3_drum_voice_set() 107 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_drum_voice_set() [all …]
|
D | opl3_midi.c | 311 unsigned short opl3_reg; in snd_opl3_note_on() local 413 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_note_on() 415 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on() 420 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + in snd_opl3_note_on() 423 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on() 432 opl3_reg = OPL3_RIGHT | OPL3_REG_CONNECTION_SELECT; in snd_opl3_note_on() 433 opl3->command(opl3, opl3_reg, opl3->connection_reg); in snd_opl3_note_on() 439 opl3_reg = OPL3_RIGHT | OPL3_REG_CONNECTION_SELECT; in snd_opl3_note_on() 440 opl3->command(opl3, opl3_reg, opl3->connection_reg); in snd_opl3_note_on() 486 opl3_reg = reg_side | (OPL3_REG_AM_VIB + op_offset); in snd_opl3_note_on() [all …]
|
D | opl3_synth.c | 360 unsigned short opl3_reg; in snd_opl3_reset() local 381 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][0]); in snd_opl3_reset() 382 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 1 volume */ in snd_opl3_reset() 383 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][1]); in snd_opl3_reset() 384 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 2 volume */ in snd_opl3_reset() 386 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_reset() 387 opl3->command(opl3, opl3_reg, 0x00); /* Note off */ in snd_opl3_reset() 405 unsigned short opl3_reg; in snd_opl3_play_note() local 427 opl3_reg = reg_side | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_play_note() 428 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_play_note() [all …]
|