/drivers/dma/ |
D | sun4i-dma.c | 391 if ((sconfig->dst_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) || in sanitize_config() 396 sconfig->src_addr_width = sconfig->dst_addr_width; in sanitize_config() 408 if (sconfig->dst_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() 477 ret = convert_buswidth(sconfig->dst_addr_width); in generate_ndma_promise() 534 ret = convert_buswidth(sconfig->dst_addr_width); in generate_ddma_promise() 629 sconfig->dst_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 725 dst_addr_width = chan->dma_sconfig.dst_addr_width; in stm32_dma_set_xfer_param() 733 dst_bus_width = stm32_dma_get_width(chan, dst_addr_width); in stm32_dma_set_xfer_param() 741 dst_addr_width); in stm32_dma_set_xfer_param() 784 *buswidth = dst_addr_width; in stm32_dma_set_xfer_param() 804 dst_addr_width = stm32_dma_get_max_width(buf_len, buf_addr, in stm32_dma_set_xfer_param() 806 chan->mem_width = dst_addr_width; in stm32_dma_set_xfer_param() 807 dst_bus_width = stm32_dma_get_width(chan, dst_addr_width); in stm32_dma_set_xfer_param() 822 dst_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 508 dst_addr_width = chan->dma_config.dst_addr_width; in stm32_mdma_set_xfer_param() 536 dst_maxburst * dst_addr_width > STM32_MDMA_MAX_BURST) { in stm32_mdma_set_xfer_param() 568 dst_bus_width = stm32_mdma_get_width(chan, dst_addr_width); in stm32_mdma_set_xfer_param() 577 dst_addr_width); in stm32_mdma_set_xfer_param() 631 dst_addr_width = stm32_mdma_get_max_width(addr, buf_len, tlen); in stm32_mdma_set_xfer_param() 632 chan->mem_width = dst_addr_width; in stm32_mdma_set_xfer_param() 633 dst_bus_width = stm32_mdma_get_width(chan, dst_addr_width); in stm32_mdma_set_xfer_param() 642 dst_maxburst = STM32_MDMA_MAX_BUF_LEN / dst_addr_width; in stm32_mdma_set_xfer_param() 645 dst_addr_width); in stm32_mdma_set_xfer_param()
|
D | fsl-edma-common.c | 477 fsl_edma_get_tcd_attr(fsl_chan->cfg.dst_addr_width); in fsl_edma_prep_dma_cyclic() 478 nbytes = fsl_chan->cfg.dst_addr_width * in fsl_edma_prep_dma_cyclic() 499 soff = fsl_chan->cfg.dst_addr_width; in fsl_edma_prep_dma_cyclic() 544 fsl_edma_get_tcd_attr(fsl_chan->cfg.dst_addr_width); in fsl_edma_prep_slave_sg() 545 nbytes = fsl_chan->cfg.dst_addr_width * in fsl_edma_prep_slave_sg() 561 soff = fsl_chan->cfg.dst_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 2673 dst_addr_width = config->dst_addr_width; in d40_set_runtime_config_write() 2687 if (dst_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) in d40_set_runtime_config_write() 2688 dst_addr_width = src_addr_width; 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() 2725 dst_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() 2740 dst_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 588 dst_addr_width = sconfig->dst_addr_width; in set_config() 599 if (dst_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) in set_config() 600 dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in set_config() 609 if (!(BIT(dst_addr_width) & sdev->slave.dst_addr_widths)) in set_config() 617 dst_width = convert_buswidth(dst_addr_width); in set_config()
|
D | mpc512x_dma.c | 851 !IS_ALIGNED(cfg->dst_addr, cfg->dst_addr_width)) { in mpc_dma_device_config() 856 !is_buswidth_valid(cfg->dst_addr_width, mdma->is_mpc8308)) in mpc_dma_device_config() 866 mchan->dwidth = cfg->dst_addr_width; in mpc_dma_device_config()
|
D | uniphier-xdmac.c | 160 buswidth = xc->sconfig.dst_addr_width; in uniphier_xdmac_chan_start() 339 buswidth = xc->sconfig.dst_addr_width; in uniphier_xdmac_prep_slave_sg()
|
D | img-mdc-dma.c | 239 mdc_set_write_width(ldesc, mchan->config.dst_addr_width); in mdc_list_desc_config() 241 mchan->config.dst_addr_width); in mdc_list_desc_config() 346 width = mchan->config.dst_addr_width; in mdc_check_slave_width()
|
D | s3c24xx-dma.c | 388 config->dst_addr_width == DMA_SLAVE_BUSWIDTH_8_BYTES) in s3c24xx_dma_set_runtime_config() 939 txd->width = s3cchan->cfg.dst_addr_width; in s3c24xx_dma_prep_dma_cyclic() 1028 txd->width = s3cchan->cfg.dst_addr_width; in s3c24xx_dma_prep_slave_sg()
|
D | bcm2835-dma.c | 668 if (c->cfg.dst_addr_width != DMA_SLAVE_BUSWIDTH_4_BYTES) in bcm2835_dma_prep_slave_sg() 743 if (c->cfg.dst_addr_width != DMA_SLAVE_BUSWIDTH_4_BYTES) in bcm2835_dma_prep_dma_cyclic()
|
D | dma-jz4780.c | 313 width = config->dst_addr_width; in jz4780_dma_setup_hwdesc() 607 || (config->dst_addr_width == DMA_SLAVE_BUSWIDTH_8_BYTES)) in jz4780_dma_config()
|
/drivers/mmc/host/ |
D | renesas_sdhi_sys_dmac.c | 372 cfg.dst_addr_width = priv->dma_priv.dma_buswidth; in renesas_sdhi_sys_dmac_request_dma() 373 if (!cfg.dst_addr_width) in renesas_sdhi_sys_dmac_request_dma() 374 cfg.dst_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in renesas_sdhi_sys_dmac_request_dma()
|
/drivers/spi/ |
D | spi-pl022.c | 1002 tx_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_UNDEFINED; in configure_dma() 1005 tx_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in configure_dma() 1008 tx_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in configure_dma() 1011 tx_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in configure_dma() 1017 rx_conf.src_addr_width = tx_conf.dst_addr_width; in configure_dma() 1018 if (tx_conf.dst_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) 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 | 281 txconf.dst_addr_width = dw_spi_dma_convert_width(dws->n_bytes); in dw_spi_dma_config_tx() 381 rxconf.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in dw_spi_dma_config_rx()
|
D | spi-pxa2xx-dma.c | 91 cfg.dst_addr_width = width; in pxa2xx_spi_dma_prepare_one()
|
D | spi-img-spfi.c | 345 txconf.dst_addr_width = 4; in img_spfi_start_dma() 349 txconf.dst_addr_width = 1; in img_spfi_start_dma()
|
/drivers/i2c/busses/ |
D | i2c-stm32.c | 37 dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in stm32_i2c_dma_request()
|
/drivers/soc/tegra/fuse/ |
D | fuse-tegra20.c | 117 fuse->apbdma.config.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra20_fuse_probe()
|
/drivers/usb/musb/ |
D | tusb6010_omap.c | 275 dma_cfg.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tusb_omap_dma_program() 279 dma_cfg.dst_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in tusb_omap_dma_program()
|
D | ux500_dma.c | 108 slave_conf.dst_addr_width = addr_width; in ux500_configure_channel()
|
/drivers/ata/ |
D | pata_pxa.c | 268 config.dst_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in pxa_ata_probe()
|
/drivers/crypto/ |
D | atmel-tdes.c | 448 dd->dma_lch_in.dma_conf.dst_addr_width = addr_width; in atmel_tdes_crypt_dma() 754 dd->dma_lch_in.dma_conf.dst_addr_width = in atmel_tdes_dma_init() 770 dd->dma_lch_out.dma_conf.dst_addr_width = in atmel_tdes_dma_init()
|
/drivers/tty/serial/8250/ |
D | 8250_dma.c | 192 dma->txconf.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in serial8250_request_dma()
|
/drivers/dma/sh/ |
D | rz-dmac.c | 605 channel->dst_word_size = config->dst_addr_width; in rz_dmac_config() 607 val = rz_dmac_ds_to_val_mapping(config->dst_addr_width); in rz_dmac_config()
|