Searched refs:therm (Results 1 - 5 of 5) sorted by relevance

/freebsd-10.3-release/sys/powerpc/powermac/
H A Dsmusat.c49 struct pmac_therm therm; member in struct:smu_sensor
150 OF_getprop(child, "zone", &sens->therm.zone, sizeof(int));
151 OF_getprop(child, "location", sens->therm.name,
152 sizeof(sens->therm.name));
172 for (i = 0; i < strlen(sens->therm.name); i++) {
173 sysctl_name[i] = tolower(sens->therm.name[i]);
179 sprintf(sysctl_desc,"%s (%s)", sens->therm.name, units);
187 sens->therm.target_temp = 500 + 2732; /* 50 C */
188 sens->therm.max_temp = 900 + 2732; /* 90 C */
189 sens->therm
[all...]
H A Dsmu.c95 struct pmac_therm therm; member in struct:smu_sensor
1228 OF_getprop(child, "zone", &sens->therm.zone, sizeof(int));
1229 OF_getprop(child, "location", sens->therm.name,
1230 sizeof(sens->therm.name));
1232 for (i = 0; i < strlen(sens->therm.name); i++) {
1233 sysctl_name[i] = tolower(sens->therm.name[i]);
1239 sprintf(sysctl_desc,"%s (%s)", sens->therm.name, units);
1248 sens->therm.target_temp = 500 + 2732; /* 50 C */
1249 sens->therm.max_temp = 900 + 2732; /* 90 C */
1251 sens->therm
[all...]
/freebsd-10.3-release/sys/dev/iicbus/
H A Dmax6690.c64 struct pmac_therm therm; member in struct:max6690_sensor
193 strcpy(sc->sc_sensors[i].therm.name, location + len);
209 sc->sc_sensors[j].therm.zone = id[j];
215 sc->sc_sensors[j].therm.target_temp = 400 + ZERO_C_TO_K;
216 sc->sc_sensors[j].therm.max_temp = 800 + ZERO_C_TO_K;
218 sc->sc_sensors[j].therm.read =
284 pmac_thermal_sensor_register(&sc->sc_sensors[i].therm);
288 for (j = 0; j < strlen(sc->sc_sensors[i].therm.name); j++) {
290 tolower(sc->sc_sensors[i].therm.name[j]);
296 sprintf(sysctl_desc,"%s %s", sc->sc_sensors[i].therm
[all...]
H A Dad7417.c65 struct pmac_therm therm; member in struct:ad7417_sensor
327 strcpy(sc->sc_sensors[i].therm.name, location + len);
358 sc->sc_sensors[j].therm.zone = id[j];
365 if (strstr(sc->sc_sensors[j].therm.name, "DIODE TEMP")
368 sc->sc_sensors[j].therm.read =
371 sc->sc_sensors[j].therm.read =
379 sc->sc_sensors[j].therm.target_temp = 500 + ZERO_C_TO_K;
380 sc->sc_sensors[j].therm.max_temp = 900 + ZERO_C_TO_K;
382 pmac_thermal_sensor_register(&sc->sc_sensors[j].therm);
424 for (j = 0; j < strlen(sc->sc_sensors[i].therm
[all...]
H A Dadt746x.c83 struct pmac_therm therm; member in struct:adt746x_sensor
415 OF_getprop(node, "location", sc->sc_sensors[i].therm.name, 32);
429 OF_getprop(node, "zone", &sc->sc_sensors[i].therm.zone,
430 sizeof(sc->sc_sensors[i].therm.zone));
432 sc->sc_sensors[i].therm.read =
436 sc->sc_sensors[i].therm.target_temp = 500 + ZERO_C_TO_K;
437 sc->sc_sensors[i].therm.max_temp = 800 + ZERO_C_TO_K;
439 pmac_thermal_sensor_register(&sc->sc_sensors[i].therm);
584 value = sens->therm.read(&sens->therm);
[all...]

Completed in 112 milliseconds