Lines Matching refs:dai
580 struct snd_soc_dai *dai)
582 struct snd_soc_component *component = dai->component;
584 struct device *dev = dai->dev;
622 struct snd_soc_dai *dai)
624 struct snd_soc_component *component = dai->component;
626 struct device *dev = dai->dev;
648 struct snd_soc_dai *dai)
650 struct snd_soc_component *component = dai->component;
656 return pcm512x_dai_startup_master(substream, dai);
659 return pcm512x_dai_startup_slave(substream, dai);
701 static unsigned long pcm512x_find_sck(struct snd_soc_dai *dai,
704 struct device *dev = dai->dev;
705 struct snd_soc_component *component = dai->component;
746 static int pcm512x_find_pll_coeff(struct snd_soc_dai *dai,
750 struct device *dev = dai->dev;
751 struct snd_soc_component *component = dai->component;
854 static unsigned long pcm512x_pllin_dac_rate(struct snd_soc_dai *dai,
858 struct snd_soc_component *component = dai->component;
885 static int pcm512x_set_dividers(struct snd_soc_dai *dai,
888 struct device *dev = dai->dev;
889 struct snd_soc_component *component = dai->component;
942 sck_rate = pcm512x_find_sck(dai, bclk_rate);
947 ret = pcm512x_find_pll_coeff(dai, pllin_rate, pll_rate);
1003 dac_rate = pcm512x_pllin_dac_rate(dai, osr_rate, pllin_rate);
1165 struct snd_soc_dai *dai)
1167 struct snd_soc_component *component = dai->component;
1290 ret = pcm512x_set_dividers(dai, params);
1374 static int pcm512x_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
1376 struct snd_soc_component *component = dai->component;
1384 static int pcm512x_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio)
1386 struct snd_soc_component *component = dai->component;
1397 static int pcm512x_mute(struct snd_soc_dai *dai, int mute, int direction)
1399 struct snd_soc_component *component = dai->component;