Lines Matching defs:APM
32 * from: sys/arch/i386/i386/apm.c,v 1.49 2000/05/08
60 #include <dev/hpc/apm/apmvar.h>
81 #define APM(dev) (minor(dev)&0x0f)
88 * APM module. This is both the APM thread itself, as well as
194 return ("no APM present");
205 printf("APM ");
514 DPRINTF(APMDEBUG_EVENTS, ("apm: unexpected event\n"));
538 printf("APM: %s event code %x\n", code, event_code);
632 aprint_normal("apm at %s", pnp);
700 * Create a kernel thread to periodically check for APM events,
706 * We were unable to create the APM thread; bail out.
711 "kernel APM support disabled\n");
721 * Loop forever, doing a periodic check for APM events.
734 int ctl = APM(dev);
782 int ctl = APM(dev);