Lines Matching defs:opl3_reg
359 unsigned short opl3_reg;
380 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][0]);
381 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 1 volume */
382 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][1]);
383 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 2 volume */
385 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset);
386 opl3->command(opl3, opl3_reg, 0x00); /* Note off */
404 unsigned short opl3_reg;
426 opl3_reg = reg_side | (OPL3_REG_FNUM_LOW + voice_offset);
427 opl3->command(opl3, opl3_reg, reg_val);
439 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset);
440 opl3->command(opl3, opl3_reg, reg_val);
452 unsigned short opl3_reg;
494 opl3_reg = reg_side | (OPL3_REG_AM_VIB + op_offset);
495 opl3->command(opl3, opl3_reg, reg_val);
503 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + op_offset);
504 opl3->command(opl3, opl3_reg, reg_val);
512 opl3_reg = reg_side | (OPL3_REG_ATTACK_DECAY + op_offset);
513 opl3->command(opl3, opl3_reg, reg_val);
521 opl3_reg = reg_side | (OPL3_REG_SUSTAIN_RELEASE + op_offset);
522 opl3->command(opl3, opl3_reg, reg_val);
537 opl3_reg = reg_side | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset);
538 opl3->command(opl3, opl3_reg, reg_val);
542 opl3_reg = reg_side | (OPL3_REG_WAVE_SELECT + op_offset);
543 opl3->command(opl3, opl3_reg, reg_val);