Home | History | Annotate | Download | only in apm

Lines Matching defs:APM

1 /*	$NetBSD: apm.c,v 1.35 2021/09/26 01:16:08 thorpej Exp $ */
32 * from: sys/arch/i386/i386/apm.c,v 1.49 2000/05/08
36 __KERNEL_RCSID(0, "$NetBSD: apm.c,v 1.35 2021/09/26 01:16:08 thorpej Exp $");
58 #include <dev/apm/apmvar.h>
81 #define APM(dev) (minor(dev)&0x0f)
88 * APM module. This is both the APM thread itself, as well as
186 return ("no APM present");
197 printf("APM ");
503 DPRINTF(APMDEBUG_EVENTS, ("apm: unexpected event\n"));
527 printf("APM: %s event code %x\n", code, event_code);
641 * Create a kernel thread to periodically check for APM events,
647 * We were unable to create the APM thread; bail out.
652 "kernel APM support disabled\n");
665 * Loop forever, doing a periodic check for APM events.
678 int ctl = APM(dev);
726 int ctl = APM(dev);