Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/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(asoc_rtd_to_cpu(rtd, 0), substream); in pxa2xx_pcm_hw_params()
42 if (!dma_params) in pxa2xx_pcm_hw_params()
84 struct snd_dmaengine_dai_dma_data *dma_params; in pxa2xx_pcm_open() local
89 dma_params = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in pxa2xx_pcm_open()
90 if (!dma_params) in pxa2xx_pcm_open()
115 dma_params->chan_name)); in pxa2xx_pcm_open()
/linux-5.19.10/sound/soc/sprd/
Dsprd-pcm-dma.c163 struct sprd_pcm_dma_params *dma_params = dma_private->params; in sprd_pcm_request_dma_channel() local
175 dma_params->chan_name[i]); in sprd_pcm_request_dma_channel()
178 dma_params->chan_name[i]); in sprd_pcm_request_dma_channel()
194 struct sprd_pcm_dma_params *dma_params; in sprd_pcm_hw_params() local
203 dma_params = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in sprd_pcm_hw_params()
204 if (!dma_params) { in sprd_pcm_hw_params()
211 dma_private->params = dma_params; in sprd_pcm_hw_params()
235 config.src_maxburst = dma_params->fragment_len[i]; in sprd_pcm_hw_params()
236 config.src_addr_width = dma_params->datawidth[i]; in sprd_pcm_hw_params()
237 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-5.19.10/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
246 host->dma_params_tx.filter_data = &host->dma_params; in spdif_soc_dai_probe()
300 host->dma_params.data = pdata->dma_params; in spdif_out_probe()
301 host->dma_params.addr = res->start + SPDIF_OUT_FIFO_DATA; in spdif_out_probe()
302 host->dma_params.max_burst = 16; in spdif_out_probe()
303 host->dma_params.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in spdif_out_probe()
/linux-5.19.10/drivers/net/ethernet/ti/
Dcpsw_priv.c438 struct cpdma_params dma_params; in cpsw_init_common() local
450 memset(&dma_params, 0, sizeof(dma_params)); in cpsw_init_common()
458 dma_params.dmaregs = ss_regs + CPSW1_CPDMA_OFFSET; in cpsw_init_common()
459 dma_params.txhdp = ss_regs + CPSW1_STATERAM_OFFSET; in cpsw_init_common()
464 dma_params.desc_mem_phys = 0; in cpsw_init_common()
472 dma_params.dmaregs = ss_regs + CPSW2_CPDMA_OFFSET; in cpsw_init_common()
473 dma_params.txhdp = ss_regs + CPSW2_STATERAM_OFFSET; in cpsw_init_common()
478 dma_params.desc_mem_phys = desc_mem_phys; in cpsw_init_common()
513 dma_params.dev = dev; in cpsw_init_common()
514 dma_params.rxthresh = dma_params.dmaregs + CPDMA_RXTHRESH; in cpsw_init_common()
[all …]
Ddavinci_emac.c1818 struct cpdma_params dma_params; in davinci_emac_probe() local
1891 memset(&dma_params, 0, sizeof(dma_params)); in davinci_emac_probe()
1892 dma_params.dev = &pdev->dev; in davinci_emac_probe()
1893 dma_params.dmaregs = priv->emac_base; in davinci_emac_probe()
1894 dma_params.rxthresh = priv->emac_base + 0x120; in davinci_emac_probe()
1895 dma_params.rxfree = priv->emac_base + 0x140; in davinci_emac_probe()
1896 dma_params.txhdp = priv->emac_base + 0x600; in davinci_emac_probe()
1897 dma_params.rxhdp = priv->emac_base + 0x620; in davinci_emac_probe()
1898 dma_params.txcp = priv->emac_base + 0x640; in davinci_emac_probe()
1899 dma_params.rxcp = priv->emac_base + 0x660; in davinci_emac_probe()
[all …]
/linux-5.19.10/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-5.19.10/drivers/tty/serial/8250/
D8250_omap.c145 struct omap8250_dma_params *dma_params; member
1242 .dma_params = &am654_dma,
1248 .dma_params = &am33xx_dma,
1253 .dma_params = &am33xx_dma,
1418 struct omap8250_dma_params *dma_params = NULL; in omap8250_probe() local
1425 dma_params = pdata->dma_params; in omap8250_probe()
1427 if (dma_params) { in omap8250_probe()
1428 up.dma->rx_size = dma_params->rx_size; in omap8250_probe()
1429 up.dma->rxconf.src_maxburst = dma_params->rx_trigger; in omap8250_probe()
1430 up.dma->txconf.dst_maxburst = dma_params->tx_trigger; in omap8250_probe()
[all …]
/linux-5.19.10/include/sound/
Dspear_spdif.h11 void *dma_params; member
/linux-5.19.10/sound/soc/intel/skylake/
Dskl-pcm.c217 struct skl_dma_params *dma_params; in skl_pcm_open() local
241 dma_params = kzalloc(sizeof(*dma_params), GFP_KERNEL); in skl_pcm_open()
242 if (!dma_params) in skl_pcm_open()
245 dma_params->stream_tag = hdac_stream(stream)->stream_tag; in skl_pcm_open()
246 snd_soc_dai_set_dma_data(dai, substream, dma_params); in skl_pcm_open()
249 dma_params->stream_tag); in skl_pcm_open()
344 struct skl_dma_params *dma_params = NULL; in skl_pcm_close() local
352 dma_params = snd_soc_dai_get_dma_data(dai, substream); in skl_pcm_close()
374 kfree(dma_params); in skl_pcm_close()
/linux-5.19.10/sound/soc/stm/
Dstm32_spdifrx.c236 struct snd_dmaengine_dai_dma_data dma_params; member
599 spdifrx->dma_params.addr = (dma_addr_t)(spdifrx->phys_addr + in stm32_spdifrx_dai_probe()
601 spdifrx->dma_params.maxburst = 1; in stm32_spdifrx_dai_probe()
603 snd_soc_dai_init_dma_data(cpu_dai, NULL, &spdifrx->dma_params); in stm32_spdifrx_dai_probe()
807 spdifrx->dma_params.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in stm32_spdifrx_hw_params()
808 snd_soc_dai_init_dma_data(cpu_dai, NULL, &spdifrx->dma_params); in stm32_spdifrx_hw_params()
Dstm32_sai_sub.c103 struct snd_dmaengine_dai_dma_data dma_params; member
1186 sai->dma_params.addr = (dma_addr_t)(sai->phys_addr + STM_SAI_DR_REGX); in stm32_sai_dai_probe()
1192 sai->dma_params.maxburst = 4; in stm32_sai_dai_probe()
1194 sai->dma_params.maxburst = 1; in stm32_sai_dai_probe()
1196 sai->dma_params.addr_width = DMA_SLAVE_BUSWIDTH_UNDEFINED; in stm32_sai_dai_probe()
1199 snd_soc_dai_init_dma_data(cpu_dai, &sai->dma_params, NULL); in stm32_sai_dai_probe()
1201 snd_soc_dai_init_dma_data(cpu_dai, NULL, &sai->dma_params); in stm32_sai_dai_probe()