TianoCore EDK2 master
Loading...
Searching...
No Matches
Atapi.h File Reference

Go to the source code of this file.

Data Structures

struct  ATA5_IDENTIFY_DATA
 
struct  ATA_IDENTIFY_DATA
 
struct  ATAPI_IDENTIFY_DATA
 
struct  ATAPI_INQUIRY_DATA
 
struct  ATAPI_REQUEST_SENSE_DATA
 
struct  ATAPI_READ_CAPACITY_DATA
 
struct  ATAPI_READ_FORMAT_CAPACITY_DATA
 
struct  ATAPI_TEST_UNIT_READY_CMD
 
struct  ATAPI_INQUIRY_CMD
 
struct  ATAPI_REQUEST_SENSE_CMD
 
struct  ATAPI_READ10_CMD
 
struct  ATAPI_READ_FORMAT_CAP_CMD
 
struct  ATAPI_MODE_SENSE_CMD
 
union  ATAPI_PACKET_COMMAND
 

Macros

#define ATAPI_MAX_DMA_EXT_CMD_SECTORS   0x10000
 
#define ATAPI_MAX_DMA_CMD_SECTORS   0x100
 
#define ATA_SIGNATURE   0x0101
 defined in ACS-3
 
#define ATAPI_SIGNATURE   0xeb14
 defined in ACS-3
 
#define ATAPI_SIGNATURE_32   0xeb140101
 defined in ACS-3
 
#define ATA_SPINUP_CFG_REQUIRED_IDD_INCOMPLETE   0x37c8
 defined in ACS-3
 
#define ATA_SPINUP_CFG_REQUIRED_IDD_COMPLETE   0x738c
 defined in ACS-3
 
#define ATA_SPINUP_CFG_NOT_REQUIRED_IDD_INCOMPLETE   0x8c73
 defined in ACS-3
 
#define ATA_SPINUP_CFG_NOT_REQUIRED_IDD_COMPLETE   0xc837
 defined in ACS-3
 
#define ATA_CMD_FORMAT_UNIT   0x04
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_CMD_SOFT_RESET   0x08
 defined from ATA-3
 
#define ATA_CMD_PACKET   0xA0
 defined from ATA-3
 
#define ATA_CMD_IDENTIFY_DEVICE   0xA1
 defined from ATA-3
 
#define ATA_CMD_SERVICE   0xA2
 defined from ATA-3
 
#define ATA_CMD_TEST_UNIT_READY   0x00
 defined from ATA-1
 
#define ATA_CMD_REQUEST_SENSE   0x03
 defined from ATA-4
 
#define ATA_CMD_INQUIRY   0x12
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_CMD_READ_FORMAT_CAPACITY   0x23
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_CMD_READ_CAPACITY   0x25
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_CMD_READ_10   0x28
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_CMD_WRITE_10   0x2A
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_CMD_ATAPI_SEEK   0x2B
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_CMD_WRITE_AND_VERIFY   0x2E
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_CMD_VERIFY   0x2F
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_CMD_READ_12   0xA8
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_CMD_WRITE_12   0xAA
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_CMD_START_STOP_UNIT   0x1B
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_CMD_PREVENT_ALLOW_MEDIA_REMOVAL   0x1E
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_CMD_MODE_SELECT   0x55
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_CMD_MODE_SENSE   0x5A
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_PAGE_CODE_READ_WRITE_ERROR   0x01
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_PAGE_CODE_CACHING_PAGE   0x08
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_PAGE_CODE_REMOVABLE_BLOCK_CAPABILITIES   0x1B
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_PAGE_CODE_TIMER_PROTECT_PAGE   0x1C
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_PAGE_CODE_RETURN_ALL_PAGES   0x3F
 defined in ATAPI Removable Rewritable Media Devices
 
#define ATA_CMD_GET_CONFIGURATION   0x46
 defined in ATAPI Multimedia Devices
 
#define ATA_GCCD_RT_FIELD_VALUE_ALL   0x00
 defined in ATAPI Multimedia Devices
 
#define ATA_GCCD_RT_FIELD_VALUE_CURRENT   0x01
 defined in ATAPI Multimedia Devices
 
#define ATA_GCCD_RT_FIELD_VALUE_SINGLE   0x02
 defined in ATAPI Multimedia Devices
 
#define ATA_GCCD_RT_FIELD_VALUE_RESERVED   0x03
 defined in ATAPI Multimedia Devices
 
#define ATA_FEATURE_LIST_PROFILE_LIST   0x0000
 defined in ATAPI Multimedia Devices
 
#define ATA_FEATURE_LIST_CORE   0x0001
 defined in ATAPI Multimedia Devices
 
#define ATA_FEATURE_LIST_MORPHING   0x0002
 defined in ATAPI Multimedia Devices
 
#define ATA_FEATURE_LIST_REMOVEABLE_MEDIUM   0x0003
 defined in ATAPI Multimedia Devices
 
#define ATA_FEATURE_LIST_WRITE_PROTECT   0x0004
 defined in ATAPI Multimedia Devices
 
#define ATA_CMD_IDENTIFY_DRIVE   0xec
 defined from ATA-3
 
#define ATA_CMD_READ_BUFFER   0xe4
 defined from ATA-1
 
#define ATA_CMD_READ_SECTORS   0x20
 defined from ATA-1
 
#define ATA_CMD_READ_SECTORS_WITH_RETRY   0x21
 defined from ATA-1, obsoleted from ATA-5
 
#define ATA_CMD_READ_LONG   0x22
 defined from ATA-1, obsoleted from ATA-5
 
#define ATA_CMD_READ_LONG_WITH_RETRY   0x23
 defined from ATA-1, obsoleted from ATA-5
 
#define ATA_CMD_READ_SECTORS_EXT   0x24
 defined from ATA-6
 
#define ATA_CMD_READ_MULTIPLE   0xc4
 defined in ACS-3
 
#define ATA_CMD_READ_MULTIPLE_EXT   0x29
 defined in ACS-3
 
#define ATA_CMD_READ_LOG_EXT   0x2f
 defined in ACS-3
 
#define ATA_CMD_FORMAT_TRACK   0x50
 defined from ATA-1, obsoleted from ATA-4
 
#define ATA_CMD_WRITE_BUFFER   0xe8
 defined from ATA-1
 
#define ATA_CMD_WRITE_SECTORS   0x30
 defined from ATA-1
 
#define ATA_CMD_WRITE_SECTORS_WITH_RETRY   0x31
 defined from ATA-1, obsoleted from ATA-5
 
#define ATA_CMD_WRITE_LONG   0x32
 defined from ATA-1, obsoleted from ATA-5
 
#define ATA_CMD_WRITE_LONG_WITH_RETRY   0x33
 defined from ATA-1, obsoleted from ATA-5
 
#define ATA_CMD_WRITE_VERIFY   0x3c
 defined from ATA-1, obsoleted from ATA-5
 
#define ATA_CMD_WRITE_SECTORS_EXT   0x34
 defined from ATA-6
 
#define ATA_CMD_WRITE_MULTIPLE   0xc5
 defined in ACS-3
 
#define ATA_CMD_WRITE_MULTIPLE_EXT   0x39
 defined in ACS-3
 
#define ATA_CMD_ACK_MEDIA_CHANGE   0xdb
 defined from ATA-1, obsoleted from ATA-5
 
#define ATA_CMD_BOOT_POST_BOOT   0xdc
 defined from ATA-1, obsoleted from ATA-3
 
#define ATA_CMD_BOOT_PRE_BOOT   0xdd
 defined from ATA-1, obsoleted from ATA-3
 
#define ATA_CMD_CHECK_POWER_MODE   0x98
 defined from ATA-1, obsoleted from ATA-4
 
#define ATA_CMD_CHECK_POWER_MODE_ALIAS   0xe5
 defined from ATA-1
 
#define ATA_CMD_DOOR_LOCK   0xde
 defined from ATA-1
 
#define ATA_CMD_DOOR_UNLOCK   0xdf
 defined from ATA-1
 
#define ATA_CMD_EXEC_DRIVE_DIAG   0x90
 defined from ATA-1
 
#define ATA_CMD_IDLE_ALIAS   0x97
 defined from ATA-1, obsoleted from ATA-4
 
#define ATA_CMD_IDLE   0xe3
 defined from ATA-1
 
#define ATA_CMD_IDLE_IMMEDIATE   0x95
 defined from ATA-1, obsoleted from ATA-4
 
#define ATA_CMD_IDLE_IMMEDIATE_ALIAS   0xe1
 defined from ATA-1
 
#define ATA_CMD_INIT_DRIVE_PARAM   0x91
 defined from ATA-1, obsoleted from ATA-6
 
#define ATA_CMD_RECALIBRATE   0x10
 defined from ATA-1, obsoleted from ATA-4
 
#define ATA_CMD_READ_DRIVE_STATE   0xe9
 defined from ATA-1, obsoleted from ATA-3
 
#define ATA_CMD_SET_MULTIPLE_MODE   0xC6
 defined from ATA-2
 
#define ATA_CMD_READ_VERIFY   0x40
 defined from ATA-1
 
#define ATA_CMD_READ_VERIFY_WITH_RETRY   0x41
 defined from ATA-1, obsoleted from ATA-5
 
#define ATA_CMD_SEEK   0x70
 defined from ATA-1
 
#define ATA_CMD_SET_FEATURES   0xef
 defined from ATA-1
 
#define ATA_CMD_STANDBY   0x96
 defined from ATA-1, obsoleted from ATA-4
 
#define ATA_CMD_STANDBY_ALIAS   0xe2
 defined from ATA-1
 
#define ATA_CMD_STANDBY_IMMEDIATE   0x94
 defined from ATA-1, obsoleted from ATA-4
 
#define ATA_CMD_STANDBY_IMMEDIATE_ALIAS   0xe0
 defined from ATA-1
 
#define ATA_CMD_SLEEP   0xe6
 defined in ACS-3
 
#define ATA_CMD_READ_NATIVE_MAX_ADDRESS   0xf8
 defined in ATA-6
 
