Home
last modified time | relevance | path

Searched defs:i2s (Results 1 – 25 of 55) sorted by relevance

123

/kernel/linux/linux-5.10/sound/soc/tegra/
Dtegra30_i2s.c40 struct tegra30_i2s *i2s = dev_get_drvdata(dev); in tegra30_i2s_runtime_suspend() local
51 struct tegra30_i2s *i2s = dev_get_drvdata(dev); in tegra30_i2s_runtime_resume() local
68 struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra30_i2s_set_fmt() local
128 struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra30_i2s_hw_params() local
198 static void tegra30_i2s_start_playback(struct tegra30_i2s *i2s) in tegra30_i2s_start_playback()
206 static void tegra30_i2s_stop_playback(struct tegra30_i2s *i2s) in tegra30_i2s_stop_playback()
213 static void tegra30_i2s_start_capture(struct tegra30_i2s *i2s) in tegra30_i2s_start_capture()
221 static void tegra30_i2s_stop_capture(struct tegra30_i2s *i2s) in tegra30_i2s_stop_capture()
231 struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra30_i2s_trigger() local
261 struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra30_i2s_set_tdm() local
[all …]
Dtegra20_i2s.c38 struct tegra20_i2s *i2s = dev_get_drvdata(dev); in tegra20_i2s_runtime_suspend() local
47 struct tegra20_i2s *i2s = dev_get_drvdata(dev); in tegra20_i2s_runtime_resume() local
62 struct tegra20_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra20_i2s_set_fmt() local
120 struct tegra20_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra20_i2s_hw_params() local
175 static void tegra20_i2s_start_playback(struct tegra20_i2s *i2s) in tegra20_i2s_start_playback()
182 static void tegra20_i2s_stop_playback(struct tegra20_i2s *i2s) in tegra20_i2s_stop_playback()
188 static void tegra20_i2s_start_capture(struct tegra20_i2s *i2s) in tegra20_i2s_start_capture()
195 static void tegra20_i2s_stop_capture(struct tegra20_i2s *i2s) in tegra20_i2s_stop_capture()
204 struct tegra20_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra20_i2s_trigger() local
232 struct tegra20_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra20_i2s_probe() local
[all …]
Dtegra210_i2s.c50 struct tegra210_i2s *i2s = dev_get_drvdata(dev); in tegra210_i2s_set_clock_rate() local
89 struct tegra210_i2s *i2s = dev_get_drvdata(dev); in tegra210_i2s_sw_reset() local
136 struct tegra210_i2s *i2s = dev_get_drvdata(dev); in tegra210_i2s_init() local
169 struct tegra210_i2s *i2s = dev_get_drvdata(dev); in tegra210_i2s_runtime_suspend() local
181 struct tegra210_i2s *i2s = dev_get_drvdata(dev); in tegra210_i2s_runtime_resume() local
196 static void tegra210_i2s_set_data_offset(struct tegra210_i2s *i2s, in tegra210_i2s_set_data_offset()
213 struct tegra210_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra210_i2s_set_fmt() local
294 struct tegra210_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra210_i2s_set_tdm_slot() local
308 struct tegra210_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra210_i2s_set_dai_bclk_ratio() local
319 struct tegra210_i2s *i2s = snd_soc_component_get_drvdata(compnt); in tegra210_i2s_get_control() local
[all …]
/kernel/linux/linux-4.19/sound/soc/tegra/
Dtegra30_i2s.c51 struct tegra30_i2s *i2s = dev_get_drvdata(dev); in tegra30_i2s_runtime_suspend() local
62 struct tegra30_i2s *i2s = dev_get_drvdata(dev); in tegra30_i2s_runtime_resume() local
79 struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra30_i2s_set_fmt() local
139 struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra30_i2s_hw_params() local
209 static void tegra30_i2s_start_playback(struct tegra30_i2s *i2s) in tegra30_i2s_start_playback()
217 static void tegra30_i2s_stop_playback(struct tegra30_i2s *i2s) in tegra30_i2s_stop_playback()
224 static void tegra30_i2s_start_capture(struct tegra30_i2s *i2s) in tegra30_i2s_start_capture()
232 static void tegra30_i2s_stop_capture(struct tegra30_i2s *i2s) in tegra30_i2s_stop_capture()
242 struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra30_i2s_trigger() local
270 struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra30_i2s_probe() local
[all …]
Dtegra20_i2s.c52 struct tegra20_i2s *i2s = dev_get_drvdata(dev); in tegra20_i2s_runtime_suspend() local
61 struct tegra20_i2s *i2s = dev_get_drvdata(dev); in tegra20_i2s_runtime_resume() local
76 struct tegra20_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra20_i2s_set_fmt() local
134 struct tegra20_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra20_i2s_hw_params() local
189 static void tegra20_i2s_start_playback(struct tegra20_i2s *i2s) in tegra20_i2s_start_playback()
196 static void tegra20_i2s_stop_playback(struct tegra20_i2s *i2s) in tegra20_i2s_stop_playback()
202 static void tegra20_i2s_start_capture(struct tegra20_i2s *i2s) in tegra20_i2s_start_capture()
209 static void tegra20_i2s_stop_capture(struct tegra20_i2s *i2s) in tegra20_i2s_stop_capture()
218 struct tegra20_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra20_i2s_trigger() local
246 struct tegra20_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra20_i2s_probe() local
[all …]
/kernel/linux/linux-4.19/sound/soc/samsung/
Di2s.c108 static inline bool is_secondary(struct i2s_dai *i2s) in is_secondary()
114 static inline bool is_slave(struct i2s_dai *i2s) in is_slave()
121 static inline bool tx_active(struct i2s_dai *i2s) in tx_active()
139 static inline struct i2s_dai *get_other_dai(struct i2s_dai *i2s) in get_other_dai()
145 static inline bool other_tx_active(struct i2s_dai *i2s) in other_tx_active()
153 static inline bool any_tx_active(struct i2s_dai *i2s) in any_tx_active()
159 static inline bool rx_active(struct i2s_dai *i2s) in rx_active()
172 static inline bool other_rx_active(struct i2s_dai *i2s) in other_rx_active()
180 static inline bool any_rx_active(struct i2s_dai *i2s) in any_rx_active()
186 static inline bool other_active(struct i2s_dai *i2s) in other_active()
[all …]
Ds3c-i2s-v2.c76 static void s3c2412_snd_txctrl(struct s3c_i2sv2_info *i2s, int on) in s3c2412_snd_txctrl()
149 static void s3c2412_snd_rxctrl(struct s3c_i2sv2_info *i2s, int on) in s3c2412_snd_rxctrl()
222 static int s3c2412_snd_lrsync(struct s3c_i2sv2_info *i2s) in s3c2412_snd_lrsync()
251 struct s3c_i2sv2_info *i2s = to_info(cpu_dai); in s3c2412_i2s_set_fmt() local
302 struct s3c_i2sv2_info *i2s = to_info(dai); in s3c_i2sv2_hw_params() local
341 struct s3c_i2sv2_info *i2s = to_info(cpu_dai); in s3c_i2sv2_set_sysclk() local
387 struct s3c_i2sv2_info *i2s = to_info(rtd->cpu_dai); in s3c2412_i2s_trigger() local
450 struct s3c_i2sv2_info *i2s = to_info(cpu_dai); in s3c2412_i2s_set_clkdiv() local
533 struct s3c_i2sv2_info *i2s = to_info(dai); in s3c2412_i2s_delay() local
547 struct s3c_i2sv2_info *i2s = to_info(cpu_dai); in s3c_i2sv2_get_clock() local
[all …]
/kernel/linux/linux-4.19/sound/soc/img/
Dimg-i2s-out.c72 struct img_i2s_out *i2s = dev_get_drvdata(dev); in img_i2s_out_runtime_suspend() local
82 struct img_i2s_out *i2s = dev_get_drvdata(dev); in img_i2s_out_runtime_resume() local
101 static inline void img_i2s_out_writel(struct img_i2s_out *i2s, u32 val, in img_i2s_out_writel()
107 static inline u32 img_i2s_out_readl(struct img_i2s_out *i2s, u32 reg) in img_i2s_out_readl()
112 static inline void img_i2s_out_ch_writel(struct img_i2s_out *i2s, in img_i2s_out_ch_writel()
118 static inline u32 img_i2s_out_ch_readl(struct img_i2s_out *i2s, u32 chan, in img_i2s_out_ch_readl()
124 static inline void img_i2s_out_ch_disable(struct img_i2s_out *i2s, u32 chan) in img_i2s_out_ch_disable()
133 static inline void img_i2s_out_ch_enable(struct img_i2s_out *i2s, u32 chan) in img_i2s_out_ch_enable()
142 static inline void img_i2s_out_disable(struct img_i2s_out *i2s) in img_i2s_out_disable()
151 static inline void img_i2s_out_enable(struct img_i2s_out *i2s) in img_i2s_out_enable()
[all …]
Dimg-i2s-in.c70 struct img_i2s_in *i2s = dev_get_drvdata(dev); in img_i2s_in_runtime_suspend() local
79 struct img_i2s_in *i2s = dev_get_drvdata(dev); in img_i2s_in_runtime_resume() local
91 static inline void img_i2s_in_writel(struct img_i2s_in *i2s, u32 val, u32 reg) in img_i2s_in_writel()
96 static inline u32 img_i2s_in_readl(struct img_i2s_in *i2s, u32 reg) in img_i2s_in_readl()
101 static inline void img_i2s_in_ch_writel(struct img_i2s_in *i2s, u32 chan, in img_i2s_in_ch_writel()
107 static inline u32 img_i2s_in_ch_readl(struct img_i2s_in *i2s, u32 chan, in img_i2s_in_ch_readl()
113 static inline void img_i2s_in_ch_disable(struct img_i2s_in *i2s, u32 chan) in img_i2s_in_ch_disable()
122 static inline void img_i2s_in_ch_enable(struct img_i2s_in *i2s, u32 chan) in img_i2s_in_ch_enable()
131 static inline void img_i2s_in_disable(struct img_i2s_in *i2s) in img_i2s_in_disable()
140 static inline void img_i2s_in_enable(struct img_i2s_in *i2s) in img_i2s_in_enable()
[all …]
/kernel/linux/linux-5.10/sound/soc/img/
Dimg-i2s-out.c69 struct img_i2s_out *i2s = dev_get_drvdata(dev); in img_i2s_out_runtime_suspend() local
79 struct img_i2s_out *i2s = dev_get_drvdata(dev); in img_i2s_out_runtime_resume() local
98 static inline void img_i2s_out_writel(struct img_i2s_out *i2s, u32 val, in img_i2s_out_writel()
104 static inline u32 img_i2s_out_readl(struct img_i2s_out *i2s, u32 reg) in img_i2s_out_readl()
109 static inline void img_i2s_out_ch_writel(struct img_i2s_out *i2s, in img_i2s_out_ch_writel()
115 static inline u32 img_i2s_out_ch_readl(struct img_i2s_out *i2s, u32 chan, in img_i2s_out_ch_readl()
121 static inline void img_i2s_out_ch_disable(struct img_i2s_out *i2s, u32 chan) in img_i2s_out_ch_disable()
130 static inline void img_i2s_out_ch_enable(struct img_i2s_out *i2s, u32 chan) in img_i2s_out_ch_enable()
139 static inline void img_i2s_out_disable(struct img_i2s_out *i2s) in img_i2s_out_disable()
148 static inline void img_i2s_out_enable(struct img_i2s_out *i2s) in img_i2s_out_enable()
[all …]
Dimg-i2s-in.c67 struct img_i2s_in *i2s = dev_get_drvdata(dev); in img_i2s_in_runtime_suspend() local
76 struct img_i2s_in *i2s = dev_get_drvdata(dev); in img_i2s_in_runtime_resume() local
88 static inline void img_i2s_in_writel(struct img_i2s_in *i2s, u32 val, u32 reg) in img_i2s_in_writel()
93 static inline u32 img_i2s_in_readl(struct img_i2s_in *i2s, u32 reg) in img_i2s_in_readl()
98 static inline void img_i2s_in_ch_writel(struct img_i2s_in *i2s, u32 chan, in img_i2s_in_ch_writel()
104 static inline u32 img_i2s_in_ch_readl(struct img_i2s_in *i2s, u32 chan, in img_i2s_in_ch_readl()
110 static inline void img_i2s_in_ch_disable(struct img_i2s_in *i2s, u32 chan) in img_i2s_in_ch_disable()
119 static inline void img_i2s_in_ch_enable(struct img_i2s_in *i2s, u32 chan) in img_i2s_in_ch_enable()
128 static inline void img_i2s_in_disable(struct img_i2s_in *i2s) in img_i2s_in_disable()
137 static inline void img_i2s_in_enable(struct img_i2s_in *i2s) in img_i2s_in_enable()
[all …]
/kernel/linux/linux-5.10/sound/soc/samsung/
Di2s.c131 static inline bool is_secondary(struct i2s_dai *i2s) in is_secondary()
137 static inline bool tx_active(struct i2s_dai *i2s) in tx_active()
155 static inline struct i2s_dai *get_other_dai(struct i2s_dai *i2s) in get_other_dai()
161 static inline bool other_tx_active(struct i2s_dai *i2s) in other_tx_active()
169 static inline bool any_tx_active(struct i2s_dai *i2s) in any_tx_active()
175 static inline bool rx_active(struct i2s_dai *i2s) in rx_active()
188 static inline bool other_rx_active(struct i2s_dai *i2s) in other_rx_active()
196 static inline bool any_rx_active(struct i2s_dai *i2s) in any_rx_active()
202 static inline bool other_active(struct i2s_dai *i2s) in other_active()
208 static inline bool this_active(struct i2s_dai *i2s) in this_active()
[all …]
Ds3c-i2s-v2.c72 static void s3c2412_snd_txctrl(struct s3c_i2sv2_info *i2s, int on) in s3c2412_snd_txctrl()
145 static void s3c2412_snd_rxctrl(struct s3c_i2sv2_info *i2s, int on) in s3c2412_snd_rxctrl()
218 static int s3c2412_snd_lrsync(struct s3c_i2sv2_info *i2s) in s3c2412_snd_lrsync()
247 struct s3c_i2sv2_info *i2s = to_info(cpu_dai); in s3c2412_i2s_set_fmt() local
298 struct s3c_i2sv2_info *i2s = to_info(dai); in s3c_i2sv2_hw_params() local
337 struct s3c_i2sv2_info *i2s = to_info(cpu_dai); in s3c_i2sv2_set_sysclk() local
383 struct s3c_i2sv2_info *i2s = to_info(asoc_rtd_to_cpu(rtd, 0)); in s3c2412_i2s_trigger() local
446 struct s3c_i2sv2_info *i2s = to_info(cpu_dai); in s3c2412_i2s_set_clkdiv() local
529 struct s3c_i2sv2_info *i2s = to_info(dai); in s3c2412_i2s_delay() local
543 struct s3c_i2sv2_info *i2s = to_info(cpu_dai); in s3c_i2sv2_get_clock() local
[all …]
/kernel/linux/linux-5.10/sound/soc/sunxi/
Dsun4i-i2s.c237 static unsigned long sun4i_i2s_get_bclk_parent_rate(const struct sun4i_i2s *i2s) in sun4i_i2s_get_bclk_parent_rate()
242 static unsigned long sun8i_i2s_get_bclk_parent_rate(const struct sun4i_i2s *i2s) in sun8i_i2s_get_bclk_parent_rate()
247 static int sun4i_i2s_get_bclk_div(struct sun4i_i2s *i2s, in sun4i_i2s_get_bclk_div()
267 static int sun4i_i2s_get_mclk_div(struct sun4i_i2s *i2s, in sun4i_i2s_get_mclk_div()
302 struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai); in sun4i_i2s_set_clk_rate() local
368 static s8 sun4i_i2s_get_sr(const struct sun4i_i2s *i2s, int width) in sun4i_i2s_get_sr()
379 static s8 sun4i_i2s_get_wss(const struct sun4i_i2s *i2s, int width) in sun4i_i2s_get_wss()
390 static s8 sun8i_i2s_get_sr_wss(const struct sun4i_i2s *i2s, int width) in sun8i_i2s_get_sr_wss()
401 static int sun4i_i2s_set_chan_cfg(const struct sun4i_i2s *i2s, in sun4i_i2s_set_chan_cfg()
421 static int sun8i_i2s_set_chan_cfg(const struct sun4i_i2s *i2s, in sun8i_i2s_set_chan_cfg()
[all …]
/kernel/linux/linux-5.10/sound/soc/jz4740/
Djz4740-i2s.c113 static inline uint32_t jz4740_i2s_read(const struct jz4740_i2s *i2s, in jz4740_i2s_read()
119 static inline void jz4740_i2s_write(const struct jz4740_i2s *i2s, in jz4740_i2s_write()
128 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_startup() local
153 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_shutdown() local
169 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_trigger() local
203 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_set_fmt() local
255 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_hw_params() local
308 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_set_sysclk() local
336 struct jz4740_i2s *i2s = snd_soc_component_get_drvdata(component); in jz4740_i2s_suspend() local
354 struct jz4740_i2s *i2s = snd_soc_component_get_drvdata(component); in jz4740_i2s_resume() local
[all …]
/kernel/linux/linux-4.19/sound/soc/jz4740/
Djz4740-i2s.c119 static inline uint32_t jz4740_i2s_read(const struct jz4740_i2s *i2s, in jz4740_i2s_read()
125 static inline void jz4740_i2s_write(const struct jz4740_i2s *i2s, in jz4740_i2s_write()
134 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_startup() local
159 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_shutdown() local
175 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_trigger() local
209 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_set_fmt() local
261 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_hw_params() local
314 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_set_sysclk() local
338 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_suspend() local
356 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_resume() local
[all …]
/kernel/linux/linux-4.19/sound/soc/rockchip/
Drockchip_i2s.c59 struct rk_i2s_dev *i2s = dev_get_drvdata(dev); in i2s_runtime_suspend() local
69 struct rk_i2s_dev *i2s = dev_get_drvdata(dev); in i2s_runtime_resume() local
93 static void rockchip_snd_txctrl(struct rk_i2s_dev *i2s, int on) in rockchip_snd_txctrl()
140 static void rockchip_snd_rxctrl(struct rk_i2s_dev *i2s, int on) in rockchip_snd_rxctrl()
190 struct rk_i2s_dev *i2s = to_info(cpu_dai); in rockchip_i2s_set_fmt() local
277 struct rk_i2s_dev *i2s = to_info(dai); in rockchip_i2s_hw_params() local
391 struct rk_i2s_dev *i2s = to_info(dai); in rockchip_i2s_trigger() local
422 struct rk_i2s_dev *i2s = to_info(cpu_dai); in rockchip_i2s_set_sysclk() local
434 struct rk_i2s_dev *i2s = snd_soc_dai_get_drvdata(dai); in rockchip_i2s_dai_probe() local
581 struct rk_i2s_dev *i2s; in rockchip_i2s_probe() local
[all …]
/kernel/linux/linux-5.10/sound/soc/rockchip/
Drockchip_i2s.c56 struct rk_i2s_dev *i2s = dev_get_drvdata(dev); in i2s_runtime_suspend() local
66 struct rk_i2s_dev *i2s = dev_get_drvdata(dev); in i2s_runtime_resume() local
90 static void rockchip_snd_txctrl(struct rk_i2s_dev *i2s, int on) in rockchip_snd_txctrl()
137 static void rockchip_snd_rxctrl(struct rk_i2s_dev *i2s, int on) in rockchip_snd_rxctrl()
187 struct rk_i2s_dev *i2s = to_info(cpu_dai); in rockchip_i2s_set_fmt() local
283 struct rk_i2s_dev *i2s = to_info(dai); in rockchip_i2s_hw_params() local
397 struct rk_i2s_dev *i2s = to_info(dai); in rockchip_i2s_trigger() local
428 struct rk_i2s_dev *i2s = to_info(cpu_dai); in rockchip_i2s_set_sysclk() local
443 struct rk_i2s_dev *i2s = snd_soc_dai_get_drvdata(dai); in rockchip_i2s_dai_probe() local
590 struct rk_i2s_dev *i2s; in rockchip_i2s_probe() local
[all …]
/kernel/linux/linux-5.10/sound/soc/adi/
Daxi-i2s.c60 struct axi_i2s *i2s = snd_soc_dai_get_drvdata(dai); in axi_i2s_trigger() local
91 struct axi_i2s *i2s = snd_soc_dai_get_drvdata(dai); in axi_i2s_hw_params() local
109 struct axi_i2s *i2s = snd_soc_dai_get_drvdata(dai); in axi_i2s_startup() local
132 struct axi_i2s *i2s = snd_soc_dai_get_drvdata(dai); in axi_i2s_shutdown() local
139 struct axi_i2s *i2s = snd_soc_dai_get_drvdata(dai); in axi_i2s_dai_probe() local
173 static void axi_i2s_parse_of(struct axi_i2s *i2s, const struct device_node *np) in axi_i2s_parse_of()
189 struct axi_i2s *i2s; in axi_i2s_probe() local
279 struct axi_i2s *i2s = platform_get_drvdata(pdev); in axi_i2s_dev_remove() local
/kernel/linux/linux-4.19/sound/soc/xtensa/
Dxtfpga-i2s.c159 static bool xtfpga_pcm_push_tx(struct xtfpga_i2s *i2s) in xtfpga_pcm_push_tx()
179 static void xtfpga_pcm_refill_fifo(struct xtfpga_i2s *i2s) in xtfpga_pcm_refill_fifo()
228 struct xtfpga_i2s *i2s = dev_id; in xtfpga_i2s_threaded_irq_handler() local
276 struct xtfpga_i2s *i2s = snd_soc_dai_get_drvdata(dai); in xtfpga_i2s_startup() local
286 struct xtfpga_i2s *i2s = snd_soc_dai_get_drvdata(dai); in xtfpga_i2s_hw_params() local
395 struct xtfpga_i2s *i2s = runtime->private_data; in xtfpga_pcm_hw_params() local
434 struct xtfpga_i2s *i2s = runtime->private_data; in xtfpga_pcm_trigger() local
461 struct xtfpga_i2s *i2s = runtime->private_data; in xtfpga_pcm_pointer() local
515 struct xtfpga_i2s *i2s = dev_get_drvdata(dev); in xtfpga_i2s_runtime_suspend() local
523 struct xtfpga_i2s *i2s = dev_get_drvdata(dev); in xtfpga_i2s_runtime_resume() local
[all …]
/kernel/linux/linux-5.10/sound/soc/xtensa/
Dxtfpga-i2s.c156 static bool xtfpga_pcm_push_tx(struct xtfpga_i2s *i2s) in xtfpga_pcm_push_tx()
176 static void xtfpga_pcm_refill_fifo(struct xtfpga_i2s *i2s) in xtfpga_pcm_refill_fifo()
225 struct xtfpga_i2s *i2s = dev_id; in xtfpga_i2s_threaded_irq_handler() local
273 struct xtfpga_i2s *i2s = snd_soc_dai_get_drvdata(dai); in xtfpga_i2s_startup() local
283 struct xtfpga_i2s *i2s = snd_soc_dai_get_drvdata(dai); in xtfpga_i2s_hw_params() local
394 struct xtfpga_i2s *i2s = runtime->private_data; in xtfpga_pcm_hw_params() local
432 struct xtfpga_i2s *i2s = runtime->private_data; in xtfpga_pcm_trigger() local
460 struct xtfpga_i2s *i2s = runtime->private_data; in xtfpga_pcm_pointer() local
510 struct xtfpga_i2s *i2s = dev_get_drvdata(dev); in xtfpga_i2s_runtime_suspend() local
518 struct xtfpga_i2s *i2s = dev_get_drvdata(dev); in xtfpga_i2s_runtime_resume() local
[all …]
/kernel/linux/linux-4.19/sound/soc/hisilicon/
Dhi6210-i2s.c89 static inline void hi6210_write_reg(struct hi6210_i2s *i2s, int reg, u32 val) in hi6210_write_reg()
94 static inline u32 hi6210_read_reg(struct hi6210_i2s *i2s, int reg) in hi6210_read_reg()
102 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_startup() local
181 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_shutdown() local
192 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_txctrl() local
212 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_rxctrl() local
230 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_set_fmt() local
264 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_hw_params() local
509 struct hi6210_i2s *i2s = snd_soc_dai_get_drvdata(dai); in hi6210_i2s_dai_probe() local
554 struct hi6210_i2s *i2s; in hi6210_i2s_probe() local
/kernel/linux/linux-5.10/sound/soc/hisilicon/
Dhi6210-i2s.c81 static inline void hi6210_write_reg(struct hi6210_i2s *i2s, int reg, u32 val) in hi6210_write_reg()
86 static inline u32 hi6210_read_reg(struct hi6210_i2s *i2s, int reg) in hi6210_read_reg()
94 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_startup() local
175 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_shutdown() local
186 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_txctrl() local
206 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_rxctrl() local
224 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_set_fmt() local
258 struct hi6210_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hi6210_i2s_hw_params() local
503 struct hi6210_i2s *i2s = snd_soc_dai_get_drvdata(dai); in hi6210_i2s_dai_probe() local
548 struct hi6210_i2s *i2s; in hi6210_i2s_probe() local
/kernel/linux/linux-4.19/sound/soc/adi/
Daxi-i2s.c58 struct axi_i2s *i2s = snd_soc_dai_get_drvdata(dai); in axi_i2s_trigger() local
89 struct axi_i2s *i2s = snd_soc_dai_get_drvdata(dai); in axi_i2s_hw_params() local
107 struct axi_i2s *i2s = snd_soc_dai_get_drvdata(dai); in axi_i2s_startup() local
130 struct axi_i2s *i2s = snd_soc_dai_get_drvdata(dai); in axi_i2s_shutdown() local
137 struct axi_i2s *i2s = snd_soc_dai_get_drvdata(dai); in axi_i2s_dai_probe() local
184 struct axi_i2s *i2s; in axi_i2s_probe() local
252 struct axi_i2s *i2s = platform_get_drvdata(pdev); in axi_i2s_dev_remove() local
/kernel/linux/linux-4.19/sound/soc/sunxi/
Dsun4i-i2s.c225 static int sun4i_i2s_get_bclk_div(struct sun4i_i2s *i2s, in sun4i_i2s_get_bclk_div()
243 static int sun4i_i2s_get_mclk_div(struct sun4i_i2s *i2s, in sun4i_i2s_get_mclk_div()
277 struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai); in sun4i_i2s_set_clk_rate() local
357 struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai); in sun4i_i2s_hw_params() local
427 struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai); in sun4i_i2s_set_fmt() local
553 static void sun4i_i2s_start_capture(struct sun4i_i2s *i2s) in sun4i_i2s_start_capture()
574 static void sun4i_i2s_start_playback(struct sun4i_i2s *i2s) in sun4i_i2s_start_playback()
595 static void sun4i_i2s_stop_capture(struct sun4i_i2s *i2s) in sun4i_i2s_stop_capture()
608 static void sun4i_i2s_stop_playback(struct sun4i_i2s *i2s) in sun4i_i2s_stop_playback()
624 struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai); in sun4i_i2s_trigger() local
[all …]

123