Lines Matching refs:adap
69 static struct zynq_i2c_registers *i2c_select(struct i2c_adapter *adap) in i2c_select() argument
71 return adap->hwadapnr ? in i2c_select()
79 static void zynq_i2c_init(struct i2c_adapter *adap, int requested_speed, in zynq_i2c_init() argument
82 struct zynq_i2c_registers *zynq_i2c = i2c_select(adap); in zynq_i2c_init()
159 static int zynq_i2c_probe(struct i2c_adapter *adap, u8 dev) in zynq_i2c_probe() argument
161 struct zynq_i2c_registers *zynq_i2c = i2c_select(adap); in zynq_i2c_probe()
180 static int zynq_i2c_read(struct i2c_adapter *adap, u8 dev, uint addr, in zynq_i2c_read() argument
186 struct zynq_i2c_registers *zynq_i2c = i2c_select(adap); in zynq_i2c_read()
249 static int zynq_i2c_write(struct i2c_adapter *adap, u8 dev, uint addr, in zynq_i2c_write() argument
253 struct zynq_i2c_registers *zynq_i2c = i2c_select(adap); in zynq_i2c_write()
293 static unsigned int zynq_i2c_set_bus_speed(struct i2c_adapter *adap, in zynq_i2c_set_bus_speed() argument