Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/platform/x86/
Dintel_scu_ipc.c73 void __iomem *i2c_base; member
485 writel(addr, ipcdev.i2c_base + IPC_I2C_CNTRL_ADDR); in intel_scu_ipc_i2c_cntrl()
488 *data = readl(ipcdev.i2c_base + I2C_DATA_ADDR); in intel_scu_ipc_i2c_cntrl()
490 writel(*data, ipcdev.i2c_base + I2C_DATA_ADDR); in intel_scu_ipc_i2c_cntrl()
492 writel(addr, ipcdev.i2c_base + IPC_I2C_CNTRL_ADDR); in intel_scu_ipc_i2c_cntrl()
696 ipcdev.i2c_base = ioremap_nocache(IPC_I2C_BASE, IPC_I2C_MAX_ADDR); in ipc_probe()
697 if (!ipcdev.i2c_base) { in ipc_probe()
723 iounmap(ipcdev.i2c_base); in ipc_remove()
/linux-2.6.39/drivers/i2c/busses/
Di2c-cpm.c434 void __iomem *i2c_base; in cpm_i2c_setup() local
454 i2c_base = of_iomap(ofdev->dev.of_node, 1); in cpm_i2c_setup()
455 if (i2c_base == NULL) { in cpm_i2c_setup()
463 cpm->i2c_ram = i2c_base; in cpm_i2c_setup()
472 iounmap(i2c_base); in cpm_i2c_setup()
480 out_be16(i2c_base, cpm->i2c_addr); in cpm_i2c_setup()
481 iounmap(i2c_base); in cpm_i2c_setup()
486 iounmap(i2c_base); in cpm_i2c_setup()