Lines Matching defs:adap
38 #define set_pcf(adap, ctl, val) adap->setpcf(adap->data, ctl, val) argument
39 #define get_pcf(adap, ctl) adap->getpcf(adap->data, ctl) argument
40 #define get_own(adap) adap->getown(adap->data) argument
41 #define get_clock(adap) adap->getclock(adap->data) argument
42 #define i2c_outb(adap, val) adap->setpcf(adap->data, 0, val) argument
43 #define i2c_inb(adap) adap->getpcf(adap->data, 0) argument
47 static void i2c_start(struct i2c_algo_pcf_data *adap) in i2c_start()
53 static void i2c_repstart(struct i2c_algo_pcf_data *adap) in i2c_repstart()
59 static void i2c_stop(struct i2c_algo_pcf_data *adap) in i2c_stop()
65 static void handle_lab(struct i2c_algo_pcf_data *adap, const int *status) in handle_lab()
95 static int wait_for_bb(struct i2c_algo_pcf_data *adap) in wait_for_bb()
116 static int wait_for_pin(struct i2c_algo_pcf_data *adap, int *status) in wait_for_pin()
149 static int pcf_init_8584 (struct i2c_algo_pcf_data *adap) in pcf_init_8584()
208 struct i2c_algo_pcf_data *adap = i2c_adap->algo_data; in pcf_sendbytes() local
242 struct i2c_algo_pcf_data *adap = i2c_adap->algo_data; in pcf_readbytes() local
282 static int pcf_doAddress(struct i2c_algo_pcf_data *adap, in pcf_doAddress()
298 struct i2c_algo_pcf_data *adap = i2c_adap->algo_data; in pcf_xfer() local
383 static u32 pcf_func(struct i2c_adapter *adap) in pcf_func()
398 int i2c_pcf_add_bus(struct i2c_adapter *adap) in i2c_pcf_add_bus()