Lines Matching refs:therm
63 struct pmac_therm therm; member
323 strcpy(sc->sc_sensors[i].therm.name, location + len); in ad7417_fill_sensor_prop()
354 sc->sc_sensors[j].therm.zone = id[j]; in ad7417_fill_sensor_prop()
365 strcpy(sc->sc_sensors[i].therm.name, location); in ad7417_fill_sensor_prop()
374 if ((strstr(sc->sc_sensors[j].therm.name, "DIODE TEMP") in ad7417_fill_sensor_prop()
376 || (strstr(sc->sc_sensors[j].therm.name, "AD1") != NULL)) { in ad7417_fill_sensor_prop()
378 sc->sc_sensors[j].therm.read = in ad7417_fill_sensor_prop()
381 sc->sc_sensors[j].therm.read = in ad7417_fill_sensor_prop()
389 sc->sc_sensors[j].therm.target_temp = 500 + ZERO_C_TO_K; in ad7417_fill_sensor_prop()
390 sc->sc_sensors[j].therm.max_temp = 900 + ZERO_C_TO_K; in ad7417_fill_sensor_prop()
392 pmac_thermal_sensor_register(&sc->sc_sensors[j].therm); in ad7417_fill_sensor_prop()
433 for (j = 0; j < strlen(sc->sc_sensors[i].therm.name); j++) { in ad7417_attach()
435 tolower(sc->sc_sensors[i].therm.name[j]); in ad7417_attach()
464 sc->sc_sensors[i].therm.name, in ad7417_attach()
542 if (strstr(sens->therm.name, "CPU B") != NULL) { in ad7417_diode_read()
629 value = sens->therm.read(&sens->therm); in ad7417_sensor_sysctl()