#define ATA_CMD_READ_NATIVE_MAX_ADDRESS_EXT   0x27
 defined in ATA-6
 
#define ATA_SUB_CMD_ENABLE_VOLATILE_WRITE_CACHE   0x02
 defined in ACS-3
 
#define ATA_SUB_CMD_SET_TRANSFER_MODE   0x03
 defined in ACS-3
 
#define ATA_SUB_CMD_ENABLE_APM   0x05
 defined in ACS-3
 
#define ATA_SUB_CMD_ENABLE_PUIS   0x06
 defined in ACS-3
 
#define ATA_SUB_CMD_PUIS_SET_DEVICE_SPINUP   0x07
 defined in ACS-3
 
#define ATA_SUB_CMD_ENABLE_WRITE_READ_VERIFY   0x0b
 defined in ACS-3
 
#define ATA_SUB_CMD_ENABLE_SATA_FEATURE   0x10
 defined in ACS-3
 
#define ATA_SUB_CMD_DISABLE_MEDIA_STATUS_NOTIFICATION   0x31
 defined in ACS-3
 
#define ATA_SUB_CMD_ENABLE_FREE_FALL_CONTROL   0x41
 defined in ACS-3
 
#define ATA_SUB_CMD_ACOUSTIC_MANAGEMENT_ENABLE   0x42
 defined in ACS-3
 
#define ATA_SUB_CMD_SET_MAX_HOST_INTERFACE_SECTOR_TIMES   0x43
 defined in ACS-3
 
#define ATA_SUB_CMD_EXTENDED_POWER_CONDITIONS   0x4a
 defined in ACS-3
 
#define ATA_SUB_CMD_DISABLE_READ_LOOK_AHEAD   0x55
 defined in ACS-3
 
#define ATA_SUB_CMD_EN_DIS_DSN_FEATURE   0x63
 defined in ACS-3
 
#define ATA_SUB_CMD_DISABLE_REVERT_TO_POWER_ON_DEFAULTS   0x66
 defined in ACS-3
 
#define ATA_SUB_CMD_DISABLE_VOLATILE_WRITE_CACHE   0x82
 defined in ACS-3
 
#define ATA_SUB_CMD_DISABLE_APM   0x85
 defined in ACS-3
 
#define ATA_SUB_CMD_DISABLE_PUIS   0x86
 defined in ACS-3
 
#define ATA_SUB_CMD_DISABLE_WRITE_READ_VERIFY   0x8b
 defined in ACS-3
 
#define ATA_SUB_CMD_DISABLE_SATA_FEATURE   0x90
 defined in ACS-3
 
#define ATA_SUB_CMD_ENABLE_MEDIA_STATUS_NOTIFICATION   0x95
 defined in ACS-3
 
#define ATA_SUB_CMD_ENABLE_READ_LOOK_AHEAD   0xaa
 defined in ACS-3
 
#define ATA_SUB_CMD_DISABLE_FREE_FALL_CONTROL   0xc1
 defined in ACS-3
 
#define ATA_SUB_CMD_ACOUSTIC_MANAGEMENT_DISABLE   0xc2
 defined in ACS-3
 
#define ATA_SUB_CMD_EN_DIS_SENSE_DATA_REPORTING   0xc3
 defined in ACS-3
 
#define ATA_SUB_CMD_ENABLE_REVERT_TO_POWER_ON_DEFAULTS   0xcc
 defined in ACS-3
 
#define ATA_CMD_SMART   0xb0
 defined from ATA-3
 
#define ATA_CONSTANT_C2   0xc2
 reserved
 
#define ATA_CONSTANT_4F   0x4f
 reserved
 
#define ATA_SMART_READ_DATA   0xd0
 defined in ACS-3
 
#define ATA_SMART_AUTOSAVE   0xd2
 defined in ACS-3
 
#define ATA_AUTOSAVE_DISABLE_ATTR   0x00
 
#define ATA_AUTOSAVE_ENABLE_ATTR   0xf1
 
#define ATA_SMART_EXECUTE_OFFLINE_IMMEDIATE   0xd4
 defined in ACS-3
 
#define ATA_EXECUTE_SMART_OFFLINE_ROUTINE   0x00
 defined in ACS-3
 
#define ATA_EXECUTE_SMART_OFFLINE_SHORT_SELFTEST   0x01
 defined in ACS-3
 
#define ATA_EXECUTE_SMART_OFFLINE_EXTENDED_SELFTEST   0x02
 defined in ACS-3
 
#define ATA_EXECUTE_SMART_OFFLINE_CONVEYANCE_SELFTEST   0x03
 defined in ACS-3
 
#define ATA_EXECUTE_SMART_OFFLINE_SELECTIVE_SELFTEST   0x04
 defined in ACS-3
 
#define ATA_SMART_ABORT_SELF_TEST_SUBROUTINE   0x7f
 defined in ACS-3
 
#define ATA_EXECUTE_SMART_CAPTIVE_SHORT_SELFTEST   0x81
 defined in ACS-3
 
#define ATA_EXECUTE_SMART_CAPTIVE_EXTENDED_SELFTEST   0x82
 defined in ACS-3
 
#define ATA_EXECUTE_SMART_CAPTIVE_CONVEYANCE_SELFTEST   0x83
 defined in ACS-3
 
#define ATA_EXECUTE_SMART_CAPTIVE_SELECTIVE_SELFTEST   0x84
 defined in ACS-3
 
#define ATA_SMART_READLOG   0xd5
 defined in ACS-3
 
#define ATA_SMART_WRITELOG   0xd6
 defined in ACS-3
 
#define ATA_SMART_ENABLE_OPERATION   0xd8
 reserved
 
#define ATA_SMART_DISABLE_OPERATION   0xd9
 defined in ACS-3
 
#define ATA_SMART_RETURN_STATUS   0xda
 defined from ATA-3
 
#define ATA_SMART_THRESHOLD_NOT_EXCEEDED_VALUE   0xc24f
 defined in ACS-3
 
#define ATA_SMART_THRESHOLD_EXCEEDED_VALUE   0x2cf4
 defined in ACS-3
 
#define ATA_SMART_LOG_DIRECTORY   0x00
 defined in ACS-3
 
#define ATA_SMART_SUM_SMART_ERROR_LOG   0x01
 defined in ACS-3
 
#define ATA_SMART_COMP_SMART_ERROR_LOG   0x02
 defined in ACS-3
 
#define ATA_SMART_EXT_COMP_SMART_ERROR_LOG   0x03
 defined in ACS-3
 
#define ATA_SMART_SMART_SELFTEST_LOG   0x06
 defined in ACS-3
 
#define ATA_SMART_EXT_SMART_SELFTEST_LOG   0x07
 defined in ACS-3
 
#define ATA_SMART_SELECTIVE_SELFTEST_LOG   0x09
 defined in ACS-3
 
#define ATA_SMART_HOST_VENDOR_SPECIFIC   0x80
 defined in ACS-3
 
#define ATA_SMART_DEVICE_VENDOR_SPECIFIC   0xa0
 defined in ACS-3
 
#define ATA_CMD_READ_DMA   0xc8
 defined from ATA-1
 
#define ATA_CMD_READ_DMA_WITH_RETRY   0xc9
 defined from ATA-1, obsoleted from ATA-5
 
#define ATA_CMD_READ_DMA_EXT   0x25
 defined from ATA-6
 
#define ATA_CMD_WRITE_DMA   0xca
 defined from ATA-1
 
#define ATA_CMD_WRITE_DMA_WITH_RETRY   0xcb
 defined from ATA-1, obsoleted from ATA-
 
#define ATA_CMD_WRITE_DMA_EXT   0x35
 defined from ATA-6
 
#define ATA_CMD_SECURITY_SET_PASSWORD   0xf1
 defined in ACS-3
 
#define ATA_CMD_SECURITY_UNLOCK   0xf2
 defined in ACS-3
 
#define ATA_CMD_SECURITY_ERASE_PREPARE   0xf3
 defined in ACS-3
 
#define ATA_CMD_SECURITY_ERASE_UNIT   0xf4
 defined in ACS-3
 
#define ATA_CMD_SECURITY_FREEZE_LOCK   0xf5
 defined in ACS-3
 
#define ATA_CMD_SECURITY_DISABLE_PASSWORD   0xf6
 defined in ACS-3
 
#define ATA_SECURITY_BUFFER_LENGTH   512
 defined in ACS-3
 
#define ATA_CMD_DEV_CONFIG_OVERLAY   0xb1
 defined from ATA-6
 
#define ATA_CMD_DEV_CONFIG_RESTORE_FEATURE   0xc0
 defined from ATA-6
 
#define ATA_CMD_DEV_CONFIG_FREEZELOCK_FEATURE   0xc1
 defined from ATA-6
 
#define ATA_CMD_DEV_CONFIG_IDENTIFY_FEATURE   0xc2
 defined from ATA-6
 
#define ATA_CMD_DEV_CONFIG_SET_FEATURE   0xc3
 defined from ATA-6
 
#define ATA_CMD_TRUSTED_NON_DATA   0x5b
 defined in ACS-3
 
#define ATA_CMD_TRUSTED_RECEIVE   0x5c
 defined in ACS-3
 
#define ATA_CMD_TRUSTED_RECEIVE_DMA   0x5d
 defined in ACS-3
 
#define ATA_CMD_TRUSTED_SEND   0x5e
 defined in ACS-3
 
#define ATA_CMD_TRUSTED_SEND_DMA   0x5f
 defined in ACS-3
 
#define ATA_TR_RETURN_SECURITY_PROTOCOL_INFORMATION   0x00
 defined in ACS-3
 
#define ATA_TR_SECURITY_PROTOCOL_JEDEC_RESERVED   0xec
 defined in ACS-3
 
#define ATA_TR_SECURITY_PROTOCOL_SDCARD_RESERVED   0xed
 defined in ACS-3
 
#define ATA_TR_SECURITY_PROTOCOL_IEEE1667_RESERVED   0xee
 defined in ACS-3
 
