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

  /src/sys/arch/sandpoint/sandpoint/
nhpow.c 94 struct sysmon_pswitch sc_sm_pbutton; member in struct:nhpow_softc
161 memset(&sc->sc_sm_pbutton, 0, sizeof(struct sysmon_pswitch));
162 sc->sc_sm_pbutton.smpsw_name = device_xname(sc->sc_dev);
163 sc->sc_sm_pbutton.smpsw_type = PSWITCH_TYPE_POWER;
164 if (sysmon_pswitch_register(&sc->sc_sm_pbutton) != 0)
324 sysmon_pswitch_event(&sc->sc_sm_pbutton, PSWITCH_EVENT_PRESSED);
satmgr.c 69 struct sysmon_pswitch sc_sm_pbutton; member in struct:satmgr_softc
267 memset(&sc->sc_sm_pbutton, 0, sizeof(struct sysmon_pswitch));
268 sc->sc_sm_pbutton.smpsw_name = device_xname(sc->sc_dev);
269 sc->sc_sm_pbutton.smpsw_type = PSWITCH_TYPE_POWER;
270 if (sysmon_pswitch_register(&sc->sc_sm_pbutton) != 0)
1077 sysmon_pswitch_event(&sc->sc_sm_pbutton, PSWITCH_EVENT_PRESSED);
  /src/sys/arch/sparc64/dev/
psm.c 69 struct sysmon_pswitch sc_sm_pbutton; member in struct:psm_softc
198 sc->sc_sm_pbutton.smpsw_name = xname;
199 sc->sc_sm_pbutton.smpsw_type = PSWITCH_TYPE_POWER;
200 if (sysmon_pswitch_register(&sc->sc_sm_pbutton) != 0)
234 sysmon_pswitch_event(&sc->sc_sm_pbutton,
  /src/sys/dev/adb/
adb_kbd.c 75 struct sysmon_pswitch sc_sm_pbutton; member in struct:adbkbd_softc
448 memset(&sc->sc_sm_pbutton, 0, sizeof(struct sysmon_pswitch));
449 sc->sc_sm_pbutton.smpsw_name = device_xname(sc->sc_dev);
450 sc->sc_sm_pbutton.smpsw_type = PSWITCH_TYPE_POWER;
451 if (sysmon_pswitch_register(&sc->sc_sm_pbutton) != 0)
541 sysmon_pswitch_event(&sc->sc_sm_pbutton,
  /src/sys/arch/sparc/dev/
tctrl.c 157 struct sysmon_pswitch sc_sm_pbutton; /* power button */ member in struct:tctrl_softc
1315 memset(&sc->sc_sm_pbutton, 0, sizeof(struct sysmon_pswitch));
1316 sc->sc_sm_pbutton.smpsw_name = device_xname(sc->sc_dev);
1317 sc->sc_sm_pbutton.smpsw_type = PSWITCH_TYPE_POWER;
1318 if (sysmon_pswitch_register(&sc->sc_sm_pbutton) != 0)
1342 sysmon_pswitch_event(&sc->sc_sm_pbutton, PSWITCH_EVENT_PRESSED);

Completed in 14 milliseconds