Lines Matching defs:APM
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 ");
538 printf("APM: %s event code %x\n", code, event_code);
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);