Searched refs:regval2 (Results 1 – 2 of 2) sorted by relevance
241 u16 val, regval1, regval2; in snd_wm8766_ctl_put() local245 regval2 = ucontrol->value.integer.value[1]; in snd_wm8766_ctl_put()248 regval2 = wm->ctl[n].max - (regval2 - wm->ctl[n].min); in snd_wm8766_ctl_put()251 wm->ctl[n].set(wm, regval1, regval2); in snd_wm8766_ctl_put()259 val |= regval2 << __ffs(wm->ctl[n].mask2); in snd_wm8766_ctl_put()266 val |= regval2 << __ffs(wm->ctl[n].mask2); in snd_wm8766_ctl_put()
515 u16 val, regval1, regval2; in snd_wm8776_ctl_put() local519 regval2 = ucontrol->value.integer.value[1]; in snd_wm8776_ctl_put()522 regval2 = wm->ctl[n].max - (regval2 - wm->ctl[n].min); in snd_wm8776_ctl_put()525 wm->ctl[n].set(wm, regval1, regval2); in snd_wm8776_ctl_put()533 val |= regval2 << __ffs(wm->ctl[n].mask2); in snd_wm8776_ctl_put()540 val |= regval2 << __ffs(wm->ctl[n].mask2); in snd_wm8776_ctl_put()