Lines Matching defs:adap
26 static struct mxs_i2c_regs *mxs_i2c_get_base(struct i2c_adapter *adap) in mxs_i2c_get_base()
34 static unsigned int mxs_i2c_get_bus_speed(struct i2c_adapter *adap) in mxs_i2c_get_bus_speed()
48 static uint mxs_i2c_set_bus_speed(struct i2c_adapter *adap, uint speed) in mxs_i2c_set_bus_speed()
89 static void mxs_i2c_reset(struct i2c_adapter *adap) in mxs_i2c_reset()
111 static void mxs_i2c_setup_read(struct i2c_adapter *adap, uint8_t chip, int len) in mxs_i2c_setup_read()
129 static int mxs_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr, in mxs_i2c_write()
187 static int mxs_i2c_wait_for_ack(struct i2c_adapter *adap) in mxs_i2c_wait_for_ack()
225 static int mxs_i2c_if_read(struct i2c_adapter *adap, uint8_t chip, in mxs_i2c_if_read()
276 static int mxs_i2c_if_write(struct i2c_adapter *adap, uint8_t chip, in mxs_i2c_if_write()
294 static int mxs_i2c_probe(struct i2c_adapter *adap, uint8_t chip) in mxs_i2c_probe()
304 static void mxs_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in mxs_i2c_init()