PSWITCH_TYPE_SLEEP
.smpsw_type = PSWITCH_TYPE_SLEEP,
type = PSWITCH_TYPE_SLEEP;
(type != PSWITCH_TYPE_SLEEP) ? "power" : "sleep");
KASSERT(smpsw->smpsw_type != PSWITCH_TYPE_SLEEP);
.type = PSWITCH_TYPE_SLEEP
sc->sc_smpsw[HP_PSW_SLEEP].smpsw_type = PSWITCH_TYPE_SLEEP;
sc->sc_smpsw[SONY_PSW_SLEEP].smpsw_type = PSWITCH_TYPE_SLEEP;
psw[TP_PSW_SLEEP].smpsw_type = PSWITCH_TYPE_SLEEP;
key->key_pswitch.smpsw_type = PSWITCH_TYPE_SLEEP;
sc->sc_smpsw.smpsw_type = PSWITCH_TYPE_SLEEP;
sc->sc_smpsw[SPIC_PSWITCH_SUSPEND].smpsw_type = PSWITCH_TYPE_SLEEP;
sc->sc_smpsw[SPIC_PSWITCH_HIBERNATE].smpsw_type = PSWITCH_TYPE_SLEEP;
case PSWITCH_TYPE_SLEEP:
{ PSWITCH_TYPE_SLEEP, "sleep_button" },
sc->sc_ev_sleep.ev_smpsw.smpsw_type = PSWITCH_TYPE_SLEEP;