Home
last modified time | relevance | path

Searched defs:dai (Results 1 – 25 of 292) sorted by relevance

12345678910>>...12

/sound/soc/ux500/
Dux500_msp_dai.c33 static int setup_pcm_multichan(struct snd_soc_dai *dai, in setup_pcm_multichan()
66 static int setup_frameper(struct snd_soc_dai *dai, unsigned int rate, in setup_frameper()
130 static int setup_pcm_framing(struct snd_soc_dai *dai, unsigned int rate, in setup_pcm_framing()
175 static int setup_clocking(struct snd_soc_dai *dai, in setup_clocking()
231 static int setup_pcm_protdesc(struct snd_soc_dai *dai, in setup_pcm_protdesc()
305 struct snd_soc_dai *dai, in setup_msp_config()
387 struct snd_soc_dai *dai) in ux500_msp_dai_startup()
428 struct snd_soc_dai *dai) in ux500_msp_dai_shutdown()
463 struct snd_soc_dai *dai) in ux500_msp_dai_prepare()
502 struct snd_soc_dai *dai) in ux500_msp_dai_hw_params()
[all …]
/sound/soc/intel/atom/
Dsst-mfld-platform-pcm.c104 static int sst_media_digital_mute(struct snd_soc_dai *dai, int mute, int stream) in sst_media_digital_mute()
231 struct snd_soc_dai *dai) in sst_platform_alloc_stream()
312 struct snd_soc_dai *dai) in sst_media_open()
357 struct snd_soc_dai *dai) in sst_media_close()
373 struct snd_soc_dai *dai) in sst_media_prepare()
400 struct snd_soc_dai *dai) in sst_media_hw_params()
414 struct snd_soc_dai *dai) in sst_media_hw_free()
420 struct snd_soc_dai *dai) in sst_enable_ssp()
433 struct snd_soc_dai *dai) in sst_be_hw_params()
442 static int sst_set_format(struct snd_soc_dai *dai, unsigned int fmt) in sst_set_format()
[all …]
/sound/soc/mediatek/common/
Dmtk-afe-fe-dai.c43 struct snd_soc_dai *dai) in mtk_afe_fe_startup()
105 struct snd_soc_dai *dai) in mtk_afe_fe_shutdown()
128 struct snd_soc_dai *dai) in mtk_afe_fe_hw_params()
184 struct snd_soc_dai *dai) in mtk_afe_fe_hw_free()
191 struct snd_soc_dai *dai) in mtk_afe_fe_trigger()
255 struct snd_soc_dai *dai) in mtk_afe_fe_prepare()
328 int mtk_afe_dai_suspend(struct snd_soc_dai *dai) in mtk_afe_dai_suspend()
353 int mtk_afe_dai_resume(struct snd_soc_dai *dai) in mtk_afe_dai_resume()
/sound/soc/qcom/
Dlpass-cpu.c30 static int lpass_cpu_daiops_set_sysclk(struct snd_soc_dai *dai, int clk_id, in lpass_cpu_daiops_set_sysclk()
45 struct snd_soc_dai *dai) in lpass_cpu_daiops_startup()
67 struct snd_soc_dai *dai) in lpass_cpu_daiops_shutdown()
77 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in lpass_cpu_daiops_hw_params()
186 struct snd_soc_dai *dai) in lpass_cpu_daiops_hw_free()
201 struct snd_soc_dai *dai) in lpass_cpu_daiops_prepare()
225 int cmd, struct snd_soc_dai *dai) in lpass_cpu_daiops_trigger()
286 int asoc_qcom_lpass_cpu_dai_probe(struct snd_soc_dai *dai) in asoc_qcom_lpass_cpu_dai_probe()
/sound/soc/mediatek/mt2701/
Dmt2701-afe-pcm.c96 struct snd_soc_dai *dai) in mt2701_afe_i2s_startup()
118 struct snd_soc_dai *dai, in mt2701_afe_i2s_path_shutdown()
161 struct snd_soc_dai *dai) in mt2701_afe_i2s_shutdown()
192 struct snd_soc_dai *dai, in mt2701_i2s_path_prepare_enable()
271 struct snd_soc_dai *dai) in mt2701_afe_i2s_prepare()
315 static int mt2701_afe_i2s_set_sysclk(struct snd_soc_dai *dai, int clk_id, in mt2701_afe_i2s_set_sysclk()
337 struct snd_soc_dai *dai) in mt2701_btmrg_startup()
352 struct snd_soc_dai *dai) in mt2701_btmrg_hw_params()
395 struct snd_soc_dai *dai) in mt2701_btmrg_shutdown()
417 struct snd_soc_dai *dai) in mt2701_simple_fe_startup()
[all …]
/sound/soc/codecs/
Dmc13783.c108 struct snd_soc_dai *dai) in mc13783_pcm_hw_params_dac()
127 struct snd_soc_dai *dai) in mc13783_pcm_hw_params_codec()
152 struct snd_soc_dai *dai) in mc13783_pcm_hw_params_sync()
160 static int mc13783_set_fmt(struct snd_soc_dai *dai, unsigned int fmt, in mc13783_set_fmt()
216 static int mc13783_set_fmt_async(struct snd_soc_dai *dai, unsigned int fmt) in mc13783_set_fmt_async()
224 static int mc13783_set_fmt_sync(struct snd_soc_dai *dai, unsigned int fmt) in mc13783_set_fmt_sync()
254 static int mc13783_set_sysclk(struct snd_soc_dai *dai, in mc13783_set_sysclk()
283 static int mc13783_set_sysclk_dac(struct snd_soc_dai *dai, in mc13783_set_sysclk_dac()
289 static int mc13783_set_sysclk_codec(struct snd_soc_dai *dai, in mc13783_set_sysclk_codec()
295 static int mc13783_set_sysclk_sync(struct snd_soc_dai *dai, in mc13783_set_sysclk_sync()
[all …]
Dlm49453.c1111 struct snd_soc_dai *dai) in lm49453_hw_params()
1197 static int lm49453_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, in lm49453_set_dai_sysclk()
1224 static int lm49453_hp_mute(struct snd_soc_dai *dai, int mute) in lm49453_hp_mute()
1231 static int lm49453_lo_mute(struct snd_soc_dai *dai, int mute) in lm49453_lo_mute()
1238 static int lm49453_ls_mute(struct snd_soc_dai *dai, int mute) in lm49453_ls_mute()
1245 static int lm49453_ep_mute(struct snd_soc_dai *dai, int mute) in lm49453_ep_mute()
1252 static int lm49453_ha_mute(struct snd_soc_dai *dai, int mute) in lm49453_ha_mute()
/sound/soc/blackfin/
Dbf5xx-i2s.c111 struct snd_soc_dai *dai) in bf5xx_i2s_hw_params()
171 struct snd_soc_dai *dai) in bf5xx_i2s_shutdown()
182 static int bf5xx_i2s_set_channel_map(struct snd_soc_dai *dai, in bf5xx_i2s_set_channel_map()
218 static int bf5xx_i2s_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, in bf5xx_i2s_set_tdm_slot()
241 static int bf5xx_i2s_suspend(struct snd_soc_dai *dai) in bf5xx_i2s_suspend()
254 static int bf5xx_i2s_resume(struct snd_soc_dai *dai) in bf5xx_i2s_resume()
285 static int bf5xx_i2s_dai_probe(struct snd_soc_dai *dai) in bf5xx_i2s_dai_probe()
/sound/soc/pxa/
Dpxa2xx-i2s.c102 struct snd_soc_dai *dai) in pxa2xx_i2s_startup()
164 struct snd_soc_dai *dai) in pxa2xx_i2s_hw_params()
223 struct snd_soc_dai *dai) in pxa2xx_i2s_trigger()
249 struct snd_soc_dai *dai) in pxa2xx_i2s_shutdown()
270 static int pxa2xx_i2s_suspend(struct snd_soc_dai *dai) in pxa2xx_i2s_suspend()
284 static int pxa2xx_i2s_resume(struct snd_soc_dai *dai) in pxa2xx_i2s_resume()
303 static int pxa2xx_i2s_probe(struct snd_soc_dai *dai) in pxa2xx_i2s_probe()
328 static int pxa2xx_i2s_remove(struct snd_soc_dai *dai) in pxa2xx_i2s_remove()
/sound/soc/omap/
Domap-dmic.c105 struct snd_soc_dai *dai) in omap_dmic_dai_startup()
123 struct snd_soc_dai *dai) in omap_dmic_dai_shutdown()
202 struct snd_soc_dai *dai) in omap_dmic_dai_hw_params()
240 struct snd_soc_dai *dai) in omap_dmic_dai_prepare()
272 int cmd, struct snd_soc_dai *dai) in omap_dmic_dai_trigger()
393 static int omap_dmic_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, in omap_dmic_set_dai_sysclk()
416 static int omap_dmic_probe(struct snd_soc_dai *dai) in omap_dmic_probe()
435 static int omap_dmic_remove(struct snd_soc_dai *dai) in omap_dmic_remove()
Domap-mcpdm.c264 struct snd_soc_dai *dai) in omap_mcpdm_dai_startup()
279 struct snd_soc_dai *dai) in omap_mcpdm_dai_shutdown()
310 struct snd_soc_dai *dai) in omap_mcpdm_dai_hw_params()
386 struct snd_soc_dai *dai) in omap_mcpdm_prepare()
424 static int omap_mcpdm_probe(struct snd_soc_dai *dai) in omap_mcpdm_probe()
457 static int omap_mcpdm_remove(struct snd_soc_dai *dai) in omap_mcpdm_remove()
471 static int omap_mcpdm_suspend(struct snd_soc_dai *dai) in omap_mcpdm_suspend()
489 static int omap_mcpdm_resume(struct snd_soc_dai *dai) in omap_mcpdm_resume()
/sound/soc/sti/
Dsti_uniperif.c123 int sti_uniperiph_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, in sti_uniperiph_set_tdm_slot()
255 static int sti_uniperiph_dai_create_ctrl(struct snd_soc_dai *dai) in sti_uniperiph_dai_create_ctrl()
283 struct snd_soc_dai *dai) in sti_uniperiph_dai_hw_params()
302 int sti_uniperiph_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in sti_uniperiph_dai_set_fmt()
311 static int sti_uniperiph_dai_suspend(struct snd_soc_dai *dai) in sti_uniperiph_dai_suspend()
333 static int sti_uniperiph_dai_resume(struct snd_soc_dai *dai) in sti_uniperiph_dai_resume()
354 static int sti_uniperiph_dai_probe(struct snd_soc_dai *dai) in sti_uniperiph_dai_probe()
386 struct snd_soc_dai_driver *dai = priv->dai; in sti_uniperiph_cpu_dai_of() local
Duniperif_player.c573 struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); in uni_player_ctl_iec958_get() local
590 struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); in uni_player_ctl_iec958_put() local
641 struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); in snd_sti_clk_adjustment_get() local
655 struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); in snd_sti_clk_adjustment_put() local
692 struct snd_soc_dai *dai) in uni_player_startup()
724 static int uni_player_set_sysclk(struct snd_soc_dai *dai, int clk_id, in uni_player_set_sysclk()
747 struct snd_soc_dai *dai) in uni_player_prepare()
977 int cmd, struct snd_soc_dai *dai) in uni_player_trigger()
995 struct snd_soc_dai *dai) in uni_player_shutdown()
Duniperif_reader.c187 struct snd_soc_dai *dai) in uni_reader_prepare()
338 int cmd, struct snd_soc_dai *dai) in uni_reader_trigger()
354 struct snd_soc_dai *dai) in uni_reader_startup()
385 struct snd_soc_dai *dai) in uni_reader_shutdown()
/sound/soc/kirkwood/
Dkirkwood-i2s.c105 static void kirkwood_set_rate(struct snd_soc_dai *dai, in kirkwood_set_rate()
131 struct snd_soc_dai *dai) in kirkwood_i2s_startup()
141 struct snd_soc_dai *dai) in kirkwood_i2s_hw_params()
235 int cmd, struct snd_soc_dai *dai) in kirkwood_i2s_play_trigger()
323 int cmd, struct snd_soc_dai *dai) in kirkwood_i2s_rec_trigger()
389 struct snd_soc_dai *dai) in kirkwood_i2s_trigger()
/sound/soc/jz4740/
Djz4740-i2s.c132 struct snd_soc_dai *dai) in jz4740_i2s_startup()
157 struct snd_soc_dai *dai) in jz4740_i2s_shutdown()
173 struct snd_soc_dai *dai) in jz4740_i2s_trigger()
207 static int jz4740_i2s_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in jz4740_i2s_set_fmt()
259 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in jz4740_i2s_hw_params()
311 static int jz4740_i2s_set_sysclk(struct snd_soc_dai *dai, int clk_id, in jz4740_i2s_set_sysclk()
336 static int jz4740_i2s_suspend(struct snd_soc_dai *dai) in jz4740_i2s_suspend()
354 static int jz4740_i2s_resume(struct snd_soc_dai *dai) in jz4740_i2s_resume()
396 static int jz4740_i2s_dai_probe(struct snd_soc_dai *dai) in jz4740_i2s_dai_probe()
430 static int jz4740_i2s_dai_remove(struct snd_soc_dai *dai) in jz4740_i2s_dai_remove()
/sound/soc/intel/skylake/
Dskl-pcm.c124 struct snd_soc_dai *dai, bool enable) in skl_set_suspend_active()
216 struct snd_soc_dai *dai) in skl_pcm_open()
267 struct snd_soc_dai *dai) in skl_pcm_prepare()
286 struct snd_soc_dai *dai) in skl_pcm_hw_params()
327 struct snd_soc_dai *dai) in skl_pcm_close()
364 struct snd_soc_dai *dai) in skl_pcm_hw_free()
379 struct snd_soc_dai *dai) in skl_be_hw_params()
439 struct snd_soc_dai *dai) in skl_pcm_trigger()
522 struct snd_soc_dai *dai) in skl_link_hw_params()
565 struct snd_soc_dai *dai) in skl_link_pcm_prepare()
[all …]
/sound/soc/fsl/
Dfsl_esai.c125 static int fsl_esai_divisor_cal(struct snd_soc_dai *dai, bool tx, u32 ratio, in fsl_esai_divisor_cal()
220 static int fsl_esai_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, in fsl_esai_set_dai_sysclk()
313 static int fsl_esai_set_bclk(struct snd_soc_dai *dai, bool tx, u32 freq) in fsl_esai_set_bclk()
355 static int fsl_esai_set_dai_tdm_slot(struct snd_soc_dai *dai, u32 tx_mask, in fsl_esai_set_dai_tdm_slot()
374 static int fsl_esai_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) in fsl_esai_set_dai_fmt()
463 struct snd_soc_dai *dai) in fsl_esai_startup()
520 struct snd_soc_dai *dai) in fsl_esai_hw_params()
570 struct snd_soc_dai *dai) in fsl_esai_shutdown()
584 struct snd_soc_dai *dai) in fsl_esai_trigger()
659 static int fsl_esai_dai_probe(struct snd_soc_dai *dai) in fsl_esai_dai_probe()
/sound/soc/sh/
Dssi.c93 struct snd_soc_dai *dai) in ssi_startup()
105 struct snd_soc_dai *dai) in ssi_shutdown()
113 struct snd_soc_dai *dai) in ssi_trigger()
133 struct snd_soc_dai *dai) in ssi_hw_params()
225 static int ssi_set_clkdiv(struct snd_soc_dai *dai, int did, int div) in ssi_set_clkdiv()
248 static int ssi_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in ssi_set_fmt()
/sound/pci/ctxfi/
Dctdaio.c277 static int dai_set_srt_srcl(struct dai *dai, struct rsc *src) in dai_set_srt_srcl()
284 static int dai_set_srt_srcr(struct dai *dai, struct rsc *src) in dai_set_srt_srcr()
291 static int dai_set_srt_msr(struct dai *dai, unsigned int msr) in dai_set_srt_msr()
302 static int dai_set_enb_src(struct dai *dai, unsigned int enb) in dai_set_enb_src()
308 static int dai_set_enb_srt(struct dai *dai, unsigned int enb) in dai_set_enb_srt()
314 static int dai_commit_write(struct dai *dai) in dai_commit_write()
465 static int dai_rsc_init(struct dai *dai, in dai_rsc_init()
501 static int dai_rsc_uninit(struct dai *dai) in dai_rsc_uninit()
560 struct dai *dai = kzalloc(sizeof(*dai), GFP_KERNEL); in get_daio_rsc() local
/sound/soc/bcm/
Dbcm2835-i2s.c216 static int bcm2835_i2s_set_dai_fmt(struct snd_soc_dai *dai, in bcm2835_i2s_set_dai_fmt()
224 static int bcm2835_i2s_set_dai_bclk_ratio(struct snd_soc_dai *dai, in bcm2835_i2s_set_dai_bclk_ratio()
234 struct snd_soc_dai *dai) in bcm2835_i2s_hw_params()
430 struct snd_soc_dai *dai) in bcm2835_i2s_prepare()
457 struct snd_soc_dai *dai) in bcm2835_i2s_stop()
475 struct snd_soc_dai *dai) in bcm2835_i2s_trigger()
508 struct snd_soc_dai *dai) in bcm2835_i2s_startup()
533 struct snd_soc_dai *dai) in bcm2835_i2s_shutdown()
564 static int bcm2835_i2s_dai_probe(struct snd_soc_dai *dai) in bcm2835_i2s_dai_probe()
/sound/soc/adi/
Daxi-spdif.c50 struct snd_soc_dai *dai) in axi_spdif_trigger()
77 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in axi_spdif_hw_params()
109 static int axi_spdif_dai_probe(struct snd_soc_dai *dai) in axi_spdif_dai_probe()
119 struct snd_soc_dai *dai) in axi_spdif_startup()
141 struct snd_soc_dai *dai) in axi_spdif_shutdown()
Daxi-i2s.c56 struct snd_soc_dai *dai) in axi_i2s_trigger()
87 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in axi_i2s_hw_params()
105 struct snd_soc_dai *dai) in axi_i2s_startup()
128 struct snd_soc_dai *dai) in axi_i2s_shutdown()
135 static int axi_i2s_dai_probe(struct snd_soc_dai *dai) in axi_i2s_dai_probe()
/sound/soc/samsung/
Ds3c-i2s-v2.c300 struct snd_soc_dai *dai) in s3c_i2sv2_hw_params()
384 struct snd_soc_dai *dai) in s3c2412_i2s_trigger()
531 struct snd_soc_dai *dai) in s3c2412_i2s_delay()
622 int s3c_i2sv2_probe(struct snd_soc_dai *dai, in s3c_i2sv2_probe()
654 void s3c_i2sv2_cleanup(struct snd_soc_dai *dai, in s3c_i2sv2_cleanup()
664 static int s3c2412_i2s_suspend(struct snd_soc_dai *dai) in s3c2412_i2s_suspend()
691 static int s3c2412_i2s_resume(struct snd_soc_dai *dai) in s3c2412_i2s_resume()
Di2s.c203 static inline struct i2s_dai *to_info(struct snd_soc_dai *dai) in to_info()
471 static int i2s_set_sysclk(struct snd_soc_dai *dai, in i2s_set_sysclk()
603 static int i2s_set_fmt(struct snd_soc_dai *dai, in i2s_set_fmt()
699 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in i2s_hw_params()
789 struct snd_soc_dai *dai) in i2s_startup()
815 struct snd_soc_dai *dai) in i2s_shutdown()
904 int cmd, struct snd_soc_dai *dai) in i2s_trigger()
951 static int i2s_set_clkdiv(struct snd_soc_dai *dai, in i2s_set_clkdiv()
980 i2s_delay(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in i2s_delay()
1000 static int i2s_suspend(struct snd_soc_dai *dai) in i2s_suspend()
[all …]

12345678910>>...12