Searched refs:dma_conf (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/arch/powerpc/platforms/512x/ |
D | mpc512x_lpbfifo.c | 168 struct dma_slave_config dma_conf = {}; in mpc512x_lpbfifo_kick() local 208 dma_conf.dst_maxburst = max(bpt, 0x4u) / 4; in mpc512x_lpbfifo_kick() 209 dma_conf.src_maxburst = max(bpt, 0x4u) / 4; in mpc512x_lpbfifo_kick() 230 dma_conf.direction = DMA_MEM_TO_DEV; in mpc512x_lpbfifo_kick() 231 dma_conf.dst_addr = lpbfifo.regs_phys + in mpc512x_lpbfifo_kick() 235 dma_conf.direction = DMA_DEV_TO_MEM; in mpc512x_lpbfifo_kick() 236 dma_conf.src_addr = lpbfifo.regs_phys + in mpc512x_lpbfifo_kick() 239 dma_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in mpc512x_lpbfifo_kick() 240 dma_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in mpc512x_lpbfifo_kick() 243 if (dma_dev->device_config(lpbfifo.chan, &dma_conf)) { in mpc512x_lpbfifo_kick() [all …]
|
/Linux-v5.4/drivers/crypto/ |
D | atmel-tdes.c | 87 struct dma_slave_config dma_conf; member 450 dd->dma_lch_in.dma_conf.dst_addr_width = in atmel_tdes_crypt_dma() 452 dd->dma_lch_out.dma_conf.src_addr_width = in atmel_tdes_crypt_dma() 455 dd->dma_lch_in.dma_conf.dst_addr_width = in atmel_tdes_crypt_dma() 457 dd->dma_lch_out.dma_conf.src_addr_width = in atmel_tdes_crypt_dma() 460 dd->dma_lch_in.dma_conf.dst_addr_width = in atmel_tdes_crypt_dma() 462 dd->dma_lch_out.dma_conf.src_addr_width = in atmel_tdes_crypt_dma() 466 dmaengine_slave_config(dd->dma_lch_in.chan, &dd->dma_lch_in.dma_conf); in atmel_tdes_crypt_dma() 467 dmaengine_slave_config(dd->dma_lch_out.chan, &dd->dma_lch_out.dma_conf); in atmel_tdes_crypt_dma() 731 dd->dma_lch_in.dma_conf.direction = DMA_MEM_TO_DEV; in atmel_tdes_dma_init() [all …]
|
D | img-hash.c | 332 struct dma_slave_config dma_conf; in img_hash_dma_init() local 340 dma_conf.direction = DMA_MEM_TO_DEV; in img_hash_dma_init() 341 dma_conf.dst_addr = hdev->bus_addr; in img_hash_dma_init() 342 dma_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in img_hash_dma_init() 343 dma_conf.dst_maxburst = IMG_HASH_DMA_BURST; in img_hash_dma_init() 344 dma_conf.device_fc = false; in img_hash_dma_init() 346 err = dmaengine_slave_config(hdev->dma_lch, &dma_conf); in img_hash_dma_init()
|
D | atmel-sha.c | 122 struct dma_slave_config dma_conf; member 647 dd->dma_lch_in.dma_conf.src_maxburst = 16; in atmel_sha_xmit_dma() 648 dd->dma_lch_in.dma_conf.dst_maxburst = 16; in atmel_sha_xmit_dma() 650 dmaengine_slave_config(dd->dma_lch_in.chan, &dd->dma_lch_in.dma_conf); in atmel_sha_xmit_dma() 1514 struct dma_slave_config *config = &dma->dma_conf; in atmel_sha_dma_start() 2639 dd->dma_lch_in.dma_conf.direction = DMA_MEM_TO_DEV; in atmel_sha_dma_init() 2640 dd->dma_lch_in.dma_conf.dst_addr = dd->phys_base + in atmel_sha_dma_init() 2642 dd->dma_lch_in.dma_conf.src_maxburst = 1; in atmel_sha_dma_init() 2643 dd->dma_lch_in.dma_conf.src_addr_width = in atmel_sha_dma_init() 2645 dd->dma_lch_in.dma_conf.dst_maxburst = 1; in atmel_sha_dma_init() [all …]
|
/Linux-v5.4/drivers/usb/gadget/udc/aspeed-vhub/ |
D | epn.c | 458 writel(ep->epn.dma_conf, in ast_vhub_stop_active_req() 462 writel(ep->epn.dma_conf, in ast_vhub_stop_active_req() 711 ep->epn.dma_conf = VHUB_EP_DMA_DESC_MODE; in ast_vhub_epn_enable() 713 ep->epn.dma_conf |= VHUB_EP_DMA_IN_LONG_MODE; in ast_vhub_epn_enable() 716 writel(ep->epn.dma_conf | VHUB_EP_DMA_CTRL_RESET, in ast_vhub_epn_enable() 720 writel(ep->epn.dma_conf, in ast_vhub_epn_enable() 724 ep->epn.dma_conf = VHUB_EP_DMA_SINGLE_STAGE; in ast_vhub_epn_enable() 727 writel(ep->epn.dma_conf | VHUB_EP_DMA_CTRL_RESET, in ast_vhub_epn_enable() 729 writel(ep->epn.dma_conf, in ast_vhub_epn_enable()
|
D | vhub.h | 323 unsigned int dma_conf; member
|
/Linux-v5.4/drivers/crypto/stm32/ |
D | stm32-hash.c | 509 struct dma_slave_config dma_conf; in stm32_hash_dma_init() local 512 memset(&dma_conf, 0, sizeof(dma_conf)); in stm32_hash_dma_init() 514 dma_conf.direction = DMA_MEM_TO_DEV; in stm32_hash_dma_init() 515 dma_conf.dst_addr = hdev->phys_base + HASH_DIN; in stm32_hash_dma_init() 516 dma_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in stm32_hash_dma_init() 517 dma_conf.src_maxburst = hdev->dma_maxburst; in stm32_hash_dma_init() 518 dma_conf.dst_maxburst = hdev->dma_maxburst; in stm32_hash_dma_init() 519 dma_conf.device_fc = false; in stm32_hash_dma_init() 527 err = dmaengine_slave_config(hdev->dma_lch, &dma_conf); in stm32_hash_dma_init()
|
/Linux-v5.4/drivers/spi/ |
D | spi-stm32.c | 1108 struct dma_slave_config *dma_conf, in stm32_spi_dma_config() argument 1131 memset(dma_conf, 0, sizeof(struct dma_slave_config)); in stm32_spi_dma_config() 1132 dma_conf->direction = dir; in stm32_spi_dma_config() 1133 if (dma_conf->direction == DMA_DEV_TO_MEM) { /* RX */ in stm32_spi_dma_config() 1134 dma_conf->src_addr = spi->phys_addr + spi->cfg->regs->rx.reg; in stm32_spi_dma_config() 1135 dma_conf->src_addr_width = buswidth; in stm32_spi_dma_config() 1136 dma_conf->src_maxburst = maxburst; in stm32_spi_dma_config() 1140 } else if (dma_conf->direction == DMA_MEM_TO_DEV) { /* TX */ in stm32_spi_dma_config() 1141 dma_conf->dst_addr = spi->phys_addr + spi->cfg->regs->tx.reg; in stm32_spi_dma_config() 1142 dma_conf->dst_addr_width = buswidth; in stm32_spi_dma_config() [all …]
|
/Linux-v5.4/drivers/mmc/host/ |
D | atmel-mci.c | 322 struct dma_slave_config dma_conf; member 1125 host->dma_conf.direction = slave_dirn = DMA_DEV_TO_MEM; in atmci_prepare_data_dma() 1127 host->dma_conf.src_maxburst); in atmci_prepare_data_dma() 1129 host->dma_conf.direction = slave_dirn = DMA_MEM_TO_DEV; in atmci_prepare_data_dma() 1131 host->dma_conf.dst_maxburst); in atmci_prepare_data_dma() 1141 dmaengine_slave_config(chan, &host->dma_conf); in atmci_prepare_data_dma() 2375 host->dma_conf.src_addr = host->mapbase + ATMCI_RDR; in atmci_configure_dma() 2376 host->dma_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in atmci_configure_dma() 2377 host->dma_conf.src_maxburst = 1; in atmci_configure_dma() 2378 host->dma_conf.dst_addr = host->mapbase + ATMCI_TDR; in atmci_configure_dma() [all …]
|