HomeSort by: relevance | last modified time | path
    Searched refs:sc_smcontext (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/arch/sparc64/dev/
psychovar.h 125 struct sysmon_pswitch *sc_smcontext; /* power switch definition */ member in struct:psycho_softc
psycho.c 727 sc->sc_smcontext = kmem_zalloc(sizeof(struct sysmon_pswitch), KM_SLEEP);
728 sc->sc_smcontext->smpsw_name = device_xname(sc->sc_dev);
729 sc->sc_smcontext->smpsw_type = PSWITCH_TYPE_POWER;
730 if (sysmon_pswitch_register(sc->sc_smcontext) != 0)
739 sysmon_pswitch_event(sc->sc_smcontext, PSWITCH_EVENT_PRESSED);
1001 if (sc->sc_powerpressed == 0 && sc->sc_smcontext != NULL) {

Completed in 34 milliseconds