Searched refs:wpaddr (Results 1 – 1 of 1) sorted by relevance
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-mt65xx.c | 447 dma_addr_t wpaddr = 0; in mtk_i2c_do_transfer() local 533 wpaddr = dma_map_single(i2c->dev, dma_wr_buf, in mtk_i2c_do_transfer() 535 if (dma_mapping_error(i2c->dev, wpaddr)) { in mtk_i2c_do_transfer() 542 reg_4g_mode = mtk_i2c_set_4g_mode(wpaddr); in mtk_i2c_do_transfer() 546 writel((u32)wpaddr, i2c->pdmabase + OFFSET_TX_MEM_ADDR); in mtk_i2c_do_transfer() 556 wpaddr = dma_map_single(i2c->dev, dma_wr_buf, in mtk_i2c_do_transfer() 558 if (dma_mapping_error(i2c->dev, wpaddr)) { in mtk_i2c_do_transfer() 566 dma_unmap_single(i2c->dev, wpaddr, in mtk_i2c_do_transfer() 578 dma_unmap_single(i2c->dev, wpaddr, in mtk_i2c_do_transfer() 588 reg_4g_mode = mtk_i2c_set_4g_mode(wpaddr); in mtk_i2c_do_transfer() [all …]
|