Home
last modified time | relevance | path

Searched refs:dw_i2s_dev (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/sound/soc/dwc/
H A Dlocal.h111 struct dw_i2s_dev { struct
144 unsigned int (*tx_fn)(struct dw_i2s_dev *dev, argument
147 unsigned int (*rx_fn)(struct dw_i2s_dev *dev, argument
155 void dw_pcm_push_tx(struct dw_i2s_dev *dev); argument
156 void dw_pcm_pop_rx(struct dw_i2s_dev *dev);
159 static inline void dw_pcm_push_tx(struct dw_i2s_dev *dev) { } in dw_pcm_push_tx()
160 static inline void dw_pcm_pop_rx(struct dw_i2s_dev *dev) { } in dw_pcm_pop_rx()
H A Ddwc-i2s.c105 struct dw_i2s_dev *dev = dev_id; in i2s_irq_handler()
182 static void i2s_start(struct dw_i2s_dev *dev, in i2s_start()
211 static void i2s_stop(struct dw_i2s_dev *dev, in i2s_stop()
278 struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in dw_i2s_hw_params()
353 struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in dw_i2s_prepare()
366 struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in dw_i2s_trigger()
484 struct dw_i2s_dev *dw_dev = dev_get_drvdata(dev); in dw_i2s_runtime_suspend()
493 struct dw_i2s_dev *dw_dev = dev_get_drvdata(dev); in dw_i2s_runtime_resume()
579 static int dw_configure_dai(struct dw_i2s_dev *dev, in dw_configure_dai()
911 struct dw_i2s_dev *dev = container_of(config, struct dw_i2s_dev, config); in jh7110_i2stx0_clk_cfg()
[all …]
H A Ddwc-pcm.c25 static unsigned int dw_pcm_tx_##sample_bits(struct dw_i2s_dev *dev, \
45 static unsigned int dw_pcm_rx_##sample_bits(struct dw_i2s_dev *dev, \
95 static void dw_pcm_transfer(struct dw_i2s_dev *dev, bool push) in dw_pcm_transfer()
128 void dw_pcm_push_tx(struct dw_i2s_dev *dev) in dw_pcm_push_tx()
133 void dw_pcm_pop_rx(struct dw_i2s_dev *dev) in dw_pcm_pop_rx()
143 struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in dw_pcm_open()
164 struct dw_i2s_dev *dev = runtime->private_data; in dw_pcm_hw_params()
196 struct dw_i2s_dev *dev = runtime->private_data; in dw_pcm_trigger()
231 struct dw_i2s_dev *dev = runtime->private_data; in dw_pcm_pointer()
/openbmc/linux/include/sound/
H A Ddesignware_i2s.h24 struct dw_i2s_dev;
47 int (*i2s_pd_init)(struct dw_i2s_dev *dev);