Lines Matching defs:sc_inputstatus
194 uint8_t sc_inputstatus;
247 &sc->sc_inputstatus, 1);
280 if (sc->sc_inputstatus & AXP_INPUT_STATUS_AC_OK) {
283 } else if (sc->sc_inputstatus & AXP_INPUT_STATUS_AC_PRESENT) {
287 if (sc->sc_inputstatus & AXP_INPUT_STATUS_VBUS_OK) {
290 } else if (sc->sc_inputstatus & AXP_INPUT_STATUS_VBUS_PRESENT) {
307 (sc->sc_inputstatus & AXP_INPUT_STATUS_AC_OK) ? 1 : 0;
327 (sc->sc_inputstatus & AXP_INPUT_STATUS_VBUS_OK) ? 1 : 0;
464 &sc->sc_inputstatus, 1);
471 (sc->sc_inputstatus & AXP_INPUT_STATUS_AC_OK) ? 1 : 0;
474 (sc->sc_inputstatus & AXP_INPUT_STATUS_VBUS_OK) ? 1 : 0;
489 if (sc->sc_inputstatus & AXP_INPUT_STATUS_AC_OK)
495 if (sc->sc_inputstatus & AXP_INPUT_STATUS_AC_OK)
501 if (sc->sc_inputstatus & AXP_INPUT_STATUS_VBUS_OK)
507 if (sc->sc_inputstatus & AXP_INPUT_STATUS_VBUS_OK)
524 &sc->sc_inputstatus, 1);
529 if (sc->sc_inputstatus & AXP_POWER_MODE_CHARGING) {