Lines Matching defs:update
472 * @w: The widget for which to update the flags
475 * are connected to. This function update the category for these widgets.
2001 static void dapm_widget_update(struct snd_soc_card *card, struct snd_soc_dapm_update *update)
2008 if (!update || !dapm_kcontrol_is_powered(update->kcontrol))
2011 wlist = dapm_kcontrol_get_wlist(update->kcontrol);
2015 ret = w->event(w, update->kcontrol, SND_SOC_DAPM_PRE_REG);
2025 ret = soc_dapm_update_bits(w->dapm, update->reg, update->mask,
2026 update->val);
2028 dev_err(w->dapm->dev, "ASoC: %s DAPM update failed: %d\n",
2031 if (update->has_second_set) {
2032 ret = soc_dapm_update_bits(w->dapm, update->reg2,
2033 update->mask2, update->val2);
2036 "ASoC: %s DAPM update failed: %d\n",
2042 ret = w->event(w, update->kcontrol, SND_SOC_DAPM_POST_REG);
2125 /* If a connection is being made or broken then that update
2127 * not connected and this update has no impact. */
2214 struct snd_soc_dapm_update *update)
2322 dapm_widget_update(card, update);
2576 * @path: The path to update
2593 /* test and update the power status of a mux widget */
2596 struct snd_soc_dapm_update *update,
2614 soc_dapm_connect_path(path, connect, "mux update");
2618 dapm_power_widgets(card, SND_SOC_DAPM_STREAM_NOP, update);
2625 struct snd_soc_dapm_update *update)
2631 ret = soc_dapm_mux_update_power(card, kcontrol, update, mux, e);
2639 /* test and update the power status of a mixer or switch widget */
2642 struct snd_soc_dapm_update *update,
2675 soc_dapm_connect_path(path, rconnect, "mixer update");
2677 soc_dapm_connect_path(path, connect, "mixer update");
2682 dapm_power_widgets(card, SND_SOC_DAPM_STREAM_NOP, update);
2689 struct snd_soc_dapm_update *update)
2695 ret = soc_dapm_mixer_update_power(card, kcontrol, update, connect, -1);
2992 soc_dapm_connect_path(p, true, "dai update");
2994 soc_dapm_connect_path(p, false, "dai update");
3136 /* update cache */
3424 struct snd_soc_dapm_update update = {};
3465 update.has_second_set = true;
3466 update.reg2 = mc->rreg;
3467 update.mask2 = mask << mc->rshift;
3468 update.val2 = rval;
3470 update.kcontrol = kcontrol;
3471 update.reg = reg;
3472 update.mask = mask << shift;
3473 update.val = val;
3474 pupdate = &update;
3542 struct snd_soc_dapm_update update = {};
3567 update.kcontrol = kcontrol;
3568 update.reg = e->reg;
3569 update.mask = mask;
3570 update.val = val;
3571 pupdate = &update;