Lines Matching refs:current_mode
904 unitp->current_mode = ENVCTRL_NORMAL_MODE;
971 if (unitp->current_mode == ENVCTRL_DIAG_MODE) {
992 if (unitp->current_mode == ENVCTRL_DIAG_MODE &&
1002 if (unitp->current_mode == ENVCTRL_DIAG_MODE &&
1016 if (unitp->current_mode == ENVCTRL_DIAG_MODE &&
1112 if (unitp->current_mode == ENVCTRL_NORMAL_MODE) {
1218 *tempr = unitp->current_mode;
1229 unitp->current_mode = *wdval;
1256 unitp->current_mode =
1259 unitp->current_mode =
1516 unitp->current_mode = ENVCTRL_NORMAL_MODE;
1916 if (unitp->current_mode == ENVCTRL_DIAG_MODE) {
1923 unitp->current_mode = ENVCTRL_NORMAL_MODE;
1997 if (unitp->current_mode == ENVCTRL_DIAG_MODE) {
1998 unitp->current_mode = ENVCTRL_NORMAL_MODE;
2000 unitp->current_mode = ENVCTRL_DIAG_MODE;
2020 if (unitp->current_mode == ENVCTRL_DIAG_MODE && diag_tempr != NULL) {
2050 unitp->current_mode == ENVCTRL_NORMAL_MODE) {
2053 if (unitp->current_mode == ENVCTRL_NORMAL_MODE) {
2102 if (unitp->current_mode == ENVCTRL_DIAG_MODE && diag_tempr != NULL) {
2114 if (unitp->current_mode == ENVCTRL_NORMAL_MODE) {
2267 unitp->current_mode == ENVCTRL_NORMAL_MODE) {
2292 unitp->current_mode == ENVCTRL_NORMAL_MODE) {
2315 if (unitp->current_mode == ENVCTRL_NORMAL_MODE) {
2345 unitp->current_mode == ENVCTRL_NORMAL_MODE) {
2392 if (unitp->current_mode == ENVCTRL_DIAG_MODE) {
2562 if (unitp->current_mode == ENVCTRL_DIAG_MODE) {
2595 if (unitp->current_mode == ENVCTRL_DIAG_MODE) {
2798 if (unitp->current_mode == ENVCTRL_NORMAL_MODE) {