sysmon_pswitch_register
sysmon_pswitch_register(sw);
if (sysmon_pswitch_register(&sc->sc_smpsw) != 0) {
if (sysmon_pswitch_register(&sc->sc_smpsw[0]) != 0) {
if (sysmon_pswitch_register(&sc->sc_smpsw[1]) != 0) {
sysmon_pswitch_register(&sc->sc_smpsw);
sysmon_pswitch_register(&sc->sc_smpsw);
if (sysmon_pswitch_register(&sc->sc_smpwr) != 0) {
if (sysmon_pswitch_register(&sc->sc_smrst) != 0) {
if (sysmon_pswitch_register(&sc->sc_sm_acpower) != 0)
if (sysmon_pswitch_register(&sc->sc_sm_lid) != 0)
if (sysmon_pswitch_register(&sc->sc_sm_powerbutton) != 0)
error = sysmon_pswitch_register(smpsw);
if (sysmon_pswitch_register(&sc->sc_smpsw) != 0) {
error = sysmon_pswitch_register(pwr_sw_sysmon);
if (sysmon_pswitch_register(&sc->sc_smpsw) != 0) {
if (sysmon_pswitch_register(&sc->sc_smpsw) != 0) {
if (sysmon_pswitch_register(&sc->sc_sm_acpower) != 0)
if (sysmon_pswitch_register(&pbutton) != 0)
if (sysmon_pswitch_register(&pbutton) != 0)
if (sysmon_pswitch_register(&sc->sc_sm_acpower) != 0)
if (sysmon_pswitch_register(&sc->sc_lidswitch) != 0)
if (sysmon_pswitch_register(&sc->sc_powerbutton) != 0)
if (sysmon_pswitch_register(&sc->sc_sm_acpower) != 0)
if (sysmon_pswitch_register(&sc->sc_resetbtn) != 0) {
if (sysmon_pswitch_register(&sc->sc_sm_pbutton) != 0)
if (sysmon_pswitch_register(&sc->sc_sm_pbutton) != 0)
if (sysmon_pswitch_register(&sc->sc_pbutton) != 0)
if (sysmon_pswitch_register(&sc->sc_sm_pbutton) != 0)
if (sysmon_pswitch_register(&sc->sc_sm_lid) != 0)
if (sysmon_pswitch_register(&sc->sc_sm_ac) != 0)
if (sysmon_pswitch_register(&sc->sc_sm_pbutton) != 0)
if (sysmon_pswitch_register(&sc->sc_sm_lid) != 0)
if (sysmon_pswitch_register(&sc->sc_sm_ac) != 0)
if (sysmon_pswitch_register(sc->sc_smcontext) != 0)
if (sysmon_pswitch_register(&tadpmu_pbutton) != 0)
if (sysmon_pswitch_register(&tadpmu_lidswitch) != 0)
if (sysmon_pswitch_register(&tadpmu_dcpower) != 0)
if (sysmon_pswitch_register(&sc->sc_smpsw) != 0)
if (sysmon_pswitch_register(&xenbus_power) != 0 ||
sysmon_pswitch_register(&xenbus_reset) != 0 ||
sysmon_pswitch_register(&xenbus_sleep) != 0) {
if (sysmon_pswitch_register(smpsw) != 0) {
(void)sysmon_pswitch_register(&sc->sc_smpsw);
(void)sysmon_pswitch_register(&sc->sc_smpsw);
(void)sysmon_pswitch_register(&sc->sc_smpsw);
if (sysmon_pswitch_register(&sc->sc_smpsw[ASUS_PSW_DISPLAY_CYCLE])) {
if (sysmon_pswitch_register(&sc->sc_smpsw)) {
(void)sysmon_pswitch_register(&sc->sc_smpsw[i]);
if (sysmon_pswitch_register(&sc->sc_smpsw[HP_PSW_DISPLAY_CYCLE]) != 0)
if (sysmon_pswitch_register(&sc->sc_smpsw[HP_PSW_SLEEP]) != 0)
sysmon_pswitch_register(&sc->sc_smpsw_acadapter);
if (sysmon_pswitch_register(&sc->sc_smpsw[i]) != 0) {
if (sysmon_pswitch_register(&sc->sc_smpsw[i]) != 0) {
e = sysmon_pswitch_register(&sc->sc_smpsw[WMI_DELL_PSW_DISPLAY_CYCLE]);
e = sysmon_pswitch_register(&sc->sc_smpsw[WMI_DELL_PSW_RADIO_TOGGLE]);
if (sysmon_pswitch_register(&sc->sc_psw[i]) == 0) {
if (sysmon_pswitch_register(&sc->sc_sm_pbutton) != 0)
sysmon_pswitch_register(&key->key_pswitch) != 0) {
sysmon_pswitch_register(&sc->sc_smpsw);
(void) sysmon_pswitch_register(&sc->sc_smpsw);
sysmon_pswitch_register(&sc->sc_smpsw);
sysmon_pswitch_register(&sc->sc_smpsw);
rv = sysmon_pswitch_register(&sc->sc_smpsw[i]);
error = sysmon_pswitch_register(&sc->sc_rsw);
if (sysmon_pswitch_register(&k->k_sm_pbutton) != 0)
int sysmon_pswitch_register(struct sysmon_pswitch *);
sysmon_pswitch_register(&sc->sc_ev_power.ev_smpsw);
sysmon_pswitch_register(&sc->sc_ev_reset.ev_smpsw);
sysmon_pswitch_register(&sc->sc_ev_sleep.ev_smpsw);