/drivers/dma/ |
D | sun4i-dma.c | 395 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()
|
D | stm32-dma.c | 718 enum dma_slave_buswidth src_addr_width, dst_addr_width; in stm32_dma_set_xfer_param() local 724 src_addr_width = chan->dma_sconfig.src_addr_width; in stm32_dma_set_xfer_param() 748 src_addr_width = stm32_dma_get_max_width(buf_len, buf_addr, in stm32_dma_set_xfer_param() 750 chan->mem_width = src_addr_width; in stm32_dma_set_xfer_param() 751 src_bus_width = stm32_dma_get_width(chan, src_addr_width); in stm32_dma_set_xfer_param() 766 src_addr_width); in stm32_dma_set_xfer_param() 789 src_bus_width = stm32_dma_get_width(chan, src_addr_width); in stm32_dma_set_xfer_param() 797 src_addr_width); in stm32_dma_set_xfer_param() 841 *buswidth = chan->dma_sconfig.src_addr_width; in stm32_dma_set_xfer_param()
|
D | stm32-mdma.c | 501 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()
|
D | fsl-edma-common.c | 482 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()
|
D | ste_dma40.c | 2661 enum dma_slave_buswidth src_addr_width, dst_addr_width; in d40_set_runtime_config_write() local 2671 src_addr_width = config->src_addr_width; in d40_set_runtime_config_write() 2688 dst_addr_width = src_addr_width; in d40_set_runtime_config_write() 2703 if (src_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) in d40_set_runtime_config_write() 2704 src_addr_width = dst_addr_width; in d40_set_runtime_config_write() 2719 if (src_maxburst * src_addr_width != dst_maxburst * dst_addr_width) { in d40_set_runtime_config_write() 2723 src_addr_width, in d40_set_runtime_config_write() 2731 dst_maxburst = src_maxburst * src_addr_width / dst_addr_width; in d40_set_runtime_config_write() 2734 src_maxburst = dst_maxburst * dst_addr_width / src_addr_width; in d40_set_runtime_config_write() 2738 if (src_addr_width <= DMA_SLAVE_BUSWIDTH_UNDEFINED || in d40_set_runtime_config_write() [all …]
|
D | sun6i-dma.c | 583 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()
|
D | moxart-dma.c | 226 switch (ch->cfg.src_addr_width) { in moxart_slave_config() 290 dev_width = ch->cfg.src_addr_width; in moxart_prep_slave_sg()
|
D | mpc512x_dma.c | 850 if (!IS_ALIGNED(cfg->src_addr, cfg->src_addr_width) || in mpc_dma_device_config() 855 if (!is_buswidth_valid(cfg->src_addr_width, mdma->is_mpc8308) || in mpc_dma_device_config() 863 mchan->swidth = cfg->src_addr_width; in mpc_dma_device_config()
|
D | uniphier-xdmac.c | 151 buswidth = xc->sconfig.src_addr_width; in uniphier_xdmac_chan_start() 336 buswidth = xc->sconfig.src_addr_width; in uniphier_xdmac_prep_slave_sg()
|
D | img-mdc-dma.c | 245 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()
|
D | s3c24xx-dma.c | 387 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()
|
D | bcm2835-dma.c | 663 if (c->cfg.src_addr_width != DMA_SLAVE_BUSWIDTH_4_BYTES) in bcm2835_dma_prep_slave_sg() 737 if (c->cfg.src_addr_width != DMA_SLAVE_BUSWIDTH_4_BYTES) in bcm2835_dma_prep_dma_cyclic()
|
/drivers/mmc/host/ |
D | renesas_sdhi_sys_dmac.c | 391 cfg.src_addr_width = priv->dma_priv.dma_buswidth; in renesas_sdhi_sys_dmac_request_dma() 392 if (!cfg.src_addr_width) in renesas_sdhi_sys_dmac_request_dma() 393 cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in renesas_sdhi_sys_dmac_request_dma()
|
/drivers/spi/ |
D | spi-pl022.c | 986 rx_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_UNDEFINED; in configure_dma() 989 rx_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in configure_dma() 992 rx_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in configure_dma() 995 rx_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in configure_dma() 1016 if (rx_conf.src_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) in configure_dma() 1017 rx_conf.src_addr_width = tx_conf.dst_addr_width; in configure_dma() 1019 tx_conf.dst_addr_width = rx_conf.src_addr_width; in configure_dma() 1020 BUG_ON(rx_conf.src_addr_width != tx_conf.dst_addr_width); in configure_dma()
|
D | spi-dw-dma.c | 280 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()
|
D | spi-pxa2xx-dma.c | 98 cfg.src_addr_width = width; in pxa2xx_spi_dma_prepare_one()
|
D | spi-img-spfi.c | 321 rxconf.src_addr_width = 4; in img_spfi_start_dma() 325 rxconf.src_addr_width = 1; in img_spfi_start_dma()
|
/drivers/usb/musb/ |
D | tusb6010_omap.c | 274 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()
|
D | ux500_dma.c | 105 slave_conf.src_addr_width = addr_width; in ux500_configure_channel()
|
/drivers/i2c/busses/ |
D | i2c-stm32.c | 59 dma_sconfig.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in stm32_i2c_dma_request()
|
/drivers/soc/tegra/fuse/ |
D | fuse-tegra20.c | 116 fuse->apbdma.config.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra20_fuse_probe()
|
/drivers/ata/ |
D | pata_pxa.c | 267 config.src_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in pxa_ata_probe()
|
/drivers/mfd/ |
D | stm32-timers.c | 90 config.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in stm32_timers_dma_burst_read()
|
/drivers/crypto/ |
D | atmel-tdes.c | 449 dd->dma_lch_out.dma_conf.src_addr_width = addr_width; in atmel_tdes_crypt_dma() 751 dd->dma_lch_in.dma_conf.src_addr_width = in atmel_tdes_dma_init() 767 dd->dma_lch_out.dma_conf.src_addr_width = in atmel_tdes_dma_init()
|
/drivers/tty/serial/8250/ |
D | 8250_dma.c | 188 dma->rxconf.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in serial8250_request_dma()
|