Home
last modified time | relevance | path

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

/netbsd/src/sys/dev/i2c/
Daxp20x.c194 uint8_t sc_inputstatus; member
247 &sc->sc_inputstatus, 1); in axp20x_attach()
280 if (sc->sc_inputstatus & AXP_INPUT_STATUS_AC_OK) { in axp20x_attach()
283 } else if (sc->sc_inputstatus & AXP_INPUT_STATUS_AC_PRESENT) { in axp20x_attach()
287 if (sc->sc_inputstatus & AXP_INPUT_STATUS_VBUS_OK) { in axp20x_attach()
290 } else if (sc->sc_inputstatus & AXP_INPUT_STATUS_VBUS_PRESENT) { in axp20x_attach()
307 (sc->sc_inputstatus & AXP_INPUT_STATUS_AC_OK) ? 1 : 0; in axp20x_attach()
327 (sc->sc_inputstatus & AXP_INPUT_STATUS_VBUS_OK) ? 1 : 0; in axp20x_attach()
464 &sc->sc_inputstatus, 1); in axp20x_sensors_refresh()
471 (sc->sc_inputstatus & AXP_INPUT_STATUS_AC_OK) ? 1 : 0; in axp20x_sensors_refresh()
[all …]