Home
last modified time | relevance | path

Searched refs:src_addr_width (Results 1 – 25 of 131) sorted by relevance

123456

/drivers/dma/
Dsun4i-dma.c395 if (sconfig->src_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) in sanitize_config()
396 sconfig->src_addr_width = sconfig->dst_addr_width; in sanitize_config()
404 if ((sconfig->src_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()
471 ret = convert_buswidth(sconfig->src_addr_width); in generate_ndma_promise()
528 ret = convert_buswidth(sconfig->src_addr_width); in generate_ddma_promise()
628 sconfig->src_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
724 src_addr_width = chan->dma_sconfig.src_addr_width; in stm32_dma_set_xfer_param()
748 src_addr_width = stm32_dma_get_max_width(buf_len, buf_addr, in stm32_dma_set_xfer_param()
750 chan->mem_width = src_addr_width; in stm32_dma_set_xfer_param()
751 src_bus_width = stm32_dma_get_width(chan, src_addr_width); in stm32_dma_set_xfer_param()
766 src_addr_width); in stm32_dma_set_xfer_param()
789 src_bus_width = stm32_dma_get_width(chan, src_addr_width); in stm32_dma_set_xfer_param()
797 src_addr_width); in stm32_dma_set_xfer_param()
841 *buswidth = chan->dma_sconfig.src_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
507 src_addr_width = chan->dma_config.src_addr_width; in stm32_mdma_set_xfer_param()
535 if (src_maxburst * src_addr_width > STM32_MDMA_MAX_BURST || in stm32_mdma_set_xfer_param()
583 src_addr_width = stm32_mdma_get_max_width(addr, buf_len, tlen); in stm32_mdma_set_xfer_param()
584 chan->mem_width = src_addr_width; in stm32_mdma_set_xfer_param()
585 src_bus_width = stm32_mdma_get_width(chan, src_addr_width); in stm32_mdma_set_xfer_param()
594 src_maxburst = STM32_MDMA_MAX_BUF_LEN / src_addr_width; in stm32_mdma_set_xfer_param()
597 src_addr_width); in stm32_mdma_set_xfer_param()
617 src_bus_width = stm32_mdma_get_width(chan, src_addr_width); in stm32_mdma_set_xfer_param()
626 src_addr_width); in stm32_mdma_set_xfer_param()
Dfsl-edma-common.c482 fsl_edma_get_tcd_attr(fsl_chan->cfg.src_addr_width); in fsl_edma_prep_dma_cyclic()
483 nbytes = fsl_chan->cfg.src_addr_width * in fsl_edma_prep_dma_cyclic()
505 doff = fsl_chan->cfg.src_addr_width; in fsl_edma_prep_dma_cyclic()
549 fsl_edma_get_tcd_attr(fsl_chan->cfg.src_addr_width); in fsl_edma_prep_slave_sg()
550 nbytes = fsl_chan->cfg.src_addr_width * in fsl_edma_prep_slave_sg()
567 doff = fsl_chan->cfg.src_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
2671 src_addr_width = config->src_addr_width; in d40_set_runtime_config_write()
2688 dst_addr_width = src_addr_width; in d40_set_runtime_config_write()
2703 if (src_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) 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()
2723 src_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()
2738 if (src_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
587 src_addr_width = sconfig->src_addr_width; in set_config()
594 if (src_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) in set_config()
595 src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in set_config()
607 if (!(BIT(src_addr_width) & sdev->slave.src_addr_widths)) in set_config()
616 src_width = convert_buswidth(src_addr_width); in set_config()
Dmoxart-dma.c226 switch (ch->cfg.src_addr_width) { in moxart_slave_config()
290 dev_width = ch->cfg.src_addr_width; in moxart_prep_slave_sg()
Dmpc512x_dma.c850 if (!IS_ALIGNED(cfg->src_addr, cfg->src_addr_width) || in mpc_dma_device_config()
855 if (!is_buswidth_valid(cfg->src_addr_width, mdma->is_mpc8308) || in mpc_dma_device_config()
863 mchan->swidth = cfg->src_addr_width; in mpc_dma_device_config()
Duniphier-xdmac.c151 buswidth = xc->sconfig.src_addr_width; in uniphier_xdmac_chan_start()
336 buswidth = xc->sconfig.src_addr_width; in uniphier_xdmac_prep_slave_sg()
Dimg-mdc-dma.c245 mdc_set_read_width(ldesc, mchan->config.src_addr_width); in mdc_list_desc_config()
248 mchan->config.src_addr_width); in mdc_list_desc_config()
348 width = mchan->config.src_addr_width; in mdc_check_slave_width()
Ds3c24xx-dma.c387 if (config->src_addr_width == DMA_SLAVE_BUSWIDTH_8_BYTES || in s3c24xx_dma_set_runtime_config()
945 txd->width = s3cchan->cfg.src_addr_width; in s3c24xx_dma_prep_dma_cyclic()
1034 txd->width = s3cchan->cfg.src_addr_width; in s3c24xx_dma_prep_slave_sg()
Dbcm2835-dma.c663 if (c->cfg.src_addr_width != DMA_SLAVE_BUSWIDTH_4_BYTES) in bcm2835_dma_prep_slave_sg()
737 if (c->cfg.src_addr_width != DMA_SLAVE_BUSWIDTH_4_BYTES) in bcm2835_dma_prep_dma_cyclic()
/drivers/mmc/host/
Drenesas_sdhi_sys_dmac.c391 cfg.src_addr_width = priv->dma_priv.dma_buswidth; in renesas_sdhi_sys_dmac_request_dma()
392 if (!cfg.src_addr_width) in renesas_sdhi_sys_dmac_request_dma()
393 cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in renesas_sdhi_sys_dmac_request_dma()
/drivers/spi/
Dspi-pl022.c986 rx_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_UNDEFINED; in configure_dma()
989 rx_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in configure_dma()
992 rx_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in configure_dma()
995 rx_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in configure_dma()
1016 if (rx_conf.src_addr_width == DMA_SLAVE_BUSWIDTH_UNDEFINED) in configure_dma()
1017 rx_conf.src_addr_width = tx_conf.dst_addr_width; 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.c280 txconf.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in dw_spi_dma_config_tx()
382 rxconf.src_addr_width = dw_spi_dma_convert_width(dws->n_bytes); in dw_spi_dma_config_rx()
Dspi-pxa2xx-dma.c98 cfg.src_addr_width = width; in pxa2xx_spi_dma_prepare_one()
Dspi-img-spfi.c321 rxconf.src_addr_width = 4; in img_spfi_start_dma()
325 rxconf.src_addr_width = 1; in img_spfi_start_dma()
/drivers/usb/musb/
Dtusb6010_omap.c274 dma_cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tusb_omap_dma_program()
278 dma_cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in tusb_omap_dma_program()
318 dma_cfg.src_addr_width * 8, in tusb_omap_dma_program()
Dux500_dma.c105 slave_conf.src_addr_width = addr_width; in ux500_configure_channel()
/drivers/i2c/busses/
Di2c-stm32.c59 dma_sconfig.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in stm32_i2c_dma_request()
/drivers/soc/tegra/fuse/
Dfuse-tegra20.c116 fuse->apbdma.config.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tegra20_fuse_probe()
/drivers/ata/
Dpata_pxa.c267 config.src_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in pxa_ata_probe()
/drivers/mfd/
Dstm32-timers.c90 config.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in stm32_timers_dma_burst_read()
/drivers/crypto/
Datmel-tdes.c449 dd->dma_lch_out.dma_conf.src_addr_width = addr_width; in atmel_tdes_crypt_dma()
751 dd->dma_lch_in.dma_conf.src_addr_width = in atmel_tdes_dma_init()
767 dd->dma_lch_out.dma_conf.src_addr_width = in atmel_tdes_dma_init()
/drivers/tty/serial/8250/
D8250_dma.c188 dma->rxconf.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in serial8250_request_dma()

123456