Home | History | Annotate | Download | only in ic

Lines Matching defs:sensors

4  * Apple System Management Controller: Temperature Sensors
94 /* Find how many temperature sensors we have. */
114 aprint_normal(": Apple SMC temperature sensors\n");
126 /* Find and attach all the sensors. */
129 aprint_error_dev(self, "failed to find sensors: %d\n", error);
133 /* Sensors are all attached. Register with sysmon_envsys now. */
222 /* Start with zero sensors. */
241 struct fss { /* Find Sensors State */
252 /* Start with zero sensors. */
270 /* If we didn't find any sensors, bail. */
280 void *const sensors = kmem_alloc((fss.fss_sensor *
283 (void)memcpy(sensors, sc->sc_sensors,
286 sc->sc_sensors = sensors;
300 /* Record the maximum number of sensors we may have. */
303 /* If we found a maximum of zero sensors, bail. */
310 * If there may be any sensors, optimistically allocate as many
339 * of known temperature sensors.