Lines Matching refs:i2c_adap
308 iop3xx_i2c_writebytes(struct i2c_adapter *i2c_adap, const char *buf, int count) in iop3xx_i2c_writebytes() argument
310 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_writebytes()
320 iop3xx_i2c_readbytes(struct i2c_adapter *i2c_adap, char *buf, int count) in iop3xx_i2c_readbytes() argument
322 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_readbytes()
340 iop3xx_i2c_handle_msg(struct i2c_adapter *i2c_adap, struct i2c_msg* pmsg) in iop3xx_i2c_handle_msg() argument
342 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_handle_msg()
351 return iop3xx_i2c_readbytes(i2c_adap, pmsg->buf, pmsg->len); in iop3xx_i2c_handle_msg()
353 return iop3xx_i2c_writebytes(i2c_adap, pmsg->buf, pmsg->len); in iop3xx_i2c_handle_msg()
361 iop3xx_i2c_master_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, in iop3xx_i2c_master_xfer() argument
364 struct i2c_algo_iop3xx_data *iop3xx_adap = i2c_adap->algo_data; in iop3xx_i2c_master_xfer()
374 ret = iop3xx_i2c_handle_msg(i2c_adap, &msgs[im]); in iop3xx_i2c_master_xfer()