diff options
Diffstat (limited to 'libc/kernel/common/linux/cdrom.h')
-rw-r--r-- | libc/kernel/common/linux/cdrom.h | 240 |
1 files changed, 120 insertions, 120 deletions
diff --git a/libc/kernel/common/linux/cdrom.h b/libc/kernel/common/linux/cdrom.h index ca51fa994..abec13f1b 100644 --- a/libc/kernel/common/linux/cdrom.h +++ b/libc/kernel/common/linux/cdrom.h @@ -21,63 +21,63 @@ #include <asm/byteorder.h> #define EDRIVE_CANT_DO_THIS EOPNOTSUPP /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDROMPAUSE 0x5301 -#define CDROMRESUME 0x5302 -#define CDROMPLAYMSF 0x5303 -#define CDROMPLAYTRKIND 0x5304 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDROMREADTOCHDR 0x5305 -#define CDROMREADTOCENTRY 0x5306 -#define CDROMSTOP 0x5307 -#define CDROMSTART 0x5308 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDROMEJECT 0x5309 -#define CDROMVOLCTRL 0x530a -#define CDROMSUBCHNL 0x530b -#define CDROMREADMODE2 0x530c -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDROMREADMODE1 0x530d -#define CDROMREADAUDIO 0x530e -#define CDROMEJECT_SW 0x530f -#define CDROMMULTISESSION 0x5310 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDROM_GET_MCN 0x5311 -#define CDROM_GET_UPC CDROM_GET_MCN -#define CDROMRESET 0x5312 -#define CDROMVOLREAD 0x5313 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDROMREADRAW 0x5314 -#define CDROMREADCOOKED 0x5315 -#define CDROMSEEK 0x5316 -#define CDROMPLAYBLK 0x5317 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDROMREADALL 0x5318 +#define CDROMPAUSE 0x5301 +#define CDROMRESUME 0x5302 +#define CDROMPLAYMSF 0x5303 +#define CDROMPLAYTRKIND 0x5304 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define CDROMREADTOCHDR 0x5305 +#define CDROMREADTOCENTRY 0x5306 +#define CDROMSTOP 0x5307 +#define CDROMSTART 0x5308 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define CDROMEJECT 0x5309 +#define CDROMVOLCTRL 0x530a +#define CDROMSUBCHNL 0x530b +#define CDROMREADMODE2 0x530c +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define CDROMREADMODE1 0x530d +#define CDROMREADAUDIO 0x530e +#define CDROMEJECT_SW 0x530f +#define CDROMMULTISESSION 0x5310 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define CDROM_GET_MCN 0x5311 +#define CDROM_GET_UPC CDROM_GET_MCN +#define CDROMRESET 0x5312 +#define CDROMVOLREAD 0x5313 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define CDROMREADRAW 0x5314 +#define CDROMREADCOOKED 0x5315 +#define CDROMSEEK 0x5316 +#define CDROMPLAYBLK 0x5317 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define CDROMREADALL 0x5318 #define CDROMGETSPINDOWN 0x531d #define CDROMSETSPINDOWN 0x531e -#define CDROMCLOSETRAY 0x5319 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDROM_SET_OPTIONS 0x5320 -#define CDROM_CLEAR_OPTIONS 0x5321 -#define CDROM_SELECT_SPEED 0x5322 -#define CDROM_SELECT_DISC 0x5323 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDROM_MEDIA_CHANGED 0x5325 -#define CDROM_DRIVE_STATUS 0x5326 -#define CDROM_DISC_STATUS 0x5327 -#define CDROM_CHANGER_NSLOTS 0x5328 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDROM_LOCKDOOR 0x5329 -#define CDROM_DEBUG 0x5330 -#define CDROM_GET_CAPABILITY 0x5331 -#define CDROMAUDIOBUFSIZ 0x5382 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define DVD_READ_STRUCT 0x5390 -#define DVD_WRITE_STRUCT 0x5391 -#define DVD_AUTH 0x5392 -#define CDROM_SEND_PACKET 0x5393 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDROM_NEXT_WRITABLE 0x5394 -#define CDROM_LAST_WRITTEN 0x5395 +#define CDROMCLOSETRAY 0x5319 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define CDROM_SET_OPTIONS 0x5320 +#define CDROM_CLEAR_OPTIONS 0x5321 +#define CDROM_SELECT_SPEED 0x5322 +#define CDROM_SELECT_DISC 0x5323 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define CDROM_MEDIA_CHANGED 0x5325 +#define CDROM_DRIVE_STATUS 0x5326 +#define CDROM_DISC_STATUS 0x5327 +#define CDROM_CHANGER_NSLOTS 0x5328 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define CDROM_LOCKDOOR 0x5329 +#define CDROM_DEBUG 0x5330 +#define CDROM_GET_CAPABILITY 0x5331 +#define CDROMAUDIOBUFSIZ 0x5382 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define DVD_READ_STRUCT 0x5390 +#define DVD_WRITE_STRUCT 0x5391 +#define DVD_AUTH 0x5392 +#define CDROM_SEND_PACKET 0x5393 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define CDROM_NEXT_WRITABLE 0x5394 +#define CDROM_LAST_WRITTEN 0x5395 struct cdrom_msf0 { /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ @@ -208,72 +208,72 @@ struct cdrom_generic_command /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ void __user *reserved[1]; }; -#define CD_MINS 74 -#define CD_SECS 60 +#define CD_MINS 74 +#define CD_SECS 60 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CD_FRAMES 75 -#define CD_SYNC_SIZE 12 -#define CD_MSF_OFFSET 150 -#define CD_CHUNK_SIZE 24 +#define CD_FRAMES 75 +#define CD_SYNC_SIZE 12 +#define CD_MSF_OFFSET 150 +#define CD_CHUNK_SIZE 24 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CD_NUM_OF_CHUNKS 98 -#define CD_FRAMESIZE_SUB 96 -#define CD_HEAD_SIZE 4 -#define CD_SUBHEAD_SIZE 8 +#define CD_NUM_OF_CHUNKS 98 +#define CD_FRAMESIZE_SUB 96 +#define CD_HEAD_SIZE 4 +#define CD_SUBHEAD_SIZE 8 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CD_EDC_SIZE 4 -#define CD_ZERO_SIZE 8 -#define CD_ECC_SIZE 276 -#define CD_FRAMESIZE 2048 +#define CD_EDC_SIZE 4 +#define CD_ZERO_SIZE 8 +#define CD_ECC_SIZE 276 +#define CD_FRAMESIZE 2048 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CD_FRAMESIZE_RAW 2352 -#define CD_FRAMESIZE_RAWER 2646 -#define CD_FRAMESIZE_RAW1 (CD_FRAMESIZE_RAW-CD_SYNC_SIZE) -#define CD_FRAMESIZE_RAW0 (CD_FRAMESIZE_RAW-CD_SYNC_SIZE-CD_HEAD_SIZE) +#define CD_FRAMESIZE_RAW 2352 +#define CD_FRAMESIZE_RAWER 2646 +#define CD_FRAMESIZE_RAW1 (CD_FRAMESIZE_RAW-CD_SYNC_SIZE) +#define CD_FRAMESIZE_RAW0 (CD_FRAMESIZE_RAW-CD_SYNC_SIZE-CD_HEAD_SIZE) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CD_XA_HEAD (CD_HEAD_SIZE+CD_SUBHEAD_SIZE) -#define CD_XA_TAIL (CD_EDC_SIZE+CD_ECC_SIZE) -#define CD_XA_SYNC_HEAD (CD_SYNC_SIZE+CD_XA_HEAD) -#define CDROM_LBA 0x01 +#define CD_XA_HEAD (CD_HEAD_SIZE+CD_SUBHEAD_SIZE) +#define CD_XA_TAIL (CD_EDC_SIZE+CD_ECC_SIZE) +#define CD_XA_SYNC_HEAD (CD_SYNC_SIZE+CD_XA_HEAD) +#define CDROM_LBA 0x01 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDROM_MSF 0x02 +#define CDROM_MSF 0x02 #define CDROM_DATA_TRACK 0x04 #define CDROM_LEADOUT 0xAA -#define CDROM_AUDIO_INVALID 0x00 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDROM_AUDIO_PLAY 0x11 -#define CDROM_AUDIO_PAUSED 0x12 -#define CDROM_AUDIO_COMPLETED 0x13 -#define CDROM_AUDIO_ERROR 0x14 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDROM_AUDIO_NO_STATUS 0x15 -#define CDC_CLOSE_TRAY 0x1 -#define CDC_OPEN_TRAY 0x2 -#define CDC_LOCK 0x4 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDC_SELECT_SPEED 0x8 -#define CDC_SELECT_DISC 0x10 -#define CDC_MULTI_SESSION 0x20 -#define CDC_MCN 0x40 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDC_MEDIA_CHANGED 0x80 -#define CDC_PLAY_AUDIO 0x100 -#define CDC_RESET 0x200 -#define CDC_DRIVE_STATUS 0x800 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDC_GENERIC_PACKET 0x1000 -#define CDC_CD_R 0x2000 -#define CDC_CD_RW 0x4000 -#define CDC_DVD 0x8000 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDC_DVD_R 0x10000 -#define CDC_DVD_RAM 0x20000 -#define CDC_MO_DRIVE 0x40000 -#define CDC_MRW 0x80000 -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDC_MRW_W 0x100000 -#define CDC_RAM 0x200000 -#define CDS_NO_INFO 0 +#define CDROM_AUDIO_INVALID 0x00 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define CDROM_AUDIO_PLAY 0x11 +#define CDROM_AUDIO_PAUSED 0x12 +#define CDROM_AUDIO_COMPLETED 0x13 +#define CDROM_AUDIO_ERROR 0x14 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define CDROM_AUDIO_NO_STATUS 0x15 +#define CDC_CLOSE_TRAY 0x1 +#define CDC_OPEN_TRAY 0x2 +#define CDC_LOCK 0x4 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define CDC_SELECT_SPEED 0x8 +#define CDC_SELECT_DISC 0x10 +#define CDC_MULTI_SESSION 0x20 +#define CDC_MCN 0x40 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define CDC_MEDIA_CHANGED 0x80 +#define CDC_PLAY_AUDIO 0x100 +#define CDC_RESET 0x200 +#define CDC_DRIVE_STATUS 0x800 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define CDC_GENERIC_PACKET 0x1000 +#define CDC_CD_R 0x2000 +#define CDC_CD_RW 0x4000 +#define CDC_DVD 0x8000 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define CDC_DVD_R 0x10000 +#define CDC_DVD_RAM 0x20000 +#define CDC_MO_DRIVE 0x40000 +#define CDC_MRW 0x80000 +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ +#define CDC_MRW_W 0x100000 +#define CDC_RAM 0x200000 +#define CDS_NO_INFO 0 #define CDS_NO_DISC 1 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define CDS_TRAY_OPEN 2 @@ -287,12 +287,12 @@ struct cdrom_generic_command #define CDS_XA_2_2 104 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define CDS_MIXED 105 -#define CDO_AUTO_CLOSE 0x1 -#define CDO_AUTO_EJECT 0x2 -#define CDO_USE_FFLAGS 0x4 +#define CDO_AUTO_CLOSE 0x1 +#define CDO_AUTO_EJECT 0x2 +#define CDO_USE_FFLAGS 0x4 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDO_LOCK 0x8 -#define CDO_CHECK_TYPE 0x10 +#define CDO_LOCK 0x8 +#define CDO_CHECK_TYPE 0x10 #define CDSL_NONE ((int) (~0U>>1)-1) #define CDSL_CURRENT ((int) (~0U>>1)) /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ @@ -581,8 +581,8 @@ struct request_sense { __u8 asb[46]; }; /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define CDF_RWRT 0x0020 -#define CDF_HWDM 0x0024 +#define CDF_RWRT 0x0020 +#define CDF_HWDM 0x0024 #define CDF_MRW 0x0028 #define CDM_MRW_NOTMRW 0 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |