/linux/sound/soc/sh/ |
A D | dma-sh7760.c | 122 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/sound/soc/ |
A D | soc-compress.c | 61 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/sound/soc/uniphier/ |
A D | aio-compress.c | 28 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() 175 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aio_compr_hw_free() 188 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aio_compr_prepare() 227 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aio_compr_trigger() 261 struct uniphier_aio *aio = uniphier_priv(asoc_rtd_to_cpu(rtd, 0)); in uniphier_aio_compr_pointer() [all …]
|
A D | aio-dma.c | 112 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/sound/soc/bcm/ |
A D | bcm63xx-pcm-whistler.c | 54 snd_soc_dai_set_dma_data(asoc_rtd_to_cpu(rtd, 0), substream, dma_desc); in bcm63xx_pcm_hw_params() 65 dma_desc = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in bcm63xx_pcm_hw_free() 80 i2s_priv = dev_get_drvdata(asoc_rtd_to_cpu(rtd, 0)->dev); in bcm63xx_pcm_trigger() 150 dma_desc = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in bcm63xx_pcm_prepare() 163 i2s_priv = dev_get_drvdata(asoc_rtd_to_cpu(rtd, 0)->dev); in bcm63xx_pcm_prepare() 254 dma_desc = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in i2s_dma_isr() 302 dma_desc = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in i2s_dma_isr() 354 i2s_priv = dev_get_drvdata(asoc_rtd_to_cpu(rtd, 0)->dev); in bcm63xx_soc_pcm_new()
|
A D | cygnus-pcm.c | 212 return snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(soc_runtime, 0), substream); in cygnus_dai_get_dma_data() 362 dev_dbg(asoc_rtd_to_cpu(rtd, 0)->dev, "%s on port %d\n", __func__, aio->portnum); in disable_intr() 593 dev_dbg(asoc_rtd_to_cpu(rtd, 0)->dev, "%s port %d\n", __func__, aio->portnum); in cygnus_pcm_open() 626 dev_dbg(asoc_rtd_to_cpu(rtd, 0)->dev, "%s port %d\n", __func__, aio->portnum); in cygnus_pcm_close() 634 dev_dbg(asoc_rtd_to_cpu(rtd, 0)->dev, "freed port %d\n", aio->portnum); in cygnus_pcm_close() 651 dev_dbg(asoc_rtd_to_cpu(rtd, 0)->dev, "%s port %d\n", __func__, aio->portnum); in cygnus_pcm_prepare() 656 dev_dbg(asoc_rtd_to_cpu(rtd, 0)->dev, "%s (buf_size %lu) (period_size %lu)\n", in cygnus_pcm_prepare()
|
/linux/sound/soc/qcom/ |
A D | sm8250.c | 30 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sm8250_snd_init() 102 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sm8250_snd_startup() 125 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sm8250_snd_hw_params() 154 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sm8250_snd_wsa_dma_prepare() 193 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sm8250_snd_prepare() 216 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sm8250_snd_hw_free()
|
A D | sdm845.c | 50 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_slim_snd_hw_params() 90 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_tdm_snd_hw_params() 175 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_snd_hw_params() 225 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_dai_init() 316 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_snd_startup() 406 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_snd_shutdown() 451 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_snd_prepare() 490 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_snd_hw_free()
|
A D | sc7180.c | 107 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc7180_init() 129 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc7180_snd_startup() 202 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc7180_snd_shutdown() 226 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc7180_adau7002_init() 246 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sc7180_adau7002_snd_startup()
|
A D | lpass-platform.c | 105 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_open() 167 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_close() 190 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_hw_params() 348 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_hw_free() 377 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_prepare() 444 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_trigger() 595 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in lpass_platform_pcmops_pointer() 637 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in lpass_dma_interrupt_handler()
|
/linux/sound/soc/ux500/ |
A D | ux500_pcm.c | 49 struct snd_soc_dai *dai = asoc_rtd_to_cpu(rtd, 0); in ux500_pcm_request_chan() 89 struct msp_i2s_platform_data *pdata = asoc_rtd_to_cpu(rtd, 0)->dev->platform_data; in ux500_pcm_prepare_slave_config() 97 snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in ux500_pcm_prepare_slave_config() 101 snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in ux500_pcm_prepare_slave_config()
|
/linux/sound/arm/ |
A D | pxa2xx-pcm-lib.c | 41 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/sound/soc/stm/ |
A D | stm32_adfsdm.c | 216 snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in stm32_adfsdm_trigger() 236 struct stm32_adfsdm_priv *priv = snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in stm32_adfsdm_pcm_open() 251 snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in stm32_adfsdm_pcm_close() 264 snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in stm32_adfsdm_pcm_pointer() 275 snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in stm32_adfsdm_pcm_hw_params() 288 snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in stm32_adfsdm_pcm_new()
|
/linux/sound/soc/atmel/ |
A D | atmel-pcm-dma.c | 58 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/sound/soc/fsl/ |
A D | mpc5200_dma.c | 111 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()
|
A D | imx-audmix.c | 88 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/sound/soc/meson/ |
A D | axg-card.c | 75 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/sound/soc/samsung/ |
A D | spdif.c | 145 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/sound/soc/intel/boards/ |
A D | bytcht_nocodec.c | 61 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()
|
A D | bytcht_cx2072x.c | 126 ret = snd_soc_dai_set_fmt(asoc_rtd_to_cpu(rtd, 0), in byt_cht_cx2072x_fixup() 135 ret = snd_soc_dai_set_tdm_slot(asoc_rtd_to_cpu(rtd, 0), 0x3, 0x3, 2, 24); in byt_cht_cx2072x_fixup()
|
/linux/sound/soc/rockchip/ |
A D | rk3399_gru_sound.c | 73 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() 224 ret = snd_soc_dai_set_sysclk(asoc_rtd_to_cpu(rtd, 0), 0, mclk, 0); in rockchip_sound_dmic_hw_params()
|
/linux/sound/soc/mediatek/common/ |
A D | mtk-afe-fe-dai.c | 43 int memif_num = asoc_rtd_to_cpu(rtd, 0)->id; in mtk_afe_fe_startup() 103 struct mtk_base_afe_memif *memif = &afe->memif[asoc_rtd_to_cpu(rtd, 0)->id]; in mtk_afe_fe_shutdown() 125 int id = asoc_rtd_to_cpu(rtd, 0)->id; in mtk_afe_fe_hw_params() 202 int id = asoc_rtd_to_cpu(rtd, 0)->id; in mtk_afe_fe_trigger() 268 int id = asoc_rtd_to_cpu(rtd, 0)->id; in mtk_afe_fe_prepare()
|
/linux/sound/soc/amd/acp/ |
A D | acp-platform.c | 162 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in acp_dma_open() 201 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in acp_dma_hw_params() 256 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(soc_runtime, 0); in acp_dma_close()
|
/linux/sound/soc/tegra/ |
A D | tegra_pcm.c | 76 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in tegra_pcm_open() 145 dmap = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in tegra_pcm_hw_params()
|
/linux/sound/soc/ti/ |
A D | davinci-vcif.c | 46 snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in davinci_vcif_start() 65 snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in davinci_vcif_stop()
|