Lines Matching defs:APM
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 ");
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);