Lines Matching refs:dma_sconfig
285 struct dma_slave_config dma_sconfig; in i2c_imx_dma_request() local
301 dma_sconfig.dst_addr = phy_addr + in i2c_imx_dma_request()
303 dma_sconfig.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in i2c_imx_dma_request()
304 dma_sconfig.dst_maxburst = 1; in i2c_imx_dma_request()
305 dma_sconfig.direction = DMA_MEM_TO_DEV; in i2c_imx_dma_request()
306 ret = dmaengine_slave_config(dma->chan_tx, &dma_sconfig); in i2c_imx_dma_request()
320 dma_sconfig.src_addr = phy_addr + in i2c_imx_dma_request()
322 dma_sconfig.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in i2c_imx_dma_request()
323 dma_sconfig.src_maxburst = 1; in i2c_imx_dma_request()
324 dma_sconfig.direction = DMA_DEV_TO_MEM; in i2c_imx_dma_request()
325 ret = dmaengine_slave_config(dma->chan_rx, &dma_sconfig); in i2c_imx_dma_request()