/linux-6.3-rc2/sound/soc/atmel/ |
A D | atmel_ssc_dai.c | 157 dma_params = ssc_p->dma_params[i]; in atmel_ssc_interrupt() 159 if ((dma_params != NULL) && in atmel_ssc_interrupt() 165 dma_params-> in atmel_ssc_interrupt() 313 dma_params->ssc = ssc_p->ssc; in atmel_ssc_startup() 316 ssc_p->dma_params[dir] = dma_params; in atmel_ssc_startup() 345 dma_params = ssc_p->dma_params[dir]; in atmel_ssc_shutdown() 347 if (dma_params != NULL) { in atmel_ssc_shutdown() 348 dma_params->ssc = NULL; in atmel_ssc_shutdown() 524 dma_params = ssc_p->dma_params[dir]; in atmel_ssc_hw_params() 725 dma_params = ssc_p->dma_params[dir]; in atmel_ssc_prepare() [all …]
|
A D | atmel_ssc_dai.h | 103 struct atmel_pcm_dma_params *dma_params[2]; member
|
/linux-6.3-rc2/sound/arm/ |
A D | pxa2xx-pcm-lib.c | 37 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-6.3-rc2/sound/soc/sprd/ |
A D | sprd-pcm-dma.c | 163 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 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() 241 config.dst_addr = dma_params->dev_phys[i]; in sprd_pcm_hw_params() [all …]
|
A D | sprd-pcm-compress.c | 139 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()
|
A D | sprd-pcm-dma.h | 55 struct sprd_pcm_dma_params *dma_params; member
|
/linux-6.3-rc2/sound/soc/spear/ |
A D | spdif_in.c | 36 struct spear_dma_data dma_params; member 60 host->dma_params_rx.filter_data = &host->dma_params; in spdif_in_dai_probe() 238 host->dma_params.data = pdata->dma_params; in spdif_in_probe() 239 host->dma_params.addr = res_fifo->start; in spdif_in_probe() 240 host->dma_params.max_burst = 16; in spdif_in_probe() 241 host->dma_params.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in spdif_in_probe()
|
A D | spdif_out.c | 36 struct spear_dma_data dma_params; member 246 host->dma_params_tx.filter_data = &host->dma_params; in spdif_soc_dai_probe() 302 host->dma_params.data = pdata->dma_params; in spdif_out_probe() 303 host->dma_params.addr = res->start + SPDIF_OUT_FIFO_DATA; in spdif_out_probe() 304 host->dma_params.max_burst = 16; in spdif_out_probe() 305 host->dma_params.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in spdif_out_probe()
|
/linux-6.3-rc2/drivers/net/ethernet/ti/ |
A D | cpsw_priv.c | 439 struct cpdma_params dma_params; in cpsw_init_common() local 451 memset(&dma_params, 0, sizeof(dma_params)); in cpsw_init_common() 465 dma_params.desc_mem_phys = 0; in cpsw_init_common() 514 dma_params.dev = dev; in cpsw_init_common() 515 dma_params.rxthresh = dma_params.dmaregs + CPDMA_RXTHRESH; in cpsw_init_common() 516 dma_params.rxfree = dma_params.dmaregs + CPDMA_RXFREE; in cpsw_init_common() 517 dma_params.rxhdp = dma_params.txhdp + CPDMA_RXHDP; in cpsw_init_common() 518 dma_params.txcp = dma_params.txhdp + CPDMA_TXCP; in cpsw_init_common() 519 dma_params.rxcp = dma_params.txhdp + CPDMA_RXCP; in cpsw_init_common() 525 dma_params.desc_align = 16; in cpsw_init_common() [all …]
|
A D | davinci_emac.c | 1818 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() 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() 1902 dma_params.desc_hw_addr = hw_ram_addr; in davinci_emac_probe() 1904 dma_params.desc_align = 16; in davinci_emac_probe() [all …]
|
/linux-6.3-rc2/drivers/tty/serial/8250/ |
A D | 8250_omap.c | 152 struct omap8250_dma_params *dma_params; member 1322 .dma_params = &am654_dma, 1328 .dma_params = &am33xx_dma, 1333 .dma_params = &am33xx_dma, 1500 struct omap8250_dma_params *dma_params = NULL; in omap8250_probe() local 1507 dma_params = pdata->dma_params; in omap8250_probe() 1509 if (dma_params) { in omap8250_probe() 1510 up.dma->rx_size = dma_params->rx_size; in omap8250_probe() 1511 up.dma->rxconf.src_maxburst = dma_params->rx_trigger; in omap8250_probe() 1513 priv->rx_trigger = dma_params->rx_trigger; in omap8250_probe() [all …]
|
/linux-6.3-rc2/include/sound/ |
A D | spear_spdif.h | 11 void *dma_params; member
|
/linux-6.3-rc2/sound/soc/intel/skylake/ |
A D | skl-pcm.c | 217 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-6.3-rc2/sound/soc/stm/ |
A D | stm32_spdifrx.c | 236 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()
|
A D | stm32_sai_sub.c | 101 struct snd_dmaengine_dai_dma_data dma_params; member 1184 sai->dma_params.addr = (dma_addr_t)(sai->phys_addr + STM_SAI_DR_REGX); in stm32_sai_dai_probe() 1190 sai->dma_params.maxburst = 4; in stm32_sai_dai_probe() 1192 sai->dma_params.maxburst = 1; in stm32_sai_dai_probe() 1194 sai->dma_params.addr_width = DMA_SLAVE_BUSWIDTH_UNDEFINED; in stm32_sai_dai_probe() 1197 snd_soc_dai_init_dma_data(cpu_dai, &sai->dma_params, NULL); in stm32_sai_dai_probe() 1199 snd_soc_dai_init_dma_data(cpu_dai, NULL, &sai->dma_params); in stm32_sai_dai_probe()
|
/linux-6.3-rc2/sound/soc/fsl/ |
A D | fsl_sai.c | 520 struct snd_dmaengine_dai_dma_data *dma_params; in fsl_sai_hw_params() local 641 dma_params = tx ? &sai->dma_params_tx : &sai->dma_params_rx; in fsl_sai_hw_params() 642 dma_params->addr = sai->res->start + FSL_SAI_xDR0(tx) + in fsl_sai_hw_params() 654 dma_params->maxburst = sai->audio_config[tx].words_per_fifo * pins; in fsl_sai_hw_params() 655 dma_params->peripheral_config = &sai->audio_config[tx]; in fsl_sai_hw_params() 656 dma_params->peripheral_size = sizeof(sai->audio_config[tx]); in fsl_sai_hw_params() 658 watermark = tx ? (sai->soc_data->fifo_depth - dma_params->maxburst) : in fsl_sai_hw_params() 659 (dma_params->maxburst - 1); in fsl_sai_hw_params()
|