Home
last modified time | relevance | path

Searched refs:pdmabase (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/drivers/i2c/busses/
Di2c-mt65xx.c152 void __iomem *pdmabase; /* dma base address*/ member
307 writel(I2C_DMA_HARD_RST, i2c->pdmabase + OFFSET_RST); in mtk_i2c_init_hw()
309 writel(I2C_DMA_CLR_FLAG, i2c->pdmabase + OFFSET_RST); in mtk_i2c_init_hw()
503 writel(I2C_DMA_INT_FLAG_NONE, i2c->pdmabase + OFFSET_INT_FLAG); in mtk_i2c_do_transfer()
504 writel(I2C_DMA_CON_RX, i2c->pdmabase + OFFSET_CON); in mtk_i2c_do_transfer()
520 writel(reg_4g_mode, i2c->pdmabase + OFFSET_RX_4G_MODE); in mtk_i2c_do_transfer()
523 writel((u32)rpaddr, i2c->pdmabase + OFFSET_RX_MEM_ADDR); in mtk_i2c_do_transfer()
524 writel(msgs->len, i2c->pdmabase + OFFSET_RX_LEN); in mtk_i2c_do_transfer()
526 writel(I2C_DMA_INT_FLAG_NONE, i2c->pdmabase + OFFSET_INT_FLAG); in mtk_i2c_do_transfer()
527 writel(I2C_DMA_CON_TX, i2c->pdmabase + OFFSET_CON); in mtk_i2c_do_transfer()
[all …]