Home
last modified time | relevance | path

Searched refs:CWFG_SENSOR_VCELL (Results 1 – 1 of 1) sorted by relevance

/openbsd/src/sys/dev/fdt/
Dcwfg.c78 CWFG_SENSOR_VCELL, enumerator
183 strlcpy(sc->sc_sensor[CWFG_SENSOR_VCELL].desc, "battery voltage", in cwfg_attach()
184 sizeof(sc->sc_sensor[CWFG_SENSOR_VCELL].desc)); in cwfg_attach()
185 sc->sc_sensor[CWFG_SENSOR_VCELL].type = SENSOR_VOLTS_DC; in cwfg_attach()
186 sc->sc_sensor[CWFG_SENSOR_VCELL].flags = SENSOR_FINVALID; in cwfg_attach()
187 sensor_attach(&sc->sc_sensordev, &sc->sc_sensor[CWFG_SENSOR_VCELL]); in cwfg_attach()
322 sc->sc_sensor[CWFG_SENSOR_VCELL].flags |= SENSOR_FINVALID; in cwfg_update_sensors()
348 sc->sc_sensor[CWFG_SENSOR_VCELL].value = in cwfg_update_sensors()
350 sc->sc_sensor[CWFG_SENSOR_VCELL].flags &= ~SENSOR_FINVALID; in cwfg_update_sensors()