Lines Matching refs:dma_sconfig
294 struct dma_slave_config dma_sconfig; in i2c_imx_dma_request() local
308 dma_sconfig.dst_addr = phy_addr + in i2c_imx_dma_request()
310 dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in i2c_imx_dma_request()
311 dma_sconfig.dst_maxburst = 1; in i2c_imx_dma_request()
312 dma_sconfig.direction = DMA_MEM_TO_DEV; in i2c_imx_dma_request()
313 ret = dmaengine_slave_config(dma->chan_tx, &dma_sconfig); in i2c_imx_dma_request()
325 dma_sconfig.src_addr = phy_addr + in i2c_imx_dma_request()
327 dma_sconfig.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in i2c_imx_dma_request()
328 dma_sconfig.src_maxburst = 1; in i2c_imx_dma_request()
329 dma_sconfig.direction = DMA_DEV_TO_MEM; in i2c_imx_dma_request()
330 ret = dmaengine_slave_config(dma->chan_rx, &dma_sconfig); in i2c_imx_dma_request()