Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm/mach-omap1/
H A Di2c.c74 static struct omap_i2c_bus_platform_data i2c_pdata[OMAP_I2C_MAX_CONTROLLERS]; variable
97 i2c_pdata[ints[1] - 1].clkrate = ints[2]; in omap_i2c_bus_setup()
98 i2c_pdata[ints[1] - 1].clkrate |= OMAP_I2C_CMDLINE_SETUP; in omap_i2c_bus_setup()
112 for (i = 0; i < ARRAY_SIZE(i2c_pdata); i++) in omap_register_i2c_bus_cmdline()
113 if (i2c_pdata[i].clkrate & OMAP_I2C_CMDLINE_SETUP) { in omap_register_i2c_bus_cmdline()
114 i2c_pdata[i].clkrate &= ~OMAP_I2C_CMDLINE_SETUP; in omap_register_i2c_bus_cmdline()
115 err = omap_i2c_add_bus(&i2c_pdata[i], i + 1); in omap_register_i2c_bus_cmdline()
147 if (!i2c_pdata[bus_id - 1].clkrate) in omap_register_i2c_bus()
148 i2c_pdata[bus_id - 1].clkrate = clkrate; in omap_register_i2c_bus()
150 i2c_pdata[bus_id - 1].clkrate &= ~OMAP_I2C_CMDLINE_SETUP; in omap_register_i2c_bus()
[all …]
H A Di2c.h14 int omap_i2c_add_bus(struct omap_i2c_bus_platform_data *i2c_pdata,