Lines Matching refs:rmask
375 int rmask = 1 << ((kcontrol->private_value >> 8) & 0xff); in snd_pmac_burgundy_get_switch_w() local
380 ucontrol->value.integer.value[1] = (val & rmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_w()
390 int rmask = 1 << ((kcontrol->private_value >> 8) & 0xff); in snd_pmac_burgundy_put_switch_w() local
394 val = oval & ~(lmask | (stereo ? rmask : 0)); in snd_pmac_burgundy_put_switch_w()
398 val |= rmask; in snd_pmac_burgundy_put_switch_w()
431 int rmask = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_get_switch_b() local
436 ucontrol->value.integer.value[1] = (val & rmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_b()
446 int rmask = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_put_switch_b() local
450 val = oval & ~(lmask | rmask); in snd_pmac_burgundy_put_switch_b()
454 val |= rmask; in snd_pmac_burgundy_put_switch_b()
459 #define BURGUNDY_SWITCH_B(xname, xindex, addr, lmask, rmask, stereo) \ argument
464 .private_value = ((lmask) | ((rmask) << 8)\