/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/ |
H A D | piclenvsetup.c | 418 add_sensor_thresh_props(picl_nodehdl_t nodeh, sensor_thresh_t *threshp) in add_sensor_thresh_props() argument 424 sizeof (threshp->low_power_off), in add_sensor_thresh_props() 425 (void *)&(threshp->low_power_off), &proph); in add_sensor_thresh_props() 429 sizeof (threshp->low_shutdown), in add_sensor_thresh_props() 430 (void *)&(threshp->low_shutdown), &proph); in add_sensor_thresh_props() 434 sizeof (threshp->low_warning), in add_sensor_thresh_props() 435 (void *)&(threshp->low_warning), &proph); in add_sensor_thresh_props() 439 sizeof (threshp->high_warning), in add_sensor_thresh_props() 440 (void *)&(threshp->high_warning), &proph); in add_sensor_thresh_props() 444 sizeof (threshp->high_shutdown), in add_sensor_thresh_props() [all …]
|
H A D | piclenvd.c | 755 sensor_thresh_t *threshp = sensorp->temp_thresh; in xlate_exp2obs() local 791 if (threshp) { in xlate_exp2obs() 792 if (new_temp > threshp->max_limit) in xlate_exp2obs() 793 new_temp = threshp->max_limit; in xlate_exp2obs() 794 else if (new_temp < threshp->min_limit) in xlate_exp2obs() 795 new_temp = threshp->min_limit; in xlate_exp2obs() 1027 sensor_thresh_t *threshp; in process_fru_envseg() local 1129 threshp = sensorp->temp_thresh; in process_fru_envseg() 1130 threshp->high_power_off = datap->high_power_off; in process_fru_envseg() 1131 threshp->high_shutdown = datap->high_shutdown; in process_fru_envseg() [all …]
|
H A D | envd.h | 215 #define TEMP_IN_SHUTDOWN_RANGE(val, threshp) \ argument 216 ((val) > (threshp)->high_shutdown || (val) < (threshp)->low_shutdown) 218 #define TEMP_IN_WARNING_RANGE(val, threshp) \ argument 219 ((val) > (threshp)->high_warning || (val) < (threshp)->low_warning)
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvsetup.c | 287 add_sensor_thresh_props(picl_nodehdl_t nodeh, sensor_ctrl_blk_t *threshp) in add_sensor_thresh_props() argument 293 sizeof (threshp->low_power_off), in add_sensor_thresh_props() 294 (void *)&(threshp->low_power_off), &proph); in add_sensor_thresh_props() 298 sizeof (threshp->low_shutdown), in add_sensor_thresh_props() 299 (void *)&(threshp->low_shutdown), &proph); in add_sensor_thresh_props() 303 sizeof (threshp->low_warning), in add_sensor_thresh_props() 304 (void *)&(threshp->low_warning), &proph); in add_sensor_thresh_props() 308 sizeof (threshp->high_warning), in add_sensor_thresh_props() 309 (void *)&(threshp->high_warning), &proph); in add_sensor_thresh_props() 313 sizeof (threshp->high_shutdown), in add_sensor_thresh_props() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/envd/ |
H A D | envd.h | 80 #define TEMP_IN_SHUTDOWN_RANGE(val, threshp) \ argument 81 ((val) > (threshp)->high_shutdown || (val) < (threshp)->low_shutdown) 83 #define TEMP_IN_WARNING_RANGE(val, threshp) \ argument 84 ((val) > (threshp)->high_warning || (val) < (threshp)->low_warning)
|
H A D | piclenvsetup.c | 395 add_sensor_thresh_props(picl_nodehdl_t nodeh, sensor_thresh_t *threshp) in add_sensor_thresh_props() argument 401 sizeof (threshp->low_power_off), in add_sensor_thresh_props() 402 (void *)&(threshp->low_power_off), &proph); in add_sensor_thresh_props() 406 sizeof (threshp->low_shutdown), in add_sensor_thresh_props() 407 (void *)&(threshp->low_shutdown), &proph); in add_sensor_thresh_props() 411 sizeof (threshp->low_warning), in add_sensor_thresh_props() 412 (void *)&(threshp->low_warning), &proph); in add_sensor_thresh_props() 416 sizeof (threshp->high_warning), in add_sensor_thresh_props() 417 (void *)&(threshp->high_warning), &proph); in add_sensor_thresh_props() 421 sizeof (threshp->high_shutdown), in add_sensor_thresh_props() [all …]
|
H A D | piclenvd.c | 453 sensor_thresh_t *threshp; in envd_setup_sensors() local 460 threshp = sensorp->temp_thresh; in envd_setup_sensors() 461 sensorp->cur_temp = threshp->target_temp; in envd_setup_sensors() 482 &threshp->low_power_off); in envd_setup_sensors() 484 &threshp->high_power_off); in envd_setup_sensors() 522 sensor_thresh_t *threshp; in monitor_sensors() local 553 threshp = sensorp->temp_thresh; in monitor_sensors() 554 if (TEMP_IN_WARNING_RANGE(temp, threshp)) { in monitor_sensors() 564 threshp->low_warning, in monitor_sensors() 565 threshp->high_warning); in monitor_sensors() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | piclenvsetup.c | 355 add_sensor_thresh_props(picl_nodehdl_t nodeh, sensor_ctrl_blk_t *threshp) in add_sensor_thresh_props() argument 361 sizeof (threshp->low_power_off), in add_sensor_thresh_props() 362 (void *)&(threshp->low_power_off), &proph); in add_sensor_thresh_props() 366 sizeof (threshp->low_shutdown), in add_sensor_thresh_props() 367 (void *)&(threshp->low_shutdown), &proph); in add_sensor_thresh_props() 371 sizeof (threshp->low_warning), in add_sensor_thresh_props() 372 (void *)&(threshp->low_warning), &proph); in add_sensor_thresh_props() 376 sizeof (threshp->high_warning), in add_sensor_thresh_props() 377 (void *)&(threshp->high_warning), &proph); in add_sensor_thresh_props() 381 sizeof (threshp->high_shutdown), in add_sensor_thresh_props() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunpm.c | 5859 pm_current_threshold(dev_info_t *dip, int comp, int *threshp) in pm_current_threshold() argument 5864 *threshp = cur_threshold(dip, comp); in pm_current_threshold()
|