Searched refs:offset_len (Results 1 – 7 of 7) sorted by relevance
| /u-boot/drivers/misc/ |
| A D | i2c_eeprom.c | 170 .offset_len = 1, 177 .offset_len = 1, 184 .offset_len = 1, 191 .offset_len = 1, 198 .offset_len = 1, 205 .offset_len = 1, 212 .offset_len = 1, 219 .offset_len = 1, 227 .offset_len = 2, 234 .offset_len = 2, [all …]
|
| A D | i2c_eeprom_emul.c | 25 int offset_len; /* Length of an offset in bytes */ member 44 void sandbox_i2c_eeprom_set_offset_len(struct udevice *dev, int offset_len) in sandbox_i2c_eeprom_set_offset_len() argument 48 plat->offset_len = offset_len; in sandbox_i2c_eeprom_set_offset_len() 112 } else if (len >= plat->offset_len) { in sandbox_i2c_eeprom_xfer() 116 for (i = 0; i < plat->offset_len; i++, len--) in sandbox_i2c_eeprom_xfer() 164 plat->offset_len = 1; in sandbox_i2c_eeprom_of_to_plat()
|
| /u-boot/drivers/i2c/ |
| A D | i2c-uclass.c | 62 int offset_len = chip->offset_len; in i2c_setup_offset() local 66 msg->addr |= (offset >> (8 * offset_len)) & in i2c_setup_offset() 69 msg->len = chip->offset_len; in i2c_setup_offset() 71 if (!offset_len) in i2c_setup_offset() 73 assert(offset_len <= I2C_MAX_OFFSET_LEN); in i2c_setup_offset() 75 while (offset_len--) in i2c_setup_offset() 76 *offset_buf++ = offset >> (8 * offset_len); in i2c_setup_offset() 313 chip->offset_len = offset_len; in i2c_bind_driver() 474 if (offset_len > I2C_MAX_OFFSET_LEN) in i2c_set_chip_offset_len() 476 chip->offset_len = offset_len; in i2c_set_chip_offset_len() [all …]
|
| /u-boot/include/ |
| A D | i2c.h | 101 uint offset_len; member 320 int i2c_set_chip_offset_len(struct udevice *dev, uint offset_len); 521 int i2c_get_chip(struct udevice *bus, uint chip_addr, uint offset_len, 537 int i2c_get_chip_for_busnum(int busnum, int chip_addr, uint offset_len,
|
| /u-boot/arch/sandbox/include/asm/ |
| A D | test.h | 91 void sandbox_i2c_eeprom_set_offset_len(struct udevice *dev, int offset_len);
|
| /u-boot/board/CZ.NIC/turris_omnia/ |
| A D | turris_omnia.c | 129 uint offset_len) in omnia_get_i2c_chip() argument 141 ret = i2c_get_chip(bus, addr, offset_len, &dev); in omnia_get_i2c_chip()
|
| /u-boot/cmd/ |
| A D | i2c.c | 1666 chip->chip_addr, dev->name, chip->offset_len, in show_bus()
|
Completed in 21 milliseconds