Home
last modified time | relevance | path

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

/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
259 struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); in tegra30_i2s_probe() 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 …]
/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 …]
/sound/soc/samsung/
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(rtd->cpu_dai); 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 …]
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 …]
Ds3c2412-i2s.c97 struct s3c_i2sv2_info *i2s = snd_soc_dai_get_drvdata(cpu_dai); in s3c2412_i2s_hw_params() local
/sound/soc/hisilicon/
Dhi3660-i2s.c56 static void update_bits(struct hi3660_i2s *i2s, u32 ofs, u32 reset, u32 set) in update_bits()
63 static void update_bits_syscon(struct hi3660_i2s *i2s, in update_bits_syscon()
71 static int enable_format(struct hi3660_i2s *i2s, in enable_format()
95 struct hi3660_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in startup() local
133 struct hi3660_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in shutdown() local
141 struct hi3660_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in txctrl() local
164 struct hi3660_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in rxctrl() local
191 struct hi3660_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in set_format() local
204 struct hi3660_i2s *i2s = dev_get_drvdata(cpu_dai->dev); in hw_params() local
268 struct hi3660_i2s *i2s = snd_soc_dai_get_drvdata(dai); in dai_probe() local
[all …]
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
/sound/soc/sunxi/
Dsun4i-i2s.c229 static unsigned long sun4i_i2s_get_bclk_parent_rate(const struct sun4i_i2s *i2s) in sun4i_i2s_get_bclk_parent_rate()
234 static unsigned long sun8i_i2s_get_bclk_parent_rate(const struct sun4i_i2s *i2s) in sun8i_i2s_get_bclk_parent_rate()
239 static int sun4i_i2s_get_bclk_div(struct sun4i_i2s *i2s, in sun4i_i2s_get_bclk_div()
259 static int sun4i_i2s_get_mclk_div(struct sun4i_i2s *i2s, in sun4i_i2s_get_mclk_div()
294 struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai); in sun4i_i2s_set_clk_rate() local
360 static s8 sun4i_i2s_get_sr(const struct sun4i_i2s *i2s, int width) in sun4i_i2s_get_sr()
371 static s8 sun4i_i2s_get_wss(const struct sun4i_i2s *i2s, int width) in sun4i_i2s_get_wss()
382 static s8 sun8i_i2s_get_sr_wss(const struct sun4i_i2s *i2s, int width) in sun8i_i2s_get_sr_wss()
393 static int sun4i_i2s_set_chan_cfg(const struct sun4i_i2s *i2s, in sun4i_i2s_set_chan_cfg()
413 static int sun8i_i2s_set_chan_cfg(const struct sun4i_i2s *i2s, in sun8i_i2s_set_chan_cfg()
[all …]
/sound/soc/jz4740/
Djz4740-i2s.c110 static inline uint32_t jz4740_i2s_read(const struct jz4740_i2s *i2s, in jz4740_i2s_read()
116 static inline void jz4740_i2s_write(const struct jz4740_i2s *i2s, in jz4740_i2s_write()
125 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_startup() local
150 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_shutdown() local
166 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_trigger() local
200 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_set_fmt() local
252 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_hw_params() local
305 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_set_sysclk() local
333 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_suspend() local
351 struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); in jz4740_i2s_resume() local
[all …]
/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 …]
/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
/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
392 struct xtfpga_i2s *i2s = runtime->private_data; in xtfpga_pcm_hw_params() local
431 struct xtfpga_i2s *i2s = runtime->private_data; in xtfpga_pcm_trigger() local
458 struct xtfpga_i2s *i2s = runtime->private_data; in xtfpga_pcm_pointer() local
512 struct xtfpga_i2s *i2s = dev_get_drvdata(dev); in xtfpga_i2s_runtime_suspend() local
520 struct xtfpga_i2s *i2s = dev_get_drvdata(dev); in xtfpga_i2s_runtime_resume() local
[all …]
/sound/soc/stm/
Dstm32_i2s.c245 struct stm32_i2s_data *i2s = (struct stm32_i2s_data *)devid; in stm32_i2s_isr() local
334 struct stm32_i2s_data *i2s = snd_soc_dai_get_drvdata(cpu_dai); in stm32_i2s_set_dai_fmt() local
407 struct stm32_i2s_data *i2s = snd_soc_dai_get_drvdata(cpu_dai); in stm32_i2s_set_sysclk() local
425 struct stm32_i2s_data *i2s = snd_soc_dai_get_drvdata(cpu_dai); in stm32_i2s_configure_clock() local
505 struct stm32_i2s_data *i2s = snd_soc_dai_get_drvdata(cpu_dai); in stm32_i2s_configure() local
552 struct stm32_i2s_data *i2s = snd_soc_dai_get_drvdata(cpu_dai); in stm32_i2s_startup() local
578 struct stm32_i2s_data *i2s = snd_soc_dai_get_drvdata(cpu_dai); in stm32_i2s_hw_params() local
596 struct stm32_i2s_data *i2s = snd_soc_dai_get_drvdata(cpu_dai); in stm32_i2s_trigger() local
694 struct stm32_i2s_data *i2s = snd_soc_dai_get_drvdata(cpu_dai); in stm32_i2s_shutdown() local
709 struct stm32_i2s_data *i2s = dev_get_drvdata(cpu_dai->dev); in stm32_i2s_dai_probe() local
[all …]
/sound/soc/zte/
Dzx-i2s.c177 struct zx_i2s_info *i2s = snd_soc_dai_get_drvdata(cpu_dai); in zx_i2s_set_fmt() local
224 struct zx_i2s_info *i2s = snd_soc_dai_get_drvdata(socdai); in zx_i2s_hw_params() local
/sound/soc/qcom/qdsp6/
Dq6afe-dai.c159 struct q6afe_i2s_cfg *i2s = &dai_data->port_config[dai->id].i2s_cfg; in q6i2s_hw_params() local
172 struct q6afe_i2s_cfg *i2s = &dai_data->port_config[dai->id].i2s_cfg; in q6i2s_set_fmt() local
/sound/soc/sh/
Dsiu_dai.c50 u32 i2s; member