Lines Matching refs:rmask
362 int rmask = 1 << ((kcontrol->private_value >> 8) & 0xff); in snd_pmac_burgundy_get_switch_w() local
367 ucontrol->value.integer.value[1] = (val & rmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_w()
377 int rmask = 1 << ((kcontrol->private_value >> 8) & 0xff); in snd_pmac_burgundy_put_switch_w() local
381 val = oval & ~(lmask | (stereo ? rmask : 0)); in snd_pmac_burgundy_put_switch_w()
385 val |= rmask; in snd_pmac_burgundy_put_switch_w()
418 int rmask = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_get_switch_b() local
423 ucontrol->value.integer.value[1] = (val & rmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_b()
433 int rmask = (kcontrol->private_value >> 8) & 0xff; in snd_pmac_burgundy_put_switch_b() local
437 val = oval & ~(lmask | rmask); in snd_pmac_burgundy_put_switch_b()
441 val |= rmask; in snd_pmac_burgundy_put_switch_b()
446 #define BURGUNDY_SWITCH_B(xname, xindex, addr, lmask, rmask, stereo) \ argument
451 .private_value = ((lmask) | ((rmask) << 8)\