Lines Matching refs:adap
228 static void lpc32xx_i2c_init(struct i2c_adapter *adap, in lpc32xx_i2c_init() argument
231 __i2c_init(lpc32xx_i2c[adap->hwadapnr], requested_speed, slaveadd, in lpc32xx_i2c_init()
232 adap->hwadapnr); in lpc32xx_i2c_init()
235 static int lpc32xx_i2c_probe_chip(struct i2c_adapter *adap, u8 dev) in lpc32xx_i2c_probe_chip() argument
237 return __i2c_probe_chip(lpc32xx_i2c[adap->hwadapnr], dev); in lpc32xx_i2c_probe_chip()
240 static int lpc32xx_i2c_read(struct i2c_adapter *adap, u8 dev, uint addr, in lpc32xx_i2c_read() argument
243 return __i2c_read(lpc32xx_i2c[adap->hwadapnr], dev, addr, in lpc32xx_i2c_read()
247 static int lpc32xx_i2c_write(struct i2c_adapter *adap, u8 dev, uint addr, in lpc32xx_i2c_write() argument
250 return __i2c_write(lpc32xx_i2c[adap->hwadapnr], dev, addr, in lpc32xx_i2c_write()
254 static unsigned int lpc32xx_i2c_set_bus_speed(struct i2c_adapter *adap, in lpc32xx_i2c_set_bus_speed() argument
257 return __i2c_set_bus_speed(lpc32xx_i2c[adap->hwadapnr], speed, in lpc32xx_i2c_set_bus_speed()
258 adap->hwadapnr); in lpc32xx_i2c_set_bus_speed()