Lines Matching refs:wpg_addr
154 void *wpg_addr; // base addr + offset in i2c_ctrl_read() local
187 wpg_addr = WPGBbar + WPG_I2CMOSUP_OFFSET; in i2c_ctrl_read()
188 writel (wpg_data, wpg_addr); in i2c_ctrl_read()
194 wpg_addr = WPGBbar + WPG_I2CMBUFL_OFFSET; in i2c_ctrl_read()
195 writel (wpg_data, wpg_addr); in i2c_ctrl_read()
202 wpg_addr = WPGBbar + WPG_I2CMCNTL_OFFSET + WPG_I2C_OR; in i2c_ctrl_read()
203 writel (wpg_data, wpg_addr); in i2c_ctrl_read()
210 wpg_addr = WPGBbar + WPG_I2CMCNTL_OFFSET; in i2c_ctrl_read()
211 wpg_data = readl (wpg_addr); in i2c_ctrl_read()
226 wpg_addr = WPGBbar + WPG_I2CSTAT_OFFSET; in i2c_ctrl_read()
227 wpg_data = readl (wpg_addr); in i2c_ctrl_read()
240 wpg_addr = WPGBbar + WPG_I2CMBUFL_OFFSET; in i2c_ctrl_read()
241 wpg_data = readl (wpg_addr); in i2c_ctrl_read()
261 void *wpg_addr; // base addr + offset in i2c_ctrl_write() local
298 wpg_addr = WPGBbar + WPG_I2CMOSUP_OFFSET; in i2c_ctrl_write()
299 writel (wpg_data, wpg_addr); in i2c_ctrl_write()
305 wpg_addr = WPGBbar + WPG_I2CMBUFL_OFFSET; in i2c_ctrl_write()
306 writel (wpg_data, wpg_addr); in i2c_ctrl_write()
313 wpg_addr = WPGBbar + WPG_I2CMCNTL_OFFSET + WPG_I2C_OR; in i2c_ctrl_write()
314 writel (wpg_data, wpg_addr); in i2c_ctrl_write()
321 wpg_addr = WPGBbar + WPG_I2CMCNTL_OFFSET; in i2c_ctrl_write()
322 wpg_data = readl (wpg_addr); in i2c_ctrl_write()
338 wpg_addr = WPGBbar + WPG_I2CSTAT_OFFSET; in i2c_ctrl_write()
339 wpg_data = readl (wpg_addr); in i2c_ctrl_write()