/Linux-v5.10/sound/core/ |
D | pcm_dmaengine.c | 75 slave_config->dst_addr_width = buswidth; in snd_hwparams_to_dma_slave_config() 113 slave_config->dst_addr_width = in snd_dmaengine_pcm_set_config_from_dai_data() 116 slave_config->dst_addr_width = dma_data->addr_width; in snd_dmaengine_pcm_set_config_from_dai_data()
|
/Linux-v5.10/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 | 708 enum dma_slave_buswidth src_addr_width, dst_addr_width; in stm32_dma_set_xfer_param() local 715 dst_addr_width = chan->dma_sconfig.dst_addr_width; in stm32_dma_set_xfer_param() 723 dst_bus_width = stm32_dma_get_width(chan, dst_addr_width); in stm32_dma_set_xfer_param() 731 dst_addr_width); in stm32_dma_set_xfer_param() 767 *buswidth = dst_addr_width; in stm32_dma_set_xfer_param() 787 dst_addr_width = stm32_dma_get_max_width(buf_len, fifoth); in stm32_dma_set_xfer_param() 788 chan->mem_width = dst_addr_width; in stm32_dma_set_xfer_param() 789 dst_bus_width = stm32_dma_get_width(chan, dst_addr_width); in stm32_dma_set_xfer_param() 798 dst_addr_width); in stm32_dma_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 | stm32-mdma.c | 502 enum dma_slave_buswidth src_addr_width, dst_addr_width; in stm32_mdma_set_xfer_param() local 509 dst_addr_width = chan->dma_config.dst_addr_width; in stm32_mdma_set_xfer_param() 537 dst_maxburst * dst_addr_width > STM32_MDMA_MAX_BURST) { in stm32_mdma_set_xfer_param() 569 dst_bus_width = stm32_mdma_get_width(chan, dst_addr_width); in stm32_mdma_set_xfer_param() 578 dst_addr_width); in stm32_mdma_set_xfer_param() 632 dst_addr_width = stm32_mdma_get_max_width(addr, buf_len, tlen); in stm32_mdma_set_xfer_param() 633 chan->mem_width = dst_addr_width; in stm32_mdma_set_xfer_param() 634 dst_bus_width = stm32_mdma_get_width(chan, dst_addr_width); in stm32_mdma_set_xfer_param() 643 dst_maxburst = STM32_MDMA_MAX_BUF_LEN / dst_addr_width; in stm32_mdma_set_xfer_param() 646 dst_addr_width); in stm32_mdma_set_xfer_param()
|
D | ste_dma40.c | 2662 enum dma_slave_buswidth src_addr_width, dst_addr_width; in d40_set_runtime_config_write() local 2674 dst_addr_width = config->dst_addr_width; in d40_set_runtime_config_write() 2688 if (dst_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) in d40_set_runtime_config_write() 2689 dst_addr_width = src_addr_width; 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() 2726 dst_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() 2741 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 | uniphier-xdmac.c | 159 buswidth = xc->sconfig.dst_addr_width; in uniphier_xdmac_chan_start() 338 buswidth = xc->sconfig.dst_addr_width; in uniphier_xdmac_prep_slave_sg()
|
D | mpc512x_dma.c | 850 !IS_ALIGNED(cfg->dst_addr, cfg->dst_addr_width)) { in mpc_dma_device_config() 855 !is_buswidth_valid(cfg->dst_addr_width, mdma->is_mpc8308)) in mpc_dma_device_config() 865 mchan->dwidth = cfg->dst_addr_width; in mpc_dma_device_config()
|
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()
|
/Linux-v5.10/drivers/mmc/host/ |
D | renesas_sdhi_sys_dmac.c | 370 cfg.dst_addr_width = priv->dma_priv.dma_buswidth; in renesas_sdhi_sys_dmac_request_dma() 371 if (!cfg.dst_addr_width) in renesas_sdhi_sys_dmac_request_dma() 372 cfg.dst_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in renesas_sdhi_sys_dmac_request_dma()
|
/Linux-v5.10/sound/soc/ux500/ |
D | ux500_pcm.c | 113 slave_config->dst_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in ux500_pcm_prepare_slave_config()
|
/Linux-v5.10/drivers/spi/ |
D | spi-pl022.c | 1011 tx_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_UNDEFINED; in configure_dma() 1014 tx_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in configure_dma() 1017 tx_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in configure_dma() 1020 tx_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in configure_dma() 1026 rx_conf.src_addr_width = tx_conf.dst_addr_width; in configure_dma() 1027 if (tx_conf.dst_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) 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()
|
D | spi-dw-dma.c | 278 txconf.dst_addr_width = dw_spi_dma_convert_width(dws->n_bytes); in dw_spi_dma_config_tx() 378 rxconf.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in dw_spi_dma_config_rx()
|
D | spi-pxa2xx-dma.c | 98 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()
|
/Linux-v5.10/drivers/soc/tegra/fuse/ |
D | fuse-tegra20.c | 115 fuse->apbdma.config.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra20_fuse_probe()
|
/Linux-v5.10/drivers/i2c/busses/ |
D | i2c-stm32.c | 37 dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in stm32_i2c_dma_request()
|
/Linux-v5.10/sound/soc/atmel/ |
D | atmel-classd.c | 154 slave_config->dst_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in atmel_classd_platform_configure_dma() 156 slave_config->dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in atmel_classd_platform_configure_dma()
|
/Linux-v5.10/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()
|
/Linux-v5.10/sound/soc/tegra/ |
D | tegra_pcm.c | 159 slave_config.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra_pcm_hw_params()
|
/Linux-v5.10/drivers/ata/ |
D | pata_pxa.c | 268 config.dst_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in pxa_ata_probe()
|
/Linux-v5.10/drivers/tty/serial/8250/ |
D | 8250_dma.c | 163 dma->txconf.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in serial8250_request_dma()
|
/Linux-v5.10/drivers/crypto/ |
D | atmel-tdes.c | 458 dd->dma_lch_in.dma_conf.dst_addr_width = addr_width; in atmel_tdes_crypt_dma() 761 dd->dma_lch_in.dma_conf.dst_addr_width = in atmel_tdes_dma_init() 777 dd->dma_lch_out.dma_conf.dst_addr_width = in atmel_tdes_dma_init()
|