Home
last modified time | relevance | path

Searched refs:src_addr_width (Results 1 – 25 of 152) sorted by relevance

1234567

/kernel/linux/linux-5.10/sound/core/
Dpcm_dmaengine.c78 slave_config->src_addr_width = buswidth; in snd_hwparams_to_dma_slave_config()
121 slave_config->src_addr_width = in snd_dmaengine_pcm_set_config_from_dai_data()
124 slave_config->src_addr_width = dma_data->addr_width; in snd_dmaengine_pcm_set_config_from_dai_data()
/kernel/linux/linux-5.10/drivers/dma/
Dsun4i-dma.c395 if (sconfig->src_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) in sanitize_config()
396 sconfig->src_addr_width = sconfig->dst_addr_width; in sanitize_config()
404 if ((sconfig->src_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) || in sanitize_config()
409 sconfig->dst_addr_width = sconfig->src_addr_width; in sanitize_config()
456 sconfig->src_addr_width, sconfig->dst_addr_width); in generate_ndma_promise()
471 ret = convert_buswidth(sconfig->src_addr_width); in generate_ndma_promise()
528 ret = convert_buswidth(sconfig->src_addr_width); in generate_ddma_promise()
628 sconfig->src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in sun4i_dma_prep_dma_memcpy()
Dstm32-dma.c708 enum dma_slave_buswidth src_addr_width, dst_addr_width; in stm32_dma_set_xfer_param() local
714 src_addr_width = chan->dma_sconfig.src_addr_width; in stm32_dma_set_xfer_param()
738 src_addr_width = stm32_dma_get_max_width(buf_len, fifoth); in stm32_dma_set_xfer_param()
739 chan->mem_width = src_addr_width; in stm32_dma_set_xfer_param()
740 src_bus_width = stm32_dma_get_width(chan, src_addr_width); in stm32_dma_set_xfer_param()
749 src_addr_width); in stm32_dma_set_xfer_param()
772 src_bus_width = stm32_dma_get_width(chan, src_addr_width); in stm32_dma_set_xfer_param()
780 src_addr_width); in stm32_dma_set_xfer_param()
817 *buswidth = chan->dma_sconfig.src_addr_width; in stm32_dma_set_xfer_param()
Dfsl-edma-common.c482 fsl_edma_get_tcd_attr(fsl_chan->cfg.src_addr_width); in fsl_edma_prep_dma_cyclic()
483 nbytes = fsl_chan->cfg.src_addr_width * in fsl_edma_prep_dma_cyclic()
505 doff = fsl_chan->cfg.src_addr_width; in fsl_edma_prep_dma_cyclic()
549 fsl_edma_get_tcd_attr(fsl_chan->cfg.src_addr_width); in fsl_edma_prep_slave_sg()
550 nbytes = fsl_chan->cfg.src_addr_width * in fsl_edma_prep_slave_sg()
567 doff = fsl_chan->cfg.src_addr_width; in fsl_edma_prep_slave_sg()
Dstm32-mdma.c501 enum dma_slave_buswidth src_addr_width, dst_addr_width; in stm32_mdma_set_xfer_param() local
507 src_addr_width = chan->dma_config.src_addr_width; in stm32_mdma_set_xfer_param()
535 if (src_maxburst * src_addr_width > STM32_MDMA_MAX_BURST || in stm32_mdma_set_xfer_param()
583 src_addr_width = stm32_mdma_get_max_width(addr, buf_len, tlen); in stm32_mdma_set_xfer_param()
584 chan->mem_width = src_addr_width; in stm32_mdma_set_xfer_param()
585 src_bus_width = stm32_mdma_get_width(chan, src_addr_width); in stm32_mdma_set_xfer_param()
594 src_maxburst = STM32_MDMA_MAX_BUF_LEN / src_addr_width; in stm32_mdma_set_xfer_param()
597 src_addr_width); in stm32_mdma_set_xfer_param()
617 src_bus_width = stm32_mdma_get_width(chan, src_addr_width); in stm32_mdma_set_xfer_param()
626 src_addr_width); in stm32_mdma_set_xfer_param()
Dste_dma40.c2662 enum dma_slave_buswidth src_addr_width, dst_addr_width; in d40_set_runtime_config_write() local
2672 src_addr_width = config->src_addr_width; in d40_set_runtime_config_write()
2689 dst_addr_width = src_addr_width; in d40_set_runtime_config_write()
2704 if (src_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) in d40_set_runtime_config_write()
2705 src_addr_width = dst_addr_width; in d40_set_runtime_config_write()
2720 if (src_maxburst * src_addr_width != dst_maxburst * dst_addr_width) { in d40_set_runtime_config_write()
2724 src_addr_width, in d40_set_runtime_config_write()
2732 dst_maxburst = src_maxburst * src_addr_width / dst_addr_width; in d40_set_runtime_config_write()
2735 src_maxburst = dst_maxburst * dst_addr_width / src_addr_width; in d40_set_runtime_config_write()
2739 if (src_addr_width <= DMA_SLAVE_BUSWIDTH_UNDEFINED || in d40_set_runtime_config_write()
[all …]
Dsun6i-dma.c583 enum dma_slave_buswidth src_addr_width, dst_addr_width; in set_config() local
587 src_addr_width = sconfig->src_addr_width; in set_config()
594 if (src_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) in set_config()
595 src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in set_config()
607 if (!(BIT(src_addr_width) & sdev->slave.src_addr_widths)) in set_config()
616 src_width = convert_buswidth(src_addr_width); in set_config()
Duniphier-xdmac.c151 buswidth = xc->sconfig.src_addr_width; in uniphier_xdmac_chan_start()
336 buswidth = xc->sconfig.src_addr_width; in uniphier_xdmac_prep_slave_sg()
Dmoxart-dma.c226 switch (ch->cfg.src_addr_width) { in moxart_slave_config()
290 dev_width = ch->cfg.src_addr_width; in moxart_prep_slave_sg()
Dmpc512x_dma.c849 if (!IS_ALIGNED(cfg->src_addr, cfg->src_addr_width) || in mpc_dma_device_config()
854 if (!is_buswidth_valid(cfg->src_addr_width, mdma->is_mpc8308) || in mpc_dma_device_config()
862 mchan->swidth = cfg->src_addr_width; in mpc_dma_device_config()
Dimg-mdc-dma.c245 mdc_set_read_width(ldesc, mchan->config.src_addr_width); in mdc_list_desc_config()
248 mchan->config.src_addr_width); in mdc_list_desc_config()
348 width = mchan->config.src_addr_width; in mdc_check_slave_width()
Ds3c24xx-dma.c387 if (config->src_addr_width == DMA_SLAVE_BUSWIDTH_8_BYTES || in s3c24xx_dma_set_runtime_config()
945 txd->width = s3cchan->cfg.src_addr_width; in s3c24xx_dma_prep_dma_cyclic()
1034 txd->width = s3cchan->cfg.src_addr_width; in s3c24xx_dma_prep_slave_sg()
/kernel/linux/linux-5.10/drivers/mmc/host/
Drenesas_sdhi_sys_dmac.c389 cfg.src_addr_width = priv->dma_priv.dma_buswidth; in renesas_sdhi_sys_dmac_request_dma()
390 if (!cfg.src_addr_width) in renesas_sdhi_sys_dmac_request_dma()
391 cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in renesas_sdhi_sys_dmac_request_dma()
/kernel/linux/linux-5.10/sound/soc/ux500/
Dux500_pcm.c112 slave_config->src_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in ux500_pcm_prepare_slave_config()
/kernel/linux/linux-5.10/drivers/usb/musb/
Dtusb6010_omap.c274 dma_cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tusb_omap_dma_program()
278 dma_cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in tusb_omap_dma_program()
318 dma_cfg.src_addr_width * 8, in tusb_omap_dma_program()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-pl022.c995 rx_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_UNDEFINED; in configure_dma()
998 rx_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in configure_dma()
1001 rx_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in configure_dma()
1004 rx_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in configure_dma()
1025 if (rx_conf.src_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) in configure_dma()
1026 rx_conf.src_addr_width = tx_conf.dst_addr_width; in configure_dma()
1028 tx_conf.dst_addr_width = rx_conf.src_addr_width; in configure_dma()
1029 BUG_ON(rx_conf.src_addr_width != tx_conf.dst_addr_width); in configure_dma()
Dspi-dw-dma.c280 txconf.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in dw_spi_dma_config_tx()
382 rxconf.src_addr_width = dw_spi_dma_convert_width(dws->n_bytes); in dw_spi_dma_config_rx()
Dspi-pxa2xx-dma.c105 cfg.src_addr_width = width; in pxa2xx_spi_dma_prepare_one()
Dspi-img-spfi.c321 rxconf.src_addr_width = 4; in img_spfi_start_dma()
325 rxconf.src_addr_width = 1; in img_spfi_start_dma()
/kernel/linux/linux-5.10/drivers/soc/tegra/fuse/
Dfuse-tegra20.c114 fuse->apbdma.config.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra20_fuse_probe()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-stm32.c59 dma_sconfig.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in stm32_i2c_dma_request()
/kernel/linux/linux-5.10/sound/soc/tegra/
Dtegra_pcm.c163 slave_config.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra_pcm_hw_params()
/kernel/linux/linux-5.10/drivers/ata/
Dpata_pxa.c267 config.src_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in pxa_ata_probe()
/kernel/linux/linux-5.10/drivers/mfd/
Dstm32-timers.c90 config.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in stm32_timers_dma_burst_read()
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250_dma.c188 dma->rxconf.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in serial8250_request_dma()

1234567