Lines Matching refs:apm_softc

99 static void	apm_event_handle(struct apm_softc *, u_int, u_int);
100 static void apm_periodic_check(struct apm_softc *);
105 static void apm_power_print(struct apm_softc *, struct apm_power_info *);
107 static int apm_record_event(struct apm_softc *, u_int);
108 static void apm_set_ver(struct apm_softc *);
109 static void apm_standby(struct apm_softc *);
110 static void apm_suspend(struct apm_softc *);
111 static void apm_resume(struct apm_softc *, u_int, u_int);
113 CFATTACH_DECL_NEW(apmdev, sizeof(struct apm_softc),
216 apm_power_print(struct apm_softc *sc, struct apm_power_info *pi) in apm_power_print()
288 apm_suspend(struct apm_softc *sc) in apm_suspend()
316 apm_standby(struct apm_softc *sc) in apm_standby()
343 apm_resume(struct apm_softc *sc, u_int event_type, u_int event_info) in apm_resume()
376 apm_record_event(struct apm_softc *sc, u_int event_type) in apm_record_event()
395 apm_event_handle(struct apm_softc *sc, u_int event_code, u_int event_info) in apm_event_handle()
543 apm_periodic_check(struct apm_softc *sc) in apm_periodic_check()
575 apm_set_ver(struct apm_softc *sc) in apm_set_ver()
610 struct apm_softc *sc; in apmdevattach()
645 apm_attach(struct apm_softc *sc) in apm_attach()
718 struct apm_softc *apmsc = arg; in apm_thread()
736 struct apm_softc *sc; in apmdevopen()
781 struct apm_softc *sc = device_lookup_private(&apmdev_cd, APMUNIT(dev)); in apmdevclose()
808 struct apm_softc *sc = device_lookup_private(&apmdev_cd, APMUNIT(dev)); in apmdevioctl()
893 struct apm_softc *sc = device_lookup_private(&apmdev_cd, APMUNIT(dev)); in apmdevpoll()
911 struct apm_softc *sc = kn->kn_hook; in filt_apmrdetach()
921 struct apm_softc *sc = kn->kn_hook; in filt_apmread()
937 struct apm_softc *sc = device_lookup_private(&apmdev_cd, APMUNIT(dev)); in apmdevkqfilter()