SMC_FLAGS_ENABLED
if ((sc->sc_flags & SMC_FLAGS_ENABLED) == 0 && sc->sc_enable != NULL) {
sc->sc_flags |= SMC_FLAGS_ENABLED;
if ((sc->sc_flags & SMC_FLAGS_ENABLED) != 0 && sc->sc_disable != NULL) {
sc->sc_flags &= ~SMC_FLAGS_ENABLED;
if ((sc->sc_flags & SMC_FLAGS_ENABLED) == 0)
if ((sc->sc_flags & SMC_FLAGS_ENABLED) == 0) {
if ((sc->sc_flags & SMC_FLAGS_ENABLED) == 0 ||