Home
last modified time | relevance | path

Searched refs:dst_addr_width (Results 1 – 25 of 139) sorted by relevance

123456

/Linux-v5.10/sound/core/
Dpcm_dmaengine.c75 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/
Dsun4i-dma.c391 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()
Dstm32-dma.c708 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()
Dfsl-edma-common.c477 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()
Dstm32-mdma.c502 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()
Dste_dma40.c2662 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 …]
Dsun6i-dma.c583 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()
Duniphier-xdmac.c159 buswidth = xc->sconfig.dst_addr_width; in uniphier_xdmac_chan_start()
338 buswidth = xc->sconfig.dst_addr_width; in uniphier_xdmac_prep_slave_sg()
Dmpc512x_dma.c850 !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()
Dimg-mdc-dma.c239 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()
Ds3c24xx-dma.c388 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/
Drenesas_sdhi_sys_dmac.c370 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/
Dux500_pcm.c113 slave_config->dst_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in ux500_pcm_prepare_slave_config()
/Linux-v5.10/drivers/spi/
Dspi-pl022.c1011 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()
Dspi-dw-dma.c278 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()
Dspi-pxa2xx-dma.c98 cfg.dst_addr_width = width; in pxa2xx_spi_dma_prepare_one()
Dspi-img-spfi.c345 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/
Dfuse-tegra20.c115 fuse->apbdma.config.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra20_fuse_probe()
/Linux-v5.10/drivers/i2c/busses/
Di2c-stm32.c37 dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in stm32_i2c_dma_request()
/Linux-v5.10/sound/soc/atmel/
Datmel-classd.c154 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/
Dtusb6010_omap.c275 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/
Dtegra_pcm.c159 slave_config.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra_pcm_hw_params()
/Linux-v5.10/drivers/ata/
Dpata_pxa.c268 config.dst_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in pxa_ata_probe()
/Linux-v5.10/drivers/tty/serial/8250/
D8250_dma.c163 dma->txconf.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in serial8250_request_dma()
/Linux-v5.10/drivers/crypto/
Datmel-tdes.c458 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()

123456