Lines Matching refs:wpg_addr
122 void __iomem *wpg_addr; // base addr + offset in i2c_ctrl_read() local
155 wpg_addr = WPGBbar + WPG_I2CMOSUP_OFFSET; in i2c_ctrl_read()
156 writel(wpg_data, wpg_addr); in i2c_ctrl_read()
162 wpg_addr = WPGBbar + WPG_I2CMBUFL_OFFSET; in i2c_ctrl_read()
163 writel(wpg_data, wpg_addr); in i2c_ctrl_read()
170 wpg_addr = WPGBbar + WPG_I2CMCNTL_OFFSET + WPG_I2C_OR; in i2c_ctrl_read()
171 writel(wpg_data, wpg_addr); in i2c_ctrl_read()
178 wpg_addr = WPGBbar + WPG_I2CMCNTL_OFFSET; in i2c_ctrl_read()
179 wpg_data = readl(wpg_addr); in i2c_ctrl_read()
194 wpg_addr = WPGBbar + WPG_I2CSTAT_OFFSET; in i2c_ctrl_read()
195 wpg_data = readl(wpg_addr); in i2c_ctrl_read()
208 wpg_addr = WPGBbar + WPG_I2CMBUFL_OFFSET; in i2c_ctrl_read()
209 wpg_data = readl(wpg_addr); in i2c_ctrl_read()
229 void __iomem *wpg_addr; // base addr + offset in i2c_ctrl_write() local
266 wpg_addr = WPGBbar + WPG_I2CMOSUP_OFFSET; in i2c_ctrl_write()
267 writel(wpg_data, wpg_addr); in i2c_ctrl_write()
273 wpg_addr = WPGBbar + WPG_I2CMBUFL_OFFSET; in i2c_ctrl_write()
274 writel(wpg_data, wpg_addr); in i2c_ctrl_write()
281 wpg_addr = WPGBbar + WPG_I2CMCNTL_OFFSET + WPG_I2C_OR; in i2c_ctrl_write()
282 writel(wpg_data, wpg_addr); in i2c_ctrl_write()
289 wpg_addr = WPGBbar + WPG_I2CMCNTL_OFFSET; in i2c_ctrl_write()
290 wpg_data = readl(wpg_addr); in i2c_ctrl_write()
306 wpg_addr = WPGBbar + WPG_I2CSTAT_OFFSET; in i2c_ctrl_write()
307 wpg_data = readl(wpg_addr); in i2c_ctrl_write()