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__ADB_H 20 #define _UAPI__ADB_H 21 #define ADB_BUSRESET 0 22 #define ADB_FLUSH(id) (0x01 | ((id) << 4)) 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 #define ADB_WRITEREG(id, reg) (0x08 | (reg) | ((id) << 4)) 25 #define ADB_READREG(id, reg) (0x0C | (reg) | ((id) << 4)) 26 #define ADB_DONGLE 1 27 #define ADB_KEYBOARD 2 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 #define ADB_MOUSE 3 30 #define ADB_TABLET 4 31 #define ADB_MODEM 5 32 #define ADB_MISC 7 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 #define ADB_RET_OK 0 35 #define ADB_RET_TIMEOUT 3 36 #define ADB_PACKET 0 37 #define CUDA_PACKET 1 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 #define ERROR_PACKET 2 40 #define TIMER_PACKET 3 41 #define POWER_PACKET 4 42 #define MACIIC_PACKET 5 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 #define PMU_PACKET 6 45 #define ADB_QUERY 7 46 #define ADB_QUERY_GETDEVINFO 1 47 #endif 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49