ReactOS 0.4.16-dev-550-g2186ce3
|
#include <pshpack1.h>
#include <poppack.h>
Go to the source code of this file.
#define _NTSTORPORT_ |
Definition at line 32 of file storport.h.
#define ARRAY_CONTROLLER_DEVICE 0x0C |
Definition at line 88 of file storport.h.
#define BRIDGE_CONTROLLER_DEVICE 0x10 |
Definition at line 92 of file storport.h.
#define CDB10GENERIC_LENGTH 10 |
Definition at line 99 of file storport.h.
#define CDB12GENERIC_LENGTH 12 |
Definition at line 100 of file storport.h.
#define CDB6GENERIC_LENGTH 6 |
Definition at line 98 of file storport.h.
#define COMMUNICATION_DEVICE 0x09 |
Definition at line 87 of file storport.h.
Definition at line 3216 of file storport.h.
#define DEVICE_CONNECTED 0x00 |
Definition at line 96 of file storport.h.
#define DIRECT_ACCESS_DEVICE 0x00 |
Definition at line 78 of file storport.h.
#define FILE_DEVICE_SCSI 0x0000001b |
Definition at line 106 of file storport.h.
#define INQUIRYDATABUFFERSIZE 36 |
Definition at line 102 of file storport.h.
#define IOCTL_SCSI_EXECUTE_IN ((FILE_DEVICE_SCSI << 16) + 0x0011) |
Definition at line 107 of file storport.h.
#define IOCTL_SCSI_EXECUTE_NONE ((FILE_DEVICE_SCSI << 16) + 0x0013) |
Definition at line 109 of file storport.h.
#define IOCTL_SCSI_EXECUTE_OUT ((FILE_DEVICE_SCSI << 16) + 0x0012) |
Definition at line 108 of file storport.h.
#define LOGICAL_UNIT_NOT_PRESENT_DEVICE 0x7F |
Definition at line 94 of file storport.h.
#define MAX_SENSE_BUFFER_SIZE 255 |
Definition at line 104 of file storport.h.
#define MEDIUM_CHANGER 0x08 |
Definition at line 86 of file storport.h.
#define MODE_PAGE_CACHING 0x08 |
Definition at line 120 of file storport.h.
#define MODE_PAGE_CAPABILITIES 0x2A |
Definition at line 143 of file storport.h.
#define MODE_PAGE_CD_AUDIO_CONTROL 0x0E |
Definition at line 125 of file storport.h.
#define MODE_PAGE_CDVD_FEATURE_SET 0x18 |
Definition at line 133 of file storport.h.
#define MODE_PAGE_CDVD_INACTIVITY 0x1D |
Definition at line 139 of file storport.h.
#define MODE_PAGE_CONTROL 0x0A |
Definition at line 122 of file storport.h.
#define MODE_PAGE_DATA_COMPRESS 0x0F |
Definition at line 126 of file storport.h.
#define MODE_PAGE_DEVICE_CAPABILITIES 0x1F |
Definition at line 142 of file storport.h.
#define MODE_PAGE_DEVICE_CONFIG 0x10 |
Definition at line 127 of file storport.h.
#define MODE_PAGE_DISCONNECT 0x02 |
Definition at line 113 of file storport.h.
#define MODE_PAGE_ELEMENT_ADDRESS 0x1D |
Definition at line 140 of file storport.h.
#define MODE_PAGE_ENCLOSURE_SERVICES_MANAGEMENT 0x14 |
Definition at line 130 of file storport.h.
#define MODE_PAGE_ERROR_RECOVERY 0x01 |
Definition at line 112 of file storport.h.
#define MODE_PAGE_EXTENDED 0x15 |
Definition at line 131 of file storport.h.
#define MODE_PAGE_EXTENDED_DEVICE_SPECIFIC 0x16 |
Definition at line 132 of file storport.h.
#define MODE_PAGE_FAULT_REPORTING 0x1C |
Definition at line 138 of file storport.h.
#define MODE_PAGE_FLEXIBILE 0x05 |
Definition at line 117 of file storport.h.
#define MODE_PAGE_FORMAT_DEVICE 0x03 |
Definition at line 114 of file storport.h.
#define MODE_PAGE_LUN_MAPPING 0x1B |
Definition at line 137 of file storport.h.
#define MODE_PAGE_MEDIUM_PARTITION 0x11 |
Definition at line 129 of file storport.h.
#define MODE_PAGE_MEDIUM_TYPES 0x0B |
Definition at line 123 of file storport.h.
#define MODE_PAGE_MRW 0x03 |
Definition at line 115 of file storport.h.
#define MODE_PAGE_NOTCH_PARTITION 0x0C |
Definition at line 124 of file storport.h.
#define MODE_PAGE_PERIPHERAL 0x09 |
Definition at line 121 of file storport.h.
#define MODE_PAGE_POWER_CONDITION 0x1A |
Definition at line 136 of file storport.h.
#define MODE_PAGE_PROTOCOL_SPECIFIC_LUN 0x18 |
Definition at line 134 of file storport.h.
#define MODE_PAGE_PROTOCOL_SPECIFIC_PORT 0x19 |
Definition at line 135 of file storport.h.
#define MODE_PAGE_RIGID_GEOMETRY 0x04 |
Definition at line 116 of file storport.h.
#define MODE_PAGE_TRANSPORT_GEOMETRY 0x1E |
Definition at line 141 of file storport.h.
#define MODE_PAGE_VENDOR_SPECIFIC 0x00 |
Definition at line 111 of file storport.h.
#define MODE_PAGE_VERIFY_ERROR 0x07 |
Definition at line 119 of file storport.h.
#define MODE_PAGE_WRITE_PARAMETERS 0x05 |
Definition at line 118 of file storport.h.
#define MODE_PAGE_XOR_CONTROL 0x10 |
Definition at line 128 of file storport.h.
#define MODE_SENSE_CHANGEABLE_VALUES 0x40 |
Definition at line 147 of file storport.h.
#define MODE_SENSE_CURRENT_VALUES 0x00 |
Definition at line 146 of file storport.h.
#define MODE_SENSE_DEFAULT_VAULES 0x80 |
Definition at line 148 of file storport.h.
#define MODE_SENSE_RETURN_ALL 0x3F |
Definition at line 144 of file storport.h.
#define MODE_SENSE_SAVED_VALUES 0xc0 |
Definition at line 149 of file storport.h.
#define OBJECT_BASED_STORAGE_DEVICE 0x11 |
Definition at line 93 of file storport.h.
#define OPTICAL_CARD_READER_WRITER_DEVICE 0x0F |
Definition at line 91 of file storport.h.
#define OPTICAL_DEVICE 0x07 |
Definition at line 85 of file storport.h.
#define PRINTER_DEVICE 0x02 |
Definition at line 80 of file storport.h.
#define PROCESSOR_DEVICE 0x03 |
Definition at line 81 of file storport.h.
#define READ_ONLY_DIRECT_ACCESS_DEVICE 0x05 |
Definition at line 83 of file storport.h.
#define REDUCED_BLOCK_DEVICE 0x0E |
Definition at line 90 of file storport.h.
#define REVERSE_BYTES | ( | Destination, | |
Source | |||
) |
Definition at line 2385 of file storport.h.
#define REVERSE_BYTES_QUAD | ( | Destination, | |
Source | |||
) |
Definition at line 2372 of file storport.h.
#define REVERSE_BYTES_SHORT | ( | Destination, | |
Source | |||
) |
#define SCANNER_DEVICE 0x06 |
Definition at line 84 of file storport.h.
#define SCSI_DMA64_MINIPORT_SUPPORTED 0x01 |
Definition at line 60 of file storport.h.
#define SCSI_DMA64_SYSTEM_SUPPORTED 0x80 |
Definition at line 61 of file storport.h.
#define SCSI_ENCLOSURE_DEVICE 0x0D |
Definition at line 89 of file storport.h.
#define SCSI_MAXIMUM_BUSES 8 |
Definition at line 55 of file storport.h.
#define SCSI_MAXIMUM_BUSES_PER_ADAPTER 255 |
Definition at line 46 of file storport.h.
#define SCSI_MAXIMUM_LOGICAL_UNITS 8 |
Definition at line 57 of file storport.h.
#define SCSI_MAXIMUM_LUNS_PER_TARGET 255 |
Definition at line 49 of file storport.h.
#define SCSI_MAXIMUM_PHYSICAL_BREAKS 255 |
Definition at line 51 of file storport.h.
#define SCSI_MAXIMUM_TARGETS 8 |
Definition at line 56 of file storport.h.
#define SCSI_MAXIMUM_TARGETS_PER_BUS 128 |
Definition at line 48 of file storport.h.
#define SCSI_MINIMUM_PHYSICAL_BREAKS 16 |
Definition at line 50 of file storport.h.
#define SCSI_SENSE_ABORTED_COMMAND 0x0B |
Definition at line 463 of file storport.h.
#define SCSI_SENSE_BLANK_CHECK 0x08 |
Definition at line 460 of file storport.h.
#define SCSI_SENSE_COPY_ABORTED 0x0A |
Definition at line 462 of file storport.h.
#define SCSI_SENSE_DATA_PROTECT 0x07 |
Definition at line 459 of file storport.h.
#define SCSI_SENSE_EQUAL 0x0C |
Definition at line 464 of file storport.h.
#define SCSI_SENSE_HARDWARE_ERROR 0x04 |
Definition at line 456 of file storport.h.
#define SCSI_SENSE_ILLEGAL_REQUEST 0x05 |
Definition at line 457 of file storport.h.
#define SCSI_SENSE_MEDIUM_ERROR 0x03 |
Definition at line 455 of file storport.h.
#define SCSI_SENSE_MISCOMPARE 0x0E |
Definition at line 466 of file storport.h.
#define SCSI_SENSE_NO_SENSE 0x00 |
Definition at line 452 of file storport.h.
#define SCSI_SENSE_NOT_READY 0x02 |
Definition at line 454 of file storport.h.
#define SCSI_SENSE_RECOVERED_ERROR 0x01 |
Definition at line 453 of file storport.h.
#define SCSI_SENSE_RESERVED 0x0F |
Definition at line 467 of file storport.h.
#define SCSI_SENSE_UNIQUE 0x09 |
Definition at line 461 of file storport.h.
#define SCSI_SENSE_UNIT_ATTENTION 0x06 |
Definition at line 458 of file storport.h.
#define SCSI_SENSE_VOL_OVERFLOW 0x0D |
Definition at line 465 of file storport.h.
#define SCSIOP_ACCESS_CONTROL_IN 0x86 |
Definition at line 254 of file storport.h.
#define SCSIOP_ACCESS_CONTROL_OUT 0x87 |
Definition at line 255 of file storport.h.
#define SCSIOP_ATA_PASSTHROUGH12 0xA1 |
Definition at line 274 of file storport.h.
#define SCSIOP_ATA_PASSTHROUGH16 0x85 |
Definition at line 253 of file storport.h.
#define SCSIOP_BLANK 0xA1 |
Definition at line 273 of file storport.h.
#define SCSIOP_CHANGE_DEFINITION 0x40 |
Definition at line 210 of file storport.h.
#define SCSIOP_CLOSE_TRACK_SESSION 0x5B |
Definition at line 241 of file storport.h.
#define SCSIOP_COMPARE 0x39 |
Definition at line 205 of file storport.h.
#define SCSIOP_COPY 0x18 |
Definition at line 181 of file storport.h.
#define SCSIOP_COPY_COMPARE 0x3A |
Definition at line 206 of file storport.h.
#define SCSIOP_ERASE 0x19 |
Definition at line 182 of file storport.h.
#define SCSIOP_ERASE16 0x93 |
Definition at line 268 of file storport.h.
#define SCSIOP_EXCHANGE_MEDIUM 0xA6 |
Definition at line 282 of file storport.h.
#define SCSIOP_EXTENDED_COPY 0x83 |
Definition at line 251 of file storport.h.
#define SCSIOP_FLUSH_BUFFER 0x10 |
Definition at line 173 of file storport.h.
#define SCSIOP_FORMAT_UNIT 0x04 |
Definition at line 156 of file storport.h.
#define SCSIOP_GET_CONFIGURATION 0x46 |
Definition at line 217 of file storport.h.
#define SCSIOP_GET_EVENT_STATUS 0x4A |
Definition at line 221 of file storport.h.
#define SCSIOP_GET_MESSAGE 0xA8 |
Definition at line 286 of file storport.h.
#define SCSIOP_GET_PERFORMANCE 0xAC |
Definition at line 291 of file storport.h.
#define SCSIOP_INIT_ELEMENT_RANGE 0xE7 |
Definition at line 318 of file storport.h.
#define SCSIOP_INIT_ELEMENT_STATUS 0x07 |
Definition at line 159 of file storport.h.
#define SCSIOP_INQUIRY 0x12 |
Definition at line 175 of file storport.h.
#define SCSIOP_LOAD_UNLOAD 0x1B |
Definition at line 186 of file storport.h.
#define SCSIOP_LOAD_UNLOAD_SLOT 0xA6 |
Definition at line 281 of file storport.h.
#define SCSIOP_LOCATE 0x2B |
Definition at line 195 of file storport.h.
#define SCSIOP_LOCATE16 0x92 |
Definition at line 266 of file storport.h.
#define SCSIOP_LOCK_UNLOCK_CACHE16 0x92 |
Definition at line 265 of file storport.h.
#define SCSIOP_LOG_SELECT 0x4C |
Definition at line 223 of file storport.h.
#define SCSIOP_LOG_SENSE 0x4D |
Definition at line 224 of file storport.h.
#define SCSIOP_MAINTENANCE_IN 0xA3 |
Definition at line 277 of file storport.h.
#define SCSIOP_MAINTENANCE_OUT 0xA4 |
Definition at line 279 of file storport.h.
#define SCSIOP_MECHANISM_STATUS 0xBD |
Definition at line 312 of file storport.h.
#define SCSIOP_MEDIUM_REMOVAL 0x1E |
Definition at line 189 of file storport.h.
#define SCSIOP_MODE_SELECT 0x15 |
Definition at line 178 of file storport.h.
#define SCSIOP_MODE_SELECT10 0x55 |
Definition at line 234 of file storport.h.
#define SCSIOP_MODE_SENSE 0x1A |
Definition at line 183 of file storport.h.
#define SCSIOP_MODE_SENSE10 0x5A |
Definition at line 240 of file storport.h.
#define SCSIOP_MOVE_MEDIUM 0xA5 |
Definition at line 280 of file storport.h.
#define SCSIOP_MOVE_MEDIUM_ATTACHED 0xA7 |
Definition at line 284 of file storport.h.
#define SCSIOP_PARTITION 0x0D |
Definition at line 170 of file storport.h.
#define SCSIOP_PAUSE_RESUME 0x4B |
Definition at line 222 of file storport.h.
#define SCSIOP_PERSISTENT_RESERVE_IN 0x5E |
Definition at line 244 of file storport.h.
#define SCSIOP_PERSISTENT_RESERVE_OUT 0x5F |
Definition at line 245 of file storport.h.
#define SCSIOP_PLAY_AUDIO 0x45 |
Definition at line 216 of file storport.h.
#define SCSIOP_PLAY_AUDIO_MSF 0x47 |
Definition at line 218 of file storport.h.
#define SCSIOP_PLAY_CD 0xBC |
Definition at line 310 of file storport.h.
#define SCSIOP_PLAY_TRACK_INDEX 0x48 |
Definition at line 219 of file storport.h.
#define SCSIOP_PLAY_TRACK_RELATIVE 0x49 |
Definition at line 220 of file storport.h.
#define SCSIOP_POSITION_TO_ELEMENT 0x2B |
Definition at line 196 of file storport.h.
#define SCSIOP_PREFETCH16 0x90 |
Definition at line 262 of file storport.h.
#define SCSIOP_PRINT 0x0A |
Definition at line 163 of file storport.h.
#define SCSIOP_READ 0x28 |
Definition at line 192 of file storport.h.
#define SCSIOP_READ12 0xA8 |
Definition at line 285 of file storport.h.
#define SCSIOP_READ16 0x88 |
Definition at line 256 of file storport.h.
#define SCSIOP_READ6 0x08 |
Definition at line 160 of file storport.h.
#define SCSIOP_READ_ATTRIBUTES 0x8C |
Definition at line 258 of file storport.h.
#define SCSIOP_READ_BLOCK_LIMITS 0x05 |
Definition at line 157 of file storport.h.
#define SCSIOP_READ_BUFFER_CAPACITY 0x5C |
Definition at line 242 of file storport.h.
#define SCSIOP_READ_CAPACITY 0x25 |
Definition at line 191 of file storport.h.
#define SCSIOP_READ_CAPACITY16 0x9E |
Definition at line 269 of file storport.h.
#define SCSIOP_READ_CD 0xBE |
Definition at line 314 of file storport.h.
#define SCSIOP_READ_CD_MSF 0xB9 |
Definition at line 305 of file storport.h.
#define SCSIOP_READ_DATA_BUFF 0x3C |
Definition at line 208 of file storport.h.
#define SCSIOP_READ_DEFECT_DATA 0xB7 |
Definition at line 303 of file storport.h.
#define SCSIOP_READ_DISC_INFORMATION 0x51 |
Definition at line 229 of file storport.h.
#define SCSIOP_READ_DISK_INFORMATION 0x51 |
Definition at line 228 of file storport.h.
#define SCSIOP_READ_DVD_STRUCTURE 0xAD |
Definition at line 292 of file storport.h.
#define SCSIOP_READ_ELEMENT_STATUS 0xB8 |
Definition at line 304 of file storport.h.
#define SCSIOP_READ_ELEMENT_STATUS_ATTACHED 0xB4 |
Definition at line 299 of file storport.h.
#define SCSIOP_READ_FORMATTED_CAPACITY 0x23 |
Definition at line 190 of file storport.h.
#define SCSIOP_READ_HEADER 0x44 |
Definition at line 214 of file storport.h.
#define SCSIOP_READ_POSITION 0x34 |
Definition at line 203 of file storport.h.
#define SCSIOP_READ_REVERSE 0x0F |
Definition at line 171 of file storport.h.
#define SCSIOP_READ_REVERSE16 0x81 |
Definition at line 249 of file storport.h.
#define SCSIOP_READ_SUB_CHANNEL 0x42 |
Definition at line 212 of file storport.h.
#define SCSIOP_READ_TOC 0x43 |
Definition at line 213 of file storport.h.
#define SCSIOP_READ_TRACK_INFORMATION 0x52 |
Definition at line 230 of file storport.h.
#define SCSIOP_REASSIGN_BLOCKS 0x07 |
Definition at line 158 of file storport.h.
#define SCSIOP_REBUILD16 0x81 |
Definition at line 248 of file storport.h.
#define SCSIOP_RECEIVE 0x08 |
Definition at line 161 of file storport.h.
#define SCSIOP_RECEIVE_COPY_RESULTS 0x84 |
Definition at line 252 of file storport.h.
#define SCSIOP_RECEIVE_DIAGNOSTIC 0x1C |
Definition at line 187 of file storport.h.
#define SCSIOP_RECOVER_BUF_DATA 0x14 |
Definition at line 177 of file storport.h.
#define SCSIOP_REDUNDANCY_GROUP_IN 0xBA |
Definition at line 307 of file storport.h.
#define SCSIOP_REDUNDANCY_GROUP_OUT 0xBB |
Definition at line 309 of file storport.h.
#define SCSIOP_REGENERATE16 0x82 |
Definition at line 250 of file storport.h.
#define SCSIOP_RELEASE_ELEMENT 0x57 |
Definition at line 238 of file storport.h.
#define SCSIOP_RELEASE_UNIT 0x17 |
Definition at line 180 of file storport.h.
#define SCSIOP_RELEASE_UNIT10 0x57 |
Definition at line 237 of file storport.h.
#define SCSIOP_REPAIR_TRACK 0x58 |
Definition at line 239 of file storport.h.
#define SCSIOP_REPORT_DENSITY_SUPPORT 0x44 |
Definition at line 215 of file storport.h.
#define SCSIOP_REPORT_KEY 0xA4 |
Definition at line 278 of file storport.h.
#define SCSIOP_REPORT_LUNS 0xA0 |
Definition at line 272 of file storport.h.
#define SCSIOP_REQUEST_BLOCK_ADDR 0x02 |
Definition at line 154 of file storport.h.
#define SCSIOP_REQUEST_SENSE 0x03 |
Definition at line 155 of file storport.h.
#define SCSIOP_REQUEST_VOL_ELEMENT 0xB5 |
Definition at line 300 of file storport.h.
#define SCSIOP_RESERVE_ELEMENT 0x56 |
Definition at line 236 of file storport.h.
#define SCSIOP_RESERVE_TRACK_RZONE 0x53 |
Definition at line 232 of file storport.h.
#define SCSIOP_RESERVE_UNIT 0x16 |
Definition at line 179 of file storport.h.
#define SCSIOP_RESERVE_UNIT10 0x56 |
Definition at line 235 of file storport.h.
#define SCSIOP_REWIND 0x01 |
Definition at line 153 of file storport.h.
#define SCSIOP_REZERO_UNIT 0x01 |
Definition at line 152 of file storport.h.
#define SCSIOP_SCAN_CD 0xBA |
Definition at line 306 of file storport.h.
#define SCSIOP_SEARCH_DATA_EQUAL 0x31 |
Definition at line 200 of file storport.h.
#define SCSIOP_SEARCH_DATA_EQUAL12 0xB1 |
Definition at line 296 of file storport.h.
#define SCSIOP_SEARCH_DATA_HIGH 0x30 |
Definition at line 199 of file storport.h.
#define SCSIOP_SEARCH_DATA_HIGH12 0xB0 |
Definition at line 295 of file storport.h.
#define SCSIOP_SEARCH_DATA_LOW 0x32 |
Definition at line 201 of file storport.h.
#define SCSIOP_SEARCH_DATA_LOW12 0xB2 |
Definition at line 297 of file storport.h.
#define SCSIOP_SEEK 0x2B |
Definition at line 194 of file storport.h.
#define SCSIOP_SEEK6 0x0B |
Definition at line 165 of file storport.h.
#define SCSIOP_SEEK_BLOCK 0x0C |
Definition at line 169 of file storport.h.
#define SCSIOP_SEND 0x0A |
Definition at line 164 of file storport.h.
#define SCSIOP_SEND_CUE_SHEET 0x5D |
Definition at line 243 of file storport.h.
#define SCSIOP_SEND_DIAGNOSTIC 0x1D |
Definition at line 188 of file storport.h.
#define SCSIOP_SEND_DVD_STRUCTURE 0xBF |
Definition at line 316 of file storport.h.
#define SCSIOP_SEND_EVENT 0xA2 |
Definition at line 275 of file storport.h.
#define SCSIOP_SEND_KEY 0xA3 |
Definition at line 276 of file storport.h.
#define SCSIOP_SEND_MESSAGE 0xAB |
Definition at line 289 of file storport.h.
#define SCSIOP_SEND_OPC_INFORMATION 0x54 |
Definition at line 233 of file storport.h.
#define SCSIOP_SEND_VOLUME_TAG 0xB6 |
Definition at line 301 of file storport.h.
#define SCSIOP_SERVICE_ACTION_IN12 0xAB |
Definition at line 290 of file storport.h.
#define SCSIOP_SERVICE_ACTION_IN16 0x9E |
Definition at line 270 of file storport.h.
#define SCSIOP_SERVICE_ACTION_OUT12 0xA9 |
Definition at line 287 of file storport.h.
#define SCSIOP_SERVICE_ACTION_OUT16 0x9F |
Definition at line 271 of file storport.h.
#define SCSIOP_SET_CAPACITY 0x0B |
Definition at line 168 of file storport.h.
#define SCSIOP_SET_CD_SPEED 0xBB |
Definition at line 308 of file storport.h.
#define SCSIOP_SET_LIMITS 0x33 |
Definition at line 202 of file storport.h.
#define SCSIOP_SET_LIMITS12 0xB3 |
Definition at line 298 of file storport.h.
#define SCSIOP_SET_READ_AHEAD 0xA7 |
Definition at line 283 of file storport.h.
#define SCSIOP_SET_STREAMING 0xB6 |
Definition at line 302 of file storport.h.
#define SCSIOP_SLEW_PRINT 0x0B |
Definition at line 167 of file storport.h.
#define SCSIOP_SPACE 0x11 |
Definition at line 174 of file storport.h.
#define SCSIOP_SPACE16 0x91 |
Definition at line 264 of file storport.h.
#define SCSIOP_SPARE_IN 0xBC |
Definition at line 311 of file storport.h.
#define SCSIOP_SPARE_OUT 0xBD |
Definition at line 313 of file storport.h.
#define SCSIOP_START_STOP_UNIT 0x1B |
Definition at line 184 of file storport.h.
#define SCSIOP_STOP_PLAY_SCAN 0x4E |
Definition at line 225 of file storport.h.
#define SCSIOP_STOP_PRINT 0x1B |
Definition at line 185 of file storport.h.
#define SCSIOP_SYNCHRONIZE_CACHE 0x35 |
Definition at line 204 of file storport.h.
#define SCSIOP_SYNCHRONIZE_CACHE16 0x91 |
Definition at line 263 of file storport.h.
#define SCSIOP_TEST_UNIT_READY 0x00 |
Definition at line 151 of file storport.h.
#define SCSIOP_TRACK_SELECT 0x0B |
Definition at line 166 of file storport.h.
#define SCSIOP_VERIFY 0x2F |
Definition at line 198 of file storport.h.
#define SCSIOP_VERIFY12 0xAF |
Definition at line 294 of file storport.h.
#define SCSIOP_VERIFY16 0x8F |
Definition at line 261 of file storport.h.
#define SCSIOP_VERIFY6 0x13 |
Definition at line 176 of file storport.h.
#define SCSIOP_VOLUME_SET_IN 0xBE |
Definition at line 315 of file storport.h.
#define SCSIOP_VOLUME_SET_OUT 0xBF |
Definition at line 317 of file storport.h.
#define SCSIOP_WRITE 0x2A |
Definition at line 193 of file storport.h.
#define SCSIOP_WRITE12 0xAA |
Definition at line 288 of file storport.h.
#define SCSIOP_WRITE16 0x8A |
Definition at line 257 of file storport.h.
#define SCSIOP_WRITE6 0x0A |
Definition at line 162 of file storport.h.
#define SCSIOP_WRITE_ATTRIBUTES 0x8D |
Definition at line 259 of file storport.h.
#define SCSIOP_WRITE_DATA_BUFF 0x3B |
Definition at line 207 of file storport.h.
#define SCSIOP_WRITE_FILEMARKS 0x10 |
Definition at line 172 of file storport.h.
#define SCSIOP_WRITE_FILEMARKS16 0x80 |
Definition at line 247 of file storport.h.
#define SCSIOP_WRITE_LONG 0x3F |
Definition at line 209 of file storport.h.
#define SCSIOP_WRITE_SAME 0x41 |
Definition at line 211 of file storport.h.
#define SCSIOP_WRITE_SAME16 0x93 |
Definition at line 267 of file storport.h.
#define SCSIOP_WRITE_VERIFY 0x2E |
Definition at line 197 of file storport.h.
#define SCSIOP_WRITE_VERIFY12 0xAE |
Definition at line 293 of file storport.h.
#define SCSIOP_WRITE_VERIFY16 0x8E |
Definition at line 260 of file storport.h.
#define SCSIOP_XDWRITE 0x50 |
Definition at line 226 of file storport.h.
#define SCSIOP_XDWRITE_EXTENDED16 0x80 |
Definition at line 246 of file storport.h.
#define SCSIOP_XDWRITE_READ 0x53 |
Definition at line 231 of file storport.h.
#define SCSIOP_XPWRITE 0x51 |
Definition at line 227 of file storport.h.
#define SCSISTAT_BUSY 0x08 |
Definition at line 323 of file storport.h.
#define SCSISTAT_CHECK_CONDITION 0x02 |
Definition at line 321 of file storport.h.
#define SCSISTAT_COMMAND_TERMINATED 0x22 |
Definition at line 327 of file storport.h.
#define SCSISTAT_CONDITION_MET 0x04 |
Definition at line 322 of file storport.h.
#define SCSISTAT_GOOD 0x00 |
Definition at line 320 of file storport.h.
#define SCSISTAT_INTERMEDIATE 0x10 |
Definition at line 324 of file storport.h.
#define SCSISTAT_INTERMEDIATE_COND_MET 0x14 |
Definition at line 325 of file storport.h.
#define SCSISTAT_QUEUE_FULL 0x28 |
Definition at line 328 of file storport.h.
#define SCSISTAT_RESERVATION_CONFLICT 0x18 |
Definition at line 326 of file storport.h.
#define SENSE_BUFFER_SIZE 18 |
Definition at line 103 of file storport.h.
#define SEQUENTIAL_ACCESS_DEVICE 0x01 |
Definition at line 79 of file storport.h.
#define SETBITOFF 0 |
Definition at line 331 of file storport.h.
#define SETBITON 1 |
Definition at line 330 of file storport.h.
#define SP_RETURN_BAD_CONFIG 3 |
Definition at line 336 of file storport.h.
#define SP_RETURN_ERROR 2 |
Definition at line 335 of file storport.h.
#define SP_RETURN_FOUND 1 |
Definition at line 334 of file storport.h.
#define SP_RETURN_NOT_FOUND 0 |
Definition at line 333 of file storport.h.
Definition at line 66 of file storport.h.
Definition at line 67 of file storport.h.
#define SRB_FLAGS_ADAPTER_CACHE_ENABLE 0x00000200 |
Definition at line 413 of file storport.h.
#define SRB_FLAGS_ALLOCATED_FROM_ZONE 0x00020000 |
Definition at line 417 of file storport.h.
#define SRB_FLAGS_BYPASS_FROZEN_QUEUE 0x00000010 |
Definition at line 405 of file storport.h.
#define SRB_FLAGS_BYPASS_LOCKED_QUEUE 0x00080000 |
Definition at line 419 of file storport.h.
#define SRB_FLAGS_CLASS_DRIVER_RESERVED 0xF0000000 |
Definition at line 428 of file storport.h.
#define SRB_FLAGS_DATA_IN 0x00000040 |
Definition at line 407 of file storport.h.
#define SRB_FLAGS_DATA_OUT 0x00000080 |
Definition at line 408 of file storport.h.
#define SRB_FLAGS_DISABLE_AUTOSENSE 0x00000020 |
Definition at line 406 of file storport.h.
#define SRB_FLAGS_DISABLE_DISCONNECT 0x00000004 |
Definition at line 402 of file storport.h.
#define SRB_FLAGS_DISABLE_SYNCH_TRANSFER 0x00000008 |
Definition at line 403 of file storport.h.
#define SRB_FLAGS_DONT_START_NEXT_PACKET 0x00800000 |
Definition at line 425 of file storport.h.
#define SRB_FLAGS_FREE_SENSE_BUFFER 0x00000400 |
Definition at line 414 of file storport.h.
#define SRB_FLAGS_IS_ACTIVE 0x00010000 |
Definition at line 416 of file storport.h.
#define SRB_FLAGS_NO_DATA_TRANSFER 0x00000000 |
Definition at line 409 of file storport.h.
#define SRB_FLAGS_NO_KEEP_AWAKE 0x00100000 |
Definition at line 421 of file storport.h.
#define SRB_FLAGS_NO_QUEUE_FREEZE 0x00000100 |
Definition at line 412 of file storport.h.
#define SRB_FLAGS_PORT_DRIVER_ALLOCSENSE 0x00200000 |
Definition at line 422 of file storport.h.
#define SRB_FLAGS_PORT_DRIVER_RESERVED 0x0F000000 |
Definition at line 427 of file storport.h.
#define SRB_FLAGS_PORT_DRIVER_SENSEHASPORT 0x00400000 |
Definition at line 424 of file storport.h.
#define SRB_FLAGS_QUEUE_ACTION_ENABLE 0x00000002 |
Definition at line 401 of file storport.h.
#define SRB_FLAGS_SGLIST_FROM_POOL 0x00040000 |
Definition at line 418 of file storport.h.
#define SRB_FLAGS_UNSPECIFIED_DIRECTION (SRB_FLAGS_DATA_IN | SRB_FLAGS_DATA_OUT) |
Definition at line 410 of file storport.h.
#define SRB_FUNCTION_ABORT_COMMAND 0x10 |
Definition at line 348 of file storport.h.
#define SRB_FUNCTION_ATTACH_DEVICE 0x05 |
Definition at line 344 of file storport.h.
#define SRB_FUNCTION_CLAIM_DEVICE 0x01 |
Definition at line 340 of file storport.h.
#define SRB_FUNCTION_DUMP_POINTERS 0x26 |
Definition at line 364 of file storport.h.
#define SRB_FUNCTION_EXECUTE_SCSI 0x00 |
Definition at line 339 of file storport.h.
#define SRB_FUNCTION_FLUSH 0x08 |
Definition at line 347 of file storport.h.
#define SRB_FUNCTION_FLUSH_QUEUE 0x15 |
Definition at line 353 of file storport.h.
#define SRB_FUNCTION_IO_CONTROL 0x02 |
Definition at line 341 of file storport.h.
#define SRB_FUNCTION_LINK_TIMEOUT_COMPLETE 0x23 |
Definition at line 361 of file storport.h.
#define SRB_FUNCTION_LINK_TIMEOUT_OCCURRED 0x22 |
Definition at line 360 of file storport.h.
#define SRB_FUNCTION_LOCK_QUEUE 0x18 |
Definition at line 356 of file storport.h.
#define SRB_FUNCTION_PNP 0x25 |
Definition at line 363 of file storport.h.
#define SRB_FUNCTION_POWER 0x24 |
Definition at line 362 of file storport.h.
#define SRB_FUNCTION_RECEIVE_EVENT 0x03 |
Definition at line 342 of file storport.h.
#define SRB_FUNCTION_RELEASE_DEVICE 0x06 |
Definition at line 345 of file storport.h.
#define SRB_FUNCTION_RELEASE_QUEUE 0x04 |
Definition at line 343 of file storport.h.
#define SRB_FUNCTION_RELEASE_RECOVERY 0x11 |
Definition at line 349 of file storport.h.
#define SRB_FUNCTION_REMOVE_DEVICE 0x16 |
Definition at line 354 of file storport.h.
#define SRB_FUNCTION_RESET_BUS 0x12 |
Definition at line 350 of file storport.h.
#define SRB_FUNCTION_RESET_DEVICE 0x13 |
Definition at line 351 of file storport.h.
#define SRB_FUNCTION_RESET_LOGICAL_UNIT 0x20 |
Definition at line 358 of file storport.h.
#define SRB_FUNCTION_SET_LINK_TIMEOUT 0x21 |
Definition at line 359 of file storport.h.
#define SRB_FUNCTION_SHUTDOWN 0x07 |
Definition at line 346 of file storport.h.
#define SRB_FUNCTION_TERMINATE_IO 0x14 |
Definition at line 352 of file storport.h.
#define SRB_FUNCTION_UNLOCK_QUEUE 0x19 |
Definition at line 357 of file storport.h.
#define SRB_FUNCTION_WMI 0x17 |
Definition at line 355 of file storport.h.
#define SRB_HEAD_OF_QUEUE_TAG_REQUEST 0x21 |
Definition at line 431 of file storport.h.
#define SRB_ORDERED_QUEUE_TAG_REQUEST 0x22 |
Definition at line 432 of file storport.h.
#define SRB_PNP_FLAGS_ADAPTER_REQUEST 0x01 |
Definition at line 436 of file storport.h.
#define SRB_POWER_FLAGS_ADAPTER_REQUEST 0x01 |
Definition at line 435 of file storport.h.
#define SRB_SIMPLE_TAG_REQUEST 0x20 |
Definition at line 430 of file storport.h.
#define SRB_STATUS | ( | Status | ) | (Status & ~(SRB_STATUS_AUTOSENSE_VALID | SRB_STATUS_QUEUE_FROZEN)) |
Definition at line 398 of file storport.h.
#define SRB_STATUS_ABORT_FAILED 0x03 |
Definition at line 370 of file storport.h.
#define SRB_STATUS_ABORTED 0x02 |
Definition at line 369 of file storport.h.
#define SRB_STATUS_AUTOSENSE_VALID 0x80 |
Definition at line 397 of file storport.h.
#define SRB_STATUS_BAD_FUNCTION 0x22 |
Definition at line 391 of file storport.h.
#define SRB_STATUS_BAD_SRB_BLOCK_LENGTH 0x15 |
Definition at line 387 of file storport.h.
#define SRB_STATUS_BUS_RESET 0x0E |
Definition at line 380 of file storport.h.
#define SRB_STATUS_BUSY 0x05 |
Definition at line 372 of file storport.h.
#define SRB_STATUS_COMMAND_TIMEOUT 0x0B |
Definition at line 378 of file storport.h.
#define SRB_STATUS_DATA_OVERRUN 0x12 |
Definition at line 384 of file storport.h.
#define SRB_STATUS_ERROR 0x04 |
Definition at line 371 of file storport.h.
#define SRB_STATUS_ERROR_RECOVERY 0x23 |
Definition at line 392 of file storport.h.
#define SRB_STATUS_INTERNAL_ERROR 0x30 |
Definition at line 395 of file storport.h.
#define SRB_STATUS_INVALID_LUN 0x20 |
Definition at line 389 of file storport.h.
#define SRB_STATUS_INVALID_PATH_ID 0x07 |
Definition at line 374 of file storport.h.
#define SRB_STATUS_INVALID_REQUEST 0x06 |
Definition at line 373 of file storport.h.
#define SRB_STATUS_INVALID_TARGET_ID 0x21 |
Definition at line 390 of file storport.h.
#define SRB_STATUS_LINK_DOWN 0x25 |
Definition at line 394 of file storport.h.
#define SRB_STATUS_MESSAGE_REJECTED 0x0D |
Definition at line 379 of file storport.h.
#define SRB_STATUS_NO_DEVICE 0x08 |
Definition at line 375 of file storport.h.
#define SRB_STATUS_NO_HBA 0x11 |
Definition at line 383 of file storport.h.
#define SRB_STATUS_NOT_POWERED 0x24 |
Definition at line 393 of file storport.h.
#define SRB_STATUS_PARITY_ERROR 0x0F |
Definition at line 381 of file storport.h.
#define SRB_STATUS_PENDING 0x00 |
Definition at line 367 of file storport.h.
#define SRB_STATUS_PHASE_SEQUENCE_FAILURE 0x14 |
Definition at line 386 of file storport.h.
#define SRB_STATUS_QUEUE_FROZEN 0x40 |
Definition at line 396 of file storport.h.
#define SRB_STATUS_REQUEST_FLUSHED 0x16 |
Definition at line 388 of file storport.h.
#define SRB_STATUS_REQUEST_SENSE_FAILED 0x10 |
Definition at line 382 of file storport.h.
#define SRB_STATUS_SELECTION_TIMEOUT 0x0A |
Definition at line 377 of file storport.h.
#define SRB_STATUS_SUCCESS 0x01 |
Definition at line 368 of file storport.h.
#define SRB_STATUS_TIMEOUT 0x09 |
Definition at line 376 of file storport.h.
#define SRB_STATUS_UNEXPECTED_BUS_FREE 0x13 |
Definition at line 385 of file storport.h.
#define SRB_WMI_FLAGS_ADAPTER_REQUEST 0x01 |
Definition at line 434 of file storport.h.
#define STOR_MAP_ALL_BUFFERS (1) |
Definition at line 439 of file storport.h.
#define STOR_MAP_NO_BUFFERS (0) |
Definition at line 438 of file storport.h.
#define STOR_MAP_NON_READ_WRITE_BUFFERS (2) |
Definition at line 440 of file storport.h.
#define STORPORT_API DECLSPEC_IMPORT |
Definition at line 75 of file storport.h.
#define StorPortCopyMemory | ( | Destination, | |
Source, | |||
Length | |||
) | memcpy((Destination),(Source),(Length)) |
Definition at line 2401 of file storport.h.
#define VPD_DEVICE_IDENTIFIERS 0x83 |
Definition at line 444 of file storport.h.
#define VPD_EXTENDED_INQUIRY_DATA 0x86 |
Definition at line 448 of file storport.h.
#define VPD_MEDIA_SERIAL_NUMBER 0x84 |
Definition at line 445 of file storport.h.
#define VPD_MODE_PAGE_POLICY 0x87 |
Definition at line 449 of file storport.h.
#define VPD_NETWORK_MANAGEMENT_ADDRESSES 0x85 |
Definition at line 447 of file storport.h.
#define VPD_SCSI_PORTS 0x88 |
Definition at line 450 of file storport.h.
#define VPD_SERIAL_NUMBER 0x80 |
Definition at line 443 of file storport.h.
#define VPD_SOFTWARE_INTERFACE_IDENTIFIERS 0x84 |
Definition at line 446 of file storport.h.
#define VPD_SUPPORTED_PAGES 0x00 |
Definition at line 442 of file storport.h.
#define WRITE_ONCE_READ_MULTIPLE_DEVICE 0x04 |
Definition at line 82 of file storport.h.
typedef struct _ACCESS_RANGE ACCESS_RANGE |
Definition at line 2269 of file storport.h.
typedef struct _DPC_BUFFER DPC_BUFFER |
typedef union _EIGHT_BYTE EIGHT_BYTE |
typedef union _FOUR_BYTE FOUR_BYTE |
typedef enum _GETSGSTATUS GETSGSTATUS |
typedef struct _INQUIRYDATA INQUIRYDATA |
typedef struct _MEMORY_REGION MEMORY_REGION |
typedef struct _ACCESS_RANGE * PACCESS_RANGE |
typedef union _EIGHT_BYTE * PEIGHT_BYTE |
typedef union _FOUR_BYTE * PFOUR_BYTE |
typedef enum _GETSGSTATUS * PGETSGSTATUS |
typedef SCSI_ADAPTER_CONTROL_STATUS(NTAPI * PHW_ADAPTER_CONTROL) (IN PVOID DeviceExtension, IN SCSI_ADAPTER_CONTROL_TYPE ControlType, IN PVOID Parameters) |
Definition at line 2246 of file storport.h.
typedef BOOLEAN(NTAPI * PHW_ADAPTER_STATE) (IN PVOID DeviceExtension, IN PVOID Context, IN BOOLEAN SaveState) |
Definition at line 2239 of file storport.h.
Definition at line 2196 of file storport.h.
Definition at line 2218 of file storport.h.
typedef VOID(* PHW_DPC_ROUTINE) (_In_ PSTOR_DPC Dpc, _In_ PVOID HwDeviceExtension, _In_ PVOID SystemArgument1, _In_ PVOID SystemArgument2) |
Definition at line 2258 of file storport.h.
typedef ULONG(NTAPI * PHW_FIND_ADAPTER) (IN PVOID DeviceExtension, IN PVOID HwContext, IN PVOID BusInformation, IN PCHAR ArgumentString, IN OUT PPORT_CONFIGURATION_INFORMATION ConfigInfo, OUT PBOOLEAN Again) |
Definition at line 2223 of file storport.h.
Definition at line 2191 of file storport.h.
Definition at line 2208 of file storport.h.
Definition at line 2253 of file storport.h.
Definition at line 2233 of file storport.h.
Definition at line 2202 of file storport.h.
Definition at line 2213 of file storport.h.
typedef struct _INQUIRYDATA * PINQUIRYDATA |
typedef struct _MEMORY_REGION * PMEMORY_REGION |
typedef struct _MODE_PARAMETER_BLOCK * PMODE_PARAMETER_BLOCK |
typedef VOID(NTAPI * PpostScaterGatherExecute) (_In_ PVOID *DeviceObject, _In_ PVOID *Irp, _In_ PSTOR_SCATTER_GATHER_LIST ScatterGather, _In_ PVOID Context) |
Definition at line 2274 of file storport.h.
typedef struct _READ_CAPACITY_DATA * PREAD_CAPACITY_DATA |
typedef struct _SCSI_REQUEST_BLOCK * PSCSI_REQUEST_BLOCK |
typedef struct _SENSE_DATA * PSENSE_DATA |
typedef struct _STOR_LOCK_HANDLE * PSTOR_LOCK_HANDLE |
typedef enum _STOR_PNP_ACTION * PSTOR_PNP_ACTION |
typedef enum _STOR_POWER_ACTION * PSTOR_POWER_ACTION |
typedef STOR_SYNCHRONIZED_ACCESS* PSTOR_SYNCHRONIZED_ACCESS |
Definition at line 2271 of file storport.h.
typedef PVOID(NTAPI * PStorPortAllocatePool) (_In_ ULONG NumberOfBytes, _In_ ULONG Tag, _In_ PVOID HwDeviceExtension, _Out_ PVOID *PMdl) |
Definition at line 2316 of file storport.h.
typedef GETSGSTATUS(NTAPI * PStorPortBuildScatterGatherList) (_In_ PVOID HwDeviceExtension, _In_ PVOID Mdl, _In_ PVOID CurrentVa, _In_ ULONG Length, _In_ PpostScaterGatherExecute ExecutionRoutine, _In_ PVOID Context, _In_ BOOLEAN WriteToDevice, _Inout_ PVOID ScatterGatherBuffer, _In_ ULONG ScatterGatherBufferLength) |
Definition at line 2296 of file storport.h.
typedef VOID(NTAPI * PStorPortFreePool) (_In_ PVOID PMemory, _In_ PVOID HwDeviceExtension, _In_opt_ PVOID PMdl) |
Definition at line 2309 of file storport.h.
typedef BOOLEAN(NTAPI * PStorPortGetMessageInterruptInformation) (_In_ PVOID HwDeviceExtension, _In_ ULONG MessageId, _Out_ PMESSAGE_INTERRUPT_INFORMATION InterruptInfo) |
Definition at line 2282 of file storport.h.
typedef PVOID(NTAPI * PStorPortGetSystemAddress) (_In_ PSCSI_REQUEST_BLOCK Srb) |
Definition at line 2324 of file storport.h.
typedef VOID(NTAPI * PStorPortPutScatterGatherList) (_In_ PVOID HwDeviceExtension, _In_ PSTOR_SCATTER_GATHER_LIST ScatterGatherList, _In_ BOOLEAN WriteToDevice) |
Definition at line 2289 of file storport.h.
typedef enum _VPD_ASSOCIATION * PVPD_ASSOCIATION |
typedef enum _VPD_CODE_SET * PVPD_CODE_SET |
typedef enum _VPD_IDENTIFIER_TYPE * PVPD_IDENTIFIER_TYPE |
typedef struct _SENSE_DATA SENSE_DATA |
typedef enum _STOR_DMA_WIDTH STOR_DMA_WIDTH |
typedef struct _STOR_LOCK_HANDLE STOR_LOCK_HANDLE |
Definition at line 2018 of file storport.h.
typedef enum _STOR_PNP_ACTION STOR_PNP_ACTION |
typedef enum _STOR_POWER_ACTION STOR_POWER_ACTION |
typedef enum _STOR_SPINLOCK STOR_SPINLOCK |
typedef enum _VPD_ASSOCIATION VPD_ASSOCIATION |
typedef enum _VPD_CODE_SET VPD_CODE_SET |
Enumerator | |
---|---|
SG_ALLOCATED | |
SG_BUFFER_TOO_SMALL |
Definition at line 635 of file storport.h.
Enumerator | |
---|---|
ScsiAdapterControlSuccess | |
ScsiAdapterControlUnsuccessful | |
ScsiAdapterControlSuccess | |
ScsiAdapterControlUnsuccessful | |
ScsiAdapterControlSuccess | |
ScsiAdapterControlUnsuccessful |
Definition at line 501 of file storport.h.
Definition at line 490 of file storport.h.
Definition at line 507 of file storport.h.
Definition at line 532 of file storport.h.
Enumerator | |
---|---|
DmaUnknown | |
Dma32Bit | |
Dma64BitScatterGather | |
Dma64Bit |
Definition at line 475 of file storport.h.
Enumerator | |
---|---|
StorEventAdapterAssociation | |
StorEventLunAssociation | |
StorEventTargetAssociation | |
StorEventInvalidAssociation |
Definition at line 627 of file storport.h.
Definition at line 554 of file storport.h.
Definition at line 542 of file storport.h.
Enumerator | |
---|---|
DpcLock | |
StartIoLock | |
InterruptLock |
Definition at line 483 of file storport.h.
Enumerator | |
---|---|
StorSynchronizeHalfDuplex | |
StorSynchronizeFullDuplex |
Definition at line 469 of file storport.h.
Definition at line 595 of file storport.h.
Enumerator | |
---|---|
VpdAssocDevice | |
VpdAssocPort | |
VpdAssocTarget | |
VpdAssocReserved1 | |
VpdAssocReserved2 | |
VpdAssocDevice | |
VpdAssocPort | |
VpdAssocTarget | |
VpdAssocReserved1 | |
VpdAssocReserved2 |
Definition at line 573 of file storport.h.
Enumerator | |
---|---|
VpdCodeSetReserved | |
VpdCodeSetBinary | |
VpdCodeSetAscii | |
VpdCodeSetUTF8 | |
VpdCodeSetReserved | |
VpdCodeSetBinary | |
VpdCodeSetAscii | |
VpdCodeSetUTF8 |
Definition at line 565 of file storport.h.
Definition at line 582 of file storport.h.
FORCEINLINE ULONG StorPortAcquireMSISpinLock | ( | _In_ PVOID | HwDeviceExtension, |
_In_ ULONG | MessageId, | ||
_In_ PULONG | OldIrql | ||
) |
Definition at line 3137 of file storport.h.
FORCEINLINE VOID StorPortAcquireSpinLock | ( | _In_ PVOID | DeviceExtension, |
_In_ STOR_SPINLOCK | SpinLock, | ||
_In_ PVOID | LockContext, | ||
_Inout_ PSTOR_LOCK_HANDLE | LockHandle | ||
) |
Definition at line 2950 of file storport.h.
Referenced by AhciCommandCompletionDpcRoutine(), AhciHwResetBus(), and AhciProcessIO().
FORCEINLINE ULONG StorPortAllocateMdl | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PVOID | BufferPointer, | ||
_In_ ULONG | NumberOfBytes, | ||
_Out_ PVOID * | Mdl | ||
) |
Definition at line 3010 of file storport.h.
FORCEINLINE ULONG StorPortAllocatePool | ( | _In_ PVOID | HwDeviceExtension, |
_In_ ULONG | NumberOfBytes, | ||
_In_ ULONG | Tag, | ||
_Out_ PVOID * | BufferPointer | ||
) |
Definition at line 2983 of file storport.h.
STORPORT_API PUCHAR NTAPI StorPortAllocateRegistryBuffer | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PULONG | Length | ||
) |
Definition at line 472 of file storport.c.
FORCEINLINE ULONG StorPortBuildMdlForNonPagedPool | ( | _In_ PVOID | HwDeviceExtension, |
_Inout_ PVOID | Mdl | ||
) |
Definition at line 3036 of file storport.h.
FORCEINLINE ULONG StorPortBuildScatterGatherList | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PVOID | Mdl, | ||
_In_ PVOID | CurrentVa, | ||
_In_ ULONG | Length, | ||
_In_ PpostScaterGatherExecute | ExecutionRoutine, | ||
_In_ PVOID | Context, | ||
_In_ BOOLEAN | WriteToDevice, | ||
_Inout_ PVOID | ScatterGatherBuffer, | ||
_In_ ULONG | ScatterGatherBufferLength | ||
) |
Definition at line 3099 of file storport.h.
STORPORT_API BOOLEAN NTAPI StorPortBusy | ( | _In_ PVOID | HwDeviceExtension, |
_In_ ULONG | RequestsToComplete | ||
) |
Definition at line 488 of file storport.c.
STORPORT_API VOID NTAPI StorPortCompleteRequest | ( | _In_ PVOID | HwDeviceExtension, |
_In_ UCHAR | PathId, | ||
_In_ UCHAR | TargetId, | ||
_In_ UCHAR | Lun, | ||
_In_ UCHAR | SrbStatus | ||
) |
Definition at line 504 of file storport.c.
Definition at line 3073 of file storport.h.
STORPORT_API ULONG64 NTAPI StorPortConvertPhysicalAddressToUlong64 | ( | _In_ STOR_PHYSICAL_ADDRESS | Address | ) |
STORPORT_API STOR_PHYSICAL_ADDRESS NTAPI StorPortConvertUlong64ToPhysicalAddress | ( | _In_ ULONG64 | UlongAddress | ) |
STORPORT_API VOID __cdecl StorPortDebugPrint | ( | _In_ ULONG | DebugPrintLevel, |
_In_ PCCHAR | DebugMessage, | ||
... | |||
) |
STORPORT_API BOOLEAN NTAPI StorPortDeviceBusy | ( | _In_ PVOID | HwDeviceExtension, |
_In_ UCHAR | PathId, | ||
_In_ UCHAR | TargetId, | ||
_In_ UCHAR | Lun, | ||
_In_ ULONG | RequestsToComplete | ||
) |
Definition at line 573 of file storport.c.
STORPORT_API BOOLEAN NTAPI StorPortDeviceReady | ( | _In_ PVOID | HwDeviceExtension, |
_In_ UCHAR | PathId, | ||
_In_ UCHAR | TargetId, | ||
_In_ UCHAR | Lun | ||
) |
Definition at line 592 of file storport.c.
FORCEINLINE BOOLEAN StorPortEnablePassiveInitialization | ( | _In_ PVOID | DeviceExtension, |
_In_ PHW_PASSIVE_INITIALIZE_ROUTINE | HwPassiveInitializeRoutine | ||
) |
Definition at line 2903 of file storport.h.
Referenced by AhciHwInitialize().
STORPORT_API ULONG StorPortExtendedFunction | ( | _In_ STORPORT_FUNCTION_CODE | FunctionCode, |
_In_ PVOID | HwDeviceExtension, | ||
... | |||
) |
Definition at line 609 of file storport.c.
Referenced by StorPortAcquireMSISpinLock(), StorPortAllocateMdl(), StorPortAllocatePool(), StorPortBuildMdlForNonPagedPool(), StorPortBuildScatterGatherList(), StorPortCompleteServiceIrp(), StorPortFreeMdl(), StorPortFreePool(), StorPortGetDeviceObjects(), StorPortGetMSIInfo(), StorPortGetOriginalMdl(), StorPortGetStartIoPerfParams(), StorPortGetSystemAddress(), StorPortInitializePerfOpts(), StorPortLogSystemEvent(), StorPortPutScatterGatherList(), and StorPortReleaseMSISpinLock().
STORPORT_API VOID NTAPI StorPortFreeDeviceBase | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PVOID | MappedAddress | ||
) |
Definition at line 627 of file storport.c.
Definition at line 3025 of file storport.h.
Definition at line 2999 of file storport.h.
STORPORT_API VOID NTAPI StorPortFreeRegistryBuffer | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PUCHAR | Buffer | ||
) |
Definition at line 642 of file storport.c.
STORPORT_API ULONG NTAPI StorPortGetBusData | ( | _In_ PVOID | DeviceExtension, |
_In_ ULONG | BusDataType, | ||
_In_ ULONG | SystemIoBusNumber, | ||
_In_ ULONG | SlotNumber, | ||
_Out_ _When_(Length !=0, _Out_writes_bytes_(Length)) PVOID | Buffer, | ||
_In_ ULONG | Length | ||
) |
Definition at line 657 of file storport.c.
Referenced by AhciHwFindAdapter().
STORPORT_API PVOID NTAPI StorPortGetDeviceBase | ( | _In_ PVOID | HwDeviceExtension, |
_In_ INTERFACE_TYPE | BusType, | ||
_In_ ULONG | SystemIoBusNumber, | ||
_In_ STOR_PHYSICAL_ADDRESS | IoAddress, | ||
_In_ ULONG | NumberOfBytes, | ||
_In_ BOOLEAN | InIoSpace | ||
) |
Definition at line 701 of file storport.c.
Referenced by AhciHwFindAdapter().
FORCEINLINE ULONG StorPortGetDeviceObjects | ( | _In_ PVOID | HwDeviceExtension, |
_Out_ PVOID * | AdapterDeviceObject, | ||
_Out_ PVOID * | PhysicalDeviceObject, | ||
_Out_ PVOID * | LowerDeviceObject | ||
) |
Definition at line 3084 of file storport.h.
STORPORT_API PVOID NTAPI StorPortGetLogicalUnit | ( | _In_ PVOID | HwDeviceExtension, |
_In_ UCHAR | PathId, | ||
_In_ UCHAR | TargetId, | ||
_In_ UCHAR | Lun | ||
) |
Definition at line 773 of file storport.c.
FORCEINLINE ULONG StorPortGetMSIInfo | ( | _In_ PVOID | HwDeviceExtension, |
_In_ ULONG | MessageId, | ||
_Out_ PMESSAGE_INTERRUPT_INFORMATION | InterruptInfo | ||
) |
Definition at line 3163 of file storport.h.
FORCEINLINE ULONG StorPortGetOriginalMdl | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PSCSI_REQUEST_BLOCK | Srb, | ||
_Out_ PVOID * | Mdl | ||
) |
Definition at line 3060 of file storport.h.
STORPORT_API STOR_PHYSICAL_ADDRESS NTAPI StorPortGetPhysicalAddress | ( | _In_ PVOID | HwDeviceExtension, |
_In_opt_ PSCSI_REQUEST_BLOCK | Srb, | ||
_In_ PVOID | VirtualAddress, | ||
_Out_ ULONG * | Length | ||
) |
Definition at line 791 of file storport.c.
Referenced by AhciPortInitialize(), and AhciProcessSrb().
STORPORT_API PSTOR_SCATTER_GATHER_LIST NTAPI StorPortGetScatterGatherList | ( | _In_ PVOID | DeviceExtension, |
_In_ PSCSI_REQUEST_BLOCK | Srb | ||
) |
Definition at line 846 of file storport.c.
Referenced by AhciATAPICommand(), and DeviceRequestReadWrite().
STORPORT_API PSCSI_REQUEST_BLOCK NTAPI StorPortGetSrb | ( | _In_ PVOID | DeviceExtension, |
_In_ UCHAR | PathId, | ||
_In_ UCHAR | TargetId, | ||
_In_ UCHAR | Lun, | ||
_In_ LONG | QueueTag | ||
) |
Definition at line 862 of file storport.c.
FORCEINLINE ULONG StorPortGetStartIoPerfParams | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PSCSI_REQUEST_BLOCK | Srb, | ||
_Inout_ PSTARTIO_PERFORMANCE_PARAMETERS | StartIoPerfParams | ||
) |
Definition at line 3189 of file storport.h.
FORCEINLINE ULONG StorPortGetSystemAddress | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PSCSI_REQUEST_BLOCK | Srb, | ||
_Out_ PVOID * | SystemAddress | ||
) |
Definition at line 3047 of file storport.h.
STORPORT_API PVOID NTAPI StorPortGetUncachedExtension | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PPORT_CONFIGURATION_INFORMATION | ConfigInfo, | ||
_In_ ULONG | NumberOfBytes | ||
) |
Definition at line 880 of file storport.c.
Referenced by AhciAllocateResourceForAdapter().
STORPORT_API PVOID NTAPI StorPortGetVirtualAddress | ( | _In_ PVOID | HwDeviceExtension, |
_In_ STOR_PHYSICAL_ADDRESS | PhysicalAddress | ||
) |
Definition at line 932 of file storport.c.
STORPORT_API ULONG NTAPI StorPortInitialize | ( | _In_ PVOID | Argument1, |
_In_ PVOID | Argument2, | ||
_In_ PHW_INITIALIZATION_DATA | HwInitializationData, | ||
_In_opt_ PVOID | Unused | ||
) |
FORCEINLINE VOID StorPortInitializeDpc | ( | _In_ PVOID | DeviceExtension, |
_Out_ PSTOR_DPC | Dpc, | ||
_In_ PHW_DPC_ROUTINE | HwDpcRoutine | ||
) |
Definition at line 2918 of file storport.h.
Referenced by AhciHwPassiveInitialize().
FORCEINLINE ULONG StorPortInitializePerfOpts | ( | _In_ PVOID | HwDeviceExtension, |
_In_ BOOLEAN | Query, | ||
_Inout_ PPERF_CONFIGURATION_DATA | PerfConfigData | ||
) |
Definition at line 3176 of file storport.h.
FORCEINLINE BOOLEAN StorPortIssueDpc | ( | _In_ PVOID | DeviceExtension, |
_In_ PSTOR_DPC | Dpc, | ||
_In_ PVOID | SystemArgument1, | ||
_In_ PVOID | SystemArgument2 | ||
) |
Definition at line 2931 of file storport.h.
Referenced by AhciCompleteIssuedSrb().
STORPORT_API VOID NTAPI StorPortLogError | ( | _In_ PVOID | HwDeviceExtension, |
_In_opt_ PSCSI_REQUEST_BLOCK | Srb, | ||
_In_ UCHAR | PathId, | ||
_In_ UCHAR | TargetId, | ||
_In_ UCHAR | Lun, | ||
_In_ ULONG | ErrorCode, | ||
_In_ ULONG | UniqueId | ||
) |
Definition at line 1056 of file storport.c.
FORCEINLINE ULONG StorPortLogSystemEvent | ( | _In_ PVOID | HwDeviceExtension, |
_Inout_ PSTOR_LOG_EVENT_DETAILS | LogDetails, | ||
_Inout_ PULONG | MaximumSize | ||
) |
Definition at line 3202 of file storport.h.
STORPORT_API VOID NTAPI StorPortMoveMemory | ( | _Out_writes_bytes_(Length) PVOID | WriteBuffer, |
_In_reads_bytes_(Length) PVOID | ReadBuffer, | ||
_In_ ULONG | Length | ||
) |
Definition at line 1079 of file storport.c.
STORPORT_API VOID __cdecl StorPortNotification | ( | _In_ SCSI_NOTIFICATION_TYPE | NotificationType, |
_In_ PVOID | HwDeviceExtension, | ||
... | |||
) |
Definition at line 1093 of file storport.c.
Referenced by AhciCommandCompletionDpcRoutine(), AhciCompleteIssuedSrb(), AhciHwStartIo(), StorPortAcquireSpinLock(), StorPortEnablePassiveInitialization(), StorPortInitializeDpc(), StorPortIssueDpc(), and StorPortReleaseSpinLock().
Definition at line 1215 of file storport.c.
STORPORT_API BOOLEAN NTAPI StorPortPauseDevice | ( | _In_ PVOID | HwDeviceExtension, |
_In_ UCHAR | PathId, | ||
_In_ UCHAR | TargetId, | ||
_In_ UCHAR | Lun, | ||
_In_ ULONG | TimeOut | ||
) |
Definition at line 1231 of file storport.c.
FORCEINLINE ULONG StorPortPutScatterGatherList | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PSTOR_SCATTER_GATHER_LIST | ScatterGatherList, | ||
_In_ BOOLEAN | WriteToDevice | ||
) |
Definition at line 3124 of file storport.h.
STORPORT_API VOID NTAPI StorPortQuerySystemTime | ( | _Out_ PLARGE_INTEGER | CurrentTime | ) |
STORPORT_API VOID NTAPI StorPortReadPortBufferUchar | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PUCHAR | Port, | ||
_In_ PUCHAR | Buffer, | ||
_In_ ULONG | Count | ||
) |
Definition at line 21 of file stubs.c.
STORPORT_API VOID NTAPI StorPortReadPortBufferUlong | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PULONG | Port, | ||
_In_ PULONG | Buffer, | ||
_In_ ULONG | Count | ||
) |
Definition at line 34 of file stubs.c.
STORPORT_API VOID NTAPI StorPortReadPortBufferUshort | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PUSHORT | Port, | ||
_In_ PUSHORT | Buffer, | ||
_In_ ULONG | Count | ||
) |
Definition at line 47 of file stubs.c.
STORPORT_API USHORT NTAPI StorPortReadPortUshort | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PUSHORT | Port | ||
) |
STORPORT_API VOID NTAPI StorPortReadRegisterBufferUchar | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PUCHAR | Register, | ||
_In_ PUCHAR | Buffer, | ||
_In_ ULONG | Count | ||
) |
STORPORT_API VOID NTAPI StorPortReadRegisterBufferUlong | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PULONG | Register, | ||
_In_ PULONG | Buffer, | ||
_In_ ULONG | Count | ||
) |
STORPORT_API VOID NTAPI StorPortReadRegisterBufferUshort | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PUSHORT | Register, | ||
_In_ PUSHORT | Buffer, | ||
_In_ ULONG | Count | ||
) |
STORPORT_API UCHAR NTAPI StorPortReadRegisterUchar | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PUCHAR | Register | ||
) |
STORPORT_API ULONG NTAPI StorPortReadRegisterUlong | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PULONG | Register | ||
) |
Definition at line 143 of file stubs.c.
Referenced by AhciActivatePort(), AhciAdapterReset(), AhciHwFindAdapter(), AhciHwInitialize(), AhciHwInterrupt(), AhciInterruptHandler(), AhciPortInitialize(), AhciProcessSrb(), and AhciStartPort().
STORPORT_API USHORT NTAPI StorPortReadRegisterUshort | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PUSHORT | Register | ||
) |
STORPORT_API BOOLEAN NTAPI StorPortReady | ( | _In_ PVOID | HwDeviceExtension | ) |
Definition at line 1269 of file storport.c.
STORPORT_API BOOLEAN NTAPI StorPortRegistryRead | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PUCHAR | ValueName, | ||
_In_ ULONG | Global, | ||
_In_ ULONG | Type, | ||
_In_ PUCHAR | Buffer, | ||
_In_ PULONG | BufferLength | ||
) |
Definition at line 1284 of file storport.c.
STORPORT_API BOOLEAN NTAPI StorPortRegistryWrite | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PUCHAR | ValueName, | ||
_In_ ULONG | Global, | ||
_In_ ULONG | Type, | ||
_In_ PUCHAR | Buffer, | ||
_In_ ULONG | BufferLength | ||
) |
Definition at line 1304 of file storport.c.
FORCEINLINE ULONG StorPortReleaseMSISpinLock | ( | _In_ PVOID | HwDeviceExtension, |
_In_ ULONG | MessageId, | ||
_In_ ULONG | OldIrql | ||
) |
Definition at line 3150 of file storport.h.
FORCEINLINE VOID StorPortReleaseSpinLock | ( | _In_ PVOID | DeviceExtension, |
_Inout_ PSTOR_LOCK_HANDLE | LockHandle | ||
) |
Definition at line 2965 of file storport.h.
Referenced by AhciCommandCompletionDpcRoutine(), AhciHwResetBus(), and AhciProcessIO().
STORPORT_API BOOLEAN NTAPI StorPortResume | ( | _In_ PVOID | HwDeviceExtension | ) |
Definition at line 1324 of file storport.c.
STORPORT_API BOOLEAN NTAPI StorPortResumeDevice | ( | _In_ PVOID | HwDeviceExtension, |
_In_ UCHAR | PathId, | ||
_In_ UCHAR | TargetId, | ||
_In_ UCHAR | Lun | ||
) |
Definition at line 1339 of file storport.c.
STORPORT_API ULONG NTAPI StorPortSetBusDataByOffset | ( | _In_ PVOID | DeviceExtension, |
_In_ ULONG | BusDataType, | ||
_In_ ULONG | SystemIoBusNumber, | ||
_In_ ULONG | SlotNumber, | ||
_In_reads_bytes_(Length) PVOID | Buffer, | ||
_In_ ULONG | Offset, | ||
_In_ ULONG | Length | ||
) |
Definition at line 1357 of file storport.c.
STORPORT_API BOOLEAN NTAPI StorPortSetDeviceQueueDepth | ( | _In_ PVOID | HwDeviceExtension, |
_In_ UCHAR | PathId, | ||
_In_ UCHAR | TargetId, | ||
_In_ UCHAR | Lun, | ||
_In_ ULONG | Depth | ||
) |
Definition at line 1398 of file storport.c.
Referenced by AtapiInquiryCompletion(), and InquiryCompletion().
STORPORT_API VOID NTAPI StorPortStallExecution | ( | _In_ ULONG | Delay | ) |
Definition at line 1417 of file storport.c.
Referenced by AhciAdapterReset(), AhciPortInitialize(), and AhciStartPort().
STORPORT_API VOID NTAPI StorPortSynchronizeAccess | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PSTOR_SYNCHRONIZED_ACCESS | SynchronizedAccessRoutine, | ||
_In_opt_ PVOID | Context | ||
) |
Definition at line 1430 of file storport.c.
STORPORT_API BOOLEAN NTAPI StorPortValidateRange | ( | _In_ PVOID | HwDeviceExtension, |
_In_ INTERFACE_TYPE | BusType, | ||
_In_ ULONG | SystemIoBusNumber, | ||
_In_ STOR_PHYSICAL_ADDRESS | IoAddress, | ||
_In_ ULONG | NumberOfBytes, | ||
_In_ BOOLEAN | InIoSpace | ||
) |
Definition at line 1446 of file storport.c.
STORPORT_API VOID NTAPI StorPortWritePortBufferUchar | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PUCHAR | Port, | ||
_In_ PUCHAR | Buffer, | ||
_In_ ULONG | Count | ||
) |
Definition at line 165 of file stubs.c.
STORPORT_API VOID NTAPI StorPortWritePortBufferUlong | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PULONG | Port, | ||
_In_ PULONG | Buffer, | ||
_In_ ULONG | Count | ||
) |
Definition at line 178 of file stubs.c.
STORPORT_API VOID NTAPI StorPortWritePortBufferUshort | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PUSHORT | Port, | ||
_In_ PUSHORT | Buffer, | ||
_In_ ULONG | Count | ||
) |
Definition at line 191 of file stubs.c.
STORPORT_API VOID NTAPI StorPortWritePortUchar | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PUCHAR | Port, | ||
_In_ UCHAR | Value | ||
) |
Definition at line 204 of file stubs.c.
STORPORT_API VOID NTAPI StorPortWritePortUlong | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PULONG | Port, | ||
_In_ ULONG | Value | ||
) |
STORPORT_API VOID NTAPI StorPortWritePortUshort | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PUSHORT | Port, | ||
_In_ USHORT | Value | ||
) |
STORPORT_API VOID NTAPI StorPortWriteRegisterBufferUchar | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PUCHAR | Register, | ||
_In_ PUCHAR | Buffer, | ||
_In_ ULONG | Count | ||
) |
STORPORT_API VOID NTAPI StorPortWriteRegisterBufferUlong | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PULONG | Register, | ||
_In_ PULONG | Buffer, | ||
_In_ ULONG | Count | ||
) |
STORPORT_API VOID NTAPI StorPortWriteRegisterBufferUshort | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PUSHORT | Register, | ||
_In_ PUSHORT | Buffer, | ||
_In_ ULONG | Count | ||
) |
STORPORT_API VOID NTAPI StorPortWriteRegisterUchar | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PUCHAR | Register, | ||
_In_ UCHAR | Value | ||
) |
STORPORT_API VOID NTAPI StorPortWriteRegisterUlong | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PULONG | Register, | ||
_In_ ULONG | Value | ||
) |
Definition at line 291 of file stubs.c.
Referenced by AhciActivatePort(), AhciAdapterReset(), AhciHwFindAdapter(), AhciInterruptHandler(), AhciPortInitialize(), and AhciStartPort().