Searched refs:regval1 (Results 1 – 2 of 2) sorted by relevance
241 u16 val, regval1, regval2; in snd_wm8766_ctl_put() local244 regval1 = ucontrol->value.integer.value[0]; in snd_wm8766_ctl_put()247 regval1 = wm->ctl[n].max - (regval1 - wm->ctl[n].min); in snd_wm8766_ctl_put()251 wm->ctl[n].set(wm, regval1, regval2); in snd_wm8766_ctl_put()254 val |= regval1 << __ffs(wm->ctl[n].mask1); in snd_wm8766_ctl_put()
515 u16 val, regval1, regval2; in snd_wm8776_ctl_put() local518 regval1 = ucontrol->value.integer.value[0]; in snd_wm8776_ctl_put()521 regval1 = wm->ctl[n].max - (regval1 - wm->ctl[n].min); in snd_wm8776_ctl_put()525 wm->ctl[n].set(wm, regval1, regval2); in snd_wm8776_ctl_put()528 val |= regval1 << __ffs(wm->ctl[n].mask1); in snd_wm8776_ctl_put()