Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/platform/x86/
Dintel_scu_ipc.c68 u32 i2c_base; member
74 .i2c_base = 0xff12b000,
81 .i2c_base = 0xff12b000,
87 .i2c_base = 0xff00d000,
95 void __iomem *i2c_base; member
583 writel(addr, scu->i2c_base + IPC_I2C_CNTRL_ADDR); in intel_scu_ipc_i2c_cntrl()
586 *data = readl(scu->i2c_base + I2C_DATA_ADDR); in intel_scu_ipc_i2c_cntrl()
588 writel(*data, scu->i2c_base + I2C_DATA_ADDR); in intel_scu_ipc_i2c_cntrl()
590 writel(addr, scu->i2c_base + IPC_I2C_CNTRL_ADDR); in intel_scu_ipc_i2c_cntrl()
655 scu->i2c_base = ioremap_nocache(pdata->i2c_base, pdata->i2c_len); in ipc_probe()
[all …]
/Linux-v5.4/drivers/i2c/busses/
Di2c-cpm.c425 void __iomem *i2c_base; in cpm_i2c_setup() local
445 i2c_base = of_iomap(ofdev->dev.of_node, 1); in cpm_i2c_setup()
446 if (i2c_base == NULL) { in cpm_i2c_setup()
454 cpm->i2c_ram = i2c_base; in cpm_i2c_setup()
463 iounmap(i2c_base); in cpm_i2c_setup()
471 out_be16(i2c_base, cpm->i2c_addr); in cpm_i2c_setup()
472 iounmap(i2c_base); in cpm_i2c_setup()
477 iounmap(i2c_base); in cpm_i2c_setup()
/Linux-v5.4/drivers/clk/tegra/
Dclk-dfll.c265 void __iomem *i2c_base; member
350 return __raw_readl(td->i2c_base + offs); in dfll_i2c_readl()
355 __raw_writel(val, td->i2c_base + offs); in dfll_i2c_writel()
1950 td->i2c_base = devm_ioremap(td->dev, mem->start, resource_size(mem)); in tegra_dfll_register()
1951 if (!td->i2c_base) { in tegra_dfll_register()