/openbmc/linux/sound/soc/sof/intel/ |
H A D | hda-dai.c | 69 struct snd_soc_dai *cpu_dai) in dai_to_sdev() argument 113 struct snd_soc_dai *cpu_dai) in hda_link_dma_cleanup() argument 126 sdev = dai_to_sdev(substream, cpu_dai); in hda_link_dma_cleanup() 205 struct snd_soc_dai *cpu_dai) in hda_dai_hw_free() argument 345 struct snd_soc_dai *cpu_dai) in non_hda_dai_hw_params() argument 433 struct snd_soc_dai *cpu_dai, in sdw_hda_dai_hw_params() argument 470 struct snd_soc_dai *cpu_dai, in sdw_hda_dai_hw_free() argument 498 struct snd_soc_dai *cpu_dai) in sdw_hda_dai_trigger() argument 525 struct snd_soc_dai *cpu_dai; in hda_dai_suspend() local 530 cpu_dai = asoc_rtd_to_cpu(rtd, 0); in hda_dai_suspend() [all …]
|
H A D | hda-dai-ops.c | 118 struct snd_soc_dai *cpu_dai, in hda_get_hext_stream() argument 121 return snd_soc_dai_get_dma_data(cpu_dai, substream); in hda_get_hext_stream() 125 struct snd_soc_dai *cpu_dai, in hda_ipc4_get_hext_stream() argument 133 w = snd_soc_dai_get_widget(cpu_dai, substream->stream); in hda_ipc4_get_hext_stream() 141 return snd_soc_dai_get_dma_data(cpu_dai, substream); in hda_ipc4_get_hext_stream() 145 struct snd_soc_dai *cpu_dai, in hda_assign_hext_stream() argument 154 if (dai == cpu_dai) in hda_assign_hext_stream() 176 if (dai == cpu_dai) in hda_release_hext_stream() 178 snd_soc_dai_set_dma_data(cpu_dai, substream, NULL); in hda_release_hext_stream() 317 w = snd_soc_dai_get_widget(cpu_dai, substream->stream); in hda_ipc4_pre_trigger() [all …]
|
/openbmc/linux/sound/soc/qcom/ |
H A D | sdm845.c | 191 switch (cpu_dai->id) { in sdm845_snd_hw_params() 279 switch (cpu_dai->id) { in sdm845_dai_init() 342 switch (cpu_dai->id) { in sdm845_snd_startup() 347 snd_soc_dai_set_sysclk(cpu_dai, in sdm845_snd_startup() 350 snd_soc_dai_set_sysclk(cpu_dai, in sdm845_snd_startup() 361 snd_soc_dai_set_sysclk(cpu_dai, in sdm845_snd_startup() 369 snd_soc_dai_set_sysclk(cpu_dai, in sdm845_snd_startup() 380 snd_soc_dai_set_sysclk(cpu_dai, in sdm845_snd_startup() 429 switch (cpu_dai->id) { in sdm845_snd_shutdown() 433 snd_soc_dai_set_sysclk(cpu_dai, in sdm845_snd_shutdown() [all …]
|
H A D | sc7280.c | 94 switch (cpu_dai->id) { in sc7280_headset_init() 147 snd_soc_dai_set_sysclk(cpu_dai, in sc7280_rt5682_init() 181 switch (cpu_dai->id) { in sc7280_init() 218 switch (cpu_dai->id) { in sc7280_snd_hw_params() 247 if (data->stream_prepared[cpu_dai->id]) { in sc7280_snd_swr_prepare() 272 switch (cpu_dai->id) { in sc7280_snd_prepare() 293 switch (cpu_dai->id) { in sc7280_snd_hw_free() 318 switch (cpu_dai->id) { in sc7280_snd_shutdown() 321 snd_soc_dai_set_sysclk(cpu_dai, in sc7280_snd_shutdown() 345 switch (cpu_dai->id) { in sc7280_snd_startup() [all …]
|
H A D | sc8280xp.c | 30 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc8280xp_snd_init() local 33 switch (cpu_dai->id) { in sc8280xp_snd_init() 56 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc8280xp_be_hw_params_fixup() local 65 switch (cpu_dai->id) { in sc8280xp_be_hw_params_fixup() 84 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc8280xp_snd_hw_params() local 93 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc8280xp_snd_prepare() local 95 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc8280xp_snd_prepare() 98 &data->stream_prepared[cpu_dai->id]); in sc8280xp_snd_prepare() 105 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc8280xp_snd_hw_free() local 106 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc8280xp_snd_hw_free() [all …]
|
H A D | sm8250.c | 54 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sm8250_snd_startup() local 57 switch (cpu_dai->id) { in sm8250_snd_startup() 60 snd_soc_dai_set_sysclk(cpu_dai, in sm8250_snd_startup() 63 snd_soc_dai_set_fmt(cpu_dai, fmt); in sm8250_snd_startup() 76 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sm8250_snd_hw_params() local 85 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sm8250_snd_prepare() local 87 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_prepare() 90 &data->stream_prepared[cpu_dai->id]); in sm8250_snd_prepare() 97 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sm8250_snd_hw_free() local 98 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sm8250_snd_hw_free() [all …]
|
H A D | sc7180.c | 122 switch (cpu_dai->id) { in sc7180_init() 131 cpu_dai->id); in sc7180_init() 160 switch (cpu_dai->id) { in sc7180_snd_startup() 163 snd_soc_dai_set_sysclk(cpu_dai, in sc7180_snd_startup() 196 cpu_dai->id); in sc7180_snd_startup() 230 switch (cpu_dai->id) { in sc7180_snd_shutdown() 245 cpu_dai->id); in sc7180_snd_shutdown() 254 switch (cpu_dai->id) { in sc7180_adau7002_init() 263 cpu_dai->id); in sc7180_adau7002_init() 276 switch (cpu_dai->id) { in sc7180_adau7002_snd_startup() [all …]
|
H A D | sdw.c | 15 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in qcom_snd_sdw_prepare() local 21 switch (cpu_dai->id) { in qcom_snd_sdw_prepare() 67 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in qcom_snd_sdw_hw_params() local 71 switch (cpu_dai->id) { in qcom_snd_sdw_hw_params() 96 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in qcom_snd_sdw_hw_free() local 98 switch (cpu_dai->id) { in qcom_snd_sdw_hw_free()
|
H A D | apq8016_sbc.c | 150 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in apq8016_sbc_dai_init() local 152 return apq8016_dai_init(rtd, cpu_dai->id); in apq8016_sbc_dai_init() 164 static int qdsp6_dai_get_lpass_id(struct snd_soc_dai *cpu_dai) in qdsp6_dai_get_lpass_id() argument 166 switch (cpu_dai->id) { in qdsp6_dai_get_lpass_id() 186 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in msm8916_qdsp6_dai_init() local 188 snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_BP_FP); in msm8916_qdsp6_dai_init() 197 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in msm8916_qdsp6_startup() local 200 mi2s = qdsp6_dai_get_lpass_id(cpu_dai); in msm8916_qdsp6_startup() 218 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in msm8916_qdsp6_shutdown() local 221 mi2s = qdsp6_dai_get_lpass_id(cpu_dai); in msm8916_qdsp6_shutdown() [all …]
|
/openbmc/linux/sound/soc/ |
H A D | soc-compress.c | 60 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_clean() local 71 if (!snd_soc_dai_active(cpu_dai)) in soc_compr_clean() 72 cpu_dai->rate = 0; in soc_compr_clean() 81 snd_soc_dai_compr_shutdown(cpu_dai, cstream, rollback); in soc_compr_clean() 101 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_open() local 111 ret = snd_soc_dai_compr_startup(cpu_dai, cstream); in soc_compr_open() 136 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(fe, 0); in soc_compr_open_fe() local 165 ret = snd_soc_dai_compr_startup(cpu_dai, cstream); in soc_compr_open_fe() 193 snd_soc_dai_compr_shutdown(cpu_dai, cstream, 1); in soc_compr_open_fe() 238 snd_soc_dai_compr_shutdown(cpu_dai, cstream, 0); in soc_compr_free_fe() [all …]
|
/openbmc/linux/sound/soc/stm/ |
H A D | stm32_sai_sub.c | 103 struct snd_soc_dai *cpu_dai; member 578 dev_err(cpu_dai->dev, in stm32_sai_set_sysclk() 757 struct snd_soc_dai *cpu_dai) in stm32_sai_startup() argument 872 dev_err(cpu_dai->dev, in stm32_sai_set_slots() 1040 dev_err(cpu_dai->dev, in stm32_sai_configure_clock() 1070 struct snd_soc_dai *cpu_dai) in stm32_sai_hw_params() argument 1082 ret = stm32_sai_set_slots(cpu_dai); in stm32_sai_hw_params() 1085 stm32_sai_set_frame(cpu_dai); in stm32_sai_hw_params() 1099 struct snd_soc_dai *cpu_dai) in stm32_sai_trigger() argument 1163 struct snd_soc_dai *cpu_dai) in stm32_sai_pcm_new() argument [all …]
|
H A D | stm32_i2s.c | 549 dev_dbg(cpu_dai->dev, "fmt %x\n", fmt); in stm32_i2s_set_dai_fmt() 570 dev_err(cpu_dai->dev, "Unsupported protocol %#x\n", in stm32_i2s_set_dai_fmt() 604 dev_err(cpu_dai->dev, "Unsupported mode %#x\n", in stm32_i2s_set_dai_fmt() 627 dev_dbg(cpu_dai->dev, "No MCLK registered\n"); in stm32_i2s_set_sysclk() 769 struct snd_soc_dai *cpu_dai) in stm32_i2s_startup() argument 795 struct snd_soc_dai *cpu_dai) in stm32_i2s_hw_params() argument 807 ret = stm32_i2s_configure_clock(cpu_dai, params); in stm32_i2s_hw_params() 813 struct snd_soc_dai *cpu_dai) in stm32_i2s_trigger() argument 825 dev_dbg(cpu_dai->dev, "start I2S %s\n", in stm32_i2s_trigger() 871 dev_dbg(cpu_dai->dev, "stop I2S %s\n", in stm32_i2s_trigger() [all …]
|
H A D | stm32_spdifrx.c | 524 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in stm32_spdifrx_capture_get() local 541 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in stm32_spdif_user_bits_get() local 590 return snd_soc_add_component_controls(cpu_dai->component, in stm32_spdifrx_dai_register_ctrls() 595 static int stm32_spdifrx_dai_probe(struct snd_soc_dai *cpu_dai) in stm32_spdifrx_dai_probe() argument 603 snd_soc_dai_init_dma_data(cpu_dai, NULL, &spdifrx->dma_params); in stm32_spdifrx_dai_probe() 605 return stm32_spdifrx_dai_register_ctrls(cpu_dai); in stm32_spdifrx_dai_probe() 765 struct snd_soc_dai *cpu_dai) in stm32_spdifrx_startup() argument 784 struct snd_soc_dai *cpu_dai) in stm32_spdifrx_hw_params() argument 808 snd_soc_dai_init_dma_data(cpu_dai, NULL, &spdifrx->dma_params); in stm32_spdifrx_hw_params() 816 struct snd_soc_dai *cpu_dai) in stm32_spdifrx_trigger() argument [all …]
|
/openbmc/linux/sound/soc/hisilicon/ |
H A D | hi6210-i2s.c | 92 struct snd_soc_dai *cpu_dai) in hi6210_i2s_startup() argument 173 struct snd_soc_dai *cpu_dai) in hi6210_i2s_shutdown() argument 256 struct snd_soc_dai *cpu_dai) in hi6210_i2s_hw_params() argument 277 dev_err(cpu_dai->dev, "Bad format\n"); in hi6210_i2s_hw_params() 307 dev_err(cpu_dai->dev, "Bad channels\n"); in hi6210_i2s_hw_params() 476 struct snd_soc_dai *cpu_dai) in hi6210_i2s_trigger() argument 483 hi6210_i2s_rxctrl(cpu_dai, 1); in hi6210_i2s_trigger() 485 hi6210_i2s_txctrl(cpu_dai, 1); in hi6210_i2s_trigger() 490 hi6210_i2s_rxctrl(cpu_dai, 0); in hi6210_i2s_trigger() 492 hi6210_i2s_txctrl(cpu_dai, 0); in hi6210_i2s_trigger() [all …]
|
/openbmc/linux/sound/soc/mxs/ |
H A D | mxs-saif.c | 51 struct mxs_saif *saif = snd_soc_dai_get_drvdata(cpu_dai); in mxs_saif_set_dai_sysclk() 298 dev_err(cpu_dai->dev, "error: busy\n"); in mxs_saif_set_dai_fmt() 378 struct snd_soc_dai *cpu_dai) in mxs_saif_startup() argument 403 struct snd_soc_dai *cpu_dai) in mxs_saif_shutdown() argument 416 struct snd_soc_dai *cpu_dai) in mxs_saif_hw_params() argument 429 dev_err(cpu_dai->dev, "set mclk first\n"); in mxs_saif_hw_params() 435 dev_err(cpu_dai->dev, "error: busy\n"); in mxs_saif_hw_params() 506 struct snd_soc_dai *cpu_dai) in mxs_saif_prepare() argument 518 struct snd_soc_dai *cpu_dai) in mxs_saif_trigger() argument 536 dev_dbg(cpu_dai->dev, "start\n"); in mxs_saif_trigger() [all …]
|
/openbmc/linux/sound/soc/pxa/ |
H A D | pxa-ssp.c | 74 struct snd_soc_dai *cpu_dai) in pxa_ssp_startup() argument 76 struct ssp_priv *priv = snd_soc_dai_get_drvdata(cpu_dai); in pxa_ssp_startup() 81 if (!snd_soc_dai_active(cpu_dai)) { in pxa_ssp_startup() 94 snd_soc_dai_set_dma_data(cpu_dai, substream, dma); in pxa_ssp_startup() 100 struct snd_soc_dai *cpu_dai) in pxa_ssp_shutdown() argument 105 if (!snd_soc_dai_active(cpu_dai)) { in pxa_ssp_shutdown() 112 kfree(snd_soc_dai_get_dma_data(cpu_dai, substream)); in pxa_ssp_shutdown() 113 snd_soc_dai_set_dma_data(cpu_dai, substream, NULL); in pxa_ssp_shutdown() 210 cpu_dai->id, clk_id, freq); in pxa_ssp_set_dai_sysclk() 533 struct snd_soc_dai *cpu_dai) in pxa_ssp_hw_params() argument [all …]
|
H A D | pxa2xx-ac97.c | 94 struct snd_soc_dai *cpu_dai) in pxa2xx_ac97_hifi_startup() argument 103 snd_soc_dai_set_dma_data(cpu_dai, substream, dma_data); in pxa2xx_ac97_hifi_startup() 109 struct snd_soc_dai *cpu_dai) in pxa2xx_ac97_aux_startup() argument 118 snd_soc_dai_set_dma_data(cpu_dai, substream, dma_data); in pxa2xx_ac97_aux_startup() 124 struct snd_soc_dai *cpu_dai) in pxa2xx_ac97_mic_startup() argument 128 snd_soc_dai_set_dma_data(cpu_dai, substream, in pxa2xx_ac97_mic_startup()
|
/openbmc/linux/sound/soc/fsl/ |
H A D | mpc5200_psc_i2s.c | 87 static int psc_i2s_set_sysclk(struct snd_soc_dai *cpu_dai, in psc_i2s_set_sysclk() argument 90 struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(cpu_dai); in psc_i2s_set_sysclk() 92 cpu_dai, dir); in psc_i2s_set_sysclk() 107 static int psc_i2s_set_fmt(struct snd_soc_dai *cpu_dai, unsigned int format) in psc_i2s_set_fmt() argument 109 struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(cpu_dai); in psc_i2s_set_fmt() 111 cpu_dai, format); in psc_i2s_set_fmt()
|
H A D | fsl_sai.c | 170 struct fsl_sai *sai = snd_soc_dai_get_drvdata(cpu_dai); in fsl_sai_set_dai_tdm_slot() 191 struct fsl_sai *sai = snd_soc_dai_get_drvdata(cpu_dai); in fsl_sai_set_dai_sysclk_tr() 254 ret = fsl_sai_set_mclk_rate(cpu_dai, clk_id, freq); in fsl_sai_set_dai_sysclk() 391 ret = fsl_sai_set_dai_fmt_tr(cpu_dai, fmt, true); in fsl_sai_set_dai_fmt() 397 ret = fsl_sai_set_dai_fmt_tr(cpu_dai, fmt, false); in fsl_sai_set_dai_fmt() 515 struct snd_soc_dai *cpu_dai) in fsl_sai_hw_params() argument 562 dev_err(cpu_dai->dev, "channel not supported\n"); in fsl_sai_hw_params() 580 ret = fsl_sai_set_bclk(cpu_dai, tx, bclk); in fsl_sai_hw_params() 715 struct snd_soc_dai *cpu_dai) in fsl_sai_hw_free() argument 775 struct snd_soc_dai *cpu_dai) in fsl_sai_trigger() argument [all …]
|
H A D | fsl_spdif.c | 606 struct snd_soc_dai *cpu_dai) in fsl_spdif_startup() argument 616 if (!snd_soc_dai_active(cpu_dai)) { in fsl_spdif_startup() 648 struct snd_soc_dai *cpu_dai) in fsl_spdif_shutdown() argument 670 if (!snd_soc_dai_active(cpu_dai)) { in fsl_spdif_shutdown() 790 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in fsl_spdif_pb_get() local 805 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in fsl_spdif_pb_put() local 823 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in fsl_spdif_capture_get() local 855 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in fsl_spdif_subcode_get() local 887 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in fsl_spdif_qget() local 909 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in fsl_spdif_rx_vbit_get() local [all …]
|
H A D | eukrea-tlv320.c | 35 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in eukrea_tlv320_hw_params() local 41 dev_err(cpu_dai->dev, in eukrea_tlv320_hw_params() 46 snd_soc_dai_set_tdm_slot(cpu_dai, 0x3, 0x3, 2, 0); in eukrea_tlv320_hw_params() 48 ret = snd_soc_dai_set_sysclk(cpu_dai, IMX_SSP_SYS_CLK, 0, in eukrea_tlv320_hw_params() 52 dev_err(cpu_dai->dev, in eukrea_tlv320_hw_params()
|
/openbmc/linux/sound/soc/mediatek/common/ |
H A D | mtk-dsp-sof-common.c | 22 struct snd_soc_dai *cpu_dai; in mtk_sof_dai_link_fixup() local 34 for_each_rtd_cpu_dais(runtime, j, cpu_dai) { in mtk_sof_dai_link_fixup() 35 if (snd_soc_dai_stream_active(cpu_dai, conn->stream_dir) > 0) { in mtk_sof_dai_link_fixup() 109 struct snd_soc_dai *cpu_dai; in mtk_sof_card_late_probe() local 111 for_each_rtd_cpu_dais(sof_rtd, j, cpu_dai) { in mtk_sof_card_late_probe() 114 struct snd_soc_dapm_widget *widget = snd_soc_dai_get_widget(cpu_dai, conn->stream_dir); in mtk_sof_card_late_probe() 130 dev_err(cpu_dai->dev, "stream dir and widget not pair\n"); in mtk_sof_card_late_probe()
|
/openbmc/linux/sound/soc/img/ |
H A D | img-spdif-in.c | 294 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in img_spdif_in_get_status() local 295 struct img_spdif_in *spdif = snd_soc_dai_get_drvdata(cpu_dai); in img_spdif_in_get_status() 324 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in img_spdif_in_get_multi_freq() local 348 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in img_spdif_in_set_multi_freq() local 398 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in img_spdif_in_get_lock_freq() local 438 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in img_spdif_in_get_trk() local 449 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in img_spdif_in_set_trk() local 496 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in img_spdif_in_get_lock_acquire() local 507 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in img_spdif_in_set_lock_acquire() local 535 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in img_spdif_in_get_lock_release() local [all …]
|
/openbmc/linux/sound/soc/ti/ |
H A D | omap-mcbsp-st.c | 390 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kc); \ 391 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); \ 409 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kc); \ 426 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in omap_mcbsp_st_put_mode() local 427 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_st_put_mode() 444 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in omap_mcbsp_st_get_mode() local 445 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_st_get_mode() 478 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in omap_mcbsp_st_add_controls() local 479 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_st_add_controls() 488 return snd_soc_add_dai_controls(cpu_dai, in omap_mcbsp_st_add_controls() [all …]
|
/openbmc/linux/sound/soc/samsung/ |
H A D | smdk_wm8994pcm.c | 48 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in smdk_wm8994_pcm_hw_params() local 57 dev_err(cpu_dai->dev, "%s:%d Sampling Rate %u not supported!\n", in smdk_wm8994_pcm_hw_params() 75 ret = snd_soc_dai_set_sysclk(cpu_dai, S3C_PCM_CLKSRC_MUX, in smdk_wm8994_pcm_hw_params() 81 ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C_PCM_SCLK_PER_FS, rfs); in smdk_wm8994_pcm_hw_params()
|