Lines Matching defs:opl3_reg
350 unsigned short opl3_reg;
371 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][0]);
372 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 1 volume */
373 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][1]);
374 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 2 volume */
376 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset);
377 opl3->command(opl3, opl3_reg, 0x00); /* Note off */
395 unsigned short opl3_reg;
417 opl3_reg = reg_side | (OPL3_REG_FNUM_LOW + voice_offset);
418 opl3->command(opl3, opl3_reg, reg_val);
430 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset);
431 opl3->command(opl3, opl3_reg, reg_val);
443 unsigned short opl3_reg;
487 opl3_reg = reg_side | (OPL3_REG_AM_VIB + op_offset);
488 opl3->command(opl3, opl3_reg, reg_val);
496 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + op_offset);
497 opl3->command(opl3, opl3_reg, reg_val);
505 opl3_reg = reg_side | (OPL3_REG_ATTACK_DECAY + op_offset);
506 opl3->command(opl3, opl3_reg, reg_val);
514 opl3_reg = reg_side | (OPL3_REG_SUSTAIN_RELEASE + op_offset);
515 opl3->command(opl3, opl3_reg, reg_val);
530 opl3_reg = reg_side | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset);
531 opl3->command(opl3, opl3_reg, reg_val);
535 opl3_reg = reg_side | (OPL3_REG_WAVE_SELECT + op_offset);
536 opl3->command(opl3, opl3_reg, reg_val);