Home
last modified time | relevance | path

Searched refs:dma_data (Results 1 – 25 of 40) sorted by relevance

12

/Linux-v6.1/drivers/usb/musb/
Dtusb6010_omap.c37 struct tusb_dma_data *dma_data; member
195 struct tusb_dma_data *dma_data; in tusb_omap_dma_program() local
238 dma_data = chdat->dma_data; in tusb_omap_dma_program()
244 if (dma_data->dmareq < 0) { in tusb_omap_dma_program()
297 ret = dmaengine_slave_config(dma_data->chan, &dma_cfg); in tusb_omap_dma_program()
303 dma_desc = dmaengine_prep_slave_single(dma_data->chan, dma_addr, in tusb_omap_dma_program()
342 dma_async_issue_pending(dma_data->chan); in tusb_omap_dma_program()
371 if (chdat->dma_data) in tusb_omap_dma_abort()
372 dmaengine_terminate_all(chdat->dma_data->chan); in tusb_omap_dma_abort()
400 chdat->dma_data = &chdat->tusb_dma->dma_pool[dmareq_nr]; in tusb_omap_dma_allocate_dmareq()
[all …]
/Linux-v6.1/sound/core/
Dpcm_dmaengine.c108 const struct snd_dmaengine_dai_dma_data *dma_data, in snd_dmaengine_pcm_set_config_from_dai_data() argument
112 slave_config->dst_addr = dma_data->addr; in snd_dmaengine_pcm_set_config_from_dai_data()
113 slave_config->dst_maxburst = dma_data->maxburst; in snd_dmaengine_pcm_set_config_from_dai_data()
114 if (dma_data->flags & SND_DMAENGINE_PCM_DAI_FLAG_PACK) in snd_dmaengine_pcm_set_config_from_dai_data()
117 if (dma_data->addr_width != DMA_SLAVE_BUSWIDTH_UNDEFINED) in snd_dmaengine_pcm_set_config_from_dai_data()
118 slave_config->dst_addr_width = dma_data->addr_width; in snd_dmaengine_pcm_set_config_from_dai_data()
120 slave_config->src_addr = dma_data->addr; in snd_dmaengine_pcm_set_config_from_dai_data()
121 slave_config->src_maxburst = dma_data->maxburst; in snd_dmaengine_pcm_set_config_from_dai_data()
122 if (dma_data->flags & SND_DMAENGINE_PCM_DAI_FLAG_PACK) 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()
[all …]
/Linux-v6.1/sound/soc/pxa/
Dpxa2xx-ac97.c96 struct snd_dmaengine_dai_dma_data *dma_data; in pxa2xx_ac97_hifi_startup() local
99 dma_data = &pxa2xx_ac97_pcm_stereo_out; in pxa2xx_ac97_hifi_startup()
101 dma_data = &pxa2xx_ac97_pcm_stereo_in; in pxa2xx_ac97_hifi_startup()
103 snd_soc_dai_set_dma_data(cpu_dai, substream, dma_data); in pxa2xx_ac97_hifi_startup()
111 struct snd_dmaengine_dai_dma_data *dma_data; in pxa2xx_ac97_aux_startup() local
114 dma_data = &pxa2xx_ac97_pcm_aux_mono_out; in pxa2xx_ac97_aux_startup()
116 dma_data = &pxa2xx_ac97_pcm_aux_mono_in; in pxa2xx_ac97_aux_startup()
118 snd_soc_dai_set_dma_data(cpu_dai, substream, dma_data); in pxa2xx_ac97_aux_startup()
Dmmp-pcm.c95 struct mmp_dma_data *dma_data = param; in filter() local
99 devname = kasprintf(GFP_KERNEL, "%s.%d", dma_data->dma_res->name, in filter()
100 dma_data->ssp_id); in filter()
102 (chan->chan_id == dma_data->dma_res->start)) { in filter()
116 struct mmp_dma_data dma_data; in mmp_pcm_open() local
126 dma_data.dma_res = r; in mmp_pcm_open()
127 dma_data.ssp_id = cpu_dai->id; in mmp_pcm_open()
130 &dma_data); in mmp_pcm_open()
Dpxa2xx-i2s.c158 struct snd_dmaengine_dai_dma_data *dma_data; in pxa2xx_i2s_hw_params() local
167 dma_data = &pxa2xx_i2s_pcm_stereo_out; in pxa2xx_i2s_hw_params()
169 dma_data = &pxa2xx_i2s_pcm_stereo_in; in pxa2xx_i2s_hw_params()
171 snd_soc_dai_set_dma_data(dai, substream, dma_data); in pxa2xx_i2s_hw_params()
/Linux-v6.1/sound/soc/ti/
Ddavinci-vcif.c38 struct snd_dmaengine_dai_dma_data dma_data[2]; member
165 dai->playback_dma_data = &dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_vcif_dai_probe()
166 dai->capture_dma_data = &dev->dma_data[SNDRV_PCM_STREAM_CAPTURE]; in davinci_vcif_dai_probe()
206 davinci_vcif_dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].filter_data = in davinci_vcif_probe()
208 davinci_vcif_dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].addr = in davinci_vcif_probe()
212 davinci_vcif_dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].filter_data = in davinci_vcif_probe()
214 davinci_vcif_dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].addr = in davinci_vcif_probe()
Ddavinci-i2s.c130 struct snd_dmaengine_dai_dma_data dma_data[2]; member
618 dai->playback_dma_data = &dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_i2s_dai_probe()
619 dai->capture_dma_data = &dev->dma_data[SNDRV_PCM_STREAM_CAPTURE]; in davinci_i2s_dai_probe()
649 struct snd_dmaengine_dai_dma_data *dma_data; in davinci_i2s_probe() local
679 dma_data = &dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_i2s_probe()
680 dma_data->addr = (dma_addr_t)(mem->start + DAVINCI_MCBSP_DXR_REG); in davinci_i2s_probe()
686 dma_data->filter_data = dma; in davinci_i2s_probe()
688 dma_data->filter_data = "tx"; in davinci_i2s_probe()
694 dma_data = &dev->dma_data[SNDRV_PCM_STREAM_CAPTURE]; in davinci_i2s_probe()
695 dma_data->addr = (dma_addr_t)(mem->start + DAVINCI_MCBSP_DRR_REG); in davinci_i2s_probe()
[all …]
Domap-mcpdm.c60 struct snd_dmaengine_dai_dma_data dma_data[2]; member
300 struct snd_dmaengine_dai_dma_data *dma_data; in omap_mcpdm_dai_hw_params() local
333 dma_data = snd_soc_dai_get_dma_data(dai, substream); in omap_mcpdm_dai_hw_params()
344 dma_data->maxburst = in omap_mcpdm_dai_hw_params()
352 dma_data->maxburst = threshold * channels; in omap_mcpdm_dai_hw_params()
441 &mcpdm->dma_data[SNDRV_PCM_STREAM_PLAYBACK], in omap_mcpdm_probe()
442 &mcpdm->dma_data[SNDRV_PCM_STREAM_CAPTURE]); in omap_mcpdm_probe()
560 mcpdm->dma_data[0].addr = res->start + MCPDM_REG_DN_DATA; in asoc_mcpdm_probe()
561 mcpdm->dma_data[1].addr = res->start + MCPDM_REG_UP_DATA; in asoc_mcpdm_probe()
563 mcpdm->dma_data[0].filter_data = "dn_link"; in asoc_mcpdm_probe()
[all …]
Domap-dmic.c48 struct snd_dmaengine_dai_dma_data dma_data; member
191 struct snd_dmaengine_dai_dma_data *dma_data; in omap_dmic_dai_hw_params() local
219 dma_data = snd_soc_dai_get_dma_data(dai, substream); in omap_dmic_dai_hw_params()
220 dma_data->maxburst = dmic->threshold * channels; in omap_dmic_dai_hw_params()
427 snd_soc_dai_init_dma_data(dai, NULL, &dmic->dma_data); in omap_dmic_probe()
487 dmic->dma_data.addr = res->start + OMAP_DMIC_DATA_REG; in asoc_dmic_probe()
489 dmic->dma_data.filter_data = "up_link"; in asoc_dmic_probe()
Domap-hdmi.c31 struct snd_dmaengine_dai_dma_data dma_data; member
87 snd_soc_dai_set_dma_data(dai, substream, &ad->dma_data); in hdmi_dai_startup()
116 ad->dma_data.maxburst = 16; in hdmi_dai_hw_params()
119 ad->dma_data.maxburst = 32; in hdmi_dai_hw_params()
329 ad->dma_data.addr = ha->audio_dma_addr; in omap_hdmi_audio_probe()
330 ad->dma_data.filter_data = "audio_tx"; in omap_hdmi_audio_probe()
331 ad->dma_data.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in omap_hdmi_audio_probe()
Ddavinci-mcasp.c78 struct snd_dmaengine_dai_dma_data dma_data[2]; member
859 struct snd_dmaengine_dai_dma_data *dma_data = &mcasp->dma_data[stream]; in mcasp_common_hw_param() local
945 dma_data->maxburst = active_serializers; in mcasp_common_hw_param()
947 dma_data->maxburst = 0; in mcasp_common_hw_param()
978 dma_data->maxburst = numevt; in mcasp_common_hw_param()
1704 dai->playback_dma_data = &mcasp->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_mcasp_dai_probe()
1705 dai->capture_dma_data = &mcasp->dma_data[SNDRV_PCM_STREAM_CAPTURE]; in davinci_mcasp_dai_probe()
2026 tmp = mcasp->dma_data[SNDRV_PCM_STREAM_PLAYBACK].filter_data; in davinci_mcasp_get_dma_type()
2242 struct snd_dmaengine_dai_dma_data *dma_data; in davinci_mcasp_probe() local
2354 dma_data = &mcasp->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; in davinci_mcasp_probe()
[all …]
Domap-mcbsp.c666 mcbsp->dma_data[0].filter_data = &mcbsp->dma_req[0]; in omap_mcbsp_init()
674 mcbsp->dma_data[1].filter_data = &mcbsp->dma_req[1]; in omap_mcbsp_init()
676 mcbsp->dma_data[0].filter_data = "tx"; in omap_mcbsp_init()
677 mcbsp->dma_data[1].filter_data = "rx"; in omap_mcbsp_init()
680 mcbsp->dma_data[0].addr = omap_mcbsp_dma_reg_params(mcbsp, in omap_mcbsp_init()
682 mcbsp->dma_data[1].addr = omap_mcbsp_dma_reg_params(mcbsp, in omap_mcbsp_init()
919 struct snd_dmaengine_dai_dma_data *dma_data; in omap_mcbsp_dai_hw_params() local
925 dma_data = snd_soc_dai_get_dma_data(cpu_dai, substream); in omap_mcbsp_dai_hw_params()
980 dma_data->maxburst = pkt_size; in omap_mcbsp_dai_hw_params()
1276 &mcbsp->dma_data[SNDRV_PCM_STREAM_PLAYBACK], in omap_mcbsp_probe()
[all …]
/Linux-v6.1/sound/soc/
Dsoc-generic-dmaengine-pcm.c54 struct snd_dmaengine_dai_dma_data *dma_data; in snd_dmaengine_pcm_prepare_slave_config() local
63 dma_data = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in snd_dmaengine_pcm_prepare_slave_config()
69 snd_dmaengine_pcm_set_config_from_dai_data(substream, dma_data, in snd_dmaengine_pcm_prepare_slave_config()
105 struct snd_dmaengine_dai_dma_data *dma_data; in dmaengine_pcm_set_runtime_hwparams() local
118 dma_data = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in dmaengine_pcm_set_runtime_hwparams()
125 hw.period_bytes_min = dma_data->maxburst * DMA_SLAVE_BUSWIDTH_8_BYTES; in dmaengine_pcm_set_runtime_hwparams()
130 hw.fifo_size = dma_data->fifo_size; in dmaengine_pcm_set_runtime_hwparams()
141 dma_data, in dmaengine_pcm_set_runtime_hwparams()
180 struct snd_dmaengine_dai_dma_data *dma_data; in dmaengine_pcm_compat_request_channel() local
188 dma_data = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in dmaengine_pcm_compat_request_channel()
[all …]
/Linux-v6.1/sound/soc/hisilicon/
Dhi6210-i2s.c43 struct snd_dmaengine_dai_dma_data dma_data[2]; member
261 struct snd_dmaengine_dai_dma_data *dma_data; in hi6210_i2s_hw_params() local
311 dma_data = snd_soc_dai_get_dma_data(cpu_dai, substream); in hi6210_i2s_hw_params()
316 dma_data->addr_width = 3; in hi6210_i2s_hw_params()
320 dma_data->addr_width = 2; in hi6210_i2s_hw_params()
423 dma_data->maxburst = 2; in hi6210_i2s_hw_params()
426 dma_data->addr = i2s->base_phys + HII2S_ST_DL_CHANNEL; in hi6210_i2s_hw_params()
428 dma_data->addr = i2s->base_phys + HII2S_STEREO_UPLINK_CHANNEL; in hi6210_i2s_hw_params()
506 &i2s->dma_data[SNDRV_PCM_STREAM_PLAYBACK], in hi6210_i2s_dai_probe()
507 &i2s->dma_data[SNDRV_PCM_STREAM_CAPTURE]); in hi6210_i2s_dai_probe()
/Linux-v6.1/sound/soc/sof/intel/
Dhda-dai.c623 struct ssp_dai_dma_data *dma_data; in ssp_dai_startup() local
625 dma_data = kzalloc(sizeof(*dma_data), GFP_KERNEL); in ssp_dai_startup()
626 if (!dma_data) in ssp_dai_startup()
629 snd_soc_dai_set_dma_data(dai, substream, dma_data); in ssp_dai_startup()
638 struct ssp_dai_dma_data *dma_data; in ssp_dai_setup() local
641 dma_data = snd_soc_dai_get_dma_data(dai, substream); in ssp_dai_setup()
642 if (!dma_data) { in ssp_dai_setup()
647 if (dma_data->setup != setup) { in ssp_dai_setup()
650 dma_data->setup = setup; in ssp_dai_setup()
691 struct ssp_dai_dma_data *dma_data; in ssp_dai_shutdown() local
[all …]
/Linux-v6.1/sound/soc/adi/
Daxi-spdif.c42 struct snd_dmaengine_dai_dma_data dma_data; member
112 snd_soc_dai_init_dma_data(dai, &spdif->dma_data, NULL); in axi_spdif_dai_probe()
214 spdif->dma_data.addr = res->start + AXI_SPDIF_REG_TX_FIFO; in axi_spdif_probe()
215 spdif->dma_data.addr_width = 4; in axi_spdif_probe()
216 spdif->dma_data.maxburst = 1; in axi_spdif_probe()
/Linux-v6.1/sound/soc/bcm/
Dbcm2835-i2s.c114 struct snd_dmaengine_dai_dma_data dma_data[2]; member
756 &dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK], in bcm2835_i2s_dai_probe()
757 &dev->dma_data[SNDRV_PCM_STREAM_CAPTURE]); in bcm2835_i2s_dai_probe()
866 dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].addr = in bcm2835_i2s_probe()
869 dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].addr = in bcm2835_i2s_probe()
873 dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].addr_width = in bcm2835_i2s_probe()
875 dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].addr_width = in bcm2835_i2s_probe()
879 dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].maxburst = 2; in bcm2835_i2s_probe()
880 dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].maxburst = 2; in bcm2835_i2s_probe()
886 dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].flags = in bcm2835_i2s_probe()
[all …]
/Linux-v6.1/sound/soc/fsl/
Dfsl_asrc_dma.c224 pair->dma_data.dma_request = tmp_data->dma_request; in fsl_asrc_dma_hw_params()
232 pair->dma_data.dma_request2 = tmp_data->dma_request; in fsl_asrc_dma_hw_params()
233 pair->dma_data.peripheral_type = tmp_data->peripheral_type; in fsl_asrc_dma_hw_params()
234 pair->dma_data.priority = tmp_data->priority; in fsl_asrc_dma_hw_params()
239 __dma_request_channel(&mask, filter, &pair->dma_data, in fsl_asrc_dma_hw_params()
330 struct snd_dmaengine_dai_dma_data *dma_data; in fsl_asrc_dma_startup() local
373 dma_data = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in fsl_asrc_dma_startup()
377 dma_data, in fsl_asrc_dma_startup()
/Linux-v6.1/sound/soc/img/
Dimg-parallel-out.c39 struct snd_dmaengine_dai_dma_data dma_data; member
187 snd_soc_dai_init_dma_data(dai, &prl->dma_data, NULL); in img_prl_out_dai_probe()
259 prl->dma_data.addr = res->start + IMG_PRL_OUT_TX_FIFO; in img_prl_out_probe()
260 prl->dma_data.addr_width = 4; in img_prl_out_probe()
261 prl->dma_data.maxburst = 4; in img_prl_out_probe()
Dimg-i2s-out.c55 struct snd_dmaengine_dai_dma_data dma_data; member
389 snd_soc_dai_init_dma_data(dai, &i2s->dma_data, NULL); in img_i2s_out_dai_probe()
404 struct snd_dmaengine_dai_dma_data *dma_data; in img_i2s_out_dma_prepare_slave_config() local
407 dma_data = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), st); in img_i2s_out_dma_prepare_slave_config()
413 sc->dst_addr = dma_data->addr; in img_i2s_out_dma_prepare_slave_config()
414 sc->dst_addr_width = dma_data->addr_width; in img_i2s_out_dma_prepare_slave_config()
503 i2s->dma_data.addr = res->start + IMG_I2S_OUT_TX_FIFO; in img_i2s_out_probe()
504 i2s->dma_data.addr_width = 4; in img_i2s_out_probe()
505 i2s->dma_data.maxburst = 4; in img_i2s_out_probe()
Dimg-i2s-in.c55 struct snd_dmaengine_dai_dma_data dma_data; member
383 snd_soc_dai_init_dma_data(dai, NULL, &i2s->dma_data); in img_i2s_in_dai_probe()
398 struct snd_dmaengine_dai_dma_data *dma_data; in img_i2s_in_dma_prepare_slave_config() local
401 dma_data = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), st); in img_i2s_in_dma_prepare_slave_config()
407 sc->src_addr = dma_data->addr; in img_i2s_in_dma_prepare_slave_config()
408 sc->src_addr_width = dma_data->addr_width; in img_i2s_in_dma_prepare_slave_config()
468 i2s->dma_data.addr = res->start + IMG_I2S_IN_RX_FIFO; in img_i2s_in_probe()
469 i2s->dma_data.addr_width = 4; in img_i2s_in_probe()
Dimg-spdif-out.c44 struct snd_dmaengine_dai_dma_data dma_data; member
299 snd_soc_dai_init_dma_data(dai, &spdif->dma_data, NULL); in img_spdif_out_dai_probe()
378 spdif->dma_data.addr = res->start + IMG_SPDIF_OUT_TX_FIFO; in img_spdif_out_probe()
379 spdif->dma_data.addr_width = 4; in img_spdif_out_probe()
380 spdif->dma_data.maxburst = 4; in img_spdif_out_probe()
/Linux-v6.1/sound/soc/sti/
Dsti_uniperif.c288 struct snd_dmaengine_dai_dma_data *dma_data; in sti_uniperiph_dai_hw_params() local
297 dma_data = snd_soc_dai_get_dma_data(dai, substream); in sti_uniperiph_dai_hw_params()
298 dma_data->maxburst = transfer_size; in sti_uniperiph_dai_hw_params()
362 snd_soc_dai_init_dma_data(dai, &dai_data->dma_data, NULL); in sti_uniperiph_dai_probe()
364 snd_soc_dai_init_dma_data(dai, NULL, &dai_data->dma_data); in sti_uniperiph_dai_probe()
366 dai_data->dma_data.addr = dai_data->uni->fifo_phys_address; in sti_uniperiph_dai_probe()
367 dai_data->dma_data.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in sti_uniperiph_dai_probe()
/Linux-v6.1/include/sound/
Ddmaengine_pcm.h88 const struct snd_dmaengine_dai_dma_data *dma_data,
93 struct snd_dmaengine_dai_dma_data *dma_data,
/Linux-v6.1/sound/soc/samsung/
Ds3c24xx-i2s.c203 struct snd_dmaengine_dai_dma_data *dma_data; in s3c24xx_i2s_hw_params() local
206 dma_data = snd_soc_dai_get_dma_data(dai, substream); in s3c24xx_i2s_hw_params()
215 dma_data->addr_width = 1; in s3c24xx_i2s_hw_params()
219 dma_data->addr_width = 2; in s3c24xx_i2s_hw_params()

12