/sound/soc/blackfin/ |
D | bf5xx-i2s-pcm.c | 68 struct bf5xx_i2s_pcm_data *dma_data; in bf5xx_pcm_hw_params() local 70 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in bf5xx_pcm_hw_params() 72 if (dma_data->tdm_mode) in bf5xx_pcm_hw_params() 91 struct bf5xx_i2s_pcm_data *dma_data; in bf5xx_pcm_prepare() local 93 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in bf5xx_pcm_prepare() 95 if (dma_data->tdm_mode) in bf5xx_pcm_prepare() 148 struct bf5xx_i2s_pcm_data *dma_data; in bf5xx_pcm_pointer() local 150 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in bf5xx_pcm_pointer() 168 if (dma_data->tdm_mode) in bf5xx_pcm_pointer() 181 struct bf5xx_i2s_pcm_data *dma_data; in bf5xx_pcm_open() local [all …]
|
/sound/core/ |
D | pcm_dmaengine.c | 114 const struct snd_dmaengine_dai_dma_data *dma_data, in snd_dmaengine_pcm_set_config_from_dai_data() argument 118 slave_config->dst_addr = dma_data->addr; in snd_dmaengine_pcm_set_config_from_dai_data() 119 slave_config->dst_maxburst = dma_data->maxburst; in snd_dmaengine_pcm_set_config_from_dai_data() 120 if (dma_data->addr_width != DMA_SLAVE_BUSWIDTH_UNDEFINED) in snd_dmaengine_pcm_set_config_from_dai_data() 121 slave_config->dst_addr_width = dma_data->addr_width; in snd_dmaengine_pcm_set_config_from_dai_data() 123 slave_config->src_addr = dma_data->addr; in snd_dmaengine_pcm_set_config_from_dai_data() 124 slave_config->src_maxburst = dma_data->maxburst; in snd_dmaengine_pcm_set_config_from_dai_data() 125 if (dma_data->addr_width != DMA_SLAVE_BUSWIDTH_UNDEFINED) in snd_dmaengine_pcm_set_config_from_dai_data() 126 slave_config->src_addr_width = dma_data->addr_width; in snd_dmaengine_pcm_set_config_from_dai_data() 129 slave_config->slave_id = dma_data->slave_id; in snd_dmaengine_pcm_set_config_from_dai_data()
|
/sound/soc/pxa/ |
D | pxa2xx-ac97.c | 96 struct snd_dmaengine_dai_dma_data *dma_data; in pxa2xx_ac97_hw_params() local 99 dma_data = &pxa2xx_ac97_pcm_stereo_out; in pxa2xx_ac97_hw_params() 101 dma_data = &pxa2xx_ac97_pcm_stereo_in; in pxa2xx_ac97_hw_params() 103 snd_soc_dai_set_dma_data(cpu_dai, substream, dma_data); in pxa2xx_ac97_hw_params() 112 struct snd_dmaengine_dai_dma_data *dma_data; in pxa2xx_ac97_hw_aux_params() local 115 dma_data = &pxa2xx_ac97_pcm_aux_mono_out; in pxa2xx_ac97_hw_aux_params() 117 dma_data = &pxa2xx_ac97_pcm_aux_mono_in; in pxa2xx_ac97_hw_aux_params() 119 snd_soc_dai_set_dma_data(cpu_dai, substream, dma_data); in pxa2xx_ac97_hw_aux_params()
|
D | mmp-pcm.c | 85 struct mmp_dma_data *dma_data = param; in filter() local 89 devname = kasprintf(GFP_KERNEL, "%s.%d", dma_data->dma_res->name, in filter() 90 dma_data->ssp_id); in filter() 92 (chan->chan_id == dma_data->dma_res->start)) { in filter() 105 struct mmp_dma_data dma_data; in mmp_pcm_open() local 115 dma_data.dma_res = r; in mmp_pcm_open() 116 dma_data.ssp_id = cpu_dai->id; in mmp_pcm_open() 119 &dma_data); in mmp_pcm_open()
|
D | pxa2xx-i2s.c | 166 struct snd_dmaengine_dai_dma_data *dma_data; in pxa2xx_i2s_hw_params() local 175 dma_data = &pxa2xx_i2s_pcm_stereo_out; in pxa2xx_i2s_hw_params() 177 dma_data = &pxa2xx_i2s_pcm_stereo_in; in pxa2xx_i2s_hw_params() 179 snd_soc_dai_set_dma_data(dai, substream, dma_data); in pxa2xx_i2s_hw_params()
|
D | pxa-ssp.c | 552 struct snd_dmaengine_dai_dma_data *dma_data; in pxa_ssp_hw_params() local 554 dma_data = snd_soc_dai_get_dma_data(cpu_dai, substream); in pxa_ssp_hw_params() 562 substream->stream == SNDRV_PCM_STREAM_PLAYBACK, dma_data); in pxa_ssp_hw_params()
|
/sound/soc/fsl/ |
D | imx-pcm.h | 24 imx_pcm_dma_params_init_data(struct imx_dma_data *dma_data, in imx_pcm_dma_params_init_data() argument 27 dma_data->dma_request = dma; in imx_pcm_dma_params_init_data() 28 dma_data->priority = DMA_PRIO_HIGH; in imx_pcm_dma_params_init_data() 29 dma_data->peripheral_type = peripheral_type; in imx_pcm_dma_params_init_data()
|
D | fsl_asrc_dma.c | 207 pair->dma_data.dma_request = tmp_data->dma_request; in fsl_asrc_dma_hw_params() 213 pair->dma_data.dma_request2 = tmp_data->dma_request; in fsl_asrc_dma_hw_params() 214 pair->dma_data.peripheral_type = tmp_data->peripheral_type; in fsl_asrc_dma_hw_params() 215 pair->dma_data.priority = tmp_data->priority; in fsl_asrc_dma_hw_params() 218 pair->dma_chan[dir] = dma_request_channel(mask, filter, &pair->dma_data); in fsl_asrc_dma_hw_params()
|
/sound/soc/ |
D | soc-generic-dmaengine-pcm.c | 65 struct snd_dmaengine_dai_dma_data *dma_data; in snd_dmaengine_pcm_prepare_slave_config() local 68 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in snd_dmaengine_pcm_prepare_slave_config() 74 snd_dmaengine_pcm_set_config_from_dai_data(substream, dma_data, in snd_dmaengine_pcm_prepare_slave_config() 119 struct snd_dmaengine_dai_dma_data *dma_data; in dmaengine_pcm_set_runtime_hwparams() local 131 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in dmaengine_pcm_set_runtime_hwparams() 141 hw.fifo_size = dma_data->fifo_size; in dmaengine_pcm_set_runtime_hwparams() 213 struct snd_dmaengine_dai_dma_data *dma_data; in dmaengine_pcm_compat_request_channel() local 216 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in dmaengine_pcm_compat_request_channel() 227 return snd_dmaengine_pcm_request_channel(fn, dma_data->filter_data); in dmaengine_pcm_compat_request_channel() 250 struct snd_dmaengine_dai_dma_data *dma_data; in dmaengine_pcm_new() local [all …]
|
/sound/soc/omap/ |
D | omap-pcm.c | 62 struct omap_pcm_dma_data *dma_data; in omap_pcm_hw_params() local 67 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in omap_pcm_hw_params() 71 if (!dma_data) in omap_pcm_hw_params() 114 struct snd_dmaengine_dai_dma_data *dma_data; in omap_pcm_open() local 119 dma_data = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in omap_pcm_open() 126 dma_data->filter_data); in omap_pcm_open() 131 dma_data->filter_data); in omap_pcm_open()
|
D | omap-mcpdm.c | 69 struct snd_dmaengine_dai_dma_data dma_data[2]; member 297 struct snd_dmaengine_dai_dma_data *dma_data; in omap_mcpdm_dai_hw_params() local 326 dma_data = snd_soc_dai_get_dma_data(dai, substream); in omap_mcpdm_dai_hw_params() 337 dma_data->maxburst = in omap_mcpdm_dai_hw_params() 344 dma_data->maxburst = threshold * channels; in omap_mcpdm_dai_hw_params() 409 &mcpdm->dma_data[SNDRV_PCM_STREAM_PLAYBACK], in omap_mcpdm_probe() 410 &mcpdm->dma_data[SNDRV_PCM_STREAM_CAPTURE]); in omap_mcpdm_probe() 480 mcpdm->dma_data[0].addr = res->start + MCPDM_REG_DN_DATA; in asoc_mcpdm_probe() 481 mcpdm->dma_data[1].addr = res->start + MCPDM_REG_UP_DATA; in asoc_mcpdm_probe() 483 mcpdm->dma_data[0].filter_data = "dn_link"; in asoc_mcpdm_probe() [all …]
|
D | omap-hdmi.c | 44 struct snd_dmaengine_dai_dma_data dma_data; member 73 snd_soc_dai_set_dma_data(dai, substream, &priv->dma_data); in omap_hdmi_dai_startup() 97 priv->dma_data.maxburst = 16; in omap_hdmi_dai_hw_params() 100 priv->dma_data.maxburst = 32; in omap_hdmi_dai_hw_params() 287 hdmi_data->dma_data.addr = hdmi_rsrc->start + OMAP_HDMI_AUDIO_DMA_PORT; in omap_hdmi_probe() 296 hdmi_data->dma_data.filter_data = &hdmi_data->dma_req; in omap_hdmi_probe() 297 hdmi_data->dma_data.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in omap_hdmi_probe()
|
D | omap-dmic.c | 60 struct snd_dmaengine_dai_dma_data dma_data; member 201 struct snd_dmaengine_dai_dma_data *dma_data; in omap_dmic_dai_hw_params() local 227 dma_data = snd_soc_dai_get_dma_data(dai, substream); in omap_dmic_dai_hw_params() 228 dma_data->maxburst = dmic->threshold * channels; in omap_dmic_dai_hw_params() 421 snd_soc_dai_init_dma_data(dai, NULL, &dmic->dma_data); in omap_dmic_probe() 480 dmic->dma_data.addr = res->start + OMAP_DMIC_DATA_REG; in asoc_dmic_probe() 482 dmic->dma_data.filter_data = "up_link"; in asoc_dmic_probe()
|
D | mcbsp.c | 1022 mcbsp->dma_data[0].filter_data = &mcbsp->dma_req[0]; in omap_mcbsp_init() 1030 mcbsp->dma_data[1].filter_data = &mcbsp->dma_req[1]; in omap_mcbsp_init() 1032 mcbsp->dma_data[0].filter_data = "tx"; in omap_mcbsp_init() 1033 mcbsp->dma_data[1].filter_data = "rx"; in omap_mcbsp_init() 1036 mcbsp->dma_data[0].addr = omap_mcbsp_dma_reg_params(mcbsp, 0); in omap_mcbsp_init() 1037 mcbsp->dma_data[0].maxburst = 4; in omap_mcbsp_init() 1039 mcbsp->dma_data[1].addr = omap_mcbsp_dma_reg_params(mcbsp, 1); in omap_mcbsp_init() 1040 mcbsp->dma_data[1].maxburst = 4; in omap_mcbsp_init()
|
D | omap-mcbsp.c | 225 struct snd_dmaengine_dai_dma_data *dma_data; in omap_mcbsp_dai_hw_params() local 230 dma_data = snd_soc_dai_get_dma_data(cpu_dai, substream); in omap_mcbsp_dai_hw_params() 277 dma_data->maxburst = pkt_size; in omap_mcbsp_dai_hw_params() 561 &mcbsp->dma_data[SNDRV_PCM_STREAM_PLAYBACK], in omap_mcbsp_probe() 562 &mcbsp->dma_data[SNDRV_PCM_STREAM_CAPTURE]); in omap_mcbsp_probe()
|
/sound/soc/jz4740/ |
D | jz4740-i2s.c | 335 struct snd_dmaengine_dai_dma_data *dma_data; in jz4740_i2c_init_pcm_config() local 338 dma_data = &i2s->playback_dma_data; in jz4740_i2c_init_pcm_config() 339 dma_data->maxburst = 16; in jz4740_i2c_init_pcm_config() 340 dma_data->slave_id = JZ4740_DMA_TYPE_AIC_TRANSMIT; in jz4740_i2c_init_pcm_config() 341 dma_data->addr = i2s->phys_base + JZ_REG_AIC_FIFO; in jz4740_i2c_init_pcm_config() 344 dma_data = &i2s->capture_dma_data; in jz4740_i2c_init_pcm_config() 345 dma_data->maxburst = 16; in jz4740_i2c_init_pcm_config() 346 dma_data->slave_id = JZ4740_DMA_TYPE_AIC_RECEIVE; in jz4740_i2c_init_pcm_config() 347 dma_data->addr = i2s->phys_base + JZ_REG_AIC_FIFO; in jz4740_i2c_init_pcm_config()
|
/sound/soc/adi/ |
D | axi-spdif.c | 43 struct snd_dmaengine_dai_dma_data dma_data; member 113 snd_soc_dai_init_dma_data(dai, &spdif->dma_data, NULL); in axi_spdif_dai_probe() 215 spdif->dma_data.addr = res->start + AXI_SPDIF_REG_TX_FIFO; in axi_spdif_probe() 216 spdif->dma_data.addr_width = 4; in axi_spdif_probe() 217 spdif->dma_data.maxburst = 1; in axi_spdif_probe()
|
/sound/soc/davinci/ |
D | davinci-mcasp.c | 69 struct snd_dmaengine_dai_dma_data dma_data[2]; member 530 struct snd_dmaengine_dai_dma_data *dma_data = &mcasp->dma_data[stream]; in mcasp_common_hw_param() local 598 dma_data->maxburst = active_serializers; in mcasp_common_hw_param() 601 dma_data->maxburst = 0; in mcasp_common_hw_param() 633 dma_data->maxburst = numevt; in mcasp_common_hw_param() 872 &mcasp->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_mcasp_dai_probe() 874 &mcasp->dma_data[SNDRV_PCM_STREAM_CAPTURE]; in davinci_mcasp_dai_probe() 1193 struct snd_dmaengine_dai_dma_data *dma_data; in davinci_mcasp_probe() local 1268 dma_data = &mcasp->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_mcasp_probe() 1279 dma_data->addr = dma_params->dma_addr; in davinci_mcasp_probe() [all …]
|
/sound/soc/bcm/ |
D | bcm2835-i2s.c | 168 struct snd_dmaengine_dai_dma_data dma_data[2]; member 703 &dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK], in bcm2835_i2s_dai_probe() 704 &dev->dma_data[SNDRV_PCM_STREAM_CAPTURE]); in bcm2835_i2s_dai_probe() 819 dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].addr = in bcm2835_i2s_probe() 823 dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].addr = in bcm2835_i2s_probe() 828 dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].addr_width = in bcm2835_i2s_probe() 830 dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].addr_width = in bcm2835_i2s_probe() 834 dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].maxburst = 2; in bcm2835_i2s_probe() 835 dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].maxburst = 2; in bcm2835_i2s_probe()
|
/sound/soc/samsung/ |
D | dmaengine.c | 52 playback_data = &playback->dma_data; in samsung_asoc_init_dma_data() 59 capture_data = &capture->dma_data; in samsung_asoc_init_dma_data()
|
D | s3c24xx-i2s.c | 224 struct snd_dmaengine_dai_dma_data *dma_data; in s3c24xx_i2s_hw_params() local 229 dma_data = snd_soc_dai_get_dma_data(dai, substream); in s3c24xx_i2s_hw_params() 238 dma_data->addr_width = 1; in s3c24xx_i2s_hw_params() 242 dma_data->addr_width = 2; in s3c24xx_i2s_hw_params()
|
D | dma.h | 22 struct snd_dmaengine_dai_dma_data dma_data; member
|
D | s3c-i2s-v2.c | 305 struct s3c_dma_params *dma_data; in s3c_i2sv2_hw_params() local 311 dma_data = i2s->dma_playback; in s3c_i2sv2_hw_params() 313 dma_data = i2s->dma_capture; in s3c_i2sv2_hw_params() 315 snd_soc_dai_set_dma_data(dai, substream, dma_data); in s3c_i2sv2_hw_params()
|
D | spdif.c | 182 struct s3c_dma_params *dma_data; in spdif_hw_params() local 190 dma_data = spdif->dma_playback; in spdif_hw_params() 196 snd_soc_dai_set_dma_data(rtd->cpu_dai, substream, dma_data); in spdif_hw_params()
|
/sound/soc/dwc/ |
D | designware_i2s.c | 156 struct i2s_dma_data *dma_data = NULL; in dw_i2s_startup() local 167 dma_data = &dev->play_dma_data; in dw_i2s_startup() 169 dma_data = &dev->capture_dma_data; in dw_i2s_startup() 171 snd_soc_dai_set_dma_data(cpu_dai, substream, (void *)dma_data); in dw_i2s_startup()
|