Searched refs:wpaddr (Results 1 – 1 of 1) sorted by relevance
/drivers/i2c/busses/ |
D | i2c-mt65xx.c | 855 dma_addr_t wpaddr = 0; in mtk_i2c_do_transfer() local 942 wpaddr = dma_map_single(i2c->dev, dma_wr_buf, in mtk_i2c_do_transfer() 944 if (dma_mapping_error(i2c->dev, wpaddr)) { in mtk_i2c_do_transfer() 951 reg_4g_mode = upper_32_bits(wpaddr); in mtk_i2c_do_transfer() 955 writel((u32)wpaddr, i2c->pdmabase + OFFSET_TX_MEM_ADDR); in mtk_i2c_do_transfer() 965 wpaddr = dma_map_single(i2c->dev, dma_wr_buf, in mtk_i2c_do_transfer() 967 if (dma_mapping_error(i2c->dev, wpaddr)) { in mtk_i2c_do_transfer() 975 dma_unmap_single(i2c->dev, wpaddr, in mtk_i2c_do_transfer() 987 dma_unmap_single(i2c->dev, wpaddr, in mtk_i2c_do_transfer() 997 reg_4g_mode = upper_32_bits(wpaddr); in mtk_i2c_do_transfer() [all …]
|