Home
last modified time | relevance | path

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

123456

/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.c718 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()
Dstm32-mdma.c501 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()
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()
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.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()
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()
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()
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()
Dbcm2835-dma.c668 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()
Ddma-jz4780.c313 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/
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()
/drivers/spi/
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-dw-dma.c281 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()
Dspi-pxa2xx-dma.c91 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()
/drivers/i2c/busses/
Di2c-stm32.c37 dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in stm32_i2c_dma_request()
/drivers/soc/tegra/fuse/
Dfuse-tegra20.c117 fuse->apbdma.config.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra20_fuse_probe()
/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()
Dux500_dma.c108 slave_conf.dst_addr_width = addr_width; in ux500_configure_channel()
/drivers/ata/
Dpata_pxa.c268 config.dst_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in pxa_ata_probe()
/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()
/drivers/tty/serial/8250/
D8250_dma.c192 dma->txconf.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in serial8250_request_dma()
/drivers/dma/sh/
Drz-dmac.c605 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()

123456