Lines Matching refs:i2c_pdata
37 static struct omap_i2c_bus_platform_data i2c_pdata[OMAP_I2C_MAX_CONTROLLERS]; variable
60 i2c_pdata[ints[1] - 1].clkrate = ints[2]; in omap_i2c_bus_setup()
61 i2c_pdata[ints[1] - 1].clkrate |= OMAP_I2C_CMDLINE_SETUP; in omap_i2c_bus_setup()
75 for (i = 0; i < ARRAY_SIZE(i2c_pdata); i++) in omap_register_i2c_bus_cmdline()
76 if (i2c_pdata[i].clkrate & OMAP_I2C_CMDLINE_SETUP) { in omap_register_i2c_bus_cmdline()
77 i2c_pdata[i].clkrate &= ~OMAP_I2C_CMDLINE_SETUP; in omap_register_i2c_bus_cmdline()
78 err = omap_i2c_add_bus(&i2c_pdata[i], i + 1); in omap_register_i2c_bus_cmdline()
110 if (!i2c_pdata[bus_id - 1].clkrate) in omap_register_i2c_bus()
111 i2c_pdata[bus_id - 1].clkrate = clkrate; in omap_register_i2c_bus()
113 i2c_pdata[bus_id - 1].clkrate &= ~OMAP_I2C_CMDLINE_SETUP; in omap_register_i2c_bus()
115 return omap_i2c_add_bus(&i2c_pdata[bus_id - 1], bus_id); in omap_register_i2c_bus()