Lines Matching refs:rmask
363 int rmask = 1 << ((kcontrol->private_value >> 8) & 0xff); in snd_pmac_burgundy_get_switch_w() local
368 ucontrol->value.integer.value[1] = (val & rmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_w()
378 int rmask = 1 << ((kcontrol->private_value >> 8) & 0xff); in snd_pmac_burgundy_put_switch_w() local
382 val = oval & ~(lmask | (stereo ? rmask : 0)); in snd_pmac_burgundy_put_switch_w()
386 val |= rmask; in snd_pmac_burgundy_put_switch_w()
419 int rmask = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_get_switch_b() local
424 ucontrol->value.integer.value[1] = (val & rmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_b()
434 int rmask = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_put_switch_b() local
438 val = oval & ~(lmask | rmask); in snd_pmac_burgundy_put_switch_b()
442 val |= rmask; in snd_pmac_burgundy_put_switch_b()
447 #define BURGUNDY_SWITCH_B(xname, xindex, addr, lmask, rmask, stereo) \ argument
452 .private_value = ((lmask) | ((rmask) << 8)\