Lines Matching refs:i2c_pdata
82 static struct omap_i2c_bus_platform_data i2c_pdata[OMAP_I2C_MAX_CONTROLLERS]; variable
105 i2c_pdata[ints[1] - 1].clkrate = ints[2]; in omap_i2c_bus_setup()
106 i2c_pdata[ints[1] - 1].clkrate |= OMAP_I2C_CMDLINE_SETUP; in omap_i2c_bus_setup()
120 for (i = 0; i < ARRAY_SIZE(i2c_pdata); i++) in omap_register_i2c_bus_cmdline()
121 if (i2c_pdata[i].clkrate & OMAP_I2C_CMDLINE_SETUP) { in omap_register_i2c_bus_cmdline()
122 i2c_pdata[i].clkrate &= ~OMAP_I2C_CMDLINE_SETUP; in omap_register_i2c_bus_cmdline()
123 err = omap_i2c_add_bus(&i2c_pdata[i], i + 1); in omap_register_i2c_bus_cmdline()
155 if (!i2c_pdata[bus_id - 1].clkrate) in omap_register_i2c_bus()
156 i2c_pdata[bus_id - 1].clkrate = clkrate; in omap_register_i2c_bus()
158 i2c_pdata[bus_id - 1].clkrate &= ~OMAP_I2C_CMDLINE_SETUP; in omap_register_i2c_bus()
160 return omap_i2c_add_bus(&i2c_pdata[bus_id - 1], bus_id); in omap_register_i2c_bus()