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__PKTCDVD_H
20 #define _UAPI__PKTCDVD_H
21 #include <linux/types.h>
22 #define PACKET_DEBUG 1
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #define MAX_WRITERS 8
25 #define PKT_RB_POOL_SIZE 512
26 #define PACKET_WAIT_TIME (HZ * 5 / 1000)
27 #define USE_WCACHING 0
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 #define PACKET_CDR 1
30 #define PACKET_CDRW 2
31 #define PACKET_DVDR 3
32 #define PACKET_DVDRW 4
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 #define PACKET_WRITABLE 1
35 #define PACKET_NWA_VALID 2
36 #define PACKET_LRA_VALID 3
37 #define PACKET_MERGE_SEGS 4
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 #define PACKET_DISC_EMPTY 0
40 #define PACKET_DISC_INCOMPLETE 1
41 #define PACKET_DISC_COMPLETE 2
42 #define PACKET_DISC_OTHER 3
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 #define PACKET_MODE1 1
45 #define PACKET_MODE2 2
46 #define PACKET_BLOCK_MODE1 8
47 #define PACKET_BLOCK_MODE2 10
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 #define PACKET_SESSION_EMPTY 0
50 #define PACKET_SESSION_INCOMPLETE 1
51 #define PACKET_SESSION_RESERVED 2
52 #define PACKET_SESSION_COMPLETE 3
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 #define PACKET_MCN "4a656e734178626f65323030300000"
55 #undef PACKET_USE_LS
56 #define PKT_CTRL_CMD_SETUP 0
57 #define PKT_CTRL_CMD_TEARDOWN 1
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 #define PKT_CTRL_CMD_STATUS 2
60 struct pkt_ctrl_command {
61   __u32 command;
62   __u32 dev_index;
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64   __u32 dev;
65   __u32 pkt_dev;
66   __u32 num_devices;
67   __u32 padding;
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69 };
70 #define PACKET_IOCTL_MAGIC ('X')
71 #define PACKET_CTRL_CMD _IOWR(PACKET_IOCTL_MAGIC, 1, struct pkt_ctrl_command)
72 #endif
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74