Lines Matching refs:dma_conf
2227 struct dma_slave_config dma_conf; in stm32_cryp_dma_init() local
2231 memset(&dma_conf, 0, sizeof(dma_conf)); in stm32_cryp_dma_init()
2233 dma_conf.direction = DMA_MEM_TO_DEV; in stm32_cryp_dma_init()
2234 dma_conf.dst_addr = cryp->phys_base + cryp->caps->din; in stm32_cryp_dma_init()
2235 dma_conf.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in stm32_cryp_dma_init()
2236 dma_conf.dst_maxburst = CRYP_DMA_BURST_REG; in stm32_cryp_dma_init()
2237 dma_conf.device_fc = false; in stm32_cryp_dma_init()
2244 ret = dmaengine_slave_config(cryp->dma_lch_in, &dma_conf); in stm32_cryp_dma_init()
2252 memset(&dma_conf, 0, sizeof(dma_conf)); in stm32_cryp_dma_init()
2254 dma_conf.direction = DMA_DEV_TO_MEM; in stm32_cryp_dma_init()
2255 dma_conf.src_addr = cryp->phys_base + cryp->caps->dout; in stm32_cryp_dma_init()
2256 dma_conf.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in stm32_cryp_dma_init()
2257 dma_conf.src_maxburst = CRYP_DMA_BURST_REG; in stm32_cryp_dma_init()
2258 dma_conf.device_fc = false; in stm32_cryp_dma_init()
2269 ret = dmaengine_slave_config(cryp->dma_lch_out, &dma_conf); in stm32_cryp_dma_init()