Lines Matching refs:DEVESIZE
80 #define DEVESIZE(i) envdevices[(i)].erase_size macro
853 return DEVOFFSET(dev) + ENVSECTORS(dev) * DEVESIZE(dev); in environment_end()
902 blockstart = (offset / DEVESIZE(dev)) * DEVESIZE(dev); in flash_read_buf()
912 blocklen = DEVESIZE(dev); in flash_read_buf()
1000 blocklen = DEVESIZE(dev); in flash_write_buf()
1143 erase.length = DEVESIZE(dev); in flash_flag_obsolete()
1633 if (DEVESIZE(dev) == 0) in check_device_config()
1635 DEVESIZE(dev) = ENVSIZE(dev); in check_device_config()
1639 if (DEVESIZE(dev) == 0) in check_device_config()
1641 DEVESIZE(dev) = 0x200; in check_device_config()
1667 ENVSECTORS(dev) = DIV_ROUND_UP(ENVSIZE(dev), DEVESIZE(dev)); in check_device_config()
1669 if (DEVOFFSET(dev) % DEVESIZE(dev) != 0) { in check_device_config()
1676 if (ENVSIZE(dev) > ENVSECTORS(dev) * DEVESIZE(dev)) { in check_device_config()
1711 DEVESIZE(0) = DEVICE1_ESIZE; in parse_config()
1726 DEVESIZE(1) = DEVICE2_ESIZE; in parse_config()
1779 &ENVSIZE(i), &DEVESIZE(i), &ENVSECTORS(i)); in get_config()