1 # Generated by h2py from /usr/include/linux/cdrom.h
6 CDROMPLAYTRKIND
= 0x5304
7 CDROMREADTOCHDR
= 0x5305
8 CDROMREADTOCENTRY
= 0x5306
14 CDROMREADMODE2
= 0x530c
15 CDROMREADMODE1
= 0x530d
16 CDROMREADAUDIO
= 0x530e
17 CDROMEJECT_SW
= 0x530f
18 CDROMMULTISESSION
= 0x5310
19 CDROM_GET_MCN
= 0x5311
20 CDROM_GET_UPC
= CDROM_GET_MCN
24 CDROMREADCOOKED
= 0x5315
28 CDROMGETSPINDOWN
= 0x531d
29 CDROMSETSPINDOWN
= 0x531e
30 CDROMCLOSETRAY
= 0x5319
31 CDROM_SET_OPTIONS
= 0x5320
32 CDROM_CLEAR_OPTIONS
= 0x5321
33 CDROM_SELECT_SPEED
= 0x5322
34 CDROM_SELECT_DISC
= 0x5323
35 CDROM_MEDIA_CHANGED
= 0x5325
36 CDROM_DRIVE_STATUS
= 0x5326
37 CDROM_DISC_STATUS
= 0x5327
38 CDROM_CHANGER_NSLOTS
= 0x5328
39 CDROM_LOCKDOOR
= 0x5329
41 CDROM_GET_CAPABILITY
= 0x5331
42 CDROMAUDIOBUFSIZ
= 0x5382
43 DVD_READ_STRUCT
= 0x5390
44 DVD_WRITE_STRUCT
= 0x5391
46 CDROM_SEND_PACKET
= 0x5393
47 CDROM_NEXT_WRITABLE
= 0x5394
48 CDROM_LAST_WRITTEN
= 0x5395
49 CDROM_PACKET_SIZE
= 12
68 CD_FRAMESIZE_RAW
= 2352
69 CD_FRAMESIZE_RAWER
= 2646
70 CD_FRAMESIZE_RAW1
= (CD_FRAMESIZE_RAW
-CD_SYNC_SIZE
)
71 CD_FRAMESIZE_RAW0
= (CD_FRAMESIZE_RAW
-CD_SYNC_SIZE
-CD_HEAD_SIZE
)
72 CD_XA_HEAD
= (CD_HEAD_SIZE
+CD_SUBHEAD_SIZE
)
73 CD_XA_TAIL
= (CD_EDC_SIZE
+CD_ECC_SIZE
)
74 CD_XA_SYNC_HEAD
= (CD_SYNC_SIZE
+CD_XA_HEAD
)
77 CDROM_DATA_TRACK
= 0x04
79 CDROM_AUDIO_INVALID
= 0x00
80 CDROM_AUDIO_PLAY
= 0x11
81 CDROM_AUDIO_PAUSED
= 0x12
82 CDROM_AUDIO_COMPLETED
= 0x13
83 CDROM_AUDIO_ERROR
= 0x14
84 CDROM_AUDIO_NO_STATUS
= 0x15
88 CDC_SELECT_SPEED
= 0x8
89 CDC_SELECT_DISC
= 0x10
90 CDC_MULTI_SESSION
= 0x20
92 CDC_MEDIA_CHANGED
= 0x80
93 CDC_PLAY_AUDIO
= 0x100
96 CDC_DRIVE_STATUS
= 0x800
97 CDC_GENERIC_PACKET
= 0x1000
102 CDC_DVD_RAM
= 0x20000
106 CDS_DRIVE_NOT_READY
= 3
118 CDO_CHECK_TYPE
= 0x10
120 CD_PART_MASK
= (CD_PART_MAX
- 1)
122 GPCMD_CLOSE_TRACK
= 0x5b
123 GPCMD_FLUSH_CACHE
= 0x35
124 GPCMD_FORMAT_UNIT
= 0x04
125 GPCMD_GET_CONFIGURATION
= 0x46
126 GPCMD_GET_EVENT_STATUS_NOTIFICATION
= 0x4a
127 GPCMD_GET_PERFORMANCE
= 0xac
129 GPCMD_LOAD_UNLOAD
= 0xa6
130 GPCMD_MECHANISM_STATUS
= 0xbd
131 GPCMD_MODE_SELECT_10
= 0x55
132 GPCMD_MODE_SENSE_10
= 0x5a
133 GPCMD_PAUSE_RESUME
= 0x4b
134 GPCMD_PLAY_AUDIO_10
= 0x45
135 GPCMD_PLAY_AUDIO_MSF
= 0x47
136 GPCMD_PLAY_AUDIO_TI
= 0x48
138 GPCMD_PREVENT_ALLOW_MEDIUM_REMOVAL
= 0x1e
141 GPCMD_READ_CDVD_CAPACITY
= 0x25
143 GPCMD_READ_CD_MSF
= 0xb9
144 GPCMD_READ_DISC_INFO
= 0x51
145 GPCMD_READ_DVD_STRUCTURE
= 0xad
146 GPCMD_READ_FORMAT_CAPACITIES
= 0x23
147 GPCMD_READ_HEADER
= 0x44
148 GPCMD_READ_TRACK_RZONE_INFO
= 0x52
149 GPCMD_READ_SUBCHANNEL
= 0x42
150 GPCMD_READ_TOC_PMA_ATIP
= 0x43
151 GPCMD_REPAIR_RZONE_TRACK
= 0x58
152 GPCMD_REPORT_KEY
= 0xa4
153 GPCMD_REQUEST_SENSE
= 0x03
154 GPCMD_RESERVE_RZONE_TRACK
= 0x53
157 GPCMD_SEND_DVD_STRUCTURE
= 0xad
158 GPCMD_SEND_EVENT
= 0xa2
159 GPCMD_SEND_KEY
= 0xa3
160 GPCMD_SEND_OPC
= 0x54
161 GPCMD_SET_READ_AHEAD
= 0xa7
162 GPCMD_SET_STREAMING
= 0xb6
163 GPCMD_START_STOP_UNIT
= 0x1b
164 GPCMD_STOP_PLAY_SCAN
= 0x4e
165 GPCMD_TEST_UNIT_READY
= 0x00
166 GPCMD_VERIFY_10
= 0x2f
167 GPCMD_WRITE_10
= 0x2a
168 GPCMD_WRITE_AND_VERIFY_10
= 0x2e
169 GPCMD_SET_SPEED
= 0xbb
170 GPCMD_PLAYAUDIO_TI
= 0x48
171 GPCMD_GET_MEDIA_STATUS
= 0xda
172 GPMODE_R_W_ERROR_PAGE
= 0x01
173 GPMODE_WRITE_PARMS_PAGE
= 0x05
174 GPMODE_AUDIO_CTL_PAGE
= 0x0e
175 GPMODE_POWER_PAGE
= 0x1a
176 GPMODE_FAULT_FAIL_PAGE
= 0x1c
177 GPMODE_TO_PROTECT_PAGE
= 0x1d
178 GPMODE_CAPABILITIES_PAGE
= 0x2a
179 GPMODE_ALL_PAGES
= 0x3f
180 GPMODE_CDROM_PAGE
= 0x0d
181 DVD_STRUCT_PHYSICAL
= 0x00
182 DVD_STRUCT_COPYRIGHT
= 0x01
183 DVD_STRUCT_DISCKEY
= 0x02
184 DVD_STRUCT_BCA
= 0x03
185 DVD_STRUCT_MANUFACT
= 0x04
188 DVD_HOST_SEND_CHALLENGE
= 1
190 DVD_LU_SEND_CHALLENGE
= 3
191 DVD_HOST_SEND_KEY2
= 4
192 DVD_AUTH_ESTABLISHED
= 5
194 DVD_LU_SEND_TITLE_KEY
= 7
196 DVD_INVALIDATE_AGID
= 9
197 DVD_LU_SEND_RPC_STATE
= 10
198 DVD_HOST_SEND_RPC_STATE
= 11
199 DVD_CPM_NO_COPYRIGHT
= 0
200 DVD_CPM_COPYRIGHTED
= 1
203 DVD_CGMS_UNRESTRICTED
= 0
205 DVD_CGMS_RESTRICTED
= 3
207 CDROM_MAX_SLOTS
= 256