Lines Matching defs:sun4i_i2s

127 struct sun4i_i2s;
162 unsigned long (*get_bclk_parent_rate)(const struct sun4i_i2s *);
163 s8 (*get_sr)(const struct sun4i_i2s *, int);
164 s8 (*get_wss)(const struct sun4i_i2s *, int);
165 int (*set_chan_cfg)(const struct sun4i_i2s *,
167 int (*set_fmt)(const struct sun4i_i2s *, unsigned int);
170 struct sun4i_i2s {
237 static unsigned long sun4i_i2s_get_bclk_parent_rate(const struct sun4i_i2s *i2s)
242 static unsigned long sun8i_i2s_get_bclk_parent_rate(const struct sun4i_i2s *i2s)
247 static int sun4i_i2s_get_bclk_div(struct sun4i_i2s *i2s,
267 static int sun4i_i2s_get_mclk_div(struct sun4i_i2s *i2s,
302 struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai);
368 static s8 sun4i_i2s_get_sr(const struct sun4i_i2s *i2s, int width)
379 static s8 sun4i_i2s_get_wss(const struct sun4i_i2s *i2s, int width)
390 static s8 sun8i_i2s_get_sr_wss(const struct sun4i_i2s *i2s, int width)
401 static int sun4i_i2s_set_chan_cfg(const struct sun4i_i2s *i2s,
421 static int sun8i_i2s_set_chan_cfg(const struct sun4i_i2s *i2s,
481 struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai);
527 static int sun4i_i2s_set_soc_fmt(const struct sun4i_i2s *i2s,
600 static int sun8i_i2s_set_soc_fmt(const struct sun4i_i2s *i2s,
704 struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai);
725 static void sun4i_i2s_start_capture(struct sun4i_i2s *i2s)
746 static void sun4i_i2s_start_playback(struct sun4i_i2s *i2s)
767 static void sun4i_i2s_stop_capture(struct sun4i_i2s *i2s)
780 static void sun4i_i2s_stop_playback(struct sun4i_i2s *i2s)
796 struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai);
827 struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai);
841 struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai);
862 struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai);
1011 struct sun4i_i2s *i2s = dev_get_drvdata(dev);
1053 struct sun4i_i2s *i2s = dev_get_drvdata(dev);
1168 struct sun4i_i2s *i2s)
1193 struct sun4i_i2s *i2s;
1303 struct sun4i_i2s *i2s = dev_get_drvdata(&pdev->dev);