Searched refs:flag1 (Results 1 – 3 of 3) sorted by relevance
77 uchar flag1 = flash_addr->flags; in env_flash_init() local97 } else if (flag1 == ENV_REDUND_ACTIVE && in env_flash_init()101 } else if (flag1 == ENV_REDUND_OBSOLETE && in env_flash_init()105 } else if (flag1 == flag2) { in env_flash_init()108 } else if (flag1 == 0xFF) { in env_flash_init()
34 char flag1[2], flag2[2]; in h_compare_opt() local38 flag1[1] = '\0'; in h_compare_opt()41 *flag1 = opt1->flag_short < 0x100 ? opt1->flag_short : '\0'; in h_compare_opt()44 str1 = *flag1 ? flag1 : opt1->flag; in h_compare_opt()
1416 unsigned char flag1; in fw_env_open() local1521 flag1 = redundant->flags; in fw_env_open()1548 flag1 == ENV_REDUND_OBSOLETE) { in fw_env_open()1551 flag1 == ENV_REDUND_ACTIVE) { in fw_env_open()1553 } else if (flag0 == flag1) { in fw_env_open()1557 } else if (flag1 == 0xFF) { in fw_env_open()1564 if (flag0 == 255 && flag1 == 0) in fw_env_open()1566 else if ((flag1 == 255 && flag0 == 0) || in fw_env_open()1567 flag0 >= flag1) in fw_env_open()
Completed in 7 milliseconds