Lines Matching defs:addr
221 INFO("%s: ERROR - status %x addr in %s mode.\n", __func__,
390 static int mentor_i2c_target_offset_set(uint8_t chip, uint32_t addr, int alen)
396 off_block[0] = (addr >> 8) & 0xff;
397 off_block[1] = addr & 0xff;
400 off_block[0] = addr & 0xff;
481 * @addr: i2c data address within the chip
487 int i2c_read(uint8_t chip, uint32_t addr, int alen, uint8_t *buffer, int len)
521 ret = mentor_i2c_target_offset_set(chip, addr, alen);
560 * @addr: i2c data address within the chip
566 int i2c_write(uint8_t chip, uint32_t addr, int alen, uint8_t *buffer, int len)
594 ret = mentor_i2c_target_offset_set(chip, addr, alen);