Lines Matching refs:aic23
184 struct aic23 { struct
340 struct aic23 *aic23 = snd_soc_component_get_drvdata(component); in tlv320aic23_hw_params() local
341 u32 sample_rate_adc = aic23->requested_adc; in tlv320aic23_hw_params()
342 u32 sample_rate_dac = aic23->requested_dac; in tlv320aic23_hw_params()
346 aic23->requested_dac = sample_rate_dac = sample_rate; in tlv320aic23_hw_params()
350 aic23->requested_adc = sample_rate_adc = sample_rate; in tlv320aic23_hw_params()
354 ret = set_sample_rate_control(component, aic23->mclk, sample_rate_adc, in tlv320aic23_hw_params()
394 struct aic23 *aic23 = snd_soc_component_get_drvdata(component); in tlv320aic23_shutdown() local
402 aic23->requested_dac = 0; in tlv320aic23_shutdown()
404 aic23->requested_adc = 0; in tlv320aic23_shutdown()
473 struct aic23 *aic23 = snd_soc_dai_get_drvdata(codec_dai); in tlv320aic23_set_dai_sysclk() local
474 aic23->mclk = freq; in tlv320aic23_set_dai_sysclk()
539 struct aic23 *aic23 = snd_soc_component_get_drvdata(component); in tlv320aic23_resume() local
540 regcache_mark_dirty(aic23->regmap); in tlv320aic23_resume()
541 regcache_sync(aic23->regmap); in tlv320aic23_resume()
593 struct aic23 *aic23; in tlv320aic23_probe() local
598 aic23 = devm_kzalloc(dev, sizeof(struct aic23), GFP_KERNEL); in tlv320aic23_probe()
599 if (aic23 == NULL) in tlv320aic23_probe()
602 aic23->regmap = regmap; in tlv320aic23_probe()
604 dev_set_drvdata(dev, aic23); in tlv320aic23_probe()