Home
last modified time | relevance | path

Searched refs:dma_conf (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/arch/powerpc/platforms/512x/
Dmpc512x_lpbfifo.c169 struct dma_slave_config dma_conf = {}; in mpc512x_lpbfifo_kick() local
209 dma_conf.dst_maxburst = max(bpt, 0x4u) / 4; in mpc512x_lpbfifo_kick()
210 dma_conf.src_maxburst = max(bpt, 0x4u) / 4; in mpc512x_lpbfifo_kick()
231 dma_conf.direction = DMA_MEM_TO_DEV; in mpc512x_lpbfifo_kick()
232 dma_conf.dst_addr = lpbfifo.regs_phys + in mpc512x_lpbfifo_kick()
236 dma_conf.direction = DMA_DEV_TO_MEM; in mpc512x_lpbfifo_kick()
237 dma_conf.src_addr = lpbfifo.regs_phys + in mpc512x_lpbfifo_kick()
240 dma_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in mpc512x_lpbfifo_kick()
241 dma_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in mpc512x_lpbfifo_kick()
244 if (dma_dev->device_config(lpbfifo.chan, &dma_conf)) { in mpc512x_lpbfifo_kick()
[all …]
/Linux-v4.19/drivers/crypto/
Datmel-tdes.c90 struct dma_slave_config dma_conf; member
453 dd->dma_lch_in.dma_conf.dst_addr_width = in atmel_tdes_crypt_dma()
455 dd->dma_lch_out.dma_conf.src_addr_width = in atmel_tdes_crypt_dma()
458 dd->dma_lch_in.dma_conf.dst_addr_width = in atmel_tdes_crypt_dma()
460 dd->dma_lch_out.dma_conf.src_addr_width = in atmel_tdes_crypt_dma()
463 dd->dma_lch_in.dma_conf.dst_addr_width = in atmel_tdes_crypt_dma()
465 dd->dma_lch_out.dma_conf.src_addr_width = in atmel_tdes_crypt_dma()
469 dmaengine_slave_config(dd->dma_lch_in.chan, &dd->dma_lch_in.dma_conf); in atmel_tdes_crypt_dma()
470 dmaengine_slave_config(dd->dma_lch_out.chan, &dd->dma_lch_out.dma_conf); in atmel_tdes_crypt_dma()
734 dd->dma_lch_in.dma_conf.direction = DMA_MEM_TO_DEV; in atmel_tdes_dma_init()
[all …]
Dimg-hash.c335 struct dma_slave_config dma_conf; in img_hash_dma_init() local
343 dma_conf.direction = DMA_MEM_TO_DEV; in img_hash_dma_init()
344 dma_conf.dst_addr = hdev->bus_addr; in img_hash_dma_init()
345 dma_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in img_hash_dma_init()
346 dma_conf.dst_maxburst = IMG_HASH_DMA_BURST; in img_hash_dma_init()
347 dma_conf.device_fc = false; in img_hash_dma_init()
349 err = dmaengine_slave_config(hdev->dma_lch, &dma_conf); in img_hash_dma_init()
Datmel-sha.c125 struct dma_slave_config dma_conf; member
650 dd->dma_lch_in.dma_conf.src_maxburst = 16; in atmel_sha_xmit_dma()
651 dd->dma_lch_in.dma_conf.dst_maxburst = 16; in atmel_sha_xmit_dma()
653 dmaengine_slave_config(dd->dma_lch_in.chan, &dd->dma_lch_in.dma_conf); in atmel_sha_xmit_dma()
1517 struct dma_slave_config *config = &dma->dma_conf; in atmel_sha_dma_start()
2642 dd->dma_lch_in.dma_conf.direction = DMA_MEM_TO_DEV; in atmel_sha_dma_init()
2643 dd->dma_lch_in.dma_conf.dst_addr = dd->phys_base + in atmel_sha_dma_init()
2645 dd->dma_lch_in.dma_conf.src_maxburst = 1; in atmel_sha_dma_init()
2646 dd->dma_lch_in.dma_conf.src_addr_width = in atmel_sha_dma_init()
2648 dd->dma_lch_in.dma_conf.dst_maxburst = 1; in atmel_sha_dma_init()
[all …]
/Linux-v4.19/drivers/usb/gadget/udc/aspeed-vhub/
Depn.c458 writel(ep->epn.dma_conf, in ast_vhub_stop_active_req()
462 writel(ep->epn.dma_conf, in ast_vhub_stop_active_req()
715 ep->epn.dma_conf = VHUB_EP_DMA_DESC_MODE; in ast_vhub_epn_enable()
717 ep->epn.dma_conf |= VHUB_EP_DMA_IN_LONG_MODE; in ast_vhub_epn_enable()
720 writel(ep->epn.dma_conf | VHUB_EP_DMA_CTRL_RESET, in ast_vhub_epn_enable()
724 writel(ep->epn.dma_conf, in ast_vhub_epn_enable()
728 ep->epn.dma_conf = VHUB_EP_DMA_SINGLE_STAGE; in ast_vhub_epn_enable()
731 writel(ep->epn.dma_conf | VHUB_EP_DMA_CTRL_RESET, in ast_vhub_epn_enable()
733 writel(ep->epn.dma_conf, in ast_vhub_epn_enable()
Dvhub.h322 unsigned int dma_conf; member
/Linux-v4.19/drivers/spi/
Dspi-stm32.c671 struct dma_slave_config *dma_conf, in stm32_spi_dma_config() argument
690 memset(dma_conf, 0, sizeof(struct dma_slave_config)); in stm32_spi_dma_config()
691 dma_conf->direction = dir; in stm32_spi_dma_config()
692 if (dma_conf->direction == DMA_DEV_TO_MEM) { /* RX */ in stm32_spi_dma_config()
693 dma_conf->src_addr = spi->phys_addr + STM32_SPI_RXDR; in stm32_spi_dma_config()
694 dma_conf->src_addr_width = buswidth; in stm32_spi_dma_config()
695 dma_conf->src_maxburst = maxburst; in stm32_spi_dma_config()
699 } else if (dma_conf->direction == DMA_MEM_TO_DEV) { /* TX */ in stm32_spi_dma_config()
700 dma_conf->dst_addr = spi->phys_addr + STM32_SPI_TXDR; in stm32_spi_dma_config()
701 dma_conf->dst_addr_width = buswidth; in stm32_spi_dma_config()
[all …]
/Linux-v4.19/drivers/crypto/stm32/
Dstm32-hash.c525 struct dma_slave_config dma_conf; in stm32_hash_dma_init() local
528 memset(&dma_conf, 0, sizeof(dma_conf)); in stm32_hash_dma_init()
530 dma_conf.direction = DMA_MEM_TO_DEV; in stm32_hash_dma_init()
531 dma_conf.dst_addr = hdev->phys_base + HASH_DIN; in stm32_hash_dma_init()
532 dma_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in stm32_hash_dma_init()
533 dma_conf.src_maxburst = hdev->dma_maxburst; in stm32_hash_dma_init()
534 dma_conf.dst_maxburst = hdev->dma_maxburst; in stm32_hash_dma_init()
535 dma_conf.device_fc = false; in stm32_hash_dma_init()
543 err = dmaengine_slave_config(hdev->dma_lch, &dma_conf); in stm32_hash_dma_init()
/Linux-v4.19/drivers/mmc/host/
Datmel-mci.c325 struct dma_slave_config dma_conf; member
1173 host->dma_conf.direction = slave_dirn = DMA_DEV_TO_MEM; in atmci_prepare_data_dma()
1175 host->dma_conf.src_maxburst); in atmci_prepare_data_dma()
1177 host->dma_conf.direction = slave_dirn = DMA_MEM_TO_DEV; in atmci_prepare_data_dma()
1179 host->dma_conf.dst_maxburst); in atmci_prepare_data_dma()
1189 dmaengine_slave_config(chan, &host->dma_conf); in atmci_prepare_data_dma()
2416 host->dma_conf.src_addr = host->mapbase + ATMCI_RDR; in atmci_configure_dma()
2417 host->dma_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in atmci_configure_dma()
2418 host->dma_conf.src_maxburst = 1; in atmci_configure_dma()
2419 host->dma_conf.dst_addr = host->mapbase + ATMCI_TDR; in atmci_configure_dma()
[all …]