|
ReactOS 0.4.17-dev-1190-g4c812f4
|

Go to the source code of this file.
Macros | |
| #define | NDEBUG |
Variables | |
| ULONG | PortNumber = 0 |
| #define NDEBUG |
Definition at line 14 of file storport.c.
| NTSTATUS NTAPI DriverEntry | ( | _In_ PDRIVER_OBJECT | DriverObject, |
| _In_ PUNICODE_STRING | RegistryPath | ||
| ) |
Definition at line 510 of file storport.c.
|
static |
Definition at line 108 of file storport.c.
Referenced by StorPortNotification().
|
static |
Definition at line 172 of file storport.c.
Referenced by StorPortInitialize().
|
static |
Definition at line 28 of file storport.c.
Referenced by StorPortInitialize().
|
static |
Definition at line 55 of file storport.c.
Referenced by PortUnload().
Definition at line 343 of file storport.c.
Referenced by StorPortInitialize().
Definition at line 324 of file storport.c.
Referenced by StorPortInitialize().
|
static |
Definition at line 362 of file storport.c.
Referenced by StorPortInitialize().
Definition at line 453 of file storport.c.
Referenced by StorPortInitialize().
Definition at line 487 of file storport.c.
Referenced by StorPortInitialize().
Definition at line 398 of file storport.c.
Referenced by StorPortInitialize().
|
static |
Definition at line 434 of file storport.c.
Referenced by StorPortInitialize().
| PHW_INITIALIZATION_DATA PortGetDriverInitData | ( | PDRIVER_OBJECT_EXTENSION | DriverExtension, |
| INTERFACE_TYPE | InterfaceType | ||
| ) |
Definition at line 81 of file storport.c.
Referenced by PortFdoStartMiniport(), and StorPortGetUncachedExtension().
|
static |
Definition at line 142 of file storport.c.
Referenced by StorPortNotification().
|
static |
Definition at line 304 of file storport.c.
Referenced by StorPortInitialize().
| STORPORT_API PUCHAR NTAPI StorPortAllocateRegistryBuffer | ( | _In_ PVOID | HwDeviceExtension, |
| _In_ PULONG | Length | ||
| ) |
Definition at line 525 of file storport.c.
| STORPORT_API BOOLEAN NTAPI StorPortBusy | ( | _In_ PVOID | HwDeviceExtension, |
| _In_ ULONG | RequestsToComplete | ||
| ) |
Definition at line 541 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 557 of file storport.c.
| STORPORT_API ULONG NTAPI StorPortConvertPhysicalAddressToUlong | ( | _In_ STOR_PHYSICAL_ADDRESS | Address | ) |
| STORPORT_API STOR_PHYSICAL_ADDRESS NTAPI StorPortConvertUlongToPhysicalAddress | ( | _In_ ULONG_PTR | UlongAddress | ) |
Definition at line 590 of file storport.c.
Definition at line 607 of file storport.c.
| STORPORT_API BOOLEAN NTAPI StorPortDeviceBusy | ( | _In_ PVOID | HwDeviceExtension, |
| _In_ UCHAR | PathId, | ||
| _In_ UCHAR | TargetId, | ||
| _In_ UCHAR | Lun, | ||
| _In_ ULONG | RequestsToComplete | ||
| ) |
Definition at line 630 of file storport.c.
| STORPORT_API BOOLEAN NTAPI StorPortDeviceReady | ( | _In_ PVOID | HwDeviceExtension, |
| _In_ UCHAR | PathId, | ||
| _In_ UCHAR | TargetId, | ||
| _In_ UCHAR | Lun | ||
| ) |
Definition at line 664 of file storport.c.
| STORPORT_API ULONG StorPortExtendedFunction | ( | _In_ STORPORT_FUNCTION_CODE | FunctionCode, |
| _In_ PVOID | HwDeviceExtension, | ||
| ... | |||
| ) |
Definition at line 695 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 876 of file storport.c.
| STORPORT_API VOID NTAPI StorPortFreeRegistryBuffer | ( | _In_ PVOID | HwDeviceExtension, |
| _In_ PUCHAR | Buffer | ||
| ) |
Definition at line 891 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 906 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 947 of file storport.c.
Referenced by AhciHwFindAdapter().
| STORPORT_API PVOID NTAPI StorPortGetLogicalUnit | ( | _In_ PVOID | HwDeviceExtension, |
| _In_ UCHAR | PathId, | ||
| _In_ UCHAR | TargetId, | ||
| _In_ UCHAR | Lun | ||
| ) |
Definition at line 1019 of file storport.c.
| 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 1037 of file storport.c.
Referenced by AhciPortInitialize(), and AhciProcessSrb().
| STORPORT_API PSTOR_SCATTER_GATHER_LIST NTAPI StorPortGetScatterGatherList | ( | _In_ PVOID | HwDeviceExtension, |
| _In_ PSCSI_REQUEST_BLOCK | Srb | ||
| ) |
Definition at line 1092 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 1112 of file storport.c.
| STORPORT_API PVOID NTAPI StorPortGetUncachedExtension | ( | _In_ PVOID | HwDeviceExtension, |
| _In_ PPORT_CONFIGURATION_INFORMATION | ConfigInfo, | ||
| _In_ ULONG | NumberOfBytes | ||
| ) |
Definition at line 1130 of file storport.c.
Referenced by AhciAllocateResourceForAdapter().
| STORPORT_API PVOID NTAPI StorPortGetVirtualAddress | ( | _In_ PVOID | HwDeviceExtension, |
| _In_ STOR_PHYSICAL_ADDRESS | PhysicalAddress | ||
| ) |
Definition at line 1207 of file storport.c.
| STORPORT_API ULONG NTAPI StorPortInitialize | ( | _In_ PVOID | Argument1, |
| _In_ PVOID | Argument2, | ||
| _In_ struct _HW_INITIALIZATION_DATA * | HwInitializationData, | ||
| _In_opt_ PVOID | HwContext | ||
| ) |
Definition at line 1224 of file storport.c.
Referenced by DriverEntry().
| 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 1331 of file storport.c.
| STORPORT_API VOID NTAPI StorPortMoveMemory | ( | _Out_writes_bytes_(Length) PVOID | Destination, |
| _In_reads_bytes_(Length) PVOID | Source, | ||
| _In_ ULONG | Length | ||
| ) |
Definition at line 1354 of file storport.c.
| STORPORT_API VOID StorPortNotification | ( | _In_ SCSI_NOTIFICATION_TYPE | NotificationType, |
| _In_ PVOID | HwDeviceExtension, | ||
| ... | |||
| ) |
Definition at line 1368 of file storport.c.
Referenced by AhciCommandCompletionDpcRoutine(), AhciCompleteIssuedSrb(), AhciHwStartIo(), StorPortAcquireSpinLock(), StorPortEnablePassiveInitialization(), StorPortInitializeDpc(), StorPortIssueDpc(), and StorPortReleaseSpinLock().
Definition at line 1556 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 1572 of file storport.c.
| STORPORT_API BOOLEAN NTAPI StorPortReady | ( | _In_ PVOID | HwDeviceExtension | ) |
Definition at line 1610 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 1625 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 1645 of file storport.c.
| STORPORT_API BOOLEAN NTAPI StorPortResume | ( | _In_ PVOID | HwDeviceExtension | ) |
Definition at line 1665 of file storport.c.
| STORPORT_API BOOLEAN NTAPI StorPortResumeDevice | ( | _In_ PVOID | HwDeviceExtension, |
| _In_ UCHAR | PathId, | ||
| _In_ UCHAR | TargetId, | ||
| _In_ UCHAR | Lun | ||
| ) |
Definition at line 1680 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 1698 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 1739 of file storport.c.
Referenced by AtapiInquiryCompletion(), and InquiryCompletion().
| STORPORT_API VOID NTAPI StorPortStallExecution | ( | _In_ ULONG | Delay | ) |
Definition at line 1778 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 1791 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 1807 of file storport.c.
| ULONG PortNumber = 0 |
Definition at line 21 of file storport.c.