Lines Matching refs:DEVOFFSET
80 #define DEVOFFSET(i) envdevices[(i)].devoff macro
857 return DEVOFFSET(dev) + ENVSECTORS(dev) * DEVESIZE(dev); in environment_end()
1000 blockstart = DEVOFFSET(dev); in flash_write_buf()
1006 erase_offset = DEVOFFSET(dev); in flash_write_buf()
1014 block_seek = DEVOFFSET(dev) - erase_offset; in flash_write_buf()
1147 erase.start = DEVOFFSET(dev); in flash_flag_obsolete()
1186 DEVOFFSET(dev_target), DEVNAME(dev_target)); in flash_write()
1202 off_t offset = DEVOFFSET(dev_current) + in flash_write()
1207 DEVOFFSET(dev_current), DEVNAME(dev_current)); in flash_write()
1226 DEVOFFSET(dev_current)); in flash_read()
1664 if (DEVOFFSET(dev) < 0) { in check_device_config()
1673 DEVOFFSET(dev) = DEVOFFSET(dev) + size; in check_device_config()
1677 DEVOFFSET(dev), DEVNAME(dev)); in check_device_config()
1686 if (DEVOFFSET(dev) % DEVESIZE(dev) != 0) { in check_device_config()
1721 DEVOFFSET(0) = DEVICE1_OFFSET; in parse_config()
1736 DEVOFFSET(1) = DEVICE2_OFFSET; in parse_config()
1795 &DEVOFFSET(i), in get_config()