Lines Matching refs:update

1745 	struct snd_soc_dapm_update *update = card->update;
1751 if (!update || !dapm_kcontrol_is_powered(update->kcontrol))
1754 wlist = dapm_kcontrol_get_wlist(update->kcontrol);
1758 ret = w->event(w, update->kcontrol, SND_SOC_DAPM_PRE_REG);
1768 ret = soc_dapm_update_bits(w->dapm, update->reg, update->mask,
1769 update->val);
1771 dev_err(w->dapm->dev, "ASoC: %s DAPM update failed: %d\n",
1774 if (update->has_second_set) {
1775 ret = soc_dapm_update_bits(w->dapm, update->reg2,
1776 update->mask2, update->val2);
1779 "ASoC: %s DAPM update failed: %d\n",
1785 ret = w->event(w, update->kcontrol, SND_SOC_DAPM_POST_REG);
1868 /* If a connection is being made or broken then that update
1870 * not connected and this update has no impact. */
2256 * @path: The path to update
2273 /* test and update the power status of a mux widget */
2292 soc_dapm_connect_path(path, connect, "mux update");
2303 struct snd_soc_dapm_update *update)
2309 card->update = update;
2311 card->update = NULL;
2319 /* test and update the power status of a mixer or switch widget */
2354 soc_dapm_connect_path(path, rconnect, "mixer update");
2356 soc_dapm_connect_path(path, connect, "mixer update");
2368 struct snd_soc_dapm_update *update)
2374 card->update = update;
2376 card->update = NULL;
2666 soc_dapm_connect_path(p, true, "dai update");
2668 soc_dapm_connect_path(p, false, "dai update");
2723 * @w: The widget for which to update the flags
2726 * are connected to. This function update the category for these widgets.
3384 struct snd_soc_dapm_update update = {};
3424 update.has_second_set = true;
3425 update.reg2 = mc->rreg;
3426 update.mask2 = mask << mc->rshift;
3427 update.val2 = rval;
3429 update.kcontrol = kcontrol;
3430 update.reg = reg;
3431 update.mask = mask << shift;
3432 update.val = val;
3433 card->update = &update;
3439 card->update = NULL;
3506 struct snd_soc_dapm_update update = {};
3530 update.kcontrol = kcontrol;
3531 update.reg = e->reg;
3532 update.mask = mask;
3533 update.val = val;
3534 card->update = &update;
3539 card->update = NULL;