/titanic_41/usr/src/cmd/picl/plugins/sun4u/grover/envd/ |
H A D | envd.h | 82 #define TEMP_IN_SHUTDOWN_RANGE(val, threshp) \ argument 83 ((val) > (threshp)->high_shutdown || (val) < (threshp)->low_shutdown) 85 #define TEMP_IN_WARNING_RANGE(val, threshp) \ argument 86 ((val) > (threshp)->high_warning || (val) < (threshp)->low_warning)
|
H A D | piclenvsetup.c | 397 add_sensor_thresh_props(picl_nodehdl_t nodeh, sensor_thresh_t *threshp) in add_sensor_thresh_props() argument 403 sizeof (threshp->low_power_off), in add_sensor_thresh_props() 404 (void *)&(threshp->low_power_off), &proph); in add_sensor_thresh_props() 408 sizeof (threshp->low_shutdown), in add_sensor_thresh_props() 409 (void *)&(threshp->low_shutdown), &proph); in add_sensor_thresh_props() 413 sizeof (threshp->low_warning), in add_sensor_thresh_props() 414 (void *)&(threshp->low_warning), &proph); in add_sensor_thresh_props() 418 sizeof (threshp->high_warning), in add_sensor_thresh_props() 419 (void *)&(threshp->high_warning), &proph); in add_sensor_thresh_props() 423 sizeof (threshp->high_shutdown), in add_sensor_thresh_props() [all …]
|
H A D | piclenvd.c | 455 sensor_thresh_t *threshp; in envd_setup_sensors() local 462 threshp = sensorp->temp_thresh; in envd_setup_sensors() 463 sensorp->cur_temp = threshp->target_temp; in envd_setup_sensors() 484 &threshp->low_power_off); in envd_setup_sensors() 486 &threshp->high_power_off); in envd_setup_sensors() 524 sensor_thresh_t *threshp; in monitor_sensors() local 555 threshp = sensorp->temp_thresh; in monitor_sensors() 556 if (TEMP_IN_WARNING_RANGE(temp, threshp)) { in monitor_sensors() 566 threshp->low_warning, in monitor_sensors() 567 threshp->high_warning); in monitor_sensors() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvsetup.c | 289 add_sensor_thresh_props(picl_nodehdl_t nodeh, sensor_ctrl_blk_t *threshp) in add_sensor_thresh_props() argument 295 sizeof (threshp->low_power_off), in add_sensor_thresh_props() 296 (void *)&(threshp->low_power_off), &proph); in add_sensor_thresh_props() 300 sizeof (threshp->low_shutdown), in add_sensor_thresh_props() 301 (void *)&(threshp->low_shutdown), &proph); in add_sensor_thresh_props() 305 sizeof (threshp->low_warning), in add_sensor_thresh_props() 306 (void *)&(threshp->low_warning), &proph); in add_sensor_thresh_props() 310 sizeof (threshp->high_warning), in add_sensor_thresh_props() 311 (void *)&(threshp->high_warning), &proph); in add_sensor_thresh_props() 315 sizeof (threshp->high_shutdown), in add_sensor_thresh_props() [all …]
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/ |
H A D | piclenvd.c | 757 sensor_thresh_t *threshp = sensorp->temp_thresh; in xlate_exp2obs() local 793 if (threshp) { in xlate_exp2obs() 794 if (new_temp > threshp->max_limit) in xlate_exp2obs() 795 new_temp = threshp->max_limit; in xlate_exp2obs() 796 else if (new_temp < threshp->min_limit) in xlate_exp2obs() 797 new_temp = threshp->min_limit; in xlate_exp2obs() 1029 sensor_thresh_t *threshp; in process_fru_envseg() local 1131 threshp = sensorp->temp_thresh; in process_fru_envseg() 1132 threshp->high_power_off = datap->high_power_off; in process_fru_envseg() 1133 threshp->high_shutdown = datap->high_shutdown; in process_fru_envseg() [all …]
|
H A D | piclenvsetup.c | 420 add_sensor_thresh_props(picl_nodehdl_t nodeh, sensor_thresh_t *threshp) in add_sensor_thresh_props() argument 426 sizeof (threshp->low_power_off), in add_sensor_thresh_props() 427 (void *)&(threshp->low_power_off), &proph); in add_sensor_thresh_props() 431 sizeof (threshp->low_shutdown), in add_sensor_thresh_props() 432 (void *)&(threshp->low_shutdown), &proph); in add_sensor_thresh_props() 436 sizeof (threshp->low_warning), in add_sensor_thresh_props() 437 (void *)&(threshp->low_warning), &proph); in add_sensor_thresh_props() 441 sizeof (threshp->high_warning), in add_sensor_thresh_props() 442 (void *)&(threshp->high_warning), &proph); in add_sensor_thresh_props() 446 sizeof (threshp->high_shutdown), in add_sensor_thresh_props() [all …]
|
H A D | envd.h | 217 #define TEMP_IN_SHUTDOWN_RANGE(val, threshp) \ argument 218 ((val) > (threshp)->high_shutdown || (val) < (threshp)->low_shutdown) 220 #define TEMP_IN_WARNING_RANGE(val, threshp) \ argument 221 ((val) > (threshp)->high_warning || (val) < (threshp)->low_warning)
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | piclenvsetup.c | 357 add_sensor_thresh_props(picl_nodehdl_t nodeh, sensor_ctrl_blk_t *threshp) in add_sensor_thresh_props() argument 363 sizeof (threshp->low_power_off), in add_sensor_thresh_props() 364 (void *)&(threshp->low_power_off), &proph); in add_sensor_thresh_props() 368 sizeof (threshp->low_shutdown), in add_sensor_thresh_props() 369 (void *)&(threshp->low_shutdown), &proph); in add_sensor_thresh_props() 373 sizeof (threshp->low_warning), in add_sensor_thresh_props() 374 (void *)&(threshp->low_warning), &proph); in add_sensor_thresh_props() 378 sizeof (threshp->high_warning), in add_sensor_thresh_props() 379 (void *)&(threshp->high_warning), &proph); in add_sensor_thresh_props() 383 sizeof (threshp->high_shutdown), in add_sensor_thresh_props() [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | sunpm.c | 5866 pm_current_threshold(dev_info_t *dip, int comp, int *threshp) in pm_current_threshold() argument 5871 *threshp = cur_threshold(dip, comp); in pm_current_threshold()
|