#define ATA_ACOUSTIC_LEVEL_BYPASS   0xff
 defined from ATA-6
 
#define ATA_ACOUSTIC_LEVEL_MAXIMUM_PERFORMANCE   0xfe
 defined from ATA-6
 
#define ATA_ACOUSTIC_LEVEL_QUIET   0x80
 defined from ATA-6
 
#define ATA_CMD_DIPM_SUB   0x03
 
#define ATA_DIPM_ENABLE   0x10
 
#define ATA_DIPM_DISABLE   0x90
 
#define ATA_CMD_DEVSLEEP_SUB   0x09
 
#define ATA_DEVSLEEP_ENABLE   0x10
 
#define ATA_DEVSLEEP_DISABLE   0x90
 
#define ATA_DEVSLP_EXIT_TIMEOUT   20
 
#define ATA_DEVSLP_MINIMUM_DETECTION_TIME   10
 
#define ATA_DEVSLP_MINIMUM_ASSERTION_TIME   10
 
#define ATA_CMD_SET_MAX_ADDRESS_EXT   0x37
 defined from ATA-6
 
#define ATA_CMD_SET_MAX_ADDRESS   0xf9
 defined from ATA-6
 
#define ATA_SET_MAX_SET_PASSWORD   0x01
 defined from ATA-6
 
#define ATA_SET_MAX_LOCK   0x02
 defined from ATA-6
 
#define ATA_SET_MAX_UNLOCK   0x03
 defined from ATA-6
 
#define ATA_SET_MAX_FREEZE_LOCK   0x04
 defined from ATA-6
 
#define ATA_DEFAULT_CTL   (0x0a)
 
#define ATA_DEFAULT_CMD   (0xa0)
 
#define ATAPI_MAX_BYTE_COUNT   (0xfffe)
 
#define ATA_REQUEST_SENSE_ERROR   (0x70)
 defined in SFF-8070i
 
#define ATA_SK_NO_SENSE   (0x0)
 
#define ATA_SK_RECOVERY_ERROR   (0x1)
 
#define ATA_SK_NOT_READY   (0x2)
 
#define ATA_SK_MEDIUM_ERROR   (0x3)
 
#define ATA_SK_HARDWARE_ERROR   (0x4)
 
#define ATA_SK_ILLEGAL_REQUEST   (0x5)
 
#define ATA_SK_UNIT_ATTENTION   (0x6)
 
#define ATA_SK_DATA_PROTECT   (0x7)
 
#define ATA_SK_BLANK_CHECK   (0x8)
 
#define ATA_SK_VENDOR_SPECIFIC   (0x9)
 
#define ATA_SK_RESERVED_A   (0xA)
 
#define ATA_SK_ABORT   (0xB)
 
#define ATA_SK_RESERVED_C   (0xC)
 
#define ATA_SK_OVERFLOW   (0xD)
 
#define ATA_SK_MISCOMPARE   (0xE)
 
#define ATA_SK_RESERVED_F   (0xF)
 
#define ATA_ASC_NOT_READY   (0x04)
 
#define ATA_ASC_MEDIA_ERR1   (0x10)
 
#define ATA_ASC_MEDIA_ERR2   (0x11)
 
#define ATA_ASC_MEDIA_ERR3   (0x14)
 
#define ATA_ASC_MEDIA_ERR4   (0x30)
 
#define ATA_ASC_MEDIA_UPSIDE_DOWN   (0x06)
 
#define ATA_ASC_INVALID_CMD   (0x20)
 
#define ATA_ASC_LBA_OUT_OF_RANGE   (0x21)
 
#define ATA_ASC_INVALID_FIELD   (0x24)
 
#define ATA_ASC_WRITE_PROTECTED   (0x27)
 
#define ATA_ASC_MEDIA_CHANGE   (0x28)
 
#define ATA_ASC_RESET   (0x29)
 Power On Reset or Bus Reset occurred.
 
#define ATA_ASC_ILLEGAL_FIELD   (0x26)
 
#define ATA_ASC_NO_MEDIA   (0x3A)
 
#define ATA_ASC_ILLEGAL_MODE_FOR_THIS_TRACK   (0x64)
 
#define ATA_ASCQ_IN_PROGRESS   (0x01)
 
#define ATA_ERRREG_BBK   BIT7
 Bad block detected defined from ATA-1, obsoleted from ATA-2.
 
#define ATA_ERRREG_UNC   BIT6
 Uncorrectable Data defined from ATA-1, obsoleted from ATA-4.
 
#define ATA_ERRREG_MC   BIT5
 Media Change defined from ATA-1, obsoleted from ATA-4.
 
#define ATA_ERRREG_IDNF   BIT4
 ID Not Found defined from ATA-1, obsoleted from ATA-4.
 
#define ATA_ERRREG_MCR   BIT3
 Media Change Requested defined from ATA-1, obsoleted from ATA-4.
 
#define ATA_ERRREG_ABRT   BIT2
 Aborted Command defined from ATA-1.
 
#define ATA_ERRREG_TK0NF   BIT1
 Track 0 Not Found defined from ATA-1, obsoleted from ATA-4.
 
#define ATA_ERRREG_AMNF   BIT0
 Address Mark Not Found defined from ATA-1, obsoleted from ATA-4.
 
#define ATA_STSREG_BSY   BIT7
 Controller Busy defined from ATA-1.
 
#define ATA_STSREG_DRDY   BIT6
 Drive Ready defined from ATA-1.
 
#define ATA_STSREG_DWF   BIT5
 Drive Write Fault defined from ATA-1, obsoleted from ATA-4.
 
#define ATA_STSREG_DF   BIT5
 Drive Fault defined from ATA-6.
 
#define ATA_STSREG_DSC   BIT4
 Disk Seek Complete defined from ATA-1, obsoleted from ATA-4.
 
#define ATA_STSREG_DRQ   BIT3
 Data Request defined from ATA-1.
 
#define ATA_STSREG_CORR   BIT2
 Corrected Data defined from ATA-1, obsoleted from ATA-4.
 
#define ATA_STSREG_IDX   BIT1
 Index defined from ATA-1, obsoleted from ATA-4.
 
#define ATA_STSREG_ERR   BIT0
 Error defined from ATA-1.
 
#define ATA_CTLREG_SRST   BIT2
 Software Reset.
 
#define ATA_CTLREG_IEN_L   BIT1
 Interrupt Enable #.
 
#define ATA_CMD_SUBOP_STOP_DISC   0x00
 Stop the Disc.
 
#define ATA_CMD_SUBOP_START_DISC   0x01
 Start the Disc and acquire the format type.
 
#define ATA_CMD_SUBOP_EJECT_DISC   0x02
 Eject the Disc if possible.
 
#define ATA_CMD_SUBOP_CLOSE_TRAY   0x03
 Load the Disc (Close Tray)
 

Detailed Description

This file contains just some basic definitions that are needed by drivers that dealing with ATA/ATAPI interface.

Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Atapi.h.

Macro Definition Documentation

◆ ATA_ACOUSTIC_LEVEL_BYPASS

#define ATA_ACOUSTIC_LEVEL_BYPASS   0xff

defined from ATA-6

Definition at line 724 of file Atapi.h.

◆ ATA_ACOUSTIC_LEVEL_MAXIMUM_PERFORMANCE

#define ATA_ACOUSTIC_LEVEL_MAXIMUM_PERFORMANCE   0xfe

defined from ATA-6

Definition at line 725 of file Atapi.h.

◆ ATA_ACOUSTIC_LEVEL_QUIET

#define ATA_ACOUSTIC_LEVEL_QUIET   0x80

defined from ATA-6

Definition at line 726 of file Atapi.h.

◆ ATA_ASC_ILLEGAL_FIELD

#define ATA_ASC_ILLEGAL_FIELD   (0x26)

Definition at line 809 of file Atapi.h.

◆ ATA_ASC_ILLEGAL_MODE_FOR_THIS_TRACK

#define ATA_ASC_ILLEGAL_MODE_FOR_THIS_TRACK   (0x64)

Definition at line 811 of file Atapi.h.

◆ ATA_ASC_INVALID_CMD

#define ATA_ASC_INVALID_CMD   (0x20)

Definition at line 803 of file Atapi.h.

◆ ATA_ASC_INVALID_FIELD

#define ATA_ASC_INVALID_FIELD   (0x24)

Definition at line 805 of file Atapi.h.

◆ ATA_ASC_LBA_OUT_OF_RANGE

#define ATA_ASC_LBA_OUT_OF_RANGE   (0x21)

Definition at line 804 of file Atapi.h.

◆ ATA_ASC_MEDIA_CHANGE

#define ATA_ASC_MEDIA_CHANGE   (0x28)

Definition at line 807 of file Atapi.h.

◆ ATA_ASC_MEDIA_ERR1

#define ATA_ASC_MEDIA_ERR1   (0x10)

Definition at line 798 of file Atapi.h.

◆ ATA_ASC_MEDIA_ERR2

#define ATA_ASC_MEDIA_ERR2   (0x11)

Definition at line 799 of file Atapi.h.

◆ ATA_ASC_MEDIA_ERR3

#define ATA_ASC_MEDIA_ERR3   (0x14)

Definition at line 800 of file Atapi.h.

◆ ATA_ASC_MEDIA_ERR4

#define ATA_ASC_MEDIA_ERR4   (0x30)

Definition at line 801 of file Atapi.h.

◆ ATA_ASC_MEDIA_UPSIDE_DOWN

#define ATA_ASC_MEDIA_UPSIDE_DOWN   (0x06)

Definition at line 802 of file Atapi.h.

◆ ATA_ASC_NO_MEDIA

#define ATA_ASC_NO_MEDIA   (0x3A)

Definition at line 810 of file Atapi.h.

◆ ATA_ASC_NOT_READY

#define ATA_ASC_NOT_READY   (0x04)

Definition at line 797 of file Atapi.h.

◆ ATA_ASC_RESET

#define ATA_ASC_RESET   (0x29)

Power On Reset or Bus Reset occurred.

Definition at line 808 of file Atapi.h.

