Lines Matching refs:rpaddr
1009 dma_addr_t rpaddr = 0; in mtk_i2c_do_transfer() local
1096 rpaddr = dma_map_single(i2c->dev, dma_rd_buf, in mtk_i2c_do_transfer()
1098 if (dma_mapping_error(i2c->dev, rpaddr)) { in mtk_i2c_do_transfer()
1105 reg_4g_mode = upper_32_bits(rpaddr); in mtk_i2c_do_transfer()
1109 writel((u32)rpaddr, i2c->pdmabase + OFFSET_RX_MEM_ADDR); in mtk_i2c_do_transfer()
1160 rpaddr = dma_map_single(i2c->dev, dma_rd_buf, in mtk_i2c_do_transfer()
1163 if (dma_mapping_error(i2c->dev, rpaddr)) { in mtk_i2c_do_transfer()
1177 reg_4g_mode = upper_32_bits(rpaddr); in mtk_i2c_do_transfer()
1182 writel((u32)rpaddr, i2c->pdmabase + OFFSET_RX_MEM_ADDR); in mtk_i2c_do_transfer()
1211 dma_unmap_single(i2c->dev, rpaddr, in mtk_i2c_do_transfer()
1218 dma_unmap_single(i2c->dev, rpaddr, (msgs + 1)->len, in mtk_i2c_do_transfer()