Searched refs:lmask (Results 1 – 2 of 2) sorted by relevance
361 int lmask = 1 << (kcontrol->private_value & 0xff); in snd_pmac_burgundy_get_switch_w() local365 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() local381 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() local421 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() local437 val = oval & ~(lmask | rmask); in snd_pmac_burgundy_put_switch_b()439 val |= lmask; in snd_pmac_burgundy_put_switch_b()[all …]
549 unsigned int lmask = (mixer_ctrl->max << lshift); in da7218_mic_lvl_det_sw_get() local553 (da7218->mic_lvl_det_en & lmask) >> lshift; in da7218_mic_lvl_det_sw_get()