ReactOS 0.4.16-dev-2633-g8dc9e50
_ATAPORT_DEVICE_EXTENSION Struct Reference

#include <atapi.h>

Collaboration diagram for _ATAPORT_DEVICE_EXTENSION:

Public Member Functions

_Field_z_ DECLSPEC_ALIGN (2) CHAR FriendlyName[ATAPORT_FN_FIELD+sizeof(ANSI_NULL)]
 
_Field_z_ DECLSPEC_ALIGN (2) CHAR RevisionNumber[ATAPORT_RN_FIELD+sizeof(ANSI_NULL)]
 
_Field_z_ DECLSPEC_ALIGN (2) CHAR SerialNumber[ATAPORT_SN_FIELD+sizeof(ANSI_NULL)]
 

Public Attributes

ATAPORT_COMMON_EXTENSION Common
 
ATAPORT_IO_CONTEXT Device
 
ATA_WORKER_DEVICE_CONTEXT Worker
 
BOOLEAN ReportedMissing
 
BOOLEAN RemovalPending
 
BOOLEAN NotPresent
 
BOOLEAN DeviceClaimed
 
SINGLE_LIST_ENTRY ListEntry
 
LIST_ENTRY PowerIrpQueueList
 
union {
   IDENTIFY_DEVICE_DATA   IdentifyDeviceData
 
   IDENTIFY_PACKET_DATA   IdentifyPacketData
 
}; 
 
INQUIRYDATA InquiryData
 
ULONG DeviceType
 
ULONG TransferModeUserAllowedMask
 
ULONG TransferModeCurrentBitmap
 
ULONG TransferModeSupportedBitmap
 
ULONG TransferModeSelectedBitmap
 
ULONG TransferModeAllowedMask
 
ULONG MinimumPioCycleTime
 
ULONG MinimumSingleWordDmaCycleTime
 
ULONG MinimumMultiWordDmaCycleTime
 
ULONG MinimumUltraDmaCycleTime
 
PVOID GtfDataBuffer
 
LARGE_INTEGER LastDmaErrorTime
 
WMILIB_CONTEXT WmiLibInfo
 

Detailed Description

Definition at line 452 of file atapi.h.

Member Function Documentation

◆ DECLSPEC_ALIGN() [1/3]

_Field_z_ _ATAPORT_DEVICE_EXTENSION::DECLSPEC_ALIGN ( )

Device strings for PNP and IOCTL operations.

◆ DECLSPEC_ALIGN() [2/3]

_Field_z_ _ATAPORT_DEVICE_EXTENSION::DECLSPEC_ALIGN ( )

◆ DECLSPEC_ALIGN() [3/3]

_Field_z_ _ATAPORT_DEVICE_EXTENSION::DECLSPEC_ALIGN ( )

Member Data Documentation

◆ 

union { ... } _ATAPORT_DEVICE_EXTENSION::@1166

512-byte block of device identify data.

◆ Common

◆ Device

◆ DeviceClaimed

BOOLEAN _ATAPORT_DEVICE_EXTENSION::DeviceClaimed

Definition at line 463 of file atapi.h.

Referenced by AtaFdoHandleGetScsiInquiryData().

◆ DeviceType

ULONG _ATAPORT_DEVICE_EXTENSION::DeviceType

Current device type.

See also
ATA_DEVICE_TYPE

Passed to storprop.dll through registry (REG_DWORD).

See also
DD_ATA_REG_ATA_DEVICE_TYPE

Definition at line 495 of file atapi.h.

Referenced by AtaFdoEnumeratePort().

◆ GtfDataBuffer

PVOID _ATAPORT_DEVICE_EXTENSION::GtfDataBuffer

List of ATA commands to the drive created by the ACPI firmware.

Definition at line 549 of file atapi.h.

◆ IdentifyDeviceData

IDENTIFY_DEVICE_DATA _ATAPORT_DEVICE_EXTENSION::IdentifyDeviceData

Definition at line 474 of file atapi.h.

Referenced by AtaPortSelectTimings(), and AtaReqCompleteReadCapacity().

◆ IdentifyPacketData

IDENTIFY_PACKET_DATA _ATAPORT_DEVICE_EXTENSION::IdentifyPacketData

Definition at line 475 of file atapi.h.

◆ InquiryData

INQUIRYDATA _ATAPORT_DEVICE_EXTENSION::InquiryData

Standard inquiry data.

Definition at line 479 of file atapi.h.

Referenced by AtaFdoHandleGetScsiInquiryData().

◆ LastDmaErrorTime