◆ ATA_ASC_WRITE_PROTECTED

#define ATA_ASC_WRITE_PROTECTED   (0x27)

Definition at line 806 of file Atapi.h.

◆ ATA_ASCQ_IN_PROGRESS

#define ATA_ASCQ_IN_PROGRESS   (0x01)

Definition at line 816 of file Atapi.h.

◆ ATA_AUTOSAVE_DISABLE_ATTR

#define ATA_AUTOSAVE_DISABLE_ATTR   0x00

Definition at line 638 of file Atapi.h.

◆ ATA_AUTOSAVE_ENABLE_ATTR

#define ATA_AUTOSAVE_ENABLE_ATTR   0xf1

Definition at line 639 of file Atapi.h.

◆ ATA_CMD_ACK_MEDIA_CHANGE

#define ATA_CMD_ACK_MEDIA_CHANGE   0xdb

defined from ATA-1, obsoleted from ATA-5

Definition at line 570 of file Atapi.h.

◆ ATA_CMD_ATAPI_SEEK

#define ATA_CMD_ATAPI_SEEK   0x2B

defined in ATAPI Removable Rewritable Media Devices

Definition at line 497 of file Atapi.h.

◆ ATA_CMD_BOOT_POST_BOOT

#define ATA_CMD_BOOT_POST_BOOT   0xdc

defined from ATA-1, obsoleted from ATA-3

Definition at line 571 of file Atapi.h.

◆ ATA_CMD_BOOT_PRE_BOOT

#define ATA_CMD_BOOT_PRE_BOOT   0xdd

defined from ATA-1, obsoleted from ATA-3

Definition at line 572 of file Atapi.h.

◆ ATA_CMD_CHECK_POWER_MODE

#define ATA_CMD_CHECK_POWER_MODE   0x98

defined from ATA-1, obsoleted from ATA-4

Definition at line 573 of file Atapi.h.

◆ ATA_CMD_CHECK_POWER_MODE_ALIAS

#define ATA_CMD_CHECK_POWER_MODE_ALIAS   0xe5

defined from ATA-1

Definition at line 574 of file Atapi.h.

◆ ATA_CMD_DEV_CONFIG_FREEZELOCK_FEATURE

#define ATA_CMD_DEV_CONFIG_FREEZELOCK_FEATURE   0xc1

defined from ATA-6

Definition at line 700 of file Atapi.h.

◆ ATA_CMD_DEV_CONFIG_IDENTIFY_FEATURE

#define ATA_CMD_DEV_CONFIG_IDENTIFY_FEATURE   0xc2

defined from ATA-6

Definition at line 701 of file Atapi.h.

◆ ATA_CMD_DEV_CONFIG_OVERLAY

#define ATA_CMD_DEV_CONFIG_OVERLAY   0xb1

defined from ATA-6

Definition at line 698 of file Atapi.h.

◆ ATA_CMD_DEV_CONFIG_RESTORE_FEATURE

#define ATA_CMD_DEV_CONFIG_RESTORE_FEATURE   0xc0

defined from ATA-6

Definition at line 699 of file Atapi.h.

◆ ATA_CMD_DEV_CONFIG_SET_FEATURE

#define ATA_CMD_DEV_CONFIG_SET_FEATURE   0xc3

defined from ATA-6

Definition at line 702 of file Atapi.h.

◆ ATA_CMD_DEVSLEEP_SUB

#define ATA_CMD_DEVSLEEP_SUB   0x09

Definition at line 738 of file Atapi.h.

◆ ATA_CMD_DIPM_SUB

#define ATA_CMD_DIPM_SUB   0x03

Definition at line 731 of file Atapi.h.

◆ ATA_CMD_DOOR_LOCK

#define ATA_CMD_DOOR_LOCK   0xde

defined from ATA-1

Definition at line 575 of file Atapi.h.

◆ ATA_CMD_DOOR_UNLOCK

#define ATA_CMD_DOOR_UNLOCK   0xdf

defined from ATA-1

Definition at line 576 of file Atapi.h.

◆ ATA_CMD_EXEC_DRIVE_DIAG

#define ATA_CMD_EXEC_DRIVE_DIAG   0x90

defined from ATA-1

Definition at line 577 of file Atapi.h.

◆ ATA_CMD_FORMAT_TRACK

#define ATA_CMD_FORMAT_TRACK   0x50

defined from ATA-1, obsoleted from ATA-4

Definition at line 556 of file Atapi.h.

◆ ATA_CMD_FORMAT_UNIT

#define ATA_CMD_FORMAT_UNIT   0x04

defined in ATAPI Removable Rewritable Media Devices

Definition at line 485 of file Atapi.h.

◆ ATA_CMD_GET_CONFIGURATION

#define ATA_CMD_GET_CONFIGURATION   0x46

defined in ATAPI Multimedia Devices

Definition at line 513 of file Atapi.h.

◆ ATA_CMD_IDENTIFY_DEVICE

#define ATA_CMD_IDENTIFY_DEVICE   0xA1

defined from ATA-3

Definition at line 488 of file Atapi.h.

◆ ATA_CMD_IDENTIFY_DRIVE

#define ATA_CMD_IDENTIFY_DRIVE   0xec

defined from ATA-3

Definition at line 542 of file Atapi.h.

◆ ATA_CMD_IDLE

#define ATA_CMD_IDLE   0xe3

defined from ATA-1

Definition at line 579 of file Atapi.h.

◆ ATA_CMD_IDLE_ALIAS

#define ATA_CMD_IDLE_ALIAS   0x97

defined from ATA-1, obsoleted from ATA-4

Definition at line 578 of file Atapi.h.

◆ ATA_CMD_IDLE_IMMEDIATE

#define ATA_CMD_IDLE_IMMEDIATE   0x95

defined from ATA-1, obsoleted from ATA-4

Definition at line 580 of file Atapi.h.

◆ ATA_CMD_IDLE_IMMEDIATE_ALIAS

#define ATA_CMD_IDLE_IMMEDIATE_ALIAS   0xe1

defined from ATA-1

Definition at line 581 of file Atapi.h.

◆ ATA_CMD_INIT_DRIVE_PARAM

#define ATA_CMD_INIT_DRIVE_PARAM   0x91

defined from ATA-1, obsoleted from ATA-6

Definition at line 582 of file Atapi.h.

◆ ATA_CMD_INQUIRY

#define ATA_CMD_INQUIRY   0x12

defined in ATAPI Removable Rewritable Media Devices

Definition at line 492 of file Atapi.h.

◆ ATA_CMD_MODE_SELECT

#define ATA_CMD_MODE_SELECT   0x55

defined in ATAPI Removable Rewritable Media Devices

Definition at line 504 of file Atapi.h.

◆ ATA_CMD_MODE_SENSE

#define ATA_CMD_MODE_SENSE   0x5A

defined in ATAPI Removable Rewritable Media Devices

Definition at line 506 of file Atapi.h.

◆ ATA_CMD_PACKET

#define ATA_CMD_PACKET   0xA0

defined from ATA-3

Definition at line 487 of file Atapi.h.

◆ ATA_CMD_PREVENT_ALLOW_MEDIA_REMOVAL

#define ATA_CMD_PREVENT_ALLOW_MEDIA_REMOVAL   0x1E

defined in ATAPI Removable Rewritable Media Devices

Definition at line 503 of file Atapi.h.

◆ ATA_CMD_READ_10

#define ATA_CMD_READ_10   0x28

defined in ATAPI Removable Rewritable Media Devices

Definition at line 495 of file Atapi.h.

◆ ATA_CMD_READ_12

#define ATA_CMD_READ_12   0xA8

defined in ATAPI Removable Rewritable Media Devices

Definition at line 500 of file Atapi.h.

◆ ATA_CMD_READ_BUFFER

#define ATA_CMD_READ_BUFFER   0xe4

defined from ATA-1

Definition at line 543 of file Atapi.h.

◆ ATA_CMD_READ_CAPACITY

#define ATA_CMD_READ_CAPACITY   0x25

defined in ATAPI Removable Rewritable Media Devices

Definition at line 494 of file Atapi.h.

◆ ATA_CMD_READ_DMA

#define ATA_CMD_READ_DMA   0xc8

defined from ATA-1

Definition at line 676 of file Atapi.h.

◆ ATA_CMD_READ_DMA_EXT

#define ATA_CMD_READ_DMA_EXT   0x25

defined from ATA-6

Definition at line 678 of file Atapi.h.

◆ ATA_CMD_READ_DMA_WITH_RETRY

#define ATA_CMD_READ_DMA_WITH_RETRY   0xc9

defined from ATA-1, obsoleted from ATA-5

Definition at line 677 of file Atapi.h.

◆ ATA_CMD_READ_DRIVE_STATE

#define ATA_CMD_READ_DRIVE_STATE   0xe9

defined from ATA-1, obsoleted from ATA-3

Definition at line 584 of file Atapi.h.

◆ ATA_CMD_READ_FORMAT_CAPACITY

#define ATA_CMD_READ_FORMAT_CAPACITY   0x23

defined in ATAPI Removable Rewritable Media Devices

Definition at line 493 of file Atapi.h.

◆ ATA_CMD_READ_LOG_EXT

#define ATA_CMD_READ_LOG_EXT   0x2f

defined in ACS-3

Definition at line 551 of file Atapi.h.

◆ ATA_CMD_READ_LONG

#define ATA_CMD_READ_LONG   0x22

defined from ATA-1, obsoleted from ATA-5

Definition at line 546 of file Atapi.h.

◆ ATA_CMD_READ_LONG_WITH_RETRY

#define ATA_CMD_READ_LONG_WITH_RETRY   0x23

defined from ATA-1, obsoleted from ATA-5

Definition at line 547 of file Atapi.h.

◆ ATA_CMD_READ_MULTIPLE

#define ATA_CMD_READ_MULTIPLE   0xc4

defined in ACS-3

Definition at line 549 of file Atapi.h.

◆ ATA_CMD_READ_MULTIPLE_EXT

#define ATA_CMD_READ_MULTIPLE_EXT   0x29

