Searched refs:wpaddr (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/i2c/busses/ |
H A D | i2c-mt65xx.c | 1010 dma_addr_t wpaddr = 0; in mtk_i2c_do_transfer() local 1119 wpaddr = dma_map_single(i2c->dev, dma_wr_buf, in mtk_i2c_do_transfer() 1121 if (dma_mapping_error(i2c->dev, wpaddr)) { in mtk_i2c_do_transfer() 1128 reg_4g_mode = upper_32_bits(wpaddr); in mtk_i2c_do_transfer() 1132 writel((u32)wpaddr, i2c->pdmabase + OFFSET_TX_MEM_ADDR); in mtk_i2c_do_transfer() 1142 wpaddr = dma_map_single(i2c->dev, dma_wr_buf, in mtk_i2c_do_transfer() 1144 if (dma_mapping_error(i2c->dev, wpaddr)) { in mtk_i2c_do_transfer() 1152 dma_unmap_single(i2c->dev, wpaddr, in mtk_i2c_do_transfer() 1164 dma_unmap_single(i2c->dev, wpaddr, in mtk_i2c_do_transfer() 1174 reg_4g_mode = upper_32_bits(wpaddr); in mtk_i2c_do_transfer() [all …]
|