Lines Matching refs:dma_wr_buf
1008 u8 *dma_wr_buf = NULL; in mtk_i2c_do_transfer() local
1115 dma_wr_buf = i2c_get_dma_safe_msg_buf(msgs, 1); in mtk_i2c_do_transfer()
1116 if (!dma_wr_buf) in mtk_i2c_do_transfer()
1119 wpaddr = dma_map_single(i2c->dev, dma_wr_buf, in mtk_i2c_do_transfer()
1122 i2c_put_dma_safe_msg_buf(dma_wr_buf, msgs, false); in mtk_i2c_do_transfer()
1138 dma_wr_buf = i2c_get_dma_safe_msg_buf(msgs, 1); in mtk_i2c_do_transfer()
1139 if (!dma_wr_buf) in mtk_i2c_do_transfer()
1142 wpaddr = dma_map_single(i2c->dev, dma_wr_buf, in mtk_i2c_do_transfer()
1145 i2c_put_dma_safe_msg_buf(dma_wr_buf, msgs, false); in mtk_i2c_do_transfer()
1155 i2c_put_dma_safe_msg_buf(dma_wr_buf, msgs, false); in mtk_i2c_do_transfer()
1167 i2c_put_dma_safe_msg_buf(dma_wr_buf, msgs, false); in mtk_i2c_do_transfer()
1209 i2c_put_dma_safe_msg_buf(dma_wr_buf, msgs, true); in mtk_i2c_do_transfer()
1221 i2c_put_dma_safe_msg_buf(dma_wr_buf, msgs, true); in mtk_i2c_do_transfer()