Searched refs:offset_len (Results 1 – 7 of 7) sorted by relevance
| /openbmc/u-boot/drivers/misc/ |
| H A D | i2c_eeprom.c | 19 u32 offset_len; /* size in bytes of offset */ member 147 i2c_set_chip_offset_len(dev, data->offset_len); in i2c_eeprom_std_probe() 166 .offset_len = 1, 173 .offset_len = 1, 180 .offset_len = 1, 187 .offset_len = 1, 194 .offset_len = 1, 201 .offset_len = 1, 208 .offset_len = 1, 215 .offset_len = 1, [all …]
|
| H A D | i2c_eeprom_emul.c | 24 int offset_len; /* Length of an offset in bytes */ member 40 void sandbox_i2c_eeprom_set_offset_len(struct udevice *dev, int offset_len) in sandbox_i2c_eeprom_set_offset_len() argument 44 plat->offset_len = offset_len; in sandbox_i2c_eeprom_set_offset_len() 79 } else if (len >= plat->offset_len) { in sandbox_i2c_eeprom_xfer() 83 for (i = 0; i < plat->offset_len; i++, len--) in sandbox_i2c_eeprom_xfer() 122 plat->offset_len = 1; in sandbox_i2c_eeprom_ofdata_to_platdata()
|
| /openbmc/u-boot/drivers/i2c/ |
| H A D | i2c-uclass.c | 55 int offset_len = chip->offset_len; in i2c_setup_offset() local 59 msg->addr |= (offset >> (8 * offset_len)) & in i2c_setup_offset() 62 msg->len = chip->offset_len; in i2c_setup_offset() 64 if (!offset_len) in i2c_setup_offset() 66 assert(offset_len <= I2C_MAX_OFFSET_LEN); in i2c_setup_offset() 68 while (offset_len--) in i2c_setup_offset() 69 *offset_buf++ = offset >> (8 * offset_len); in i2c_setup_offset() 193 memcpy(buf + chip->offset_len, buffer, len); in dm_i2c_write() 205 memcpy(buf + chip->offset_len, buffer, len); in dm_i2c_write() 277 static int i2c_bind_driver(struct udevice *bus, uint chip_addr, uint offset_len, in i2c_bind_driver() argument [all …]
|
| H A D | i2c-uclass-compat.c | 23 if (chip->offset_len != alen) { in i2c_compat_get_device() 25 chip_addr, alen, chip->offset_len); in i2c_compat_get_device()
|
| /openbmc/u-boot/include/ |
| H A D | i2c.h | 65 uint offset_len; member 267 int i2c_set_chip_offset_len(struct udevice *dev, uint offset_len); 530 int i2c_get_chip(struct udevice *bus, uint chip_addr, uint offset_len, 546 int i2c_get_chip_for_busnum(int busnum, int chip_addr, uint offset_len,
|
| /openbmc/u-boot/arch/sandbox/include/asm/ |
| H A D | test.h | 60 void sandbox_i2c_eeprom_set_offset_len(struct udevice *dev, int offset_len);
|
| /openbmc/u-boot/cmd/ |
| H A D | i2c.c | 1702 chip->chip_addr, dev->name, chip->offset_len, in show_bus()
|