Lines Matching refs:alen
237 static int ihs_i2c_address(struct udevice *dev, uchar chip, u8 *addr, int alen, in ihs_i2c_address() argument
240 static int ihs_i2c_address(uchar chip, u8 *addr, int alen, bool hold_bus) in ihs_i2c_address()
244 return ihs_i2c_send_buffer(dev, chip, addr, alen, hold_bus, I2COP_WRITE); in ihs_i2c_address()
246 return ihs_i2c_send_buffer(chip, addr, alen, hold_bus, I2COP_WRITE); in ihs_i2c_address()
252 int alen, uchar *buffer, int len, int read) in ihs_i2c_access() argument
255 int alen, uchar *buffer, int len, int read) in ihs_i2c_access()
265 res = ihs_i2c_address(dev, chip, addr, alen, len); in ihs_i2c_access()
267 res = ihs_i2c_address(chip, addr, alen, len); in ihs_i2c_access()
389 int alen, uchar *buffer, int len) in ihs_i2c_read() argument
395 return ihs_i2c_access(adap, chip, addr_bytes, alen, buffer, len, in ihs_i2c_read()
400 int alen, uchar *buffer, int len) in ihs_i2c_write() argument
406 return ihs_i2c_access(adap, chip, addr_bytes, alen, buffer, len, in ihs_i2c_write()