ad193x 106 sound/soc/codecs/ad193x.c struct ad193x_priv *ad193x = snd_soc_component_get_drvdata(component); ad193x 108 sound/soc/codecs/ad193x.c return !!ad193x->sysclk; ad193x 129 sound/soc/codecs/ad193x.c static inline bool ad193x_has_adc(const struct ad193x_priv *ad193x) ad193x 131 sound/soc/codecs/ad193x.c switch (ad193x->type) { ad193x 148 sound/soc/codecs/ad193x.c struct ad193x_priv *ad193x = snd_soc_component_get_drvdata(dai->component); ad193x 151 sound/soc/codecs/ad193x.c regmap_update_bits(ad193x->regmap, AD193X_DAC_CTRL2, ad193x 155 sound/soc/codecs/ad193x.c regmap_update_bits(ad193x->regmap, AD193X_DAC_CTRL2, ad193x 164 sound/soc/codecs/ad193x.c struct ad193x_priv *ad193x = snd_soc_component_get_drvdata(dai->component); ad193x 184 sound/soc/codecs/ad193x.c regmap_update_bits(ad193x->regmap, AD193X_DAC_CTRL1, ad193x 186 sound/soc/codecs/ad193x.c if (ad193x_has_adc(ad193x)) ad193x 187 sound/soc/codecs/ad193x.c regmap_update_bits(ad193x->regmap, AD193X_ADC_CTRL2, ad193x 197 sound/soc/codecs/ad193x.c struct ad193x_priv *ad193x = snd_soc_component_get_drvdata(codec_dai->component); ad193x 217 sound/soc/codecs/ad193x.c if (ad193x_has_adc(ad193x)) ad193x 267 sound/soc/codecs/ad193x.c if (ad193x_has_adc(ad193x)) { ad193x 268 sound/soc/codecs/ad193x.c regmap_update_bits(ad193x->regmap, AD193X_ADC_CTRL1, ad193x 270 sound/soc/codecs/ad193x.c regmap_update_bits(ad193x->regmap, AD193X_ADC_CTRL2, ad193x 273 sound/soc/codecs/ad193x.c regmap_update_bits(ad193x->regmap, AD193X_DAC_CTRL0, ad193x 275 sound/soc/codecs/ad193x.c regmap_update_bits(ad193x->regmap, AD193X_DAC_CTRL1, ad193x 286 sound/soc/codecs/ad193x.c struct ad193x_priv *ad193x = snd_soc_component_get_drvdata(component); ad193x 293 sound/soc/codecs/ad193x.c regmap_update_bits(ad193x->regmap, AD193X_PLL_CLK_CTRL1, ad193x 306 sound/soc/codecs/ad193x.c ad193x->sysclk = freq; ad193x 318 sound/soc/codecs/ad193x.c struct ad193x_priv *ad193x = snd_soc_component_get_drvdata(component); ad193x 334 sound/soc/codecs/ad193x.c switch (ad193x->sysclk) { ad193x 349 sound/soc/codecs/ad193x.c regmap_update_bits(ad193x->regmap, AD193X_PLL_CLK_CTRL0, ad193x 352 sound/soc/codecs/ad193x.c regmap_update_bits(ad193x->regmap, AD193X_DAC_CTRL2, ad193x 356 sound/soc/codecs/ad193x.c if (ad193x_has_adc(ad193x)) ad193x 357 sound/soc/codecs/ad193x.c regmap_update_bits(ad193x->regmap, AD193X_ADC_CTRL1, ad193x 417 sound/soc/codecs/ad193x.c static void ad193x_reg_default_init(struct ad193x_priv *ad193x) ad193x 441 sound/soc/codecs/ad193x.c regmap_multi_reg_write(ad193x->regmap, reg_init, ARRAY_SIZE(reg_init)); ad193x 443 sound/soc/codecs/ad193x.c if (ad193x_has_adc(ad193x)) { ad193x 444 sound/soc/codecs/ad193x.c regmap_multi_reg_write(ad193x->regmap, reg_adc_init, ad193x 451 sound/soc/codecs/ad193x.c struct ad193x_priv *ad193x = snd_soc_component_get_drvdata(component); ad193x 456 sound/soc/codecs/ad193x.c ad193x_reg_default_init(ad193x); ad193x 459 sound/soc/codecs/ad193x.c if (ad193x_has_adc(ad193x)) { ad193x 510 sound/soc/codecs/ad193x.c struct ad193x_priv *ad193x; ad193x 515 sound/soc/codecs/ad193x.c ad193x = devm_kzalloc(dev, sizeof(*ad193x), GFP_KERNEL); ad193x 516 sound/soc/codecs/ad193x.c if (ad193x == NULL) ad193x 519 sound/soc/codecs/ad193x.c ad193x->regmap = regmap; ad193x 520 sound/soc/codecs/ad193x.c ad193x->type = type; ad193x 522 sound/soc/codecs/ad193x.c dev_set_drvdata(dev, ad193x); ad193x 524 sound/soc/codecs/ad193x.c if (ad193x_has_adc(ad193x))