defined in ACS-3

Definition at line 550 of file Atapi.h.

◆ ATA_CMD_READ_NATIVE_MAX_ADDRESS

#define ATA_CMD_READ_NATIVE_MAX_ADDRESS   0xf8

defined in ATA-6

Definition at line 595 of file Atapi.h.

◆ ATA_CMD_READ_NATIVE_MAX_ADDRESS_EXT

#define ATA_CMD_READ_NATIVE_MAX_ADDRESS_EXT   0x27

defined in ATA-6

Definition at line 596 of file Atapi.h.

◆ ATA_CMD_READ_SECTORS

#define ATA_CMD_READ_SECTORS   0x20

defined from ATA-1

Definition at line 544 of file Atapi.h.

◆ ATA_CMD_READ_SECTORS_EXT

#define ATA_CMD_READ_SECTORS_EXT   0x24

defined from ATA-6

Definition at line 548 of file Atapi.h.

◆ ATA_CMD_READ_SECTORS_WITH_RETRY

#define ATA_CMD_READ_SECTORS_WITH_RETRY   0x21

defined from ATA-1, obsoleted from ATA-5

Definition at line 545 of file Atapi.h.

◆ ATA_CMD_READ_VERIFY

#define ATA_CMD_READ_VERIFY   0x40

defined from ATA-1

Definition at line 586 of file Atapi.h.

◆ ATA_CMD_READ_VERIFY_WITH_RETRY

#define ATA_CMD_READ_VERIFY_WITH_RETRY   0x41

defined from ATA-1, obsoleted from ATA-5

Definition at line 587 of file Atapi.h.

◆ ATA_CMD_RECALIBRATE

#define ATA_CMD_RECALIBRATE   0x10

defined from ATA-1, obsoleted from ATA-4

Definition at line 583 of file Atapi.h.

◆ ATA_CMD_REQUEST_SENSE

#define ATA_CMD_REQUEST_SENSE   0x03

defined from ATA-4

Definition at line 491 of file Atapi.h.

◆ ATA_CMD_SECURITY_DISABLE_PASSWORD

#define ATA_CMD_SECURITY_DISABLE_PASSWORD   0xf6

defined in ACS-3

Definition at line 691 of file Atapi.h.

◆ ATA_CMD_SECURITY_ERASE_PREPARE

#define ATA_CMD_SECURITY_ERASE_PREPARE   0xf3

defined in ACS-3

Definition at line 688 of file Atapi.h.

◆ ATA_CMD_SECURITY_ERASE_UNIT

#define ATA_CMD_SECURITY_ERASE_UNIT   0xf4

defined in ACS-3

Definition at line 689 of file Atapi.h.

◆ ATA_CMD_SECURITY_FREEZE_LOCK

#define ATA_CMD_SECURITY_FREEZE_LOCK   0xf5

defined in ACS-3

Definition at line 690 of file Atapi.h.

◆ ATA_CMD_SECURITY_SET_PASSWORD

#define ATA_CMD_SECURITY_SET_PASSWORD   0xf1

defined in ACS-3

Definition at line 686 of file Atapi.h.

◆ ATA_CMD_SECURITY_UNLOCK

#define ATA_CMD_SECURITY_UNLOCK   0xf2

defined in ACS-3

Definition at line 687 of file Atapi.h.

◆ ATA_CMD_SEEK

#define ATA_CMD_SEEK   0x70

defined from ATA-1

Definition at line 588 of file Atapi.h.

◆ ATA_CMD_SERVICE

#define ATA_CMD_SERVICE   0xA2

defined from ATA-3

Definition at line 489 of file Atapi.h.

◆ ATA_CMD_SET_FEATURES

#define ATA_CMD_SET_FEATURES   0xef

defined from ATA-1

Definition at line 589 of file Atapi.h.

◆ ATA_CMD_SET_MAX_ADDRESS

#define ATA_CMD_SET_MAX_ADDRESS   0xf9

defined from ATA-6

Definition at line 750 of file Atapi.h.

◆ ATA_CMD_SET_MAX_ADDRESS_EXT

#define ATA_CMD_SET_MAX_ADDRESS_EXT   0x37

defined from ATA-6

Definition at line 749 of file Atapi.h.

◆ ATA_CMD_SET_MULTIPLE_MODE

#define ATA_CMD_SET_MULTIPLE_MODE   0xC6

defined from ATA-2

Definition at line 585 of file Atapi.h.

◆ ATA_CMD_SLEEP

#define ATA_CMD_SLEEP   0xe6

defined in ACS-3

Definition at line 594 of file Atapi.h.

◆ ATA_CMD_SMART

#define ATA_CMD_SMART   0xb0

defined from ATA-3

Definition at line 631 of file Atapi.h.

◆ ATA_CMD_SOFT_RESET

#define ATA_CMD_SOFT_RESET   0x08

defined from ATA-3

Definition at line 486 of file Atapi.h.

◆ ATA_CMD_STANDBY

#define ATA_CMD_STANDBY   0x96

defined from ATA-1, obsoleted from ATA-4

Definition at line 590 of file Atapi.h.

◆ ATA_CMD_STANDBY_ALIAS

#define ATA_CMD_STANDBY_ALIAS   0xe2

defined from ATA-1

Definition at line 591 of file Atapi.h.

◆ ATA_CMD_STANDBY_IMMEDIATE

#define ATA_CMD_STANDBY_IMMEDIATE   0x94

defined from ATA-1, obsoleted from ATA-4

Definition at line 592 of file Atapi.h.

◆ ATA_CMD_STANDBY_IMMEDIATE_ALIAS

#define ATA_CMD_STANDBY_IMMEDIATE_ALIAS   0xe0

defined from ATA-1

Definition at line 593 of file Atapi.h.

◆ ATA_CMD_START_STOP_UNIT

#define ATA_CMD_START_STOP_UNIT   0x1B

defined in ATAPI Removable Rewritable Media Devices

Definition at line 502 of file Atapi.h.

◆ ATA_CMD_SUBOP_CLOSE_TRAY

#define ATA_CMD_SUBOP_CLOSE_TRAY   0x03

Load the Disc (Close Tray)

Definition at line 532 of file Atapi.h.

◆ ATA_CMD_SUBOP_EJECT_DISC

#define ATA_CMD_SUBOP_EJECT_DISC   0x02

Eject the Disc if possible.

Definition at line 531 of file Atapi.h.

◆ ATA_CMD_SUBOP_START_DISC

#define ATA_CMD_SUBOP_START_DISC   0x01

Start the Disc and acquire the format type.

Definition at line 530 of file Atapi.h.

◆ ATA_CMD_SUBOP_STOP_DISC

#define ATA_CMD_SUBOP_STOP_DISC   0x00

Stop the Disc.

Start/Stop and Eject Operations

Definition at line 529 of file Atapi.h.

◆ ATA_CMD_TEST_UNIT_READY

#define ATA_CMD_TEST_UNIT_READY   0x00

defined from ATA-1

Definition at line 490 of file Atapi.h.

◆ ATA_CMD_TRUSTED_NON_DATA

#define ATA_CMD_TRUSTED_NON_DATA   0x5b

defined in ACS-3

Definition at line 707 of file Atapi.h.

◆ ATA_CMD_TRUSTED_RECEIVE

#define ATA_CMD_TRUSTED_RECEIVE   0x5c

defined in ACS-3

Definition at line 708 of file Atapi.h.

◆ ATA_CMD_TRUSTED_RECEIVE_DMA

#define ATA_CMD_TRUSTED_RECEIVE_DMA   0x5d

defined in ACS-3

Definition at line 709 of file Atapi.h.

◆ ATA_CMD_TRUSTED_SEND

#define ATA_CMD_TRUSTED_SEND   0x5e

defined in ACS-3

Definition at line 710 of file Atapi.h.

◆ ATA_CMD_TRUSTED_SEND_DMA

#define ATA_CMD_TRUSTED_SEND_DMA   0x5f

defined in ACS-3

Definition at line 711 of file Atapi.h.

◆ ATA_CMD_VERIFY

#define ATA_CMD_VERIFY   0x2F

defined in ATAPI Removable Rewritable Media Devices

Definition at line 499 of file Atapi.h.

◆ ATA_CMD_WRITE_10

#define ATA_CMD_WRITE_10   0x2A

defined in ATAPI Removable Rewritable Media Devices

Definition at line 496 of file Atapi.h.

◆ ATA_CMD_WRITE_12

#define ATA_CMD_WRITE_12   0xAA

defined in ATAPI Removable Rewritable Media Devices

Definition at line 501 of file Atapi.h.

◆ ATA_CMD_WRITE_AND_VERIFY

#define ATA_CMD_WRITE_AND_VERIFY   0x2E

defined in ATAPI Removable Rewritable Media Devices

Definition at line 498 of file Atapi.h.

◆ ATA_CMD_WRITE_BUFFER

#define ATA_CMD_WRITE_BUFFER   0xe8

defined from ATA-1

Definition at line 557 of file Atapi.h.

◆ ATA_CMD_WRITE_DMA

#define ATA_CMD_WRITE_DMA   0xca

defined from ATA-1

Definition at line 679 of file Atapi.h.

◆ ATA_CMD_WRITE_DMA_EXT

#define ATA_CMD_WRITE_DMA_EXT   0x35

defined from ATA-6

Definition at line 681 of file Atapi.h.

◆ ATA_CMD_WRITE_DMA_WITH_RETRY

#define ATA_CMD_WRITE_DMA_WITH_RETRY   0xcb

defined from ATA-1, obsoleted from ATA-

Definition at line 680 of file Atapi.h.

◆ ATA_CMD_WRITE_LONG

#define ATA_CMD_WRITE_LONG   0x32

defined from ATA-1, obsoleted from ATA-5

Definition at line 560 of file Atapi.h.

◆ ATA_CMD_WRITE_LONG_WITH_RETRY

#define ATA_CMD_WRITE_LONG_WITH_RETRY   0x33

defined from ATA-1, obsoleted from ATA-5

