Lines Matching refs:dma_rd_buf
1007 u8 *dma_rd_buf = NULL; in mtk_i2c_do_transfer() local
1092 dma_rd_buf = i2c_get_dma_safe_msg_buf(msgs, 1); in mtk_i2c_do_transfer()
1093 if (!dma_rd_buf) in mtk_i2c_do_transfer()
1096 rpaddr = dma_map_single(i2c->dev, dma_rd_buf, in mtk_i2c_do_transfer()
1099 i2c_put_dma_safe_msg_buf(dma_rd_buf, msgs, false); in mtk_i2c_do_transfer()
1150 dma_rd_buf = i2c_get_dma_safe_msg_buf((msgs + 1), 1); in mtk_i2c_do_transfer()
1151 if (!dma_rd_buf) { in mtk_i2c_do_transfer()
1160 rpaddr = dma_map_single(i2c->dev, dma_rd_buf, in mtk_i2c_do_transfer()
1168 i2c_put_dma_safe_msg_buf(dma_rd_buf, (msgs + 1), false); in mtk_i2c_do_transfer()
1214 i2c_put_dma_safe_msg_buf(dma_rd_buf, msgs, true); in mtk_i2c_do_transfer()
1222 i2c_put_dma_safe_msg_buf(dma_rd_buf, (msgs + 1), true); in mtk_i2c_do_transfer()