Home
last modified time | relevance | path

Searched refs:asoc_rtd_to_cpu (Results 1 – 25 of 158) sorted by relevance

1234567

/linux-6.1.9/sound/soc/sh/
Ddma-sh7760.c122 struct camelot_pcm *cam = &cam_pcm_data[asoc_rtd_to_cpu(rtd, 0)->id]; in camelot_pcm_open()
135 asoc_rtd_to_cpu(rtd, 0)->id); in camelot_pcm_open()
144 asoc_rtd_to_cpu(rtd, 0)->id); in camelot_pcm_open()
156 struct camelot_pcm *cam = &cam_pcm_data[asoc_rtd_to_cpu(rtd, 0)->id]; in camelot_pcm_close()
178 struct camelot_pcm *cam = &cam_pcm_data[asoc_rtd_to_cpu(rtd, 0)->id]; in camelot_hw_params()
196 struct camelot_pcm *cam = &cam_pcm_data[asoc_rtd_to_cpu(rtd, 0)->id]; in camelot_prepare()
244 struct camelot_pcm *cam = &cam_pcm_data[asoc_rtd_to_cpu(rtd, 0)->id]; in camelot_trigger()
272 struct camelot_pcm *cam = &cam_pcm_data[asoc_rtd_to_cpu(rtd, 0)->id]; in camelot_pos()
/linux-6.1.9/sound/soc/
Dsoc-compress.c61 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_clean()
102 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_open()
139 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(fe, 0); in soc_compr_open_fe()
210 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(fe, 0); in soc_compr_free_fe()
253 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_trigger()
284 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(fe, 0); in soc_compr_trigger_fe()
331 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_set_params()
377 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(fe, 0); in soc_compr_set_params_fe()
426 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_get_params()
444 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_ack()
[all …]
/linux-6.1.9/sound/soc/qcom/
Dsc7280.c50 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc7280_headset_init()
126 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc7280_rt5682_init()
165 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc7280_init()
194 const struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc7280_snd_hw_params()
223 const struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc7280_snd_swr_prepare()
254 const struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc7280_snd_prepare()
274 const struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc7280_snd_hw_free()
300 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc7280_snd_shutdown()
325 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc7280_snd_startup()
Dsc8280xp.c37 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc8280xp_be_hw_params_fixup()
65 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc8280xp_snd_hw_params()
74 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc8280xp_snd_prepare()
86 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc8280xp_snd_hw_free()
Dsdw.c15 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in qcom_snd_sdw_prepare()
70 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); 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()
Dsm8250.c54 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sm8250_snd_startup()
76 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sm8250_snd_hw_params()
85 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sm8250_snd_prepare()
97 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sm8250_snd_hw_free()
Dsdm845.c51 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_slim_snd_hw_params()
91 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_tdm_snd_hw_params()
176 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_snd_hw_params()
226 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_dai_init()
324 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_snd_startup()
414 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_snd_shutdown()
459 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_snd_prepare()
498 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_snd_hw_free()
Dsc7180.c108 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc7180_init()
130 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc7180_snd_startup()
216 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc7180_snd_shutdown()
240 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc7180_adau7002_init()
260 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc7180_adau7002_snd_startup()
Dapq8016_sbc.c137 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in apq8016_sbc_dai_init()
173 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in msm8916_qdsp6_dai_init()
184 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in msm8916_qdsp6_startup()
205 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in msm8916_qdsp6_shutdown()
Dlpass-platform.c196 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_open()
288 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_close()
325 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in __lpass_get_dmactl_handle()
357 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in __lpass_get_id()
392 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in __lpass_get_regmap_handle()
420 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_hw_params()
573 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_hw_free()
601 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_prepare()
664 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_trigger()
863 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_pointer()
[all …]
/linux-6.1.9/sound/soc/uniphier/
Daio-compress.c28 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aio_comprdma_new()
61 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aio_comprdma_free()
79 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aio_compr_open()
105 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aio_compr_free()
126 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aio_compr_get_params()
139 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aio_compr_set_params()
170 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aio_compr_hw_free()
183 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aio_compr_prepare()
222 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aio_compr_trigger()
256 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aio_compr_pointer()
[all …]
Daio-dma.c112 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aiodma_prepare()
139 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aiodma_trigger()
175 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aiodma_pointer()
/linux-6.1.9/sound/soc/bcm/
Dbcm63xx-pcm-whistler.c55 snd_soc_dai_set_dma_data(asoc_rtd_to_cpu(rtd, 0), substream, dma_desc); in bcm63xx_pcm_hw_params()
66 dma_desc = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in bcm63xx_pcm_hw_free()
81 i2s_priv = dev_get_drvdata(asoc_rtd_to_cpu(rtd, 0)->dev); in bcm63xx_pcm_trigger()
151 dma_desc = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in bcm63xx_pcm_prepare()
164 i2s_priv = dev_get_drvdata(asoc_rtd_to_cpu(rtd, 0)->dev); in bcm63xx_pcm_prepare()
255 dma_desc = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in i2s_dma_isr()
303 dma_desc = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in i2s_dma_isr()
355 i2s_priv = dev_get_drvdata(asoc_rtd_to_cpu(rtd, 0)->dev); in bcm63xx_soc_pcm_new()
Dcygnus-pcm.c202 return snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(soc_runtime, 0), substream); in cygnus_dai_get_dma_data()
352 dev_dbg(asoc_rtd_to_cpu(rtd, 0)->dev, "%s on port %d\n", __func__, aio->portnum); in disable_intr()
583 dev_dbg(asoc_rtd_to_cpu(rtd, 0)->dev, "%s port %d\n", __func__, aio->portnum); in cygnus_pcm_open()
616 dev_dbg(asoc_rtd_to_cpu(rtd, 0)->dev, "%s port %d\n", __func__, aio->portnum); in cygnus_pcm_close()
624 dev_dbg(asoc_rtd_to_cpu(rtd, 0)->dev, "freed port %d\n", aio->portnum); in cygnus_pcm_close()
641 dev_dbg(asoc_rtd_to_cpu(rtd, 0)->dev, "%s port %d\n", __func__, aio->portnum); in cygnus_pcm_prepare()
646 dev_dbg(asoc_rtd_to_cpu(rtd, 0)->dev, "%s (buf_size %lu) (period_size %lu)\n", in cygnus_pcm_prepare()
/linux-6.1.9/sound/soc/ux500/
Dux500_pcm.c47 struct snd_soc_dai *dai = asoc_rtd_to_cpu(rtd, 0); in ux500_pcm_request_chan()
87 struct msp_i2s_platform_data *pdata = asoc_rtd_to_cpu(rtd, 0)->dev->platform_data; in ux500_pcm_prepare_slave_config()
95 snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in ux500_pcm_prepare_slave_config()
99 snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in ux500_pcm_prepare_slave_config()
/linux-6.1.9/sound/arm/
Dpxa2xx-pcm-lib.c41 dma_params = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in pxa2xx_pcm_hw_params()
50 snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream), in pxa2xx_pcm_hw_params()
89 dma_params = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in pxa2xx_pcm_open()
114 substream, dma_request_slave_channel(asoc_rtd_to_cpu(rtd, 0)->dev, in pxa2xx_pcm_open()
/linux-6.1.9/sound/soc/stm/
Dstm32_adfsdm.c217 snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in stm32_adfsdm_trigger()
237 struct stm32_adfsdm_priv *priv = snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in stm32_adfsdm_pcm_open()
252 snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in stm32_adfsdm_pcm_close()
265 snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in stm32_adfsdm_pcm_pointer()
276 snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in stm32_adfsdm_pcm_hw_params()
289 snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in stm32_adfsdm_pcm_new()
/linux-6.1.9/sound/soc/atmel/
Datmel-pcm-dma.c58 prtd = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in atmel_pcm_dma_irq()
85 prtd = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in atmel_pcm_configure_dma()
/linux-6.1.9/sound/soc/fsl/
Dmpc5200_dma.c111 struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in psc_dma_trigger()
213 struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in psc_dma_open()
241 struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in psc_dma_close()
267 struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in psc_dma_pointer()
285 struct snd_soc_dai *dai = asoc_rtd_to_cpu(rtd, 0); in psc_dma_new()
Dimx-audmix.c88 ret = snd_soc_dai_set_fmt(asoc_rtd_to_cpu(rtd, 0), fmt); in imx_audmix_fe_hw_params()
94 ret = snd_soc_dai_set_sysclk(asoc_rtd_to_cpu(rtd, 0), FSL_SAI_CLK_MAST1, 0, dir); in imx_audmix_fe_hw_params()
104 ret = snd_soc_dai_set_tdm_slot(asoc_rtd_to_cpu(rtd, 0), BIT(channels) - 1, in imx_audmix_fe_hw_params()
128 ret = snd_soc_dai_set_fmt(asoc_rtd_to_cpu(rtd, 0), fmt); in imx_audmix_be_hw_params()
/linux-6.1.9/sound/soc/meson/
Daxg-card.c75 ret = axg_tdm_set_tdm_slots(asoc_rtd_to_cpu(rtd, 0), be->tx_mask, be->rx_mask, in axg_card_tdm_dai_init()
78 dev_err(asoc_rtd_to_cpu(rtd, 0)->dev, "setting tdm link slots failed\n"); in axg_card_tdm_dai_init()
93 ret = axg_tdm_set_tdm_slots(asoc_rtd_to_cpu(rtd, 0), NULL, be->tx_mask, in axg_card_tdm_dai_lb_init()
96 dev_err(asoc_rtd_to_cpu(rtd, 0)->dev, "setting tdm link slots failed\n"); in axg_card_tdm_dai_lb_init()
/linux-6.1.9/sound/soc/intel/boards/
Dbytcht_nocodec.c61 ret = snd_soc_dai_set_fmt(asoc_rtd_to_cpu(rtd, 0), in codec_fixup()
71 ret = snd_soc_dai_set_tdm_slot(asoc_rtd_to_cpu(rtd, 0), 0x3, 0x3, 2, 24); in codec_fixup()
/linux-6.1.9/sound/soc/samsung/
Dspdif.c145 struct samsung_spdif_info *spdif = to_info(asoc_rtd_to_cpu(rtd, 0)); in spdif_trigger()
181 struct samsung_spdif_info *spdif = to_info(asoc_rtd_to_cpu(rtd, 0)); in spdif_hw_params()
197 snd_soc_dai_set_dma_data(asoc_rtd_to_cpu(rtd, 0), substream, dma_data); in spdif_hw_params()
283 struct samsung_spdif_info *spdif = to_info(asoc_rtd_to_cpu(rtd, 0)); in spdif_shutdown()
/linux-6.1.9/sound/soc/tegra/
Dtegra_pcm.c82 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in tegra_pcm_open()
151 dmap = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in tegra_pcm_hw_params()
/linux-6.1.9/sound/soc/rockchip/
Drk3399_gru_sound.c73 ret = snd_soc_dai_set_sysclk(asoc_rtd_to_cpu(rtd, 0), 0, mclk, 0); in rockchip_sound_max98357a_hw_params()
87 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in rockchip_sound_rt5514_hw_params()
119 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in rockchip_sound_da7219_hw_params()
243 ret = snd_soc_dai_set_sysclk(asoc_rtd_to_cpu(rtd, 0), 0, mclk, 0); in rockchip_sound_dmic_hw_params()

1234567