Lines Matching refs:bus_id
24 static void __init omap1_i2c_mux_pins(int bus_id) in omap1_i2c_mux_pins() argument
36 int bus_id) in omap_i2c_add_bus() argument
41 if (bus_id > 1) in omap_i2c_add_bus()
44 omap1_i2c_mux_pins(bus_id); in omap_i2c_add_bus()
46 pdev = &omap_i2c_devices[bus_id - 1]; in omap_i2c_add_bus()
47 pdev->id = bus_id; in omap_i2c_add_bus()
139 int __init omap_register_i2c_bus(int bus_id, u32 clkrate, in omap_register_i2c_bus() argument
145 BUG_ON(bus_id < 1 || bus_id > OMAP_I2C_MAX_CONTROLLERS); in omap_register_i2c_bus()
148 err = i2c_register_board_info(bus_id, info, len); in omap_register_i2c_bus()
153 if (!i2c_pdata[bus_id - 1].clkrate) in omap_register_i2c_bus()
154 i2c_pdata[bus_id - 1].clkrate = clkrate; in omap_register_i2c_bus()
156 i2c_pdata[bus_id - 1].clkrate &= ~OMAP_I2C_CMDLINE_SETUP; in omap_register_i2c_bus()
158 return omap_i2c_add_bus(&i2c_pdata[bus_id - 1], bus_id); in omap_register_i2c_bus()