Lines Matching refs:rval
3330 unsigned int reg_val, val, rval = 0; in snd_soc_dapm_get_volsw() local
3341 rval = (reg_val >> mc->rshift) & mask; in snd_soc_dapm_get_volsw()
3347 rval = (reg_val >> width) & mask; in snd_soc_dapm_get_volsw()
3358 ucontrol->value.integer.value[1] = max - rval; in snd_soc_dapm_get_volsw()
3360 ucontrol->value.integer.value[1] = rval; in snd_soc_dapm_get_volsw()
3389 unsigned int val, rval = 0; in snd_soc_dapm_put_volsw() local
3401 rval = (ucontrol->value.integer.value[1] & mask); in snd_soc_dapm_put_volsw()
3402 rconnect = !!rval; in snd_soc_dapm_put_volsw()
3404 rval = max - rval; in snd_soc_dapm_put_volsw()
3414 change = dapm_kcontrol_set_value(kcontrol, val | (rval << width)); in snd_soc_dapm_put_volsw()
3418 rval = rval << mc->rshift; in snd_soc_dapm_put_volsw()
3425 rval); in snd_soc_dapm_put_volsw()
3434 update.val2 = rval; in snd_soc_dapm_put_volsw()