Home
last modified time | relevance | path

Searched refs:dma_conf (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c78 #define STMMAC_TX_THRESH(x) ((x)->dma_conf.dma_tx_size / 4)
79 #define STMMAC_RX_THRESH(x) ((x)->dma_conf.dma_rx_size / 4)
238 rx_q = &priv->dma_conf.rx_queue[queue]; in stmmac_disable_all_queues()
364 struct stmmac_tx_queue *tx_q = &priv->dma_conf.tx_queue[queue]; in stmmac_tx_avail()
370 avail = priv->dma_conf.dma_tx_size - tx_q->cur_tx + tx_q->dirty_tx - 1; in stmmac_tx_avail()
382 struct stmmac_rx_queue *rx_q = &priv->dma_conf.rx_queue[queue]; in stmmac_rx_dirty()
388 dirty = priv->dma_conf.dma_rx_size - rx_q->dirty_rx + rx_q->cur_rx; in stmmac_rx_dirty()
416 struct stmmac_tx_queue *tx_q = &priv->dma_conf.tx_queue[queue]; in stmmac_enable_eee_mode()
1266 struct stmmac_dma_conf *dma_conf) in stmmac_display_rx_rings()
1275 struct stmmac_rx_queue *rx_q = &dma_conf in stmmac_display_rx_rings()
1265 stmmac_display_rx_rings(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf) stmmac_display_rx_rings() argument
1293 stmmac_display_tx_rings(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf) stmmac_display_tx_rings() argument
1323 stmmac_display_rings(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf) stmmac_display_rings() argument
1359 stmmac_clear_rx_descriptors(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf, u32 queue) stmmac_clear_rx_descriptors() argument
1388 stmmac_clear_tx_descriptors(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf, u32 queue) stmmac_clear_tx_descriptors() argument
1418 stmmac_clear_descriptors(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf) stmmac_clear_descriptors() argument
1445 stmmac_init_rx_buffers(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf, struct dma_desc *p, int i, gfp_t flags, u32 queue) stmmac_init_rx_buffers() argument
1513 stmmac_free_tx_buffer(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf, u32 queue, int i) stmmac_free_tx_buffer() argument
1559 dma_free_rx_skbufs(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf, u32 queue) dma_free_rx_skbufs() argument
1570 stmmac_alloc_rx_buffers(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf, u32 queue, gfp_t flags) stmmac_alloc_rx_buffers() argument
1603 dma_free_rx_xskbufs(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf, u32 queue) dma_free_rx_xskbufs() argument
1621 stmmac_alloc_rx_buffers_zc(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf, u32 queue) stmmac_alloc_rx_buffers_zc() argument
1676 __init_dma_rx_desc_rings(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf, u32 queue, gfp_t flags) __init_dma_rx_desc_rings() argument
1736 init_dma_rx_desc_rings(struct net_device *dev, struct stmmac_dma_conf *dma_conf, gfp_t flags) init_dma_rx_desc_rings() argument
1784 __init_dma_tx_desc_rings(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf, u32 queue) __init_dma_tx_desc_rings() argument
1831 init_dma_tx_desc_rings(struct net_device *dev, struct stmmac_dma_conf *dma_conf) init_dma_tx_desc_rings() argument
1855 init_dma_desc_rings(struct net_device *dev, struct stmmac_dma_conf *dma_conf, gfp_t flags) init_dma_desc_rings() argument
1882 dma_free_tx_skbufs(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf, u32 queue) dma_free_tx_skbufs() argument
1920 __free_dma_rx_desc_resources(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf, u32 queue) __free_dma_rx_desc_resources() argument
1953 free_dma_rx_desc_resources(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf) free_dma_rx_desc_resources() argument
1970 __free_dma_tx_desc_resources(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf, u32 queue) __free_dma_tx_desc_resources() argument
2000 free_dma_tx_desc_resources(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf) free_dma_tx_desc_resources() argument
2021 __alloc_dma_rx_desc_resources(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf, u32 queue) __alloc_dma_rx_desc_resources() argument
2095 alloc_dma_rx_desc_resources(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf) alloc_dma_rx_desc_resources() argument
2127 __alloc_dma_tx_desc_resources(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf, u32 queue) __alloc_dma_tx_desc_resources() argument
2174 alloc_dma_tx_desc_resources(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf) alloc_dma_tx_desc_resources() argument
2204 alloc_dma_desc_resources(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf) alloc_dma_desc_resources() argument
2223 free_dma_desc_resources(struct stmmac_priv *priv, struct stmmac_dma_conf *dma_conf) free_dma_desc_resources() argument
3754 struct stmmac_dma_conf *dma_conf; stmmac_setup_dma_desc() local
3825 __stmmac_open(struct net_device *dev, struct stmmac_dma_conf *dma_conf) __stmmac_open() argument
3910 struct stmmac_dma_conf *dma_conf; stmmac_open() local
5713 struct stmmac_dma_conf *dma_conf; stmmac_change_mtu() local
5984 struct stmmac_dma_conf *dma_conf; stmmac_msi_intr_tx() local
6011 struct stmmac_dma_conf *dma_conf; stmmac_msi_intr_rx() local
[all...]
H A Dchain_mode.c49 entry = STMMAC_GET_ENTRY(entry, priv->dma_conf.dma_tx_size); in jumbo_frm()
139 priv->dma_conf.dma_rx_size) * in refill_desc3()
156 priv->dma_conf.dma_tx_size)) in clean_desc3()
H A Dring_mode.c54 entry = STMMAC_GET_ENTRY(entry, priv->dma_conf.dma_tx_size); in jumbo_frm()
109 if (priv->dma_conf.dma_buf_sz == BUF_SIZE_16KiB) in refill_desc3()
H A Dstmmac.h235 struct stmmac_dma_conf dma_conf; member
H A Dstmmac_tc.c1101 if (!(priv->dma_conf.tx_queue[qopt->queue].tbs & STMMAC_TBS_AVAIL)) in tc_setup_etf()
1105 priv->dma_conf.tx_queue[qopt->queue].tbs |= STMMAC_TBS_EN; in tc_setup_etf()
1107 priv->dma_conf.tx_queue[qopt->queue].tbs &= ~STMMAC_TBS_EN; in tc_setup_etf()
H A Dstmmac_selftests.c798 tail = priv->dma_conf.rx_queue[i].dma_rx_phy + in stmmac_test_flowctrl()
799 (priv->dma_conf.dma_rx_size * sizeof(struct dma_desc)); in stmmac_test_flowctrl()
1687 int size = priv->dma_conf.dma_buf_sz; in __stmmac_test_jumbo()
1770 if (priv->dma_conf.tx_queue[i].tbs & STMMAC_TBS_AVAIL) in stmmac_test_tbs()
H A Dstmmac_ethtool.c487 ring->rx_pending = priv->dma_conf.dma_rx_size; in stmmac_get_ringparam()
488 ring->tx_pending = priv->dma_conf.dma_tx_size; in stmmac_get_ringparam()
/kernel/linux/linux-5.10/arch/powerpc/platforms/512x/
H A Dmpc512x_lpbfifo.c168 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...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/512x/
H A Dmpc512x_lpbfifo.c168 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...]
/kernel/linux/linux-5.10/drivers/crypto/
H A Datmel-tdes.c91 struct dma_slave_config dma_conf; member
458 dd->dma_lch_in.dma_conf.dst_addr_width = addr_width; in atmel_tdes_crypt_dma()
459 dd->dma_lch_out.dma_conf.src_addr_width = addr_width; in atmel_tdes_crypt_dma()
461 dmaengine_slave_config(dd->dma_lch_in.chan, &dd->dma_lch_in.dma_conf); in atmel_tdes_crypt_dma()
462 dmaengine_slave_config(dd->dma_lch_out.chan, &dd->dma_lch_out.dma_conf); in atmel_tdes_crypt_dma()
755 dd->dma_lch_in.dma_conf.dst_addr = dd->phys_base + in atmel_tdes_dma_init()
757 dd->dma_lch_in.dma_conf.src_maxburst = 1; in atmel_tdes_dma_init()
758 dd->dma_lch_in.dma_conf.src_addr_width = in atmel_tdes_dma_init()
760 dd->dma_lch_in.dma_conf.dst_maxburst = 1; in atmel_tdes_dma_init()
761 dd->dma_lch_in.dma_conf in atmel_tdes_dma_init()
[all...]
H A Dimg-hash.c333 struct dma_slave_config dma_conf; in img_hash_dma_init() local
341 dma_conf.direction = DMA_MEM_TO_DEV; in img_hash_dma_init()
342 dma_conf.dst_addr = hdev->bus_addr; in img_hash_dma_init()
343 dma_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in img_hash_dma_init()
344 dma_conf.dst_maxburst = IMG_HASH_DMA_BURST; in img_hash_dma_init()
345 dma_conf.device_fc = false; in img_hash_dma_init()
347 err = dmaengine_slave_config(hdev->dma_lch, &dma_conf); in img_hash_dma_init()
H A Datmel-sha.c123 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()
1448 struct dma_slave_config *config = &dma->dma_conf; in atmel_sha_dma_start()
2481 dd->dma_lch_in.dma_conf.dst_addr = dd->phys_base + in atmel_sha_dma_init()
2483 dd->dma_lch_in.dma_conf.src_maxburst = 1; in atmel_sha_dma_init()
2484 dd->dma_lch_in.dma_conf.src_addr_width = in atmel_sha_dma_init()
2486 dd->dma_lch_in.dma_conf.dst_maxburst = 1; in atmel_sha_dma_init()
2487 dd->dma_lch_in.dma_conf in atmel_sha_dma_init()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/
H A Datmel-tdes.c91 struct dma_slave_config dma_conf; member
448 dd->dma_lch_in.dma_conf.dst_addr_width = addr_width; in atmel_tdes_crypt_dma()
449 dd->dma_lch_out.dma_conf.src_addr_width = addr_width; in atmel_tdes_crypt_dma()
451 dmaengine_slave_config(dd->dma_lch_in.chan, &dd->dma_lch_in.dma_conf); in atmel_tdes_crypt_dma()
452 dmaengine_slave_config(dd->dma_lch_out.chan, &dd->dma_lch_out.dma_conf); in atmel_tdes_crypt_dma()
743 dd->dma_lch_in.dma_conf.dst_addr = dd->phys_base + in atmel_tdes_dma_init()
745 dd->dma_lch_in.dma_conf.src_maxburst = 1; in atmel_tdes_dma_init()
746 dd->dma_lch_in.dma_conf.src_addr_width = in atmel_tdes_dma_init()
748 dd->dma_lch_in.dma_conf.dst_maxburst = 1; in atmel_tdes_dma_init()
749 dd->dma_lch_in.dma_conf in atmel_tdes_dma_init()
[all...]
H A Dimg-hash.c334 struct dma_slave_config dma_conf; in img_hash_dma_init() local
342 dma_conf.direction = DMA_MEM_TO_DEV; in img_hash_dma_init()
343 dma_conf.dst_addr = hdev->bus_addr; in img_hash_dma_init()
344 dma_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in img_hash_dma_init()
345 dma_conf.dst_maxburst = IMG_HASH_DMA_BURST; in img_hash_dma_init()
346 dma_conf.device_fc = false; in img_hash_dma_init()
348 err = dmaengine_slave_config(hdev->dma_lch, &dma_conf); in img_hash_dma_init()
H A Datmel-sha.c124 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()
1448 struct dma_slave_config *config = &dma->dma_conf; in atmel_sha_dma_start()
2507 dd->dma_lch_in.dma_conf.dst_addr = dd->phys_base + in atmel_sha_dma_init()
2509 dd->dma_lch_in.dma_conf.src_maxburst = 1; in atmel_sha_dma_init()
2510 dd->dma_lch_in.dma_conf.src_addr_width = in atmel_sha_dma_init()
2512 dd->dma_lch_in.dma_conf.dst_maxburst = 1; in atmel_sha_dma_init()
2513 dd->dma_lch_in.dma_conf in atmel_sha_dma_init()
[all...]
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/
H A Depn.c461 writel(ep->epn.dma_conf, in ast_vhub_stop_active_req()
465 writel(ep->epn.dma_conf, in ast_vhub_stop_active_req()
714 ep->epn.dma_conf = VHUB_EP_DMA_DESC_MODE; in ast_vhub_epn_enable()
716 ep->epn.dma_conf |= VHUB_EP_DMA_IN_LONG_MODE; in ast_vhub_epn_enable()
719 writel(ep->epn.dma_conf | VHUB_EP_DMA_CTRL_RESET, in ast_vhub_epn_enable()
723 writel(ep->epn.dma_conf, in ast_vhub_epn_enable()
727 ep->epn.dma_conf = VHUB_EP_DMA_SINGLE_STAGE; in ast_vhub_epn_enable()
730 writel(ep->epn.dma_conf | VHUB_EP_DMA_CTRL_RESET, in ast_vhub_epn_enable()
732 writel(ep->epn.dma_conf, in ast_vhub_epn_enable()
H A Dvhub.h323 unsigned int dma_conf; member
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/aspeed-vhub/
H A Depn.c463 writel(ep->epn.dma_conf, in ast_vhub_stop_active_req()
467 writel(ep->epn.dma_conf, in ast_vhub_stop_active_req()
718 ep->epn.dma_conf = VHUB_EP_DMA_DESC_MODE; in ast_vhub_epn_enable()
720 ep->epn.dma_conf |= VHUB_EP_DMA_IN_LONG_MODE; in ast_vhub_epn_enable()
723 writel(ep->epn.dma_conf | VHUB_EP_DMA_CTRL_RESET, in ast_vhub_epn_enable()
727 writel(ep->epn.dma_conf, in ast_vhub_epn_enable()
731 ep->epn.dma_conf = VHUB_EP_DMA_SINGLE_STAGE; in ast_vhub_epn_enable()
734 writel(ep->epn.dma_conf | VHUB_EP_DMA_CTRL_RESET, in ast_vhub_epn_enable()
736 writel(ep->epn.dma_conf, in ast_vhub_epn_enable()
H A Dvhub.h323 unsigned int dma_conf; member
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-stm32.c1106 * @dma_conf: pointer to the dma_slave_config structure
1110 struct dma_slave_config *dma_conf, in stm32_spi_dma_config()
1133 memset(dma_conf, 0, sizeof(struct dma_slave_config)); in stm32_spi_dma_config()
1134 dma_conf->direction = dir; in stm32_spi_dma_config()
1135 if (dma_conf->direction == DMA_DEV_TO_MEM) { /* RX */ in stm32_spi_dma_config()
1136 dma_conf->src_addr = spi->phys_addr + spi->cfg->regs->rx.reg; in stm32_spi_dma_config()
1137 dma_conf->src_addr_width = buswidth; in stm32_spi_dma_config()
1138 dma_conf->src_maxburst = maxburst; in stm32_spi_dma_config()
1142 } else if (dma_conf->direction == DMA_MEM_TO_DEV) { /* TX */ in stm32_spi_dma_config()
1143 dma_conf in stm32_spi_dma_config()
1109 stm32_spi_dma_config(struct stm32_spi *spi, struct dma_slave_config *dma_conf, enum dma_transfer_direction dir) stm32_spi_dma_config() argument
[all...]
/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-stm32.c1069 * @dma_conf: pointer to the dma_slave_config structure
1073 struct dma_slave_config *dma_conf, in stm32_spi_dma_config()
1096 memset(dma_conf, 0, sizeof(struct dma_slave_config)); in stm32_spi_dma_config()
1097 dma_conf->direction = dir; in stm32_spi_dma_config()
1098 if (dma_conf->direction == DMA_DEV_TO_MEM) { /* RX */ in stm32_spi_dma_config()
1099 dma_conf->src_addr = spi->phys_addr + spi->cfg->regs->rx.reg; in stm32_spi_dma_config()
1100 dma_conf->src_addr_width = buswidth; in stm32_spi_dma_config()
1101 dma_conf->src_maxburst = maxburst; in stm32_spi_dma_config()
1105 } else if (dma_conf->direction == DMA_MEM_TO_DEV) { /* TX */ in stm32_spi_dma_config()
1106 dma_conf in stm32_spi_dma_config()
1072 stm32_spi_dma_config(struct stm32_spi *spi, struct dma_slave_config *dma_conf, enum dma_transfer_direction dir) stm32_spi_dma_config() argument
[all...]
/kernel/linux/linux-5.10/drivers/mmc/host/
H A Datmel-mci.c244 * @dma_conf: Configuration for the DMA slave
325 struct dma_slave_config dma_conf; member
1133 host->dma_conf.direction = slave_dirn = DMA_DEV_TO_MEM; in atmci_prepare_data_dma()
1135 host->dma_conf.src_maxburst); in atmci_prepare_data_dma()
1137 host->dma_conf.direction = slave_dirn = DMA_MEM_TO_DEV; in atmci_prepare_data_dma()
1139 host->dma_conf.dst_maxburst); in atmci_prepare_data_dma()
1149 dmaengine_slave_config(chan, &host->dma_conf); in atmci_prepare_data_dma()
2380 host->dma_conf.src_addr = host->mapbase + ATMCI_RDR; in atmci_configure_dma()
2381 host->dma_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in atmci_configure_dma()
2382 host->dma_conf in atmci_configure_dma()
[all...]
/kernel/linux/linux-6.6/drivers/mmc/host/
H A Datmel-mci.c278 * @dma_conf: Configuration for the DMA slave
359 struct dma_slave_config dma_conf; member
1176 host->dma_conf.direction = slave_dirn = DMA_DEV_TO_MEM; in atmci_prepare_data_dma()
1178 host->dma_conf.src_maxburst); in atmci_prepare_data_dma()
1180 host->dma_conf.direction = slave_dirn = DMA_MEM_TO_DEV; in atmci_prepare_data_dma()
1182 host->dma_conf.dst_maxburst); in atmci_prepare_data_dma()
1192 dmaengine_slave_config(chan, &host->dma_conf); in atmci_prepare_data_dma()
2409 host->dma_conf.src_addr = host->mapbase + ATMCI_RDR; in atmci_configure_dma()
2410 host->dma_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in atmci_configure_dma()
2411 host->dma_conf in atmci_configure_dma()
[all...]
/kernel/linux/linux-5.10/drivers/crypto/stm32/
H A Dstm32-hash.c510 struct dma_slave_config dma_conf; in stm32_hash_dma_init() local
514 memset(&dma_conf, 0, sizeof(dma_conf)); in stm32_hash_dma_init()
516 dma_conf.direction = DMA_MEM_TO_DEV; in stm32_hash_dma_init()
517 dma_conf.dst_addr = hdev->phys_base + HASH_DIN; in stm32_hash_dma_init()
518 dma_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in stm32_hash_dma_init()
519 dma_conf.src_maxburst = hdev->dma_maxburst; in stm32_hash_dma_init()
520 dma_conf.dst_maxburst = hdev->dma_maxburst; in stm32_hash_dma_init()
521 dma_conf.device_fc = false; in stm32_hash_dma_init()
529 err = dmaengine_slave_config(hdev->dma_lch, &dma_conf); in stm32_hash_dma_init()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/stm32/
H A Dstm32-hash.c619 struct dma_slave_config dma_conf; in stm32_hash_dma_init() local
623 memset(&dma_conf, 0, sizeof(dma_conf)); in stm32_hash_dma_init()
625 dma_conf.direction = DMA_MEM_TO_DEV; in stm32_hash_dma_init()
626 dma_conf.dst_addr = hdev->phys_base + HASH_DIN; in stm32_hash_dma_init()
627 dma_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in stm32_hash_dma_init()
628 dma_conf.src_maxburst = HASH_BURST_LEVEL; in stm32_hash_dma_init()
629 dma_conf.dst_maxburst = HASH_BURST_LEVEL; in stm32_hash_dma_init()
630 dma_conf.device_fc = false; in stm32_hash_dma_init()
638 err = dmaengine_slave_config(hdev->dma_lch, &dma_conf); in stm32_hash_dma_init()
[all...]

Completed in 43 milliseconds