Searched refs:dma_wr_buf (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-mt65xx.c | 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() 1209 i2c_put_dma_safe_msg_buf(dma_wr_buf, msgs, true); in mtk_i2c_do_transfer() [all …]
|