Home
last modified time | relevance | path

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

/Linux-v4.19/sound/drivers/opl3/
Dopl3_midi.c70 oldvol = OPL3_TOTAL_LEVEL_MASK - (*volbyte & OPL3_TOTAL_LEVEL_MASK); in snd_opl3_calc_volume()
73 if (newvol > OPL3_TOTAL_LEVEL_MASK) in snd_opl3_calc_volume()
74 newvol = OPL3_TOTAL_LEVEL_MASK; in snd_opl3_calc_volume()
78 n = OPL3_TOTAL_LEVEL_MASK - (newvol & OPL3_TOTAL_LEVEL_MASK); in snd_opl3_calc_volume()
80 *volbyte = (*volbyte & OPL3_KSL_MASK) | (n & OPL3_TOTAL_LEVEL_MASK); in snd_opl3_calc_volume()
Dopl3_synth.c384 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 1 volume */ in snd_opl3_reset()
386 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 2 volume */ in snd_opl3_reset()
505 reg_val |= ~voice->volume & OPL3_TOTAL_LEVEL_MASK; in snd_opl3_set_voice()
/Linux-v4.19/include/sound/
Dopl3.h123 #define OPL3_TOTAL_LEVEL_MASK 0x3f /* Strength (volume) of OP */ macro