Lines Matching refs:e
549 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in madera_out1_demux_put() local
554 if (ucontrol->value.enumerated.item[0] > e->items - 1) in madera_out1_demux_put()
621 ret = snd_soc_dapm_mux_update_power(dapm, kcontrol, mux, e, NULL); in madera_out1_demux_put()
657 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in madera_inmux_put() local
667 val = mux << e->shift_l; in madera_inmux_put()
668 mask = (e->mask << e->shift_l) | MADERA_IN1L_SRC_SE_MASK; in madera_inmux_put()
670 switch (e->reg) { in madera_inmux_put()
691 mux, e->reg, inmode, mask, val); in madera_inmux_put()
693 ret = regmap_update_bits_check(regmap, e->reg, mask, val, &changed); in madera_inmux_put()
699 mux, e, NULL); in madera_inmux_put()
878 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in madera_adsp_rate_get() local
880 const int adsp_num = e->shift_l; in madera_adsp_rate_get()
887 item = snd_soc_enum_val_to_item(e, cached_rate); in madera_adsp_rate_get()
899 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in madera_adsp_rate_put() local
900 const int adsp_num = e->shift_l; in madera_adsp_rate_put()
904 if (item >= e->items) in madera_adsp_rate_put()
919 } else if (priv->adsp_rate_cache[adsp_num] != e->values[item]) { in madera_adsp_rate_put()
921 priv->adsp_rate_cache[adsp_num] = e->values[item]; in madera_adsp_rate_put()
1059 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in madera_rate_put() local
1064 if (item >= e->items) in madera_rate_put()
1073 val = snd_soc_component_read(component, e->reg); in madera_rate_put()
1074 val >>= e->shift_l; in madera_rate_put()
1075 val &= e->mask; in madera_rate_put()
1076 if (snd_soc_enum_item_to_val(e, item) == val) { in madera_rate_put()
1081 if (!madera_can_change_grp_rate(priv, e->reg)) { in madera_rate_put()
2169 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in madera_dfc_put() local
2170 unsigned int reg = e->reg; in madera_dfc_put()