Lines Matching refs:update
1741 struct snd_soc_dapm_update *update = card->update;
1747 if (!update || !dapm_kcontrol_is_powered(update->kcontrol))
1750 wlist = dapm_kcontrol_get_wlist(update->kcontrol);
1754 ret = w->event(w, update->kcontrol, SND_SOC_DAPM_PRE_REG);
1764 ret = soc_dapm_update_bits(w->dapm, update->reg, update->mask,
1765 update->val);
1767 dev_err(w->dapm->dev, "ASoC: %s DAPM update failed: %d\n",
1770 if (update->has_second_set) {
1771 ret = soc_dapm_update_bits(w->dapm, update->reg2,
1772 update->mask2, update->val2);
1775 "ASoC: %s DAPM update failed: %d\n",
1781 ret = w->event(w, update->kcontrol, SND_SOC_DAPM_POST_REG);
1864 /* If a connection is being made or broken then that update
1866 * not connected and this update has no impact. */
2259 * @path: The path to update
2276 /* test and update the power status of a mux widget */
2295 soc_dapm_connect_path(path, connect, "mux update");
2306 struct snd_soc_dapm_update *update)
2312 card->update = update;
2314 card->update = NULL;
2322 /* test and update the power status of a mixer or switch widget */
2357 soc_dapm_connect_path(path, rconnect, "mixer update");
2359 soc_dapm_connect_path(path, connect, "mixer update");
2371 struct snd_soc_dapm_update *update)
2377 card->update = update;
2379 card->update = NULL;
2676 soc_dapm_connect_path(p, true, "dai update");
2678 soc_dapm_connect_path(p, false, "dai update");
2745 * @w: The widget for which to update the flags
2748 * are connected to. This function update the category for these widgets.
3026 /* update cache */
3394 struct snd_soc_dapm_update update = {};
3434 update.has_second_set = true;
3435 update.reg2 = mc->rreg;
3436 update.mask2 = mask << mc->rshift;
3437 update.val2 = rval;
3439 update.kcontrol = kcontrol;
3440 update.reg = reg;
3441 update.mask = mask << shift;
3442 update.val = val;
3443 card->update = &update;
3449 card->update = NULL;
3515 struct snd_soc_dapm_update update = {};
3539 update.kcontrol = kcontrol;
3540 update.reg = e->reg;
3541 update.mask = mask;
3542 update.val = val;
3543 card->update = &update;
3548 card->update = NULL;