• Home
  • Raw
  • Download

Lines Matching refs:update

1747 	struct snd_soc_dapm_update *update = card->update;  in dapm_widget_update()  local
1753 if (!update || !dapm_kcontrol_is_powered(update->kcontrol)) in dapm_widget_update()
1756 wlist = dapm_kcontrol_get_wlist(update->kcontrol); in dapm_widget_update()
1760 ret = w->event(w, update->kcontrol, SND_SOC_DAPM_PRE_REG); in dapm_widget_update()
1770 ret = soc_dapm_update_bits(w->dapm, update->reg, update->mask, in dapm_widget_update()
1771 update->val); in dapm_widget_update()
1776 if (update->has_second_set) { in dapm_widget_update()
1777 ret = soc_dapm_update_bits(w->dapm, update->reg2, in dapm_widget_update()
1778 update->mask2, update->val2); in dapm_widget_update()
1787 ret = w->event(w, update->kcontrol, SND_SOC_DAPM_POST_REG); in dapm_widget_update()
2304 struct snd_soc_dapm_update *update) in snd_soc_dapm_mux_update_power() argument
2310 card->update = update; in snd_soc_dapm_mux_update_power()
2312 card->update = NULL; in snd_soc_dapm_mux_update_power()
2369 struct snd_soc_dapm_update *update) in snd_soc_dapm_mixer_update_power() argument
2375 card->update = update; in snd_soc_dapm_mixer_update_power()
2377 card->update = NULL; in snd_soc_dapm_mixer_update_power()
3383 struct snd_soc_dapm_update update = {}; in snd_soc_dapm_put_volsw() local
3423 update.has_second_set = true; in snd_soc_dapm_put_volsw()
3424 update.reg2 = mc->rreg; in snd_soc_dapm_put_volsw()
3425 update.mask2 = mask << mc->rshift; in snd_soc_dapm_put_volsw()
3426 update.val2 = rval; in snd_soc_dapm_put_volsw()
3428 update.kcontrol = kcontrol; in snd_soc_dapm_put_volsw()
3429 update.reg = reg; in snd_soc_dapm_put_volsw()
3430 update.mask = mask << shift; in snd_soc_dapm_put_volsw()
3431 update.val = val; in snd_soc_dapm_put_volsw()
3432 card->update = &update; in snd_soc_dapm_put_volsw()
3438 card->update = NULL; in snd_soc_dapm_put_volsw()
3504 struct snd_soc_dapm_update update = {}; in snd_soc_dapm_put_enum_double() local
3528 update.kcontrol = kcontrol; in snd_soc_dapm_put_enum_double()
3529 update.reg = e->reg; in snd_soc_dapm_put_enum_double()
3530 update.mask = mask; in snd_soc_dapm_put_enum_double()
3531 update.val = val; in snd_soc_dapm_put_enum_double()
3532 card->update = &update; in snd_soc_dapm_put_enum_double()
3537 card->update = NULL; in snd_soc_dapm_put_enum_double()