Definition at line 561 of file Atapi.h.

◆ ATA_CMD_WRITE_MULTIPLE

#define ATA_CMD_WRITE_MULTIPLE   0xc5

defined in ACS-3

Definition at line 564 of file Atapi.h.

◆ ATA_CMD_WRITE_MULTIPLE_EXT

#define ATA_CMD_WRITE_MULTIPLE_EXT   0x39

defined in ACS-3

Definition at line 565 of file Atapi.h.

◆ ATA_CMD_WRITE_SECTORS

#define ATA_CMD_WRITE_SECTORS   0x30

defined from ATA-1

Definition at line 558 of file Atapi.h.

◆ ATA_CMD_WRITE_SECTORS_EXT

#define ATA_CMD_WRITE_SECTORS_EXT   0x34

defined from ATA-6

Definition at line 563 of file Atapi.h.

◆ ATA_CMD_WRITE_SECTORS_WITH_RETRY

#define ATA_CMD_WRITE_SECTORS_WITH_RETRY   0x31

defined from ATA-1, obsoleted from ATA-5

Definition at line 559 of file Atapi.h.

◆ ATA_CMD_WRITE_VERIFY

#define ATA_CMD_WRITE_VERIFY   0x3c

defined from ATA-1, obsoleted from ATA-5

Definition at line 562 of file Atapi.h.

◆ ATA_CONSTANT_4F

#define ATA_CONSTANT_4F   0x4f

reserved

Definition at line 633 of file Atapi.h.

◆ ATA_CONSTANT_C2

#define ATA_CONSTANT_C2   0xc2

reserved

Definition at line 632 of file Atapi.h.

◆ ATA_CTLREG_IEN_L

#define ATA_CTLREG_IEN_L   BIT1

Interrupt Enable #.

Definition at line 847 of file Atapi.h.

◆ ATA_CTLREG_SRST

#define ATA_CTLREG_SRST   BIT2

Software Reset.

Definition at line 846 of file Atapi.h.

◆ ATA_DEFAULT_CMD

#define ATA_DEFAULT_CMD   (0xa0)

Default context of Device/Head Register, Bit7 and Bit5 are set to 1 for back-compatibilities.

Definition at line 765 of file Atapi.h.

◆ ATA_DEFAULT_CTL

#define ATA_DEFAULT_CTL   (0x0a)

Default content of device control register, disable INT, Bit3 is set to 1 according ATA-1

Definition at line 760 of file Atapi.h.

◆ ATA_DEVSLEEP_DISABLE

#define ATA_DEVSLEEP_DISABLE   0x90

Definition at line 740 of file Atapi.h.

◆ ATA_DEVSLEEP_ENABLE

#define ATA_DEVSLEEP_ENABLE   0x10

Definition at line 739 of file Atapi.h.

◆ ATA_DEVSLP_EXIT_TIMEOUT

#define ATA_DEVSLP_EXIT_TIMEOUT   20

Definition at line 742 of file Atapi.h.

◆ ATA_DEVSLP_MINIMUM_ASSERTION_TIME

#define ATA_DEVSLP_MINIMUM_ASSERTION_TIME   10

Definition at line 744 of file Atapi.h.

◆ ATA_DEVSLP_MINIMUM_DETECTION_TIME

#define ATA_DEVSLP_MINIMUM_DETECTION_TIME   10

Definition at line 743 of file Atapi.h.

◆ ATA_DIPM_DISABLE

#define ATA_DIPM_DISABLE   0x90

Definition at line 733 of file Atapi.h.

◆ ATA_DIPM_ENABLE

#define ATA_DIPM_ENABLE   0x10

Definition at line 732 of file Atapi.h.

◆ ATA_ERRREG_ABRT

#define ATA_ERRREG_ABRT   BIT2

Aborted Command defined from ATA-1.

Definition at line 826 of file Atapi.h.

◆ ATA_ERRREG_AMNF

#define ATA_ERRREG_AMNF   BIT0

Address Mark Not Found defined from ATA-1, obsoleted from ATA-4.

Definition at line 828 of file Atapi.h.

◆ ATA_ERRREG_BBK

#define ATA_ERRREG_BBK   BIT7

Bad block detected defined from ATA-1, obsoleted from ATA-2.

Definition at line 821 of file Atapi.h.

◆ ATA_ERRREG_IDNF

#define ATA_ERRREG_IDNF   BIT4

ID Not Found defined from ATA-1, obsoleted from ATA-4.

Definition at line 824 of file Atapi.h.

◆ ATA_ERRREG_MC

#define ATA_ERRREG_MC   BIT5

Media Change defined from ATA-1, obsoleted from ATA-4.

Definition at line 823 of file Atapi.h.

◆ ATA_ERRREG_MCR

#define ATA_ERRREG_MCR   BIT3

Media Change Requested defined from ATA-1, obsoleted from ATA-4.

Definition at line 825 of file Atapi.h.

◆ ATA_ERRREG_TK0NF

#define ATA_ERRREG_TK0NF   BIT1

Track 0 Not Found defined from ATA-1, obsoleted from ATA-4.

Definition at line 827 of file Atapi.h.

◆ ATA_ERRREG_UNC

#define ATA_ERRREG_UNC   BIT6

Uncorrectable Data defined from ATA-1, obsoleted from ATA-4.

Definition at line 822 of file Atapi.h.

◆ ATA_EXECUTE_SMART_CAPTIVE_CONVEYANCE_SELFTEST

#define ATA_EXECUTE_SMART_CAPTIVE_CONVEYANCE_SELFTEST   0x83

defined in ACS-3

Definition at line 650 of file Atapi.h.

◆ ATA_EXECUTE_SMART_CAPTIVE_EXTENDED_SELFTEST

#define ATA_EXECUTE_SMART_CAPTIVE_EXTENDED_SELFTEST   0x82

defined in ACS-3

Definition at line 649 of file Atapi.h.

◆ ATA_EXECUTE_SMART_CAPTIVE_SELECTIVE_SELFTEST

#define ATA_EXECUTE_SMART_CAPTIVE_SELECTIVE_SELFTEST   0x84

defined in ACS-3

Definition at line 651 of file Atapi.h.

◆ ATA_EXECUTE_SMART_CAPTIVE_SHORT_SELFTEST

#define ATA_EXECUTE_SMART_CAPTIVE_SHORT_SELFTEST   0x81

defined in ACS-3

Definition at line 648 of file Atapi.h.

◆ ATA_EXECUTE_SMART_OFFLINE_CONVEYANCE_SELFTEST

#define ATA_EXECUTE_SMART_OFFLINE_CONVEYANCE_SELFTEST   0x03

defined in ACS-3

Definition at line 645 of file Atapi.h.

◆ ATA_EXECUTE_SMART_OFFLINE_EXTENDED_SELFTEST

#define ATA_EXECUTE_SMART_OFFLINE_EXTENDED_SELFTEST   0x02

defined in ACS-3

Definition at line 644 of file Atapi.h.

◆ ATA_EXECUTE_SMART_OFFLINE_ROUTINE

#define ATA_EXECUTE_SMART_OFFLINE_ROUTINE   0x00

defined in ACS-3

Definition at line 642 of file Atapi.h.

◆ ATA_EXECUTE_SMART_OFFLINE_SELECTIVE_SELFTEST

#define ATA_EXECUTE_SMART_OFFLINE_SELECTIVE_SELFTEST   0x04

defined in ACS-3

Definition at line 646 of file Atapi.h.

◆ ATA_EXECUTE_SMART_OFFLINE_SHORT_SELFTEST

#define ATA_EXECUTE_SMART_OFFLINE_SHORT_SELFTEST   0x01

defined in ACS-3

Definition at line 643 of file Atapi.h.

◆ ATA_FEATURE_LIST_CORE

#define ATA_FEATURE_LIST_CORE   0x0001

defined in ATAPI Multimedia Devices

Definition at line 520 of file Atapi.h.

◆ ATA_FEATURE_LIST_MORPHING

#define ATA_FEATURE_LIST_MORPHING   0x0002

defined in ATAPI Multimedia Devices

Definition at line 521 of file Atapi.h.

◆ ATA_FEATURE_LIST_PROFILE_LIST

#define ATA_FEATURE_LIST_PROFILE_LIST   0x0000

defined in ATAPI Multimedia Devices

Definition at line 519 of file Atapi.h.

◆ ATA_FEATURE_LIST_REMOVEABLE_MEDIUM

#define ATA_FEATURE_LIST_REMOVEABLE_MEDIUM   0x0003

defined in ATAPI Multimedia Devices

Definition at line 522 of file Atapi.h.

◆ ATA_FEATURE_LIST_WRITE_PROTECT

#define ATA_FEATURE_LIST_WRITE_PROTECT   0x0004

defined in ATAPI Multimedia Devices

Definition at line 523 of file Atapi.h.

◆ ATA_GCCD_RT_FIELD_VALUE_ALL

#define ATA_GCCD_RT_FIELD_VALUE_ALL   0x00

defined in ATAPI Multimedia Devices

Definition at line 514 of file Atapi.h.

◆ ATA_GCCD_RT_FIELD_VALUE_CURRENT

#define ATA_GCCD_RT_FIELD_VALUE_CURRENT   0x01

defined in ATAPI Multimedia Devices

Definition at line 515 of file Atapi.h.

◆ ATA_GCCD_RT_FIELD_VALUE_RESERVED

#define ATA_GCCD_RT_FIELD_VALUE_RESERVED   0x03

defined in ATAPI Multimedia Devices

Definition at line 517 of file Atapi.h.

◆ ATA_GCCD_RT_FIELD_VALUE_SINGLE

#define ATA_GCCD_RT_FIELD_VALUE_SINGLE   0x02

defined in ATAPI Multimedia Devices

Definition at line 516 of file Atapi.h.

◆ ATA_PAGE_CODE_CACHING_PAGE

#define ATA_PAGE_CODE_CACHING_PAGE   0x08

defined in ATAPI Removable Rewritable Media Devices

Definition at line 508 of file Atapi.h.

