Searched refs:AXP_SENSOR_VBUSV (Results 1 – 1 of 1) sorted by relevance
128 #define AXP_SENSOR_VBUSV 4 macro278 sc->sc_sensor[AXP_SENSOR_VBUSV].units = ENVSYS_SVOLTS_DC; in axp20x_attach()279 sc->sc_sensor[AXP_SENSOR_VBUSV].state = ENVSYS_SINVALID; in axp20x_attach()280 sc->sc_sensor[AXP_SENSOR_VBUSV].flags = ENVSYS_FHAS_ENTROPY; in axp20x_attach()281 snprintf(sc->sc_sensor[AXP_SENSOR_VBUSV].desc, in axp20x_attach()282 sizeof(sc->sc_sensor[AXP_SENSOR_VBUSV].desc), "VBUS input voltage"); in axp20x_attach()283 sysmon_envsys_sensor_attach(sc->sc_sme, &sc->sc_sensor[AXP_SENSOR_VBUSV]); in axp20x_attach()433 case AXP_SENSOR_VBUSV: in axp20x_sensors_refresh()