Home
last modified time | relevance | path

Searched refs:offset_len (Results 1 – 7 of 7) sorted by relevance

/u-boot/drivers/misc/
A Di2c_eeprom.c167 .offset_len = 1,
174 .offset_len = 1,
181 .offset_len = 1,
188 .offset_len = 1,
195 .offset_len = 1,
202 .offset_len = 1,
209 .offset_len = 1,
216 .offset_len = 1,
223 .offset_len = 1,
231 .offset_len = 2,
[all …]
A Di2c_eeprom_emul.c25 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 Di2c-uclass.c60 int offset_len = chip->offset_len; in i2c_setup_offset() local
64 msg->addr |= (offset >> (8 * offset_len)) & in i2c_setup_offset()
67 msg->len = chip->offset_len; in i2c_setup_offset()
69 if (!offset_len) in i2c_setup_offset()
71 assert(offset_len <= I2C_MAX_OFFSET_LEN); in i2c_setup_offset()
73 while (offset_len--) in i2c_setup_offset()
74 *offset_buf++ = offset >> (8 * offset_len); in i2c_setup_offset()
302 chip->offset_len = offset_len; in i2c_bind_driver()
463 if (offset_len > I2C_MAX_OFFSET_LEN) in i2c_set_chip_offset_len()
465 chip->offset_len = offset_len; in i2c_set_chip_offset_len()
[all …]
/u-boot/include/
A Di2c.h99 uint offset_len; member
303 int i2c_set_chip_offset_len(struct udevice *dev, uint offset_len);
504 int i2c_get_chip(struct udevice *bus, uint chip_addr, uint offset_len,
520 int i2c_get_chip_for_busnum(int busnum, int chip_addr, uint offset_len,
/u-boot/arch/sandbox/include/asm/
A Dtest.h86 void sandbox_i2c_eeprom_set_offset_len(struct udevice *dev, int offset_len);
/u-boot/board/CZ.NIC/turris_omnia/
A Dturris_omnia.c95 uint offset_len) in omnia_get_i2c_chip() argument
107 ret = i2c_get_chip(bus, addr, offset_len, &dev); in omnia_get_i2c_chip()
/u-boot/cmd/
A Di2c.c1713 chip->chip_addr, dev->name, chip->offset_len, in show_bus()

Completed in 13 milliseconds