| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 1 | /**************************************************************************** | 
|  | 2 | **************************************************************************** | 
|  | 3 | *** | 
|  | 4 | ***   This header was automatically generated from a Linux kernel header | 
|  | 5 | ***   of the same name, to make information necessary for userspace to | 
|  | 6 | ***   call into the kernel available to libc.  It contains only constants, | 
|  | 7 | ***   structures, and macros generated from the original header, and thus, | 
|  | 8 | ***   contains no copyrightable information. | 
|  | 9 | *** | 
|  | 10 | ***   To edit the content of this header, modify the corresponding | 
|  | 11 | ***   source file (e.g. under external/kernel-headers/original/) then | 
|  | 12 | ***   run bionic/libc/kernel/tools/update_all.py | 
|  | 13 | *** | 
|  | 14 | ***   Any manual change here will be lost the next time this script will | 
|  | 15 | ***   be run. You've been warned! | 
|  | 16 | *** | 
|  | 17 | **************************************************************************** | 
|  | 18 | ****************************************************************************/ | 
|  | 19 | #ifndef _UAPI_LINUX_LP_H | 
|  | 20 | #define _UAPI_LINUX_LP_H | 
|  | 21 | #define LP_EXIST 0x0001 | 
|  | 22 | #define LP_SELEC 0x0002 | 
|  | 23 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 24 | #define LP_BUSY 0x0004 | 
|  | 25 | #define LP_BUSY_BIT_POS 2 | 
|  | 26 | #define LP_OFFL 0x0008 | 
|  | 27 | #define LP_NOPA 0x0010 | 
|  | 28 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 29 | #define LP_ERR 0x0020 | 
|  | 30 | #define LP_ABORT 0x0040 | 
|  | 31 | #define LP_CAREFUL 0x0080 | 
|  | 32 | #define LP_ABORTOPEN 0x0100 | 
|  | 33 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 34 | #define LP_TRUST_IRQ_ 0x0200 | 
|  | 35 | #define LP_NO_REVERSE 0x0400 | 
|  | 36 | #define LP_DATA_AVAIL 0x0800 | 
|  | 37 | #define LP_PBUSY 0x80 | 
|  | 38 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 39 | #define LP_PACK 0x40 | 
|  | 40 | #define LP_POUTPA 0x20 | 
|  | 41 | #define LP_PSELECD 0x10 | 
|  | 42 | #define LP_PERRORP 0x08 | 
|  | 43 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 44 | #define LP_INIT_CHAR 1000 | 
|  | 45 | #define LP_INIT_WAIT 1 | 
|  | 46 | #define LP_INIT_TIME 2 | 
|  | 47 | #define LPCHAR 0x0601 | 
|  | 48 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 49 | #define LPTIME 0x0602 | 
|  | 50 | #define LPABORT 0x0604 | 
|  | 51 | #define LPSETIRQ 0x0605 | 
|  | 52 | #define LPGETIRQ 0x0606 | 
|  | 53 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 54 | #define LPWAIT 0x0608 | 
|  | 55 | #define LPCAREFUL 0x0609 | 
|  | 56 | #define LPABORTOPEN 0x060a | 
|  | 57 | #define LPGETSTATUS 0x060b | 
|  | 58 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 59 | #define LPRESET 0x060c | 
|  | 60 | #ifdef LP_STATS | 
|  | 61 | #define LPGETSTATS 0x060d | 
|  | 62 | #endif | 
|  | 63 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 64 | #define LPGETFLAGS 0x060e | 
|  | 65 | #define LPSETTIMEOUT 0x060f | 
|  | 66 | #define LP_TIMEOUT_INTERRUPT (60 * HZ) | 
|  | 67 | #define LP_TIMEOUT_POLLED (10 * HZ) | 
|  | 68 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | 
|  | 69 | #endif |