Lines Matching refs:opl3_reg

348 	unsigned short opl3_reg;  in snd_opl3_reset()  local
369 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][0]); in snd_opl3_reset()
370 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 1 volume */ in snd_opl3_reset()
371 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][1]); in snd_opl3_reset()
372 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 2 volume */ in snd_opl3_reset()
374 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_reset()
375 opl3->command(opl3, opl3_reg, 0x00); /* Note off */ in snd_opl3_reset()
393 unsigned short opl3_reg; in snd_opl3_play_note() local
415 opl3_reg = reg_side | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_play_note()
416 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_play_note()
428 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_play_note()
429 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_play_note()
441 unsigned short opl3_reg; in snd_opl3_set_voice() local
485 opl3_reg = reg_side | (OPL3_REG_AM_VIB + op_offset); in snd_opl3_set_voice()
486 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_set_voice()
494 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + op_offset); in snd_opl3_set_voice()
495 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_set_voice()
503 opl3_reg = reg_side | (OPL3_REG_ATTACK_DECAY + op_offset); in snd_opl3_set_voice()
504 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_set_voice()
512 opl3_reg = reg_side | (OPL3_REG_SUSTAIN_RELEASE + op_offset); in snd_opl3_set_voice()
513 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_set_voice()
528 opl3_reg = reg_side | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_set_voice()
529 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_set_voice()
533 opl3_reg = reg_side | (OPL3_REG_WAVE_SELECT + op_offset); in snd_opl3_set_voice()
534 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_set_voice()