Home
last modified time | relevance | path

Searched refs:lmask (Results 1 – 2 of 2) sorted by relevance

/sound/ppc/
Dburgundy.c361 int lmask = 1 << (kcontrol->private_value & 0xff); in snd_pmac_burgundy_get_switch_w() local
365 ucontrol->value.integer.value[0] = (val & lmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_w()
376 int lmask = 1 << (kcontrol->private_value & 0xff); in snd_pmac_burgundy_put_switch_w() local
381 val = oval & ~(lmask | (stereo ? rmask : 0)); in snd_pmac_burgundy_put_switch_w()
383 val |= lmask; in snd_pmac_burgundy_put_switch_w()
417 int lmask = kcontrol->private_value & 0xff; in snd_pmac_burgundy_get_switch_b() local
421 ucontrol->value.integer.value[0] = (val & lmask) ? 1 : 0; in snd_pmac_burgundy_get_switch_b()
432 int lmask = kcontrol->private_value & 0xff; in snd_pmac_burgundy_put_switch_b() local
437 val = oval & ~(lmask | rmask); in snd_pmac_burgundy_put_switch_b()
439 val |= lmask; in snd_pmac_burgundy_put_switch_b()
[all …]
/sound/soc/codecs/
Dda7218.c549 unsigned int lmask = (mixer_ctrl->max << lshift); in da7218_mic_lvl_det_sw_get() local
553 (da7218->mic_lvl_det_en & lmask) >> lshift; in da7218_mic_lvl_det_sw_get()