Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/
H A Dpiclsensors.c101 env_get_temp_threshold(int sensor_no, int threshold_no, in env_get_temp_threshold() argument
109 if (threshold_no < 1 || threshold_no > 6) { in env_get_temp_threshold()
127 switch (threshold_no) { in env_get_temp_threshold()
180 env_set_temp_threshold(int sensor_no, int threshold_no, in env_set_temp_threshold() argument
188 if (threshold_no < 1 || threshold_no > 6) { in env_set_temp_threshold()
193 req_pkt.data[1] = 0x01 << (threshold_no - 1); /* set the bit mask */ in env_set_temp_threshold()
194 req_pkt.data[1 + threshold_no] = set_value; in env_set_temp_threshold()
365 int threshold_no = 0; in set_sensor_thr() local
384 threshold_no = LOW_WARNING_THRESHOLD; in set_sensor_thr()
391 threshold_no = LOW_SHUTDOWN_THRESHOLD; in set_sensor_thr()
[all …]