Lines Matching refs:warning_level
1584 enum levels warning_level, level; in envctrl_check_sys_temperatures() local
1597 warning_level = envctrl_check_tempr_levels(unitp, EHC_DEV2, in envctrl_check_sys_temperatures()
1599 level = warning_level; in envctrl_check_sys_temperatures()
1601 if (warning_level != green) { in envctrl_check_sys_temperatures()
1607 if (warning_level == yellow) in envctrl_check_sys_temperatures()
1609 else if (warning_level == red) { in envctrl_check_sys_temperatures()
1626 warning_level = envctrl_check_tempr_levels(unitp, EHC_DEV7, in envctrl_check_sys_temperatures()
1629 if (warning_level != green) { in envctrl_check_sys_temperatures()
1635 if ((warning_level == yellow) && (unitp->shutdown == B_FALSE)) in envctrl_check_sys_temperatures()
1637 else if (warning_level == red) { in envctrl_check_sys_temperatures()
1699 enum levels warning_level = green; in envctrl_check_tempr_levels() local
1784 if (warning_level < yellow) in envctrl_check_tempr_levels()
1785 warning_level = yellow; in envctrl_check_tempr_levels()
1794 if (warning_level < red) in envctrl_check_tempr_levels()
1795 warning_level = red; in envctrl_check_tempr_levels()
1808 return (warning_level); in envctrl_check_tempr_levels()