sysmon_pswitch
sizeof(struct sysmon_pswitch) * sc->sc_nlevels[chan] , KM_SLEEP);
struct sysmon_pswitch *sw = &sc->sc_switches[chan][i];
struct sysmon_pswitch *sc_switches[2];
struct sysmon_pswitch sc_smpsw;
struct sysmon_pswitch *smpsw = (void *)arg;
struct sysmon_pswitch sc_smpsw[2];
struct sysmon_pswitch sc_smpsw;
struct sysmon_pswitch sc_smpsw;
struct sysmon_pswitch sc_smpwr;
struct sysmon_pswitch sc_smrst;
struct sysmon_pswitch sc_sm_acpower;
struct sysmon_pswitch sc_sm_lid;
struct sysmon_pswitch sc_sm_powerbutton;
memset(&sc->sc_sm_acpower, 0, sizeof(struct sysmon_pswitch));
memset(&sc->sc_sm_lid, 0, sizeof(struct sysmon_pswitch));
memset(&sc->sc_sm_powerbutton, 0, sizeof(struct sysmon_pswitch));
struct sysmon_pswitch *smpsw = arg;
CFATTACH_DECL_NEW(resetbtn, sizeof(struct sysmon_pswitch),
struct sysmon_pswitch *smpsw = device_private(self);
struct sysmon_pswitch *smpsw = arg;
struct sysmon_pswitch sc_smpsw; /* for reset key */
static struct sysmon_pswitch *pwr_sw_sysmon;
struct sysmon_pswitch sc_smpsw; /* reset */
struct sysmon_pswitch sc_smpsw; /* our sysmon glue */
struct sysmon_pswitch sc_sm_acpower;
memset(&sc->sc_sm_acpower, 0, sizeof(struct sysmon_pswitch));
memset(&pbutton, 0, sizeof(struct sysmon_pswitch));
memset(&pbutton, 0, sizeof(struct sysmon_pswitch));
struct sysmon_pswitch pbutton;
memset(&sc->sc_sm_acpower, 0, sizeof(struct sysmon_pswitch));
struct sysmon_pswitch sc_sm_acpower;
struct sysmon_pswitch sc_lidswitch;
struct sysmon_pswitch sc_powerbutton;
memset(&sc->sc_sm_acpower, 0, sizeof(struct sysmon_pswitch));
struct sysmon_pswitch sc_sm_acpower;
struct sysmon_pswitch sc_resetbtn;
memset(&sc->sc_sm_pbutton, 0, sizeof(struct sysmon_pswitch));
struct sysmon_pswitch sc_sm_pbutton;
memset(&sc->sc_sm_pbutton, 0, sizeof(struct sysmon_pswitch));
struct sysmon_pswitch sc_sm_pbutton;
memset(&sc->sc_pbutton, 0, sizeof(struct sysmon_pswitch));
struct sysmon_pswitch sc_pbutton;
memset(&sc->sc_sm_pbutton, 0, sizeof(struct sysmon_pswitch));
memset(&sc->sc_sm_lid, 0, sizeof(struct sysmon_pswitch));
memset(&sc->sc_sm_ac, 0, sizeof(struct sysmon_pswitch));
struct sysmon_pswitch sc_sm_pbutton; /* power button */
struct sysmon_pswitch sc_sm_lid; /* lid state */
struct sysmon_pswitch sc_sm_ac; /* AC adaptor presence */
struct sysmon_pswitch sc_sm_pbutton;
struct sysmon_pswitch sc_sm_lid;
struct sysmon_pswitch sc_sm_ac;
sc->sc_smcontext = kmem_zalloc(sizeof(struct sysmon_pswitch), KM_SLEEP);
struct sysmon_pswitch *sc_smcontext; /* power switch definition */
memset(&tadpmu_pbutton, 0, sizeof(struct sysmon_pswitch));
memset(&tadpmu_lidswitch, 0, sizeof(struct sysmon_pswitch));
memset(&tadpmu_dcpower, 0, sizeof(struct sysmon_pswitch));
static struct sysmon_pswitch tadpmu_pbutton, tadpmu_lidswitch, tadpmu_dcpower;
struct sysmon_pswitch sc_smpsw;
static struct sysmon_pswitch xenbus_power = {
static struct sysmon_pswitch xenbus_reset = {
static struct sysmon_pswitch xenbus_sleep = {
compat_40_sysmon_power(power_event_t *pev, struct sysmon_pswitch *pswitch,
struct sysmon_pswitch *smpsw;
struct sysmon_pswitch *smpsw;
struct sysmon_pswitch *smpsw = context;
struct sysmon_pswitch *smpsw = context;
struct sysmon_pswitch sc_smpsw;
struct sysmon_pswitch sc_smpsw;
struct sysmon_pswitch sc_smpsw;
struct sysmon_pswitch sc_smpsw_power;
struct sysmon_pswitch sc_smpsw_sleep;
struct sysmon_pswitch sc_smpsw[ASUS_PSW_LAST];
struct sysmon_pswitch sc_smpsw;
struct sysmon_pswitch sc_smpsw[FUJITSU_HK_PSW_COUNT];
struct sysmon_pswitch sc_smpsw[HP_PSW_LAST];
struct sysmon_pswitch sc_smpsw_acadapter;
struct sysmon_pswitch sc_smpsw[SONY_PSW_LAST];
struct sysmon_pswitch sc_smpsw[TP_PSW_LAST];
struct sysmon_pswitch *psw;
struct sysmon_pswitch sc_smpsw[WMI_DELL_PSW_COUNT];
struct sysmon_pswitch sc_psw[WMI_EEEPC_PSW_COUNT];
memset(&sc->sc_sm_pbutton, 0, sizeof(struct sysmon_pswitch));
struct sysmon_pswitch sc_sm_pbutton;
struct sysmon_pswitch key_pswitch;
struct sysmon_pswitch sc_smpsw;
struct sysmon_pswitch sc_smpsw;
struct sysmon_pswitch sc_smpsw;
struct sysmon_pswitch sc_smpsw;
struct sysmon_pswitch sc_smpsw[SPIC_NPSWITCH];
struct sysmon_pswitch sc_rsw; /* for radio switch events */
memset(&k->k_sm_pbutton, 0, sizeof(struct sysmon_pswitch));
struct sysmon_pswitch k_sm_pbutton;
struct sysmon_pswitch *pswitch =
(struct sysmon_pswitch *)pev_data;
struct sysmon_pswitch *smpsw =
(struct sysmon_pswitch *)power_data;
sysmon_pswitch_register(struct sysmon_pswitch *smpsw)
sysmon_pswitch_unregister(struct sysmon_pswitch *smpsw)
sysmon_pswitch_event(struct sysmon_pswitch *smpsw, int event)
LIST_ENTRY(sysmon_pswitch) smpsw_list;
int sysmon_pswitch_register(struct sysmon_pswitch *);
void sysmon_pswitch_unregister(struct sysmon_pswitch *);
void sysmon_pswitch_event(struct sysmon_pswitch *, int);
struct sysmon_pswitch ev_smpsw;
struct sysmon_pswitch;
(struct power_event *, struct sysmon_pswitch *, int));