Lines Matching refs:dai
582 struct snd_soc_dai *dai)
584 struct snd_soc_component *component = dai->component;
586 struct device *dev = dai->dev;
624 struct snd_soc_dai *dai)
626 struct snd_soc_component *component = dai->component;
628 struct device *dev = dai->dev;
650 struct snd_soc_dai *dai)
652 struct snd_soc_component *component = dai->component;
658 return pcm512x_dai_startup_master(substream, dai);
661 return pcm512x_dai_startup_slave(substream, dai);
703 static unsigned long pcm512x_find_sck(struct snd_soc_dai *dai,
706 struct device *dev = dai->dev;
707 struct snd_soc_component *component = dai->component;
748 static int pcm512x_find_pll_coeff(struct snd_soc_dai *dai,
752 struct device *dev = dai->dev;
753 struct snd_soc_component *component = dai->component;
856 static unsigned long pcm512x_pllin_dac_rate(struct snd_soc_dai *dai,
860 struct snd_soc_component *component = dai->component;
887 static int pcm512x_set_dividers(struct snd_soc_dai *dai,
890 struct device *dev = dai->dev;
891 struct snd_soc_component *component = dai->component;
944 sck_rate = pcm512x_find_sck(dai, bclk_rate);
949 ret = pcm512x_find_pll_coeff(dai, pllin_rate, pll_rate);
1005 dac_rate = pcm512x_pllin_dac_rate(dai, osr_rate, pllin_rate);
1167 struct snd_soc_dai *dai)
1169 struct snd_soc_component *component = dai->component;
1269 ret = pcm512x_set_dividers(dai, params);
1336 static int pcm512x_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
1338 struct snd_soc_component *component = dai->component;
1420 static int pcm512x_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio)
1422 struct snd_soc_component *component = dai->component;
1433 static int pcm512x_mute(struct snd_soc_dai *dai, int mute, int direction)
1435 struct snd_soc_component *component = dai->component;