Searched refs:sc_sensors (Results 1 – 5 of 5) sorted by relevance
| /trueos/sys/dev/iicbus/ |
| HD | max6690.c | 85 struct max6690_sensor *sc_sensors; member 192 if (sc->sc_sensors != NULL) in max6690_fill_sensor_prop() 193 strcpy(sc->sc_sensors[i].therm.name, location + len); in max6690_fill_sensor_prop() 198 if (sc->sc_sensors == NULL) in max6690_fill_sensor_prop() 204 sc->sc_sensors[j].id = (id[j] & 0xf); in max6690_fill_sensor_prop() 209 sc->sc_sensors[j].therm.zone = id[j]; in max6690_fill_sensor_prop() 213 sc->sc_sensors[j].dev = dev; in max6690_fill_sensor_prop() 215 sc->sc_sensors[j].therm.target_temp = 400 + ZERO_C_TO_K; in max6690_fill_sensor_prop() 216 sc->sc_sensors[j].therm.max_temp = 800 + ZERO_C_TO_K; in max6690_fill_sensor_prop() 218 sc->sc_sensors[j].therm.read = in max6690_fill_sensor_prop() [all …]
|
| HD | ad7417.c | 105 struct ad7417_sensor *sc_sensors; member 326 if (sc->sc_sensors != NULL) in ad7417_fill_sensor_prop() 327 strcpy(sc->sc_sensors[i].therm.name, location + len); in ad7417_fill_sensor_prop() 332 if (sc->sc_sensors == NULL) in ad7417_fill_sensor_prop() 342 sc->sc_sensors[i].type = ADC7417_TEMP_SENSOR; in ad7417_fill_sensor_prop() 344 sc->sc_sensors[i].type = ADC7417_ADC_SENSOR; in ad7417_fill_sensor_prop() 353 sc->sc_sensors[j].id = id[j]; in ad7417_fill_sensor_prop() 358 sc->sc_sensors[j].therm.zone = id[j]; in ad7417_fill_sensor_prop() 362 sc->sc_sensors[j].dev = dev; in ad7417_fill_sensor_prop() 365 if (strstr(sc->sc_sensors[j].therm.name, "DIODE TEMP") in ad7417_fill_sensor_prop() [all …]
|
| HD | adt746x.c | 101 struct adt746x_sensor sc_sensors[9]; member 415 OF_getprop(node, "location", sc->sc_sensors[i].therm.name, 32); in adt746x_fill_sensor_prop() 418 sc->sc_sensors[i].type = ADT746X_SENSOR_TEMP; in adt746x_fill_sensor_prop() 420 sc->sc_sensors[i].type = ADT746X_SENSOR_VOLT; in adt746x_fill_sensor_prop() 422 sc->sc_sensors[i].type = ADT746X_SENSOR_SPEED; in adt746x_fill_sensor_prop() 427 sc->sc_sensors[i].reg = reg; in adt746x_fill_sensor_prop() 428 sc->sc_sensors[i].id = sensid; in adt746x_fill_sensor_prop() 429 OF_getprop(node, "zone", &sc->sc_sensors[i].therm.zone, in adt746x_fill_sensor_prop() 430 sizeof(sc->sc_sensors[i].therm.zone)); in adt746x_fill_sensor_prop() 431 sc->sc_sensors[i].dev = dev; in adt746x_fill_sensor_prop() [all …]
|
| /trueos/sys/powerpc/powermac/ |
| HD | smusat.c | 76 struct smu_sensor *sc_sensors; member 129 sc->sc_sensors = malloc(sc->sc_nsensors * sizeof(struct smu_sensor), in smusat_attach() 132 sens = sc->sc_sensors; in smusat_attach() 283 sens = &sc->sc_sensors[arg2]; in smusat_sensor_sysctl()
|
| HD | smu.c | 127 struct smu_sensor *sc_sensors; member 1160 sens = &sc->sc_sensors[arg2]; in smu_sensor_sysctl() 1193 sc->sc_sensors = malloc(sc->sc_nsensors * sizeof(struct smu_sensor), in smu_attach_sensors() 1196 sens = sc->sc_sensors; in smu_attach_sensors()
|