Lines Matching defs:adap
111 #define pch_dbg(adap, fmt, arg...) \ argument
114 #define pch_err(adap, fmt, arg...) \ argument
207 static void pch_i2c_init(struct i2c_algo_pch_data *adap) in pch_i2c_init()
258 static s32 pch_i2c_wait_for_bus_idle(struct i2c_algo_pch_data *adap, in pch_i2c_wait_for_bus_idle()
294 static void pch_i2c_start(struct i2c_algo_pch_data *adap) in pch_i2c_start()
305 static void pch_i2c_stop(struct i2c_algo_pch_data *adap) in pch_i2c_stop()
313 static int pch_i2c_wait_for_check_xfer(struct i2c_algo_pch_data *adap) in pch_i2c_wait_for_check_xfer()
351 static void pch_i2c_repstart(struct i2c_algo_pch_data *adap) in pch_i2c_repstart()
371 struct i2c_algo_pch_data *adap = i2c_adap->algo_data; in pch_i2c_writebytes() local
447 static void pch_i2c_sendack(struct i2c_algo_pch_data *adap) in pch_i2c_sendack()
458 static void pch_i2c_sendnack(struct i2c_algo_pch_data *adap) in pch_i2c_sendnack()
471 static void pch_i2c_restart(struct i2c_algo_pch_data *adap) in pch_i2c_restart()
488 struct i2c_algo_pch_data *adap = i2c_adap->algo_data; in pch_i2c_readbytes() local
594 static void pch_i2c_cb(struct i2c_algo_pch_data *adap) in pch_i2c_cb()
662 struct i2c_algo_pch_data *adap = i2c_adap->algo_data; in pch_i2c_xfer() local
705 static u32 pch_i2c_func(struct i2c_adapter *adap) in pch_i2c_func()
719 static void pch_i2c_disbl_int(struct i2c_algo_pch_data *adap) in pch_i2c_disbl_int()