Lines Matching defs:adap
87 #define get_clock(adap) adap->getclock(adap->data) argument
88 #define iic_outw(adap, reg, val) adap->setiic(adap->data, reg, val) argument
89 #define iic_inw(adap, reg) adap->getiic(adap->data, reg) argument
94 static void iic_start(struct i2c_algo_iic_data *adap) in iic_start()
99 static void iic_stop(struct i2c_algo_iic_data *adap) in iic_stop()
105 static void iic_reset(struct i2c_algo_iic_data *adap) in iic_reset()
111 static int wait_for_bb(struct i2c_algo_iic_data *adap) in wait_for_bb()
142 static int wait_for_pin(struct i2c_algo_iic_data *adap, short *status) { in wait_for_pin()
166 static int wait_for_fe(struct i2c_algo_iic_data *adap, short *status) in wait_for_fe()
183 static int iic_init (struct i2c_algo_iic_data *adap) in iic_init()
223 static int test_bus(struct i2c_algo_iic_data *adap, char *name) { in test_bus()
305 static inline int try_address(struct i2c_algo_iic_data *adap, in try_address()
334 struct i2c_algo_iic_data *adap = i2c_adap->algo_data; in iic_sendbytes() local
419 struct i2c_algo_iic_data *adap = i2c_adap->algo_data; in iic_readbytes() local
565 static inline int iic_doAddress(struct i2c_algo_iic_data *adap, in iic_doAddress()
634 struct i2c_algo_iic_data *adap = i2c_adap->algo_data; in iic_xfer() local
704 struct i2c_algo_iic_data *adap = adapter->algo_data; in algo_control() local
735 static u32 iic_func(struct i2c_adapter *adap) in iic_func()
758 int i2c_iic_add_bus(struct i2c_adapter *adap) in i2c_iic_add_bus()
811 int i2c_iic_del_bus(struct i2c_adapter *adap) in i2c_iic_del_bus()