Home
last modified time | relevance | path

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

123456

/linux-6.1.9/sound/core/
Dpcm_dmaengine.c77 slave_config->dst_addr_width = buswidth; in snd_hwparams_to_dma_slave_config()
115 slave_config->dst_addr_width = in snd_dmaengine_pcm_set_config_from_dai_data()
118 slave_config->dst_addr_width = dma_data->addr_width; in snd_dmaengine_pcm_set_config_from_dai_data()
/linux-6.1.9/drivers/dma/
Dsun4i-dma.c402 if ((sconfig->dst_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) || in sanitize_config()
407 sconfig->src_addr_width = sconfig->dst_addr_width; in sanitize_config()
419 if (sconfig->dst_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) in sanitize_config()
420 sconfig->dst_addr_width = sconfig->src_addr_width; in sanitize_config()
467 sconfig->src_addr_width, sconfig->dst_addr_width); in generate_ndma_promise()
488 ret = convert_buswidth(sconfig->dst_addr_width); in generate_ndma_promise()
545 ret = convert_buswidth(sconfig->dst_addr_width); in generate_ddma_promise()
640 sconfig->dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in sun4i_dma_prep_dma_memcpy()
Dstm32-mdma.c482 enum dma_slave_buswidth src_addr_width, dst_addr_width; in stm32_mdma_set_xfer_param() local
489 dst_addr_width = chan->dma_config.dst_addr_width; in stm32_mdma_set_xfer_param()
517 dst_maxburst * dst_addr_width > STM32_MDMA_MAX_BURST) { in stm32_mdma_set_xfer_param()
550 dst_addr_width = stm32_mdma_get_max_width(dst_addr, buf_len, in stm32_mdma_set_xfer_param()
552 dst_bus_width = stm32_mdma_get_width(chan, dst_addr_width); in stm32_mdma_set_xfer_param()
564 dst_maxburst = STM32_MDMA_MAX_BUF_LEN / dst_addr_width; in stm32_mdma_set_xfer_param()
568 dst_addr_width); in stm32_mdma_set_xfer_param()
633 dst_addr_width = stm32_mdma_get_max_width(addr, buf_len, tlen); in stm32_mdma_set_xfer_param()
634 chan->mem_width = dst_addr_width; in stm32_mdma_set_xfer_param()
635 dst_bus_width = stm32_mdma_get_width(chan, dst_addr_width); in stm32_mdma_set_xfer_param()
[all …]
Dfsl-edma-common.c484 fsl_edma_get_tcd_attr(fsl_chan->cfg.dst_addr_width); in fsl_edma_prep_dma_cyclic()
485 nbytes = fsl_chan->cfg.dst_addr_width * in fsl_edma_prep_dma_cyclic()
506 soff = fsl_chan->cfg.dst_addr_width; in fsl_edma_prep_dma_cyclic()
551 fsl_edma_get_tcd_attr(fsl_chan->cfg.dst_addr_width); in fsl_edma_prep_slave_sg()
552 nbytes = fsl_chan->cfg.dst_addr_width * in fsl_edma_prep_slave_sg()
565 soff = fsl_chan->cfg.dst_addr_width; in fsl_edma_prep_slave_sg()
Dstm32-dma.c936 enum dma_slave_buswidth src_addr_width, dst_addr_width; in stm32_dma_set_xfer_param() local
943 dst_addr_width = chan->dma_sconfig.dst_addr_width; in stm32_dma_set_xfer_param()
951 dst_bus_width = stm32_dma_get_width(chan, dst_addr_width); in stm32_dma_set_xfer_param()
959 dst_addr_width); in stm32_dma_set_xfer_param()
1002 *buswidth = dst_addr_width; in stm32_dma_set_xfer_param()
1022 dst_addr_width = stm32_dma_get_max_width(buf_len, buf_addr, in stm32_dma_set_xfer_param()
1024 chan->mem_width = dst_addr_width; in stm32_dma_set_xfer_param()
1025 dst_bus_width = stm32_dma_get_width(chan, dst_addr_width); in stm32_dma_set_xfer_param()
1040 dst_addr_width); in stm32_dma_set_xfer_param()
Dste_dma40.c2661 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 …]
Dsun6i-dma.c589 enum dma_slave_buswidth src_addr_width, dst_addr_width; in set_config() local
594 dst_addr_width = sconfig->dst_addr_width; in set_config()
605 if (dst_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) in set_config()
606 dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in set_config()
615 if (!(BIT(dst_addr_width) & sdev->slave.dst_addr_widths)) in set_config()
623 dst_width = convert_buswidth(dst_addr_width); in set_config()
Duniphier-xdmac.c160 buswidth = xc->sconfig.dst_addr_width; in uniphier_xdmac_chan_start()
339 buswidth = xc->sconfig.dst_addr_width; in uniphier_xdmac_prep_slave_sg()
Dmpc512x_dma.c851 !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()
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()
/linux-6.1.9/drivers/mmc/host/
Drenesas_sdhi_sys_dmac.c372 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()
/linux-6.1.9/drivers/spi/
Dspi-ingenic.c137 cfg.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in spi_ingenic_prepare_dma()
141 cfg.dst_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in spi_ingenic_prepare_dma()
145 cfg.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in spi_ingenic_prepare_dma()
Dspi-pl022.c1002 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()
Dspi-pxa2xx-dma.c91 cfg.dst_addr_width = width; in pxa2xx_spi_dma_prepare_one()
Dspi-dw-dma.c293 txconf.dst_addr_width = dw_spi_dma_convert_width(dws->n_bytes); in dw_spi_dma_config_tx()
393 rxconf.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in dw_spi_dma_config_rx()
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-6.1.9/sound/soc/ux500/
Dux500_pcm.c111 slave_config->dst_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in ux500_pcm_prepare_slave_config()
/linux-6.1.9/drivers/i2c/busses/
Di2c-stm32.c37 dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in stm32_i2c_dma_request()
/linux-6.1.9/sound/soc/tegra/
Dtegra_pcm.c165 slave_config.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra_pcm_hw_params()
/linux-6.1.9/drivers/soc/tegra/fuse/
Dfuse-tegra20.c144 fuse->apbdma.config.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra20_fuse_probe()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/ata/
Dpata_pxa.c268 config.dst_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in pxa_ata_probe()
/linux-6.1.9/drivers/tty/serial/8250/
D8250_dma.c172 dma->txconf.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in serial8250_request_dma()
/linux-6.1.9/drivers/crypto/
Datmel-tdes.c448 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()

123456