Lines Matching defs:therm
49 struct pmac_therm therm;
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.read =
191 pmac_thermal_sensor_register(&sens->therm);