◆ ATA_PAGE_CODE_READ_WRITE_ERROR

#define ATA_PAGE_CODE_READ_WRITE_ERROR   0x01

defined in ATAPI Removable Rewritable Media Devices

Definition at line 507 of file Atapi.h.

◆ ATA_PAGE_CODE_REMOVABLE_BLOCK_CAPABILITIES

#define ATA_PAGE_CODE_REMOVABLE_BLOCK_CAPABILITIES   0x1B

defined in ATAPI Removable Rewritable Media Devices

Definition at line 509 of file Atapi.h.

◆ ATA_PAGE_CODE_RETURN_ALL_PAGES

#define ATA_PAGE_CODE_RETURN_ALL_PAGES   0x3F

defined in ATAPI Removable Rewritable Media Devices

Definition at line 511 of file Atapi.h.

◆ ATA_PAGE_CODE_TIMER_PROTECT_PAGE

#define ATA_PAGE_CODE_TIMER_PROTECT_PAGE   0x1C

defined in ATAPI Removable Rewritable Media Devices

Definition at line 510 of file Atapi.h.

◆ ATA_REQUEST_SENSE_ERROR

#define ATA_REQUEST_SENSE_ERROR   (0x70)

defined in SFF-8070i

Definition at line 769 of file Atapi.h.

◆ ATA_SECURITY_BUFFER_LENGTH

#define ATA_SECURITY_BUFFER_LENGTH   512

defined in ACS-3

Definition at line 693 of file Atapi.h.

◆ ATA_SET_MAX_FREEZE_LOCK

#define ATA_SET_MAX_FREEZE_LOCK   0x04

defined from ATA-6

Definition at line 754 of file Atapi.h.

◆ ATA_SET_MAX_LOCK

#define ATA_SET_MAX_LOCK   0x02

defined from ATA-6

Definition at line 752 of file Atapi.h.

◆ ATA_SET_MAX_SET_PASSWORD

#define ATA_SET_MAX_SET_PASSWORD   0x01

defined from ATA-6

Definition at line 751 of file Atapi.h.

◆ ATA_SET_MAX_UNLOCK

#define ATA_SET_MAX_UNLOCK   0x03

defined from ATA-6

Definition at line 753 of file Atapi.h.

◆ ATA_SIGNATURE

#define ATA_SIGNATURE   0x0101

defined in ACS-3

Definition at line 472 of file Atapi.h.

◆ ATA_SK_ABORT

#define ATA_SK_ABORT   (0xB)

Definition at line 788 of file Atapi.h.

◆ ATA_SK_BLANK_CHECK

#define ATA_SK_BLANK_CHECK   (0x8)

Definition at line 785 of file Atapi.h.

◆ ATA_SK_DATA_PROTECT

#define ATA_SK_DATA_PROTECT   (0x7)

Definition at line 784 of file Atapi.h.

◆ ATA_SK_HARDWARE_ERROR

#define ATA_SK_HARDWARE_ERROR   (0x4)

Definition at line 781 of file Atapi.h.

◆ ATA_SK_ILLEGAL_REQUEST

#define ATA_SK_ILLEGAL_REQUEST   (0x5)

Definition at line 782 of file Atapi.h.

◆ ATA_SK_MEDIUM_ERROR

#define ATA_SK_MEDIUM_ERROR   (0x3)

Definition at line 780 of file Atapi.h.

◆ ATA_SK_MISCOMPARE

#define ATA_SK_MISCOMPARE   (0xE)

Definition at line 791 of file Atapi.h.

◆ ATA_SK_NO_SENSE

#define ATA_SK_NO_SENSE   (0x0)

Definition at line 777 of file Atapi.h.

◆ ATA_SK_NOT_READY

#define ATA_SK_NOT_READY   (0x2)

Definition at line 779 of file Atapi.h.

◆ ATA_SK_OVERFLOW

#define ATA_SK_OVERFLOW   (0xD)

Definition at line 790 of file Atapi.h.

◆ ATA_SK_RECOVERY_ERROR

#define ATA_SK_RECOVERY_ERROR   (0x1)

Definition at line 778 of file Atapi.h.

◆ ATA_SK_RESERVED_A

#define ATA_SK_RESERVED_A   (0xA)

Definition at line 787 of file Atapi.h.

◆ ATA_SK_RESERVED_C

#define ATA_SK_RESERVED_C   (0xC)

Definition at line 789 of file Atapi.h.

◆ ATA_SK_RESERVED_F

#define ATA_SK_RESERVED_F   (0xF)

Definition at line 792 of file Atapi.h.

◆ ATA_SK_UNIT_ATTENTION

#define ATA_SK_UNIT_ATTENTION   (0x6)

Definition at line 783 of file Atapi.h.

◆ ATA_SK_VENDOR_SPECIFIC

#define ATA_SK_VENDOR_SPECIFIC   (0x9)

Definition at line 786 of file Atapi.h.

◆ ATA_SMART_ABORT_SELF_TEST_SUBROUTINE

#define ATA_SMART_ABORT_SELF_TEST_SUBROUTINE   0x7f

defined in ACS-3

Definition at line 647 of file Atapi.h.

◆ ATA_SMART_AUTOSAVE

#define ATA_SMART_AUTOSAVE   0xd2

defined in ACS-3

Definition at line 637 of file Atapi.h.

◆ ATA_SMART_COMP_SMART_ERROR_LOG

#define ATA_SMART_COMP_SMART_ERROR_LOG   0x02

defined in ACS-3

Definition at line 665 of file Atapi.h.

◆ ATA_SMART_DEVICE_VENDOR_SPECIFIC

#define ATA_SMART_DEVICE_VENDOR_SPECIFIC   0xa0

defined in ACS-3

Definition at line 671 of file Atapi.h.

◆ ATA_SMART_DISABLE_OPERATION

#define ATA_SMART_DISABLE_OPERATION   0xd9

defined in ACS-3

Definition at line 656 of file Atapi.h.

◆ ATA_SMART_ENABLE_OPERATION

#define ATA_SMART_ENABLE_OPERATION   0xd8

reserved

Definition at line 655 of file Atapi.h.

◆ ATA_SMART_EXECUTE_OFFLINE_IMMEDIATE

#define ATA_SMART_EXECUTE_OFFLINE_IMMEDIATE   0xd4

defined in ACS-3

Definition at line 641 of file Atapi.h.

◆ ATA_SMART_EXT_COMP_SMART_ERROR_LOG

#define ATA_SMART_EXT_COMP_SMART_ERROR_LOG   0x03

defined in ACS-3

Definition at line 666 of file Atapi.h.

◆ ATA_SMART_EXT_SMART_SELFTEST_LOG

#define ATA_SMART_EXT_SMART_SELFTEST_LOG   0x07

defined in ACS-3

Definition at line 668 of file Atapi.h.

◆ ATA_SMART_HOST_VENDOR_SPECIFIC

#define ATA_SMART_HOST_VENDOR_SPECIFIC   0x80

defined in ACS-3

Definition at line 670 of file Atapi.h.

◆ ATA_SMART_LOG_DIRECTORY

#define ATA_SMART_LOG_DIRECTORY   0x00

defined in ACS-3

Definition at line 663 of file Atapi.h.

◆ ATA_SMART_READ_DATA

#define ATA_SMART_READ_DATA   0xd0

defined in ACS-3

Definition at line 635 of file Atapi.h.

◆ ATA_SMART_READLOG

#define ATA_SMART_READLOG   0xd5

defined in ACS-3

Definition at line 653 of file Atapi.h.

◆ ATA_SMART_RETURN_STATUS

#define ATA_SMART_RETURN_STATUS   0xda

defined from ATA-3

Definition at line 657 of file Atapi.h.

◆ ATA_SMART_SELECTIVE_SELFTEST_LOG

#define ATA_SMART_SELECTIVE_SELFTEST_LOG   0x09

defined in ACS-3

Definition at line 669 of file Atapi.h.

◆ ATA_SMART_SMART_SELFTEST_LOG

#define ATA_SMART_SMART_SELFTEST_LOG   0x06

defined in ACS-3

Definition at line 667 of file Atapi.h.

◆ ATA_SMART_SUM_SMART_ERROR_LOG

#define ATA_SMART_SUM_SMART_ERROR_LOG   0x01

defined in ACS-3

Definition at line 664 of file Atapi.h.

◆ ATA_SMART_THRESHOLD_EXCEEDED_VALUE

#define ATA_SMART_THRESHOLD_EXCEEDED_VALUE   0x2cf4

defined in ACS-3

Definition at line 660 of file Atapi.h.

◆ ATA_SMART_THRESHOLD_NOT_EXCEEDED_VALUE

#define ATA_SMART_THRESHOLD_NOT_EXCEEDED_VALUE   0xc24f

defined in ACS-3

Definition at line 659 of file Atapi.h.

◆ ATA_SMART_WRITELOG

#define ATA_SMART_WRITELOG   0xd6

defined in ACS-3

Definition at line 654 of file Atapi.h.

◆ ATA_SPINUP_CFG_NOT_REQUIRED_IDD_COMPLETE

#define ATA_SPINUP_CFG_NOT_REQUIRED_IDD_COMPLETE   0xc837

defined in ACS-3

Definition at line 480 of file Atapi.h.

◆ ATA_SPINUP_CFG_NOT_REQUIRED_IDD_INCOMPLETE

#define ATA_SPINUP_CFG_NOT_REQUIRED_IDD_INCOMPLETE   0x8c73

defined in ACS-3

Definition at line 479 of file Atapi.h.

◆ ATA_SPINUP_CFG_REQUIRED_IDD_COMPLETE

#define ATA_SPINUP_CFG_REQUIRED_IDD_COMPLETE   0x738c

defined in ACS-3

Definition at line 478 of file Atapi.h.

◆ ATA_SPINUP_CFG_REQUIRED_IDD_INCOMPLETE

#define ATA_SPINUP_CFG_REQUIRED_IDD_INCOMPLETE   0x37c8

defined in ACS-3

Definition at line 477 of file Atapi.h.

