/linux-6.3-rc2/sound/soc/qcom/ |
A D | sdm845.c | 180 switch (cpu_dai->id) { in sdm845_snd_hw_params() 266 switch (cpu_dai->id) { in sdm845_dai_init() 329 switch (cpu_dai->id) { in sdm845_snd_startup() 334 snd_soc_dai_set_sysclk(cpu_dai, in sdm845_snd_startup() 337 snd_soc_dai_set_sysclk(cpu_dai, in sdm845_snd_startup() 348 snd_soc_dai_set_sysclk(cpu_dai, in sdm845_snd_startup() 356 snd_soc_dai_set_sysclk(cpu_dai, in sdm845_snd_startup() 367 snd_soc_dai_set_sysclk(cpu_dai, in sdm845_snd_startup() 416 switch (cpu_dai->id) { in sdm845_snd_shutdown() 420 snd_soc_dai_set_sysclk(cpu_dai, in sdm845_snd_shutdown() [all …]
|
A D | sc7280.c | 80 switch (cpu_dai->id) { in sc7280_headset_init() 133 snd_soc_dai_set_sysclk(cpu_dai, in sc7280_rt5682_init() 167 switch (cpu_dai->id) { in sc7280_init() 202 switch (cpu_dai->id) { in sc7280_snd_hw_params() 231 if (data->stream_prepared[cpu_dai->id]) { in sc7280_snd_swr_prepare() 256 switch (cpu_dai->id) { in sc7280_snd_prepare() 277 switch (cpu_dai->id) { in sc7280_snd_hw_free() 302 switch (cpu_dai->id) { in sc7280_snd_shutdown() 305 snd_soc_dai_set_sysclk(cpu_dai, in sc7280_snd_shutdown() 329 switch (cpu_dai->id) { in sc7280_snd_startup() [all …]
|
A D | sm8250.c | 54 struct snd_soc_dai *cpu_dai = asoc_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 = asoc_rtd_to_cpu(rtd, 0); in sm8250_snd_hw_params() local 85 struct snd_soc_dai *cpu_dai = asoc_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 = asoc_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 …]
|
A D | sc7180.c | 110 switch (cpu_dai->id) { in sc7180_init() 119 cpu_dai->id); in sc7180_init() 148 switch (cpu_dai->id) { in sc7180_snd_startup() 151 snd_soc_dai_set_sysclk(cpu_dai, in sc7180_snd_startup() 184 cpu_dai->id); in sc7180_snd_startup() 218 switch (cpu_dai->id) { in sc7180_snd_shutdown() 233 cpu_dai->id); in sc7180_snd_shutdown() 242 switch (cpu_dai->id) { in sc7180_adau7002_init() 251 cpu_dai->id); in sc7180_adau7002_init() 264 switch (cpu_dai->id) { in sc7180_adau7002_snd_startup() [all …]
|
A D | sc8280xp.c | 37 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc8280xp_be_hw_params_fixup() local 46 switch (cpu_dai->id) { in sc8280xp_be_hw_params_fixup() 65 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc8280xp_snd_hw_params() local 68 return qcom_snd_sdw_hw_params(substream, params, &pdata->sruntime[cpu_dai->id]); in sc8280xp_snd_hw_params() 74 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc8280xp_snd_prepare() local 76 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc8280xp_snd_prepare() 79 &data->stream_prepared[cpu_dai->id]); in sc8280xp_snd_prepare() 86 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc8280xp_snd_hw_free() local 87 struct sdw_stream_runtime *sruntime = data->sruntime[cpu_dai->id]; in sc8280xp_snd_hw_free() 90 &data->stream_prepared[cpu_dai->id]); in sc8280xp_snd_hw_free()
|
A D | apq8016_sbc.c | 137 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in apq8016_sbc_dai_init() local 139 return apq8016_dai_init(rtd, cpu_dai->id); in apq8016_sbc_dai_init() 151 static int qdsp6_dai_get_lpass_id(struct snd_soc_dai *cpu_dai) in qdsp6_dai_get_lpass_id() argument 153 switch (cpu_dai->id) { in qdsp6_dai_get_lpass_id() 173 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in msm8916_qdsp6_dai_init() local 175 snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_BP_FP); in msm8916_qdsp6_dai_init() 184 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in msm8916_qdsp6_startup() local 187 mi2s = qdsp6_dai_get_lpass_id(cpu_dai); in msm8916_qdsp6_startup() 205 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in msm8916_qdsp6_shutdown() local 208 mi2s = qdsp6_dai_get_lpass_id(cpu_dai); in msm8916_qdsp6_shutdown() [all …]
|
A D | sdw.c | 15 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in qcom_snd_sdw_prepare() local 21 switch (cpu_dai->id) { in qcom_snd_sdw_prepare() 70 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in qcom_snd_sdw_hw_params() local 74 switch (cpu_dai->id) { in qcom_snd_sdw_hw_params() 99 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in qcom_snd_sdw_hw_free() local 101 switch (cpu_dai->id) { in qcom_snd_sdw_hw_free()
|
A D | lpass-platform.c | 202 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_open() 209 data->i2s_port = cpu_dai->driver->id; in lpass_platform_pcmops_open() 292 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_close() 329 switch (cpu_dai->driver->id) { in __lpass_get_dmactl_handle() 364 switch (cpu_dai->driver->id) { in __lpass_get_id() 396 switch (cpu_dai->driver->id) { in __lpass_get_regmap_handle() 432 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_hw_params() 581 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_hw_free() 609 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_prepare() 674 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_trigger() [all …]
|
/linux-6.3-rc2/sound/soc/ |
A D | soc-compress.c | 61 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_clean() local 72 if (!snd_soc_dai_active(cpu_dai)) in soc_compr_clean() 73 cpu_dai->rate = 0; in soc_compr_clean() 82 snd_soc_dai_compr_shutdown(cpu_dai, cstream, rollback); in soc_compr_clean() 102 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_open() local 112 ret = snd_soc_dai_compr_startup(cpu_dai, cstream); in soc_compr_open() 139 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(fe, 0); in soc_compr_open_fe() local 171 ret = snd_soc_dai_compr_startup(cpu_dai, cstream); in soc_compr_open_fe() 199 snd_soc_dai_compr_shutdown(cpu_dai, cstream, 1); in soc_compr_open_fe() 245 snd_soc_dai_compr_shutdown(cpu_dai, cstream, 0); in soc_compr_free_fe() [all …]
|
/linux-6.3-rc2/sound/soc/stm/ |
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 …]
|
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 …]
|
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 …]
|
/linux-6.3-rc2/sound/soc/hisilicon/ |
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 …]
|
/linux-6.3-rc2/sound/soc/mxs/ |
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 …]
|
/linux-6.3-rc2/sound/soc/pxa/ |
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 …]
|
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()
|
/linux-6.3-rc2/sound/soc/fsl/ |
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()
|
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() 514 struct snd_soc_dai *cpu_dai) in fsl_sai_hw_params() argument 561 dev_err(cpu_dai->dev, "channel not supported\n"); in fsl_sai_hw_params() 579 ret = fsl_sai_set_bclk(cpu_dai, tx, bclk); in fsl_sai_hw_params() 690 struct snd_soc_dai *cpu_dai) in fsl_sai_hw_free() argument 742 struct snd_soc_dai *cpu_dai) in fsl_sai_trigger() argument [all …]
|
A D | fsl_spdif.c | 602 struct snd_soc_dai *cpu_dai) in fsl_spdif_startup() argument 612 if (!snd_soc_dai_active(cpu_dai)) { in fsl_spdif_startup() 644 struct snd_soc_dai *cpu_dai) in fsl_spdif_shutdown() argument 666 if (!snd_soc_dai_active(cpu_dai)) { in fsl_spdif_shutdown() 792 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in fsl_spdif_pb_get() local 807 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in fsl_spdif_pb_put() local 825 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in fsl_spdif_capture_get() local 857 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in fsl_spdif_subcode_get() local 889 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in fsl_spdif_qget() local 911 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in fsl_spdif_rx_vbit_get() local [all …]
|
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()
|
/linux-6.3-rc2/sound/soc/sof/intel/ |
A D | hda-dai.c | 139 struct snd_soc_dai *cpu_dai, in hda_link_dma_cleanup() argument 160 snd_soc_dai_set_dma_data(cpu_dai, substream, NULL); in hda_link_dma_cleanup() 208 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in hda_link_dma_hw_params() local 216 sdev = snd_soc_component_get_drvdata(cpu_dai->component); in hda_link_dma_hw_params() 259 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in hda_link_dma_trigger() local 292 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in hda_link_dma_hw_free() local 459 struct snd_soc_dai *cpu_dai; in ipc4_hda_dai_trigger() local 466 cpu_dai = asoc_rtd_to_cpu(rtd, 0); in ipc4_hda_dai_trigger() 576 struct snd_soc_dai *cpu_dai; in hda_dai_suspend() local 580 cpu_dai = asoc_rtd_to_cpu(rtd, 0); in hda_dai_suspend() [all …]
|
/linux-6.3-rc2/sound/soc/img/ |
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 …]
|
/linux-6.3-rc2/sound/soc/mediatek/common/ |
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()
|
/linux-6.3-rc2/sound/soc/ti/ |
A D | omap-mcbsp-st.c | 391 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kc); \ 392 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); \ 410 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kc); \ 427 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in omap_mcbsp_st_put_mode() local 428 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_st_put_mode() 445 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in omap_mcbsp_st_get_mode() local 446 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_st_get_mode() 479 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in omap_mcbsp_st_add_controls() local 480 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_st_add_controls() 489 return snd_soc_add_dai_controls(cpu_dai, in omap_mcbsp_st_add_controls() [all …]
|
/linux-6.3-rc2/sound/soc/samsung/ |
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()
|