Lines Matching refs:therm
97 struct pmac_therm therm; member
1227 OF_getprop(child, "zone", &sens->therm.zone, sizeof(int)); in smu_attach_sensors()
1228 OF_getprop(child, "location", sens->therm.name, in smu_attach_sensors()
1229 sizeof(sens->therm.name)); in smu_attach_sensors()
1231 for (i = 0; i < strlen(sens->therm.name); i++) { in smu_attach_sensors()
1232 sysctl_name[i] = tolower(sens->therm.name[i]); in smu_attach_sensors()
1238 sprintf(sysctl_desc,"%s (%s)", sens->therm.name, units); in smu_attach_sensors()
1247 sens->therm.target_temp = 500 + 2731; /* 50 C */ in smu_attach_sensors()
1248 sens->therm.max_temp = 900 + 2731; /* 90 C */ in smu_attach_sensors()
1250 sens->therm.read = in smu_attach_sensors()
1252 pmac_thermal_sensor_register(&sens->therm); in smu_attach_sensors()