Lines Matching refs:uda134x

164 	struct uda134x_priv *uda134x = snd_soc_codec_get_drvdata(codec);  in uda134x_startup()  local
167 if (uda134x->master_substream) { in uda134x_startup()
168 master_runtime = uda134x->master_substream->runtime; in uda134x_startup()
184 uda134x->slave_substream = substream; in uda134x_startup()
186 uda134x->master_substream = substream; in uda134x_startup()
196 struct uda134x_priv *uda134x = snd_soc_codec_get_drvdata(codec); in uda134x_shutdown() local
198 if (uda134x->master_substream == substream) in uda134x_shutdown()
199 uda134x->master_substream = uda134x->slave_substream; in uda134x_shutdown()
201 uda134x->slave_substream = NULL; in uda134x_shutdown()
210 struct uda134x_priv *uda134x = snd_soc_codec_get_drvdata(codec); in uda134x_hw_params() local
213 if (substream == uda134x->slave_substream) { in uda134x_hw_params()
224 uda134x->sysclk, params_rate(params)); in uda134x_hw_params()
227 switch (uda134x->sysclk / params_rate(params)) { in uda134x_hw_params()
242 uda134x->dai_fmt, params_format(params)); in uda134x_hw_params()
245 switch (uda134x->dai_fmt & SND_SOC_DAIFMT_FORMAT_MASK) { in uda134x_hw_params()
282 struct uda134x_priv *uda134x = snd_soc_codec_get_drvdata(codec); in uda134x_set_dai_sysclk() local
292 uda134x->sysclk = freq; in uda134x_set_dai_sysclk()
304 struct uda134x_priv *uda134x = snd_soc_codec_get_drvdata(codec); in uda134x_set_dai_fmt() local
322 uda134x->dai_fmt = fmt; in uda134x_set_dai_fmt()
488 struct uda134x_priv *uda134x; in uda134x_soc_probe() local
514 uda134x = kzalloc(sizeof(struct uda134x_priv), GFP_KERNEL); in uda134x_soc_probe()
515 if (uda134x == NULL) in uda134x_soc_probe()
517 snd_soc_codec_set_drvdata(codec, uda134x); in uda134x_soc_probe()
548 kfree(uda134x); in uda134x_soc_probe()
554 kfree(uda134x); in uda134x_soc_probe()
564 struct uda134x_priv *uda134x = snd_soc_codec_get_drvdata(codec); in uda134x_soc_remove() local
569 kfree(uda134x); in uda134x_soc_remove()