◆ ATA_STSREG_BSY

#define ATA_STSREG_BSY   BIT7

Controller Busy defined from ATA-1.

Definition at line 833 of file Atapi.h.

◆ ATA_STSREG_CORR

#define ATA_STSREG_CORR   BIT2

Corrected Data defined from ATA-1, obsoleted from ATA-4.

Definition at line 839 of file Atapi.h.

◆ ATA_STSREG_DF

#define ATA_STSREG_DF   BIT5

Drive Fault defined from ATA-6.

Definition at line 836 of file Atapi.h.

◆ ATA_STSREG_DRDY

#define ATA_STSREG_DRDY   BIT6

Drive Ready defined from ATA-1.

Definition at line 834 of file Atapi.h.

◆ ATA_STSREG_DRQ

#define ATA_STSREG_DRQ   BIT3

Data Request defined from ATA-1.

Definition at line 838 of file Atapi.h.

◆ ATA_STSREG_DSC

#define ATA_STSREG_DSC   BIT4

Disk Seek Complete defined from ATA-1, obsoleted from ATA-4.

Definition at line 837 of file Atapi.h.

◆ ATA_STSREG_DWF

#define ATA_STSREG_DWF   BIT5

Drive Write Fault defined from ATA-1, obsoleted from ATA-4.

Definition at line 835 of file Atapi.h.

◆ ATA_STSREG_ERR

#define ATA_STSREG_ERR   BIT0

Error defined from ATA-1.

Definition at line 841 of file Atapi.h.

◆ ATA_STSREG_IDX

#define ATA_STSREG_IDX   BIT1

Index defined from ATA-1, obsoleted from ATA-4.

Definition at line 840 of file Atapi.h.

◆ ATA_SUB_CMD_ACOUSTIC_MANAGEMENT_DISABLE

#define ATA_SUB_CMD_ACOUSTIC_MANAGEMENT_DISABLE   0xc2

defined in ACS-3

Definition at line 624 of file Atapi.h.

◆ ATA_SUB_CMD_ACOUSTIC_MANAGEMENT_ENABLE

#define ATA_SUB_CMD_ACOUSTIC_MANAGEMENT_ENABLE   0x42

defined in ACS-3

Definition at line 610 of file Atapi.h.

◆ ATA_SUB_CMD_DISABLE_APM

#define ATA_SUB_CMD_DISABLE_APM   0x85

defined in ACS-3

Definition at line 617 of file Atapi.h.

◆ ATA_SUB_CMD_DISABLE_FREE_FALL_CONTROL

#define ATA_SUB_CMD_DISABLE_FREE_FALL_CONTROL   0xc1

defined in ACS-3

Definition at line 623 of file Atapi.h.

◆ ATA_SUB_CMD_DISABLE_MEDIA_STATUS_NOTIFICATION

#define ATA_SUB_CMD_DISABLE_MEDIA_STATUS_NOTIFICATION   0x31

defined in ACS-3

Definition at line 608 of file Atapi.h.

◆ ATA_SUB_CMD_DISABLE_PUIS

#define ATA_SUB_CMD_DISABLE_PUIS   0x86

defined in ACS-3

Definition at line 618 of file Atapi.h.

◆ ATA_SUB_CMD_DISABLE_READ_LOOK_AHEAD

#define ATA_SUB_CMD_DISABLE_READ_LOOK_AHEAD   0x55

defined in ACS-3

Definition at line 613 of file Atapi.h.

◆ ATA_SUB_CMD_DISABLE_REVERT_TO_POWER_ON_DEFAULTS

#define ATA_SUB_CMD_DISABLE_REVERT_TO_POWER_ON_DEFAULTS   0x66

defined in ACS-3

Definition at line 615 of file Atapi.h.

◆ ATA_SUB_CMD_DISABLE_SATA_FEATURE

#define ATA_SUB_CMD_DISABLE_SATA_FEATURE   0x90

defined in ACS-3

Definition at line 620 of file Atapi.h.

◆ ATA_SUB_CMD_DISABLE_VOLATILE_WRITE_CACHE

#define ATA_SUB_CMD_DISABLE_VOLATILE_WRITE_CACHE   0x82

defined in ACS-3

Definition at line 616 of file Atapi.h.

◆ ATA_SUB_CMD_DISABLE_WRITE_READ_VERIFY

#define ATA_SUB_CMD_DISABLE_WRITE_READ_VERIFY   0x8b

defined in ACS-3

Definition at line 619 of file Atapi.h.

◆ ATA_SUB_CMD_EN_DIS_DSN_FEATURE

#define ATA_SUB_CMD_EN_DIS_DSN_FEATURE   0x63

defined in ACS-3

Definition at line 614 of file Atapi.h.

◆ ATA_SUB_CMD_EN_DIS_SENSE_DATA_REPORTING

#define ATA_SUB_CMD_EN_DIS_SENSE_DATA_REPORTING   0xc3

defined in ACS-3

Definition at line 625 of file Atapi.h.

◆ ATA_SUB_CMD_ENABLE_APM

#define ATA_SUB_CMD_ENABLE_APM   0x05

defined in ACS-3

Definition at line 603 of file Atapi.h.

◆ ATA_SUB_CMD_ENABLE_FREE_FALL_CONTROL

#define ATA_SUB_CMD_ENABLE_FREE_FALL_CONTROL   0x41

defined in ACS-3

Definition at line 609 of file Atapi.h.

◆ ATA_SUB_CMD_ENABLE_MEDIA_STATUS_NOTIFICATION

#define ATA_SUB_CMD_ENABLE_MEDIA_STATUS_NOTIFICATION   0x95

defined in ACS-3

Definition at line 621 of file Atapi.h.

◆ ATA_SUB_CMD_ENABLE_PUIS

#define ATA_SUB_CMD_ENABLE_PUIS   0x06

defined in ACS-3

Definition at line 604 of file Atapi.h.

◆ ATA_SUB_CMD_ENABLE_READ_LOOK_AHEAD

#define ATA_SUB_CMD_ENABLE_READ_LOOK_AHEAD   0xaa

defined in ACS-3

Definition at line 622 of file Atapi.h.

◆ ATA_SUB_CMD_ENABLE_REVERT_TO_POWER_ON_DEFAULTS

#define ATA_SUB_CMD_ENABLE_REVERT_TO_POWER_ON_DEFAULTS   0xcc

defined in ACS-3

Definition at line 626 of file Atapi.h.

◆ ATA_SUB_CMD_ENABLE_SATA_FEATURE

#define ATA_SUB_CMD_ENABLE_SATA_FEATURE   0x10

defined in ACS-3

Definition at line 607 of file Atapi.h.

◆ ATA_SUB_CMD_ENABLE_VOLATILE_WRITE_CACHE

#define ATA_SUB_CMD_ENABLE_VOLATILE_WRITE_CACHE   0x02

defined in ACS-3

Definition at line 601 of file Atapi.h.

◆ ATA_SUB_CMD_ENABLE_WRITE_READ_VERIFY

#define ATA_SUB_CMD_ENABLE_WRITE_READ_VERIFY   0x0b

defined in ACS-3

Definition at line 606 of file Atapi.h.

◆ ATA_SUB_CMD_EXTENDED_POWER_CONDITIONS

#define ATA_SUB_CMD_EXTENDED_POWER_CONDITIONS   0x4a

defined in ACS-3

Definition at line 612 of file Atapi.h.

◆ ATA_SUB_CMD_PUIS_SET_DEVICE_SPINUP

#define ATA_SUB_CMD_PUIS_SET_DEVICE_SPINUP   0x07

defined in ACS-3

Definition at line 605 of file Atapi.h.

◆ ATA_SUB_CMD_SET_MAX_HOST_INTERFACE_SECTOR_TIMES

#define ATA_SUB_CMD_SET_MAX_HOST_INTERFACE_SECTOR_TIMES   0x43

defined in ACS-3

Definition at line 611 of file Atapi.h.

◆ ATA_SUB_CMD_SET_TRANSFER_MODE

#define ATA_SUB_CMD_SET_TRANSFER_MODE   0x03

defined in ACS-3

Definition at line 602 of file Atapi.h.

◆ ATA_TR_RETURN_SECURITY_PROTOCOL_INFORMATION

#define ATA_TR_RETURN_SECURITY_PROTOCOL_INFORMATION   0x00

defined in ACS-3

Definition at line 716 of file Atapi.h.

◆ ATA_TR_SECURITY_PROTOCOL_IEEE1667_RESERVED

#define ATA_TR_SECURITY_PROTOCOL_IEEE1667_RESERVED   0xee

defined in ACS-3

Definition at line 719 of file Atapi.h.

◆ ATA_TR_SECURITY_PROTOCOL_JEDEC_RESERVED

#define ATA_TR_SECURITY_PROTOCOL_JEDEC_RESERVED   0xec

defined in ACS-3

Definition at line 717 of file Atapi.h.

◆ ATA_TR_SECURITY_PROTOCOL_SDCARD_RESERVED

#define ATA_TR_SECURITY_PROTOCOL_SDCARD_RESERVED   0xed

defined in ACS-3

Definition at line 718 of file Atapi.h.

◆ ATAPI_MAX_BYTE_COUNT

#define ATAPI_MAX_BYTE_COUNT   (0xfffe)

Definition at line 767 of file Atapi.h.

◆ ATAPI_MAX_DMA_CMD_SECTORS

#define ATAPI_MAX_DMA_CMD_SECTORS   0x100

Definition at line 469 of file Atapi.h.

◆ ATAPI_MAX_DMA_EXT_CMD_SECTORS

#define ATAPI_MAX_DMA_EXT_CMD_SECTORS   0x10000

Definition at line 468 of file Atapi.h.

◆ ATAPI_SIGNATURE

#define ATAPI_SIGNATURE   0xeb14

defined in ACS-3

Definition at line 473 of file Atapi.h.

◆ ATAPI_SIGNATURE_32

#define ATAPI_SIGNATURE_32   0xeb140101

defined in ACS-3

Definition at line 474 of file Atapi.h.