Lines Matching refs:therm
82 struct pmac_therm therm; member
412 OF_getprop(node, "location", sc->sc_sensors[i].therm.name, 32); in adt746x_fill_sensor_prop()
426 OF_getprop(node, "zone", &sc->sc_sensors[i].therm.zone, in adt746x_fill_sensor_prop()
427 sizeof(sc->sc_sensors[i].therm.zone)); in adt746x_fill_sensor_prop()
429 sc->sc_sensors[i].therm.read = in adt746x_fill_sensor_prop()
433 sc->sc_sensors[i].therm.target_temp = 500 + ZERO_C_TO_K; in adt746x_fill_sensor_prop()
434 sc->sc_sensors[i].therm.max_temp = 800 + ZERO_C_TO_K; in adt746x_fill_sensor_prop()
436 pmac_thermal_sensor_register(&sc->sc_sensors[i].therm); in adt746x_fill_sensor_prop()
580 value = sens->therm.read(&sens->therm); in adt746x_sensor_sysctl()
619 for (j = 0; j < strlen(sc->sc_sensors[i].therm.name); j++) { in adt746x_attach_sensors()
620 sysctl_name[j] = tolower(sc->sc_sensors[i].therm.name[j]); in adt746x_attach_sensors()
650 sc->sc_sensors[i].therm.name); in adt746x_attach_sensors()