Lines Matching refs:DEVOFFSET
78 #define DEVOFFSET(i) envdevices[(i)].devoff macro
853 return DEVOFFSET(dev) + ENVSECTORS(dev) * DEVESIZE(dev); in environment_end()
996 blockstart = DEVOFFSET(dev); in flash_write_buf()
1002 erase_offset = DEVOFFSET(dev); in flash_write_buf()
1010 block_seek = DEVOFFSET(dev) - erase_offset; in flash_write_buf()
1142 erase.start = DEVOFFSET(dev); in flash_flag_obsolete()
1181 DEVOFFSET(dev_target), DEVNAME(dev_target)); in flash_write()
1197 off_t offset = DEVOFFSET(dev_current) + in flash_write()
1202 DEVOFFSET(dev_current), DEVNAME(dev_current)); in flash_write()
1221 DEVOFFSET(dev_current)); in flash_read()
1647 if (DEVOFFSET(dev) < 0) { in check_device_config()
1656 DEVOFFSET(dev) = DEVOFFSET(dev) + size; in check_device_config()
1660 DEVOFFSET(dev), DEVNAME(dev)); in check_device_config()
1669 if (DEVOFFSET(dev) % DEVESIZE(dev) != 0) { in check_device_config()
1704 DEVOFFSET(0) = DEVICE1_OFFSET; in parse_config()
1719 DEVOFFSET(1) = DEVICE2_OFFSET; in parse_config()
1778 &DEVOFFSET(i), in get_config()