Home
last modified time | relevance | path

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

123

/linux/sound/core/
H A Dpcm_dmaengine.c80 slave_config->src_addr_width = buswidth; in snd_hwparams_to_dma_slave_config()
123 slave_config->src_addr_width = in snd_dmaengine_pcm_set_config_from_dai_data()
126 slave_config->src_addr_width = dma_data->addr_width; in snd_dmaengine_pcm_set_config_from_dai_data()
/linux/drivers/dma/stm32/
H A Dstm32-mdma.c480 enum dma_slave_buswidth src_addr_width, dst_addr_width; in stm32_mdma_set_xfer_param() local
486 src_addr_width = chan->dma_config.src_addr_width; in stm32_mdma_set_xfer_param()
514 if (src_maxburst * src_addr_width > STM32_MDMA_MAX_BURST || in stm32_mdma_set_xfer_param()
572 src_addr_width = stm32_mdma_get_max_width(addr, buf_len, tlen); in stm32_mdma_set_xfer_param()
573 chan->mem_width = src_addr_width; in stm32_mdma_set_xfer_param()
574 src_bus_width = stm32_mdma_get_width(chan, src_addr_width); in stm32_mdma_set_xfer_param()
583 src_maxburst = STM32_MDMA_MAX_BUF_LEN / src_addr_width; in stm32_mdma_set_xfer_param()
586 src_addr_width); in stm32_mdma_set_xfer_param()
607 src_addr_width = stm32_mdma_get_max_width(src_addr, buf_len, in stm32_mdma_set_xfer_param()
610 src_bus_width = stm32_mdma_get_width(chan, src_addr_width); in stm32_mdma_set_xfer_param()
[all …]
H A Dstm32-dma.c935 enum dma_slave_buswidth src_addr_width, dst_addr_width; in stm32_dma_set_xfer_param() local
941 src_addr_width = chan->dma_sconfig.src_addr_width; in stm32_dma_set_xfer_param()
965 src_addr_width = stm32_dma_get_max_width(buf_len, buf_addr, in stm32_dma_set_xfer_param()
967 chan->mem_width = src_addr_width; in stm32_dma_set_xfer_param()
968 src_bus_width = stm32_dma_get_width(chan, src_addr_width); in stm32_dma_set_xfer_param()
983 src_addr_width); in stm32_dma_set_xfer_param()
1006 src_bus_width = stm32_dma_get_width(chan, src_addr_width); in stm32_dma_set_xfer_param()
1014 src_addr_width); in stm32_dma_set_xfer_param()
1058 *buswidth = chan->dma_sconfig.src_addr_width; in stm32_dma_set_xfer_param()
/linux/drivers/dma/
H A Dloongson1-apb-dma.c69 enum dma_slave_buswidth src_addr_width; member
235 chan->bus_width = chan->src_addr_width; in ls1x_dma_prep_lli()
367 chan->src_addr_width = config->src_addr_width; in ls1x_dma_slave_config()
H A Dfsl-edma-common.c607 fsl_edma_get_tcd_attr(fsl_chan->cfg.src_addr_width); in fsl_edma_prep_dma_cyclic()
608 nbytes = fsl_chan->cfg.src_addr_width * in fsl_edma_prep_dma_cyclic()
630 doff = fsl_chan->cfg.src_addr_width; in fsl_edma_prep_dma_cyclic()
680 fsl_edma_get_tcd_attr(fsl_chan->cfg.src_addr_width); in fsl_edma_prep_slave_sg()
681 nbytes = fsl_chan->cfg.src_addr_width * in fsl_edma_prep_slave_sg()
695 doff = fsl_chan->cfg.src_addr_width; in fsl_edma_prep_slave_sg()
H A Dste_dma40.c2683 enum dma_slave_buswidth src_addr_width, dst_addr_width; in d40_set_runtime_config_write() local
2693 src_addr_width = config->src_addr_width; in d40_set_runtime_config_write()
2710 dst_addr_width = src_addr_width; in d40_set_runtime_config_write()
2725 if (src_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) in d40_set_runtime_config_write()
2726 src_addr_width = dst_addr_width; in d40_set_runtime_config_write()
2741 if (src_maxburst * src_addr_width != dst_maxburst * dst_addr_width) { in d40_set_runtime_config_write()
2745 src_addr_width, in d40_set_runtime_config_write()
2753 dst_maxburst = src_maxburst * src_addr_width / dst_addr_width; in d40_set_runtime_config_write()
2756 src_maxburst = dst_maxburst * dst_addr_width / src_addr_width; in d40_set_runtime_config_write()
2760 if (src_addr_width <= DMA_SLAVE_BUSWIDTH_UNDEFINED || in d40_set_runtime_config_write()
[all …]
H A Dloongson2-apb-dma.c223 if ((lchan->sconfig.src_addr_width & LDMA_SLAVE_BUSWIDTHS) && in ls2x_dmac_detect_burst()
232 buswidth = lchan->sconfig.src_addr_width; in ls2x_dmac_detect_burst()
/linux/sound/soc/ux500/
H A Dux500_pcm.c50 slave_config->src_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in ux500_pcm_prepare_slave_config()
/linux/drivers/spi/
H A Dspi-ingenic.c137 cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in spi_ingenic_prepare_dma()
141 cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in spi_ingenic_prepare_dma()
145 cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in spi_ingenic_prepare_dma()
H A Dspi-pxa2xx-dma.c101 cfg.src_addr_width = width; in pxa2xx_spi_dma_prepare_one()
H A Dspi-dw-dma.c332 txconf.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in dw_spi_dma_config_tx()
434 rxconf.src_addr_width = dw_spi_dma_convert_width(dws->n_bytes); in dw_spi_dma_config_rx()
/linux/drivers/dma/dw/
H A Dcore.c662 mem_width = __ffs(sconfig->src_addr_width | mem | len); in dwc_prep_slave_sg()
694 reg_width = __ffs(sconfig->src_addr_width); in dwc_prep_slave_sg()
808 reg_width = dwc->dma_sconfig.src_addr_width; in dwc_verify_p_buswidth()
826 dwc->dma_sconfig.src_addr_width = reg_width; in dwc_verify_p_buswidth()
855 dwc->dma_sconfig.src_addr_width = mem_width; in dwc_verify_m_buswidth()
857 reg_width = dwc->dma_sconfig.src_addr_width; in dwc_verify_m_buswidth()
/linux/drivers/usb/musb/
H A 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()
H A Dux500_dma.c105 slave_conf.src_addr_width = addr_width; in ux500_configure_channel()
/linux/drivers/media/pci/mgb4/
H A Dmgb4_dma.c41 cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in mgb4_dma_transfer()
/linux/drivers/i2c/busses/
H A Di2c-stm32.c59 dma_sconfig.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in stm32_i2c_dma_request()
/linux/sound/soc/tegra/
H A Dtegra_pcm.c172 slave_config.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra_pcm_hw_params()
/linux/drivers/soc/tegra/fuse/
H A Dfuse-tegra20.c143 fuse->apbdma.config.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra20_fuse_probe()
/linux/drivers/tty/serial/8250/
H A D8250_dma.c204 dma->rxconf.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in serial8250_request_dma()
/linux/drivers/mfd/
H A Dstm32-timers.c91 config.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in stm32_timers_dma_burst_read()
/linux/arch/powerpc/platforms/512x/
H A Dmpc512x_lpbfifo.c240 dma_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in mpc512x_lpbfifo_kick()
/linux/drivers/net/ethernet/smsc/
H A Dsmc91x.h315 config.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in smc_pxa_dma_insl()
358 config.src_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in smc_pxa_dma_insw()
/linux/sound/soc/sprd/
H A Dsprd-pcm-dma.c236 config.src_addr_width = dma_params->datawidth[i]; in sprd_pcm_hw_params()
/linux/sound/soc/fsl/
H A Dfsl_asrc_dma.c273 config_be.src_addr_width = buswidth; in fsl_asrc_dma_hw_params()
/linux/drivers/media/platform/ti/omap3isp/
H A Disphist.c193 cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in hist_buf_dma()

123