Symbol: sysmon_pswitch
sys/arch/arm/sunxi/sunxi_lradc.c
300
sizeof(struct sysmon_pswitch) * sc->sc_nlevels[chan] , KM_SLEEP);
sys/arch/arm/sunxi/sunxi_lradc.c
306
struct sysmon_pswitch *sw = &sc->sc_switches[chan][i];
sys/arch/arm/sunxi/sunxi_lradc.c
62
struct sysmon_pswitch *sc_switches[2];
sys/arch/arm/xscale/becc_button.c
64
struct sysmon_pswitch sc_smpsw;
sys/arch/evbarm/hdl_g/btn_obio.c
172
struct sysmon_pswitch *smpsw = (void *)arg;
sys/arch/evbarm/hdl_g/btn_obio.c
57
struct sysmon_pswitch sc_smpsw[2];
sys/arch/evbarm/netwalker/netwalker_lid.c
56
struct sysmon_pswitch sc_smpsw;
sys/arch/evbarm/netwalker/netwalker_pwr.c
57
struct sysmon_pswitch sc_smpsw;
sys/arch/evbarm/nslu2/nslu2_buttons.c
49
struct sysmon_pswitch sc_smpwr;
sys/arch/evbarm/nslu2/nslu2_buttons.c
50
struct sysmon_pswitch sc_smrst;
sys/arch/evbmips/loongson/dev/stvii.c
100
struct sysmon_pswitch sc_sm_acpower;
sys/arch/evbmips/loongson/dev/stvii.c
101
struct sysmon_pswitch sc_sm_lid;
sys/arch/evbmips/loongson/dev/stvii.c
102
struct sysmon_pswitch sc_sm_powerbutton;
sys/arch/evbmips/loongson/dev/stvii.c
180
memset(&sc->sc_sm_acpower, 0, sizeof(struct sysmon_pswitch));
sys/arch/evbmips/loongson/dev/stvii.c
186
memset(&sc->sc_sm_lid, 0, sizeof(struct sysmon_pswitch));
sys/arch/evbmips/loongson/dev/stvii.c
192
memset(&sc->sc_sm_powerbutton, 0, sizeof(struct sysmon_pswitch));
sys/arch/evbppc/nintendo/dev/resetbtn.c
106
struct sysmon_pswitch *smpsw = arg;
sys/arch/evbppc/nintendo/dev/resetbtn.c
55
CFATTACH_DECL_NEW(resetbtn, sizeof(struct sysmon_pswitch),
sys/arch/evbppc/nintendo/dev/resetbtn.c
68
struct sysmon_pswitch *smpsw = device_private(self);
sys/arch/evbppc/nintendo/dev/resetbtn.c
96
struct sysmon_pswitch *smpsw = arg;
sys/arch/hpcarm/dev/wzero3_kbd.c
102
struct sysmon_pswitch sc_smpsw; /* for reset key */
sys/arch/hppa/dev/power.c
106
static struct sysmon_pswitch *pwr_sw_sysmon;
sys/arch/landisk/dev/btn_obio.c
63
struct sysmon_pswitch sc_smpsw; /* reset */
sys/arch/landisk/dev/pwrsw_obio.c
52
struct sysmon_pswitch sc_smpsw; /* our sysmon glue */
sys/arch/mac68k/dev/pbbat.c
152
struct sysmon_pswitch sc_sm_acpower;
sys/arch/mac68k/dev/pbbat.c
238
memset(&sc->sc_sm_acpower, 0, sizeof(struct sysmon_pswitch));
sys/arch/mac68k/dev/pm_direct.c
274
memset(&pbutton, 0, sizeof(struct sysmon_pswitch));
sys/arch/mac68k/dev/pm_direct.c
295
memset(&pbutton, 0, sizeof(struct sysmon_pswitch));
sys/arch/mac68k/dev/pm_direct.c
92
struct sysmon_pswitch pbutton;
sys/arch/macppc/dev/battery.c
145
memset(&sc->sc_sm_acpower, 0, sizeof(struct sysmon_pswitch));
sys/arch/macppc/dev/battery.c
76
struct sysmon_pswitch sc_sm_acpower;
sys/arch/macppc/dev/pmu.c
90
struct sysmon_pswitch sc_lidswitch;
sys/arch/macppc/dev/pmu.c
91
struct sysmon_pswitch sc_powerbutton;
sys/arch/macppc/dev/smartbat.c
145
memset(&sc->sc_sm_acpower, 0, sizeof(struct sysmon_pswitch));
sys/arch/macppc/dev/smartbat.c
76
struct sysmon_pswitch sc_sm_acpower;
sys/arch/mips/atheros/dev/argpio.c
70
struct sysmon_pswitch sc_resetbtn;
sys/arch/sandpoint/sandpoint/nhpow.c
161
memset(&sc->sc_sm_pbutton, 0, sizeof(struct sysmon_pswitch));
sys/arch/sandpoint/sandpoint/nhpow.c
94
struct sysmon_pswitch sc_sm_pbutton;
sys/arch/sandpoint/sandpoint/satmgr.c
267
memset(&sc->sc_sm_pbutton, 0, sizeof(struct sysmon_pswitch));
sys/arch/sandpoint/sandpoint/satmgr.c
69
struct sysmon_pswitch sc_sm_pbutton;
sys/arch/sgimips/hpc/button.c
114
memset(&sc->sc_pbutton, 0, sizeof(struct sysmon_pswitch));
sys/arch/sgimips/hpc/button.c
53
struct sysmon_pswitch sc_pbutton;
sys/arch/sparc/dev/tctrl.c
1315
memset(&sc->sc_sm_pbutton, 0, sizeof(struct sysmon_pswitch));
sys/arch/sparc/dev/tctrl.c
1322
memset(&sc->sc_sm_lid, 0, sizeof(struct sysmon_pswitch));
sys/arch/sparc/dev/tctrl.c
1329
memset(&sc->sc_sm_ac, 0, sizeof(struct sysmon_pswitch));
sys/arch/sparc/dev/tctrl.c
157
struct sysmon_pswitch sc_sm_pbutton; /* power button */
sys/arch/sparc/dev/tctrl.c
158
struct sysmon_pswitch sc_sm_lid; /* lid state */
sys/arch/sparc/dev/tctrl.c
159
struct sysmon_pswitch sc_sm_ac; /* AC adaptor presence */
sys/arch/sparc64/dev/psm.c
69
struct sysmon_pswitch sc_sm_pbutton;
sys/arch/sparc64/dev/psm.c
70
struct sysmon_pswitch sc_sm_lid;
sys/arch/sparc64/dev/psm.c
71
struct sysmon_pswitch sc_sm_ac;
sys/arch/sparc64/dev/psycho.c
727
sc->sc_smcontext = kmem_zalloc(sizeof(struct sysmon_pswitch), KM_SLEEP);
sys/arch/sparc64/dev/psychovar.h
125
struct sysmon_pswitch *sc_smcontext; /* power switch definition */
sys/arch/sparc64/dev/tadpmu.c
514
memset(&tadpmu_pbutton, 0, sizeof(struct sysmon_pswitch));
sys/arch/sparc64/dev/tadpmu.c
521
memset(&tadpmu_lidswitch, 0, sizeof(struct sysmon_pswitch));
sys/arch/sparc64/dev/tadpmu.c
528
memset(&tadpmu_dcpower, 0, sizeof(struct sysmon_pswitch));
sys/arch/sparc64/dev/tadpmu.c
66
static struct sysmon_pswitch tadpmu_pbutton, tadpmu_lidswitch, tadpmu_dcpower;
sys/arch/x68k/dev/powsw.c
79
struct sysmon_pswitch sc_smpsw;
sys/arch/xen/xen/shutdown_xenbus.c
71
static struct sysmon_pswitch xenbus_power = {
sys/arch/xen/xen/shutdown_xenbus.c
75
static struct sysmon_pswitch xenbus_reset = {
sys/arch/xen/xen/shutdown_xenbus.c
79
static struct sysmon_pswitch xenbus_sleep = {
sys/compat/common/sysmon_power_40.c
81
compat_40_sysmon_power(power_event_t *pev, struct sysmon_pswitch *pswitch,
sys/dev/acpi/acpi.c
1410
struct sysmon_pswitch *smpsw;
sys/dev/acpi/acpi.c
1470
struct sysmon_pswitch *smpsw;
sys/dev/acpi/acpi.c
1516
struct sysmon_pswitch *smpsw = context;
sys/dev/acpi/acpi.c
1526
struct sysmon_pswitch *smpsw = context;
sys/dev/acpi/acpi_acad.c
62
struct sysmon_pswitch sc_smpsw;
sys/dev/acpi/acpi_button.c
61
struct sysmon_pswitch sc_smpsw;
sys/dev/acpi/acpi_lid.c
60
struct sysmon_pswitch sc_smpsw;
sys/dev/acpi/acpivar.h
189
struct sysmon_pswitch sc_smpsw_power;
sys/dev/acpi/acpivar.h
190
struct sysmon_pswitch sc_smpsw_sleep;
sys/dev/acpi/asus_acpi.c
50
struct sysmon_pswitch sc_smpsw[ASUS_PSW_LAST];
sys/dev/acpi/dalb_acpi.c
58
struct sysmon_pswitch sc_smpsw;
sys/dev/acpi/fujhk_acpi.c
85
struct sysmon_pswitch sc_smpsw[FUJITSU_HK_PSW_COUNT];
sys/dev/acpi/hpqlb_acpi.c
61
struct sysmon_pswitch sc_smpsw[HP_PSW_LAST];
sys/dev/acpi/qcompas.c
134
struct sysmon_pswitch sc_smpsw_acadapter;
sys/dev/acpi/sony_acpi.c
65
struct sysmon_pswitch sc_smpsw[SONY_PSW_LAST];
sys/dev/acpi/thinkpad_acpi.c
104
struct sysmon_pswitch sc_smpsw[TP_PSW_LAST];
sys/dev/acpi/thinkpad_acpi.c
255
struct sysmon_pswitch *psw;
sys/dev/acpi/wmi/wmi_dell.c
66
struct sysmon_pswitch sc_smpsw[WMI_DELL_PSW_COUNT];
sys/dev/acpi/wmi/wmi_eeepc.c
98
struct sysmon_pswitch sc_psw[WMI_EEEPC_PSW_COUNT];
sys/dev/adb/adb_kbd.c
448
memset(&sc->sc_sm_pbutton, 0, sizeof(struct sysmon_pswitch));
sys/dev/adb/adb_kbd.c
75
struct sysmon_pswitch sc_sm_pbutton;
sys/dev/fdt/gpiokeys.c
85
struct sysmon_pswitch key_pswitch;
sys/dev/gpio/gpiobutton.c
66
struct sysmon_pswitch sc_smpsw;
sys/dev/hyperv/hvshutdown.c
67
struct sysmon_pswitch sc_smpsw;
sys/dev/i2c/axppmic.c
465
struct sysmon_pswitch sc_smpsw;
sys/dev/i2c/tps65217pmic.c
93
struct sysmon_pswitch sc_smpsw;
sys/dev/ic/spicvar.h
68
struct sysmon_pswitch sc_smpsw[SPIC_NPSWITCH];
sys/dev/pci/if_wpivar.h
194
struct sysmon_pswitch sc_rsw; /* for radio switch events */
sys/dev/sun/kbd.c
1104
memset(&k->k_sm_pbutton, 0, sizeof(struct sysmon_pswitch));
sys/dev/sun/kbdvar.h
55
struct sysmon_pswitch k_sm_pbutton;
sys/dev/sysmon/sysmon_power.c
346
struct sysmon_pswitch *pswitch =
sys/dev/sysmon/sysmon_power.c
347
(struct sysmon_pswitch *)pev_data;
sys/dev/sysmon/sysmon_power.c
702
struct sysmon_pswitch *smpsw =
sys/dev/sysmon/sysmon_power.c
703
(struct sysmon_pswitch *)power_data;
sys/dev/sysmon/sysmon_power.c
954
sysmon_pswitch_register(struct sysmon_pswitch *smpsw)
sys/dev/sysmon/sysmon_power.c
967
sysmon_pswitch_unregister(struct sysmon_pswitch *smpsw)
sys/dev/sysmon/sysmon_power.c
978
sysmon_pswitch_event(struct sysmon_pswitch *smpsw, int event)
sys/dev/sysmon/sysmonvar.h
297
LIST_ENTRY(sysmon_pswitch) smpsw_list;
sys/dev/sysmon/sysmonvar.h
309
int sysmon_pswitch_register(struct sysmon_pswitch *);
sys/dev/sysmon/sysmonvar.h
310
void sysmon_pswitch_unregister(struct sysmon_pswitch *);
sys/dev/sysmon/sysmonvar.h
312
void sysmon_pswitch_event(struct sysmon_pswitch *, int);
sys/dev/vmt/vmtvar.h
57
struct sysmon_pswitch ev_smpsw;
sys/sys/compat_stub.h
172
struct sysmon_pswitch;
sys/sys/compat_stub.h
174
(struct power_event *, struct sysmon_pswitch *, int));