Lines Matching defs:to

4  * The contents of this file are subject to the terms of the
24 * Use is subject to license terms.
35 * Excalibur system contains up to two CPU and two PCI MAX1617 temperature
38 * via an I2C_GET_TEMPERATURE ioctl call to the max1617 driver. Additionally,
40 * can trigger an alert condition, causing power supply to turn off.
67 * set to a value in the range 0 through 63. However, the software has no
74 * can be controlled by writing to the TDA8444 device driver. Note that
76 * for each fan, thus allowing an interface to read the current fan speed
79 * The policy to control fan speed depends upon the sensor. For CPU die
82 * one policy (speed proportional to the current temperature) is used.
85 * PM_GET_STATE_CHANGE and PM_GET_STATE_CHANGE_WAIT ioctl commands to pick
93 * to protect initialization of global state during reinit process against
94 * the "envthr" and "pmthr" trying to reference that state.
261 * Excalibur lpm to system-fan speed
281 * Sensor to fan map
297 * Sensor to PM device map
535 * 'tbl' specifies the table to use, 'val' specifies the 'x', returns 'y'
641 /* add newdev to the list */
733 * resolution is 1C, force denominator to 1 to
783 * resolution is 1C, force denominator to 1 to
817 * node name from the path and use di_init() to
887 * Allocate memory to hold the environmental segment data.
946 /* add this FRU to our list */
977 * once to create seeprom nodes and try
984 "Invoking '%s' to create FRU nodes\n",
1237 * Lookup fan and return a pointer to env_fan_t data structure.
1253 * Lookup sensor and return a pointer to env_sensor_t data structure.
1294 "sensor: %-13s temp:%d CORRECED to %d\n",
1444 * Initialize all ON/OFF fans to ON state and all
1445 * variable speed fans under software control to 50%
1446 * of the max speed and reread the fan to get the
1574 * Note that we don't use ptree_get_node_by_path() here to detect
1575 * if a temperature device is present as we don't want to make
1587 * node name from the devfs_path and use di_init() to
1652 * invoke "devfsadm" once to create
1660 * serialized with respect to other
1662 * safe to use system(3C) call here.
1681 * Set cur_temp field to the current temperature value
1697 "off set to %d (real %d)\n", sensorp->name,
1704 "off set to %d (real %d)\n", sensorp->name,
1837 * range and we need to log a warning message,
1941 * Note ambient temperatures to determine lpm for system fan
1963 * Try to achieve the desired target temperature.
2043 * Fan speed is set to minimum value at LOW_NOMINAL
2044 * and to maximum value at HIGH_NOMINAL value.
2102 int to;
2133 to = 3 * sensor_poll_interval + 1;
2139 ioctl(xwd, XCALWD_STARTWATCHDOG, &to) < 0) {
2156 * If no "pmthr" thread, then we need to update the
2232 * Get PM state change events to check if the system
2237 * to get the power state change event here.
2269 * takes effect, hence we need to get the current state
2281 * We won't be able to monitor lowest power state any longer,
2312 * the tuneable applies to all sensors specified by the "flags".
2313 * Otherwise, it is applicable to the specified sensors.
2316 * to be changed and is converted into offset by subtracting the
2317 * base dummy_thresh address. This offset is added to the base
2318 * address of the threshold structure to be update to determine
2319 * the final memory address to be modified.
2361 /* apply threshold value to the specified sensors */
2515 * column are ignored. All other lines are assumed to contain
2544 * Skip over white space to get the keyword
2577 * Setup envrionmental monitor state and start threads to monitor
2607 * Initialize global state to initial startup values
2644 * Create a thread to monitor temperature and control fan
2658 * Create a thread to monitor PM state
2785 * Invoke env_picl_destroy() to remove any PICL nodes/properties
2788 * to get current temperature or fan speed.
2795 * going away. Therefore, it's okay to let "envthr" and "pmthr"
2814 * Redefine sigwait to posix style external declaration so that LINT
2824 * can cause the "envthr" not to wakeup for extended duration. For