Home
last modified time | relevance | path

Searched refs:alarm_state (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libtsalarm/common/
H A Dtsalarm.c47 tsalarm_get(uint32_t alarm_type, uint32_t *alarm_state) in tsalarm_get() argument
117 if (resp_ptr->alarm_state == TSALARM_STATE_UNKNOWN) { in tsalarm_get()
122 *alarm_state = resp_ptr->alarm_state; in tsalarm_get()
139 tsalarm_set(uint32_t alarm_type, uint32_t alarm_state) in tsalarm_set() argument
168 if (alarm_state == TSALARM_STATE_ON) in tsalarm_set()
170 else if (alarm_state == TSALARM_STATE_OFF) in tsalarm_set()
216 (resp_ptr->alarm_state != TSALARM_STATE_OFF)) { in tsalarm_set()
220 (resp_ptr->alarm_state != TSALARM_STATE_ON)) { in tsalarm_set()
223 } else if (resp_ptr->alarm_state == TSALARM_STATE_UNKNOWN) { in tsalarm_set()
H A Dtsalarm.h76 uint32_t alarm_state; member
79 int tsalarm_get(uint32_t alarm_type, uint32_t *alarm_state);
80 int tsalarm_set(uint32_t alarm_type, uint32_t alarm_state);
/illumos-gate/usr/src/uts/sun4u/mpxu/io/
H A Dtsalarm.c115 extern int rmclomv_alarm_get(int alarm_type, int *alarm_state);
297 int alarm_type, alarm_state = 0; in tsalarm_ioctl() local
322 retval = rmclomv_alarm_get(alarm_type, &alarm_state); in tsalarm_ioctl()
327 if ((alarm_state != 0) && (alarm_state != 1)) { in tsalarm_ioctl()
332 ts_alinfo.alarm_state = alarm_state; in tsalarm_ioctl()
352 alarm_state = ts_alinfo.alarm_state; in tsalarm_ioctl()
359 if ((alarm_state < ALARM_OFF) || in tsalarm_ioctl()
360 (alarm_state > ALARM_ON)) { in tsalarm_ioctl()
365 retval = rmclomv_alarm_set(alarm_type, alarm_state); in tsalarm_ioctl()
/illumos-gate/usr/src/uts/sun4v/ontario/io/
H A Dtsalarm.c189 uint32_t alarm_state; member
235 static int glvc_alarm_get(int alarm_type, int *alarm_state,
647 int alarm_type, alarm_state = 0; in tsalarm_ioctl() local
672 retval = glvc_alarm_get(alarm_type, &alarm_state, in tsalarm_ioctl()
678 if ((alarm_state != 0) && (alarm_state != 1)) { in tsalarm_ioctl()
683 ts_alinfo.alarm_state = alarm_state; in tsalarm_ioctl()
702 alarm_state = ts_alinfo.alarm_state; in tsalarm_ioctl()
709 if ((alarm_state < ALARM_OFF) || in tsalarm_ioctl()
710 (alarm_state > ALARM_ON)) { in tsalarm_ioctl()
715 retval = glvc_alarm_set(alarm_type, alarm_state, softc); in tsalarm_ioctl()
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Denvmon.h182 int8_t alarm_state; member
188 int8_t alarm_state; member
H A Drmc_comm_hproto.h737 dp_alarm_state_t alarm_state[1]; member
/illumos-gate/usr/src/uts/sun4u/mpxu/sys/
H A Dlom_io.h75 int alarm_state; member
/illumos-gate/usr/src/uts/sun4u/io/
H A Drmclomv.c1748 alarm_r.alarm_state[index].handle; in refresh_name_cache()
2807 env_alarminfo.alarm_state = ENVMON_ALARM_OFF; in rmclomv_ioctl()
2809 if (rmc_alarm_r.alarm_state[0].sensor_status != in rmclomv_ioctl()
2815 alarmState = rmc_alarm_r.alarm_state[0]; in rmclomv_ioctl()
2821 env_alarminfo.alarm_state = in rmclomv_ioctl()
2837 env_alarminfo.alarm_state = ENVMON_INACCESSIBLE; in rmclomv_ioctl()
2853 if (env_alarmctl.alarm_state < RMCLOMV_MIN_ALARM_STATE || in rmclomv_ioctl()
2854 env_alarmctl.alarm_state > RMCLOMV_MAX_ALARM_STATE) in rmclomv_ioctl()
2877 rmc_setalarm.state = (rsci8)env_alarmctl.alarm_state; in rmclomv_ioctl()
3445 rmclomv_alarm_get(int alarm_type, int *alarm_state) in rmclomv_alarm_get() argument
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dlom_io.h88 int alarm_state; member