Lines Matching refs:env_ledinfo
1926 #define env_ledinfo env_buf.u_env_ledinfo
2545 if (ddi_copyin((caddr_t)arg, (caddr_t)&env_ledinfo,
2556 env_ledinfo.next_id.name[0] = '\0';
2558 } else if (env_ledinfo.id.name[0] == '\0') {
2561 env_ledinfo.next_id.name[0] = '\0';
2563 env_ledinfo.next_id =
2568 env_ledinfo.id.name[ENVMON_MAXNAMELEN - 1] = '\0';
2569 if (get_sensor_by_name(section, env_ledinfo.id.name,
2571 env_ledinfo.next_id.name[0] = '\0';
2574 env_ledinfo.next_id =
2577 env_ledinfo.next_id.name[0] = '\0';
2598 if ((env_ledinfo.sensor_status = sensor_status) ==
2604 env_ledinfo.sensor_status = ENVMON_SENSOR_OK;
2605 env_ledinfo.led_state = ENVMON_LED_OFF;
2606 env_ledinfo.led_color = ENVMON_LED_CLR_NONE;
2610 env_ledinfo.sensor_status = ENVMON_INACCESSIBLE;
2614 env_ledinfo.led_color = (int8_t)ledState.colour;
2620 env_ledinfo.led_state = ENVMON_LED_ON;
2623 env_ledinfo.led_state =
2627 env_ledinfo.led_state =
2642 env_ledinfo.sensor_status = ENVMON_INACCESSIBLE;
2643 env_ledinfo.led_state = ENVMON_INACCESSIBLE;
2646 if (ddi_copyout((caddr_t)&env_ledinfo, (caddr_t)arg,