Home
last modified time | relevance | path

Searched refs:OPL3_TOTAL_LEVEL_MASK (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/sound/drivers/opl3/
A Dopl3_midi.c56 oldvol = OPL3_TOTAL_LEVEL_MASK - (*volbyte & OPL3_TOTAL_LEVEL_MASK); in snd_opl3_calc_volume()
59 if (newvol > OPL3_TOTAL_LEVEL_MASK) in snd_opl3_calc_volume()
60 newvol = OPL3_TOTAL_LEVEL_MASK; in snd_opl3_calc_volume()
64 n = OPL3_TOTAL_LEVEL_MASK - (newvol & OPL3_TOTAL_LEVEL_MASK); in snd_opl3_calc_volume()
66 *volbyte = (*volbyte & OPL3_KSL_MASK) | (n & OPL3_TOTAL_LEVEL_MASK); in snd_opl3_calc_volume()
A Dopl3_synth.c372 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 1 volume */ in snd_opl3_reset()
374 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 2 volume */ in snd_opl3_reset()
493 reg_val |= ~voice->volume & OPL3_TOTAL_LEVEL_MASK; in snd_opl3_set_voice()
/linux-6.3-rc2/include/sound/
A Dopl3.h107 #define OPL3_TOTAL_LEVEL_MASK 0x3f /* Strength (volume) of OP */ macro

Completed in 6 milliseconds