Lines Matching defs:to

4  * The contents of this file are subject to the terms of the
23 * Use is subject to license terms.
32 * It provides functionality to get/set temperatures and
35 * The environmental policy defaults to the auto mode
277 * the SCSI controller. This is used to identify a particular controller
284 * The implementation for SCSI disk drives to supply info. about
286 * temperature page is supported. To do this we need to scan the list
455 * We use this to figure out how many tuneables there are
462 * Lookup fan and return a pointer to env_fan_t data structure.
478 * Lookup sensor and return a pointer to env_sensor_t data structure.
495 * Lookup disk and return a pointer to env_disk_t data structure.
592 /* try to read the fan information */
616 * from 0-100 and programs the HW monitor fans to the corresponding
824 * a SATA drive and attempt to read the temperature
844 * drive, we will try to set the page and
847 * try to read the temperature and disable
855 "Failed to set mode page");
1004 * Match sensor/ES id and point to correct data based on IDs
1143 * Get PM state change events to check if the system
1148 * to get the power state change event here.
1176 "setting PIC ESTAR SATE to %x\n",
1185 "unable to set ESTAR_MODE in PIC\n");
1191 "Failed to open %s\n",
1203 * warning threshold is exceeded. The job is to make sure it does
1205 * forced shutdown to avoid reaching hardware poweroff via THERM interrupt.
1213 timespec_t to;
1228 &env_monitor_mutex, &to);
1229 to.tv_sec = sensor_scan_interval;
1230 to.tv_nsec = 0;
1269 * and we need to log a warning message, but
1365 * For SATA we need to have the current threshold value set.
1447 * continues to fail picl will give this drive a
1559 timespec_t to;
1582 &env_monitor_mutex, &to);
1584 to.tv_sec = disk_scan_interval;
1585 to.tv_nsec = 0;
1605 * We do not want to read the disk temperature if the disk is
1661 * range and we need to log a warning message,
1722 timespec_t to;
1739 &env_monitor_mutex, &to);
1740 to.tv_sec = fan_scan_interval;
1741 to.tv_nsec = 0;
1793 * Setup envrionmental monitor state and start threads to monitor
1822 envd_log(LOG_ERR, "Failed to setup sensors\n");
1828 envd_log(LOG_ERR, "Failed to setup fans\n");
1835 * LSI fw support to read SATA disk temperature
1840 envd_log(LOG_ERR, "Failed to setup disks\n");
1846 * Create a thread to monitor system temperatures
1856 "Created thread to monitor system temperatures\n");
1861 * Create a thread to monitor fans
1870 "Created thread to monitor system fans\n");
1876 * Create a thread to monitor PM state
1885 "Created thread to monitor system power state\n");
1890 * Create a thread to monitor disk temperature
1920 * Do not allow disk temperature monitoring to be enabled
1922 * until we have LSI fw support to read the temperature of
1946 * Invoke env_picl_destroy() to remove any PICL nodes/properties
1949 * to get current temperature or fan speed.
2078 * the PIC is busy, with a 1 second delay to allow it to update.
2144 * the PIC is busy, with a 1 second delay to allow it to update.