Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/envd/
H A Denvd.h80 #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 Dpiclenvsetup.c401 sizeof (threshp->low_power_off), in add_sensor_thresh_props()
406 sizeof (threshp->low_shutdown), 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()
421 sizeof (threshp->high_shutdown), in add_sensor_thresh_props()
426 sizeof (threshp->high_power_off), in add_sensor_thresh_props()
452 sensor_thresh_t *threshp; in add_sensor_nodes_and_props() local
532 threshp = sensorp->temp_thresh; in add_sensor_nodes_and_props()
533 if (threshp != NULL) in add_sensor_nodes_and_props()
[all …]
H A Dpiclenvd.c453 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()
564 threshp->low_warning, in monitor_sensors()
565 threshp->high_warning); in monitor_sensors()
586 temp, threshp->low_shutdown, in monitor_sensors()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/
H A Dpiclenvsetup.c424 sizeof (threshp->low_power_off), in add_sensor_thresh_props()
429 sizeof (threshp->low_shutdown), in add_sensor_thresh_props()
434 sizeof (threshp->low_warning), in add_sensor_thresh_props()
439 sizeof (threshp->high_warning), in add_sensor_thresh_props()
444 sizeof (threshp->high_shutdown), in add_sensor_thresh_props()
449 sizeof (threshp->high_power_off), in add_sensor_thresh_props()
475 sensor_thresh_t *threshp; in add_sensor_nodes_and_props() local
555 threshp = sensorp->temp_thresh; in add_sensor_nodes_and_props()
556 if (threshp && threshp->policy_type == in add_sensor_nodes_and_props()
571 if (threshp != NULL) in add_sensor_nodes_and_props()
[all …]
H A Dpiclenvd.c791 if (threshp) { in xlate_exp2obs()
793 new_temp = threshp->max_limit; in xlate_exp2obs()
1027 sensor_thresh_t *threshp; in process_fru_envseg() local
1143 threshp->policy_data[i] = in process_fru_envseg()
1489 sensor_thresh_t *threshp; in adjust_sensor_target() local
1611 sensor_thresh_t *threshp; in envd_setup_sensors() local
1629 temp = (threshp && threshp->policy_entries > 0) ? in envd_setup_sensors()
1794 sensor_thresh_t *threshp; in monitor_sensors() local
1849 threshp->low_warning, in monitor_sensors()
1850 threshp->high_warning); in monitor_sensors()
[all …]
H A Denvd.h215 #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 Dpiclenvsetup.c293 sizeof (threshp->low_power_off), in add_sensor_thresh_props()
298 sizeof (threshp->low_shutdown), 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()
313 sizeof (threshp->high_shutdown), in add_sensor_thresh_props()
318 sizeof (threshp->high_power_off), in add_sensor_thresh_props()
332 sensor_ctrl_blk_t *threshp; in add_sensor_nodes_and_props() local
392 threshp = sensorp->es_ptr; in add_sensor_nodes_and_props()
394 if (threshp != NULL) in add_sensor_nodes_and_props()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/
H A Dpiclenvsetup.c361 sizeof (threshp->low_power_off), in add_sensor_thresh_props()
366 sizeof (threshp->low_shutdown), 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()
381 sizeof (threshp->high_shutdown), in add_sensor_thresh_props()
386 sizeof (threshp->high_power_off), in add_sensor_thresh_props()
401 sensor_ctrl_blk_t *threshp; in add_sensor_nodes_and_props() local
462 threshp = sensorp->es_ptr; in add_sensor_nodes_and_props()
464 if (threshp != NULL) in add_sensor_nodes_and_props()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dsunpm.c5859 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()