LARGE_INTEGER _ATAPORT_DEVICE_EXTENSION::LastDmaErrorTime

Tracks the last time a DMA error was encountered.

Definition at line 552 of file atapi.h.

◆ ListEntry

SINGLE_LIST_ENTRY _ATAPORT_DEVICE_EXTENSION::ListEntry

PDO list entry.

Definition at line 466 of file atapi.h.

◆ MinimumMultiWordDmaCycleTime

ULONG _ATAPORT_DEVICE_EXTENSION::MinimumMultiWordDmaCycleTime

Definition at line 544 of file atapi.h.

Referenced by AtaPortSelectTimings().

◆ MinimumPioCycleTime

ULONG _ATAPORT_DEVICE_EXTENSION::MinimumPioCycleTime

The minimum cycle time in nanoseconds that the device can support for PIO and DMA transfer modes. -1 if not supported.

See also
IDE_ACPI_TIMING_MODE_NOT_SUPPORTED

Definition at line 542 of file atapi.h.

Referenced by AtaPortSelectTimings().

◆ MinimumSingleWordDmaCycleTime

ULONG _ATAPORT_DEVICE_EXTENSION::MinimumSingleWordDmaCycleTime

Definition at line 543 of file atapi.h.

Referenced by AtaPortSelectTimings().

◆ MinimumUltraDmaCycleTime

ULONG _ATAPORT_DEVICE_EXTENSION::MinimumUltraDmaCycleTime

Definition at line 545 of file atapi.h.

◆ NotPresent

BOOLEAN _ATAPORT_DEVICE_EXTENSION::NotPresent

◆ PowerIrpQueueList

LIST_ENTRY _ATAPORT_DEVICE_EXTENSION::PowerIrpQueueList

Power IRP queue list.

Definition at line 469 of file atapi.h.

Referenced by AtaPdoCreateDevice().

◆ RemovalPending

BOOLEAN _ATAPORT_DEVICE_EXTENSION::RemovalPending

◆ ReportedMissing

BOOLEAN _ATAPORT_DEVICE_EXTENSION::ReportedMissing

◆ TransferModeAllowedMask

ULONG _ATAPORT_DEVICE_EXTENSION::TransferModeAllowedMask

Bit map for allowed transfer modes on the device. DMA errors cause the upper bits to be cleared until PIO mode is reached.

Definition at line 533 of file atapi.h.

Referenced by AtaPdoCreateDevice(), and AtaPortSelectTimings().

◆ TransferModeCurrentBitmap

ULONG _ATAPORT_DEVICE_EXTENSION::TransferModeCurrentBitmap

Bit map for enabled/active transfer modes on the device. Holds the value based off of identify data.

Definition at line 509 of file atapi.h.

Referenced by AtaPortSelectTimings().

◆ TransferModeSelectedBitmap

ULONG _ATAPORT_DEVICE_EXTENSION::TransferModeSelectedBitmap

Selected transfer modes on the device as a bit map with 1 or 2 bits set: +1 for PIO mode (always set) and +1 for DMA mode (may be disabled).

Passed to storprop.dll through registry (REG_DWORD).

See also
DD_ATA_REG_XFER_MODE_SELECTED

Definition at line 527 of file atapi.h.

Referenced by AtaFdoInitializeDeviceRelations(), and AtaPortSelectTimings().

◆ TransferModeSupportedBitmap

ULONG _ATAPORT_DEVICE_EXTENSION::TransferModeSupportedBitmap

Bit map for supported transfer modes on the device. Holds the value based off of identify data.

Passed to storprop.dll through registry (REG_DWORD).

See also
DD_ATA_REG_XFER_MODE_SUPPORTED

Definition at line 518 of file atapi.h.

Referenced by AtaFdoInitializeDeviceRelations(), and AtaPortSelectTimings().

◆ TransferModeUserAllowedMask

ULONG _ATAPORT_DEVICE_EXTENSION::TransferModeUserAllowedMask

Bit map for the user-specified transfer modes on the device.

Maintained by storprop.dll and always retrieved from the registry by the driver (REG_DWORD).

See also
DD_ATA_REG_XFER_MODE_ALLOWED

Definition at line 503 of file atapi.h.

Referenced by AtaFdoQueryBusRelations(), and AtaPortSelectTimings().

◆ WmiLibInfo

WMILIB_CONTEXT _ATAPORT_DEVICE_EXTENSION::WmiLibInfo

WMI data provider interface.

Definition at line 555 of file atapi.h.

◆ Worker


The documentation for this struct was generated from the following file: