Home
last modified time | relevance | path

Searched refs:dma_params (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/ti/
Dcpsw_priv.c29 struct cpdma_params dma_params; in cpsw_init_common() local
40 memset(&dma_params, 0, sizeof(dma_params)); in cpsw_init_common()
48 dma_params.dmaregs = ss_regs + CPSW1_CPDMA_OFFSET; in cpsw_init_common()
49 dma_params.txhdp = ss_regs + CPSW1_STATERAM_OFFSET; in cpsw_init_common()
54 dma_params.desc_mem_phys = 0; in cpsw_init_common()
62 dma_params.dmaregs = ss_regs + CPSW2_CPDMA_OFFSET; in cpsw_init_common()
63 dma_params.txhdp = ss_regs + CPSW2_STATERAM_OFFSET; in cpsw_init_common()
68 dma_params.desc_mem_phys = desc_mem_phys; in cpsw_init_common()
102 dma_params.dev = dev; in cpsw_init_common()
103 dma_params.rxthresh = dma_params.dmaregs + CPDMA_RXTHRESH; in cpsw_init_common()
[all …]
Ddavinci_emac.c1773 struct cpdma_params dma_params; in davinci_emac_probe() local
1847 memset(&dma_params, 0, sizeof(dma_params)); in davinci_emac_probe()
1848 dma_params.dev = &pdev->dev; in davinci_emac_probe()
1849 dma_params.dmaregs = priv->emac_base; in davinci_emac_probe()
1850 dma_params.rxthresh = priv->emac_base + 0x120; in davinci_emac_probe()
1851 dma_params.rxfree = priv->emac_base + 0x140; in davinci_emac_probe()
1852 dma_params.txhdp = priv->emac_base + 0x600; in davinci_emac_probe()
1853 dma_params.rxhdp = priv->emac_base + 0x620; in davinci_emac_probe()
1854 dma_params.txcp = priv->emac_base + 0x640; in davinci_emac_probe()
1855 dma_params.rxcp = priv->emac_base + 0x660; in davinci_emac_probe()
[all …]
/Linux-v5.4/sound/soc/atmel/
Datmel_ssc_dai.c142 struct atmel_pcm_dma_params *dma_params; in atmel_ssc_interrupt() local
156 for (i = 0; i < ARRAY_SIZE(ssc_p->dma_params); i++) { in atmel_ssc_interrupt()
157 dma_params = ssc_p->dma_params[i]; in atmel_ssc_interrupt()
159 if ((dma_params != NULL) && in atmel_ssc_interrupt()
160 (dma_params->dma_intr_handler != NULL)) { in atmel_ssc_interrupt()
161 ssc_substream_mask = (dma_params->mask->ssc_endx | in atmel_ssc_interrupt()
162 dma_params->mask->ssc_endbuf); in atmel_ssc_interrupt()
164 dma_params->dma_intr_handler(ssc_sr, in atmel_ssc_interrupt()
165 dma_params-> in atmel_ssc_interrupt()
274 struct atmel_pcm_dma_params *dma_params; in atmel_ssc_startup() local
[all …]
Datmel_ssc_dai.h103 struct atmel_pcm_dma_params *dma_params[2]; member
/Linux-v5.4/sound/arm/
Dpxa2xx-pcm-lib.c37 struct snd_dmaengine_dai_dma_data *dma_params; in pxa2xx_pcm_hw_params() local
41 dma_params = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in pxa2xx_pcm_hw_params()
42 if (!dma_params) in pxa2xx_pcm_hw_params()
93 struct snd_dmaengine_dai_dma_data *dma_params; in pxa2xx_pcm_open() local
98 dma_params = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in pxa2xx_pcm_open()
99 if (!dma_params) in pxa2xx_pcm_open()
124 dma_params->chan_name)); in pxa2xx_pcm_open()
/Linux-v5.4/sound/soc/spear/
Dspdif_in.c36 struct spear_dma_data dma_params; member
60 host->dma_params_rx.filter_data = &host->dma_params; in spdif_in_dai_probe()
237 host->dma_params.data = pdata->dma_params; in spdif_in_probe()
238 host->dma_params.addr = res_fifo->start; in spdif_in_probe()
239 host->dma_params.max_burst = 16; in spdif_in_probe()
240 host->dma_params.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in spdif_in_probe()
Dspdif_out.c36 struct spear_dma_data dma_params; member
245 host->dma_params_tx.filter_data = &host->dma_params; in spdif_soc_dai_probe()
299 host->dma_params.data = pdata->dma_params; in spdif_out_probe()
300 host->dma_params.addr = res->start + SPDIF_OUT_FIFO_DATA; in spdif_out_probe()
301 host->dma_params.max_burst = 16; in spdif_out_probe()
302 host->dma_params.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in spdif_out_probe()
/Linux-v5.4/sound/soc/sprd/
Dsprd-pcm-dma.c169 struct sprd_pcm_dma_params *dma_params = dma_private->params; in sprd_pcm_request_dma_channel() local
181 dma_params->chan_name[i]); in sprd_pcm_request_dma_channel()
184 dma_params->chan_name[i]); in sprd_pcm_request_dma_channel()
201 struct sprd_pcm_dma_params *dma_params; in sprd_pcm_hw_params() local
210 dma_params = snd_soc_dai_get_dma_data(rtd->cpu_dai, substream); in sprd_pcm_hw_params()
211 if (!dma_params) { in sprd_pcm_hw_params()
220 dma_private->params = dma_params; in sprd_pcm_hw_params()
246 config.src_maxburst = dma_params->fragment_len[i]; in sprd_pcm_hw_params()
247 config.src_addr_width = dma_params->datawidth[i]; in sprd_pcm_hw_params()
248 config.dst_addr_width = dma_params->datawidth[i]; in sprd_pcm_hw_params()
[all …]
Dsprd-pcm-compress.c139 struct sprd_pcm_dma_params *dma_params = data->dma_params; in sprd_platform_compr_dma_config() local
151 if (!dma_params) { in sprd_platform_compr_dma_config()
157 dma_params->chan_name[channel]); in sprd_platform_compr_dma_config()
175 dst_addr = dma_params->dev_phys[channel]; in sprd_platform_compr_dma_config()
Dsprd-pcm-dma.h55 struct sprd_pcm_dma_params *dma_params; member
/Linux-v5.4/sound/soc/pxa/
Dmmp-sspa.c32 struct snd_dmaengine_dai_dma_data *dma_params; member
257 struct snd_dmaengine_dai_dma_data *dma_params; in mmp_sspa_hw_params() local
299 dma_params = &sspa_priv->dma_params[substream->stream]; in mmp_sspa_hw_params()
300 dma_params->addr = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? in mmp_sspa_hw_params()
303 snd_soc_dai_set_dma_data(cpu_dai, substream, dma_params); in mmp_sspa_hw_params()
413 priv->dma_params = devm_kcalloc(&pdev->dev, in asoc_mmp_sspa_probe()
416 if (priv->dma_params == NULL) in asoc_mmp_sspa_probe()
/Linux-v5.4/sound/soc/ux500/
Dux500_pcm.c52 struct ux500_msp_dma_params *dma_params; in ux500_pcm_request_chan() local
54 dma_params = snd_soc_dai_get_dma_data(dai, substream); in ux500_pcm_request_chan()
55 dma_cfg = dma_params->dma_cfg; in ux500_pcm_request_chan()
59 switch (dma_params->data_size) { in ux500_pcm_request_chan()
/Linux-v5.4/include/sound/
Dspear_spdif.h11 void *dma_params; member
/Linux-v5.4/sound/soc/intel/skylake/
Dskl-pcm.c226 struct skl_dma_params *dma_params; in skl_pcm_open() local
250 dma_params = kzalloc(sizeof(*dma_params), GFP_KERNEL); in skl_pcm_open()
251 if (!dma_params) in skl_pcm_open()
254 dma_params->stream_tag = hdac_stream(stream)->stream_tag; in skl_pcm_open()
255 snd_soc_dai_set_dma_data(dai, substream, dma_params); in skl_pcm_open()
258 dma_params->stream_tag); in skl_pcm_open()
352 struct skl_dma_params *dma_params = NULL; in skl_pcm_close() local
360 dma_params = snd_soc_dai_get_dma_data(dai, substream); in skl_pcm_close()
382 kfree(dma_params); in skl_pcm_close()
/Linux-v5.4/sound/soc/stm/
Dstm32_spdifrx.c235 struct snd_dmaengine_dai_dma_data dma_params; member
597 spdifrx->dma_params.addr = (dma_addr_t)(spdifrx->phys_addr + in stm32_spdifrx_dai_probe()
599 spdifrx->dma_params.maxburst = 1; in stm32_spdifrx_dai_probe()
601 snd_soc_dai_init_dma_data(cpu_dai, NULL, &spdifrx->dma_params); in stm32_spdifrx_dai_probe()
786 spdifrx->dma_params.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in stm32_spdifrx_hw_params()
787 snd_soc_dai_init_dma_data(cpu_dai, NULL, &spdifrx->dma_params); in stm32_spdifrx_hw_params()
Dstm32_sai_sub.c102 struct snd_dmaengine_dai_dma_data dma_params; member
1135 sai->dma_params.addr = (dma_addr_t)(sai->phys_addr + STM_SAI_DR_REGX); in stm32_sai_dai_probe()
1141 sai->dma_params.maxburst = 4; in stm32_sai_dai_probe()
1143 sai->dma_params.maxburst = 1; in stm32_sai_dai_probe()
1145 sai->dma_params.addr_width = DMA_SLAVE_BUSWIDTH_UNDEFINED; in stm32_sai_dai_probe()
1148 snd_soc_dai_init_dma_data(cpu_dai, &sai->dma_params, NULL); in stm32_sai_dai_probe()
1150 snd_soc_dai_init_dma_data(cpu_dai, NULL, &sai->dma_params); in stm32_sai_dai_probe()