Lines Matching refs:addr_width
55 uint8_t addr_width; member
241 const uint16_t addr_incr = *offset >> config->addr_width; in eeprom_at24_translate_offset()
242 *offset &= BIT_MASK(config->addr_width); in eeprom_at24_translate_offset()
251 const size_t remainder = BIT(config->addr_width) - offset; in eeprom_at24_adjust_read_count()
271 if (config->addr_width == 16) { in eeprom_at24_read()
287 addr, config->addr_width / 8, in eeprom_at24_read()
307 uint8_t block[config->addr_width / 8 + count]; in eeprom_at24_write()
320 if (config->addr_width == 16) { in eeprom_at24_write()
422 size_t cmd_len = 1 + config->addr_width / 8; in eeprom_at25_read()
459 switch (config->addr_width) { in eeprom_at25_read()
509 size_t cmd_len = 1 + config->addr_width / 8; in eeprom_at25_write()
528 switch (config->addr_width) { in eeprom_at25_write()
641 .addr_width = DT_PROP(INST_DT_AT2X(n, t), address_width), \