ReactOS 0.4.16-dev-122-g325d74c
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Variables | |
ULONG | PortNumber = 0 |
#define NDEBUG |
Definition at line 12 of file storport.c.
NTSTATUS NTAPI DriverEntry | ( | _In_ PDRIVER_OBJECT | DriverObject, |
_In_ PUNICODE_STRING | RegistryPath | ||
) |
Definition at line 457 of file storport.c.
|
static |
Definition at line 105 of file storport.c.
Referenced by StorPortNotification().
|
static |
Definition at line 169 of file storport.c.
Referenced by StorPortInitialize().
|
static |
Definition at line 25 of file storport.c.
Referenced by StorPortInitialize().
|
static |
Definition at line 52 of file storport.c.
Referenced by PortUnload().
Definition at line 307 of file storport.c.
Referenced by StorPortInitialize().
Definition at line 288 of file storport.c.
Referenced by StorPortInitialize().
|
static |
Definition at line 326 of file storport.c.
Referenced by StorPortInitialize().
Definition at line 400 of file storport.c.
Referenced by StorPortInitialize().
Definition at line 434 of file storport.c.
Referenced by StorPortInitialize().
Definition at line 345 of file storport.c.
Referenced by StorPortInitialize().
|
static |
Definition at line 381 of file storport.c.
Referenced by StorPortInitialize().
PHW_INITIALIZATION_DATA PortGetDriverInitData | ( | PDRIVER_OBJECT_EXTENSION | DriverExtension, |
INTERFACE_TYPE | InterfaceType | ||
) |
Definition at line 78 of file storport.c.
Referenced by PortFdoStartMiniport().
|
static |
Definition at line 139 of file storport.c.
Referenced by StorPortNotification().
|
static |
Definition at line 268 of file storport.c.
Referenced by StorPortInitialize().
STORPORT_API PUCHAR NTAPI StorPortAllocateRegistryBuffer | ( | _In_ PVOID | HwDeviceExtension, |
_In_ PULONG | Length | ||
) |
Definition at line 472 of file storport.c.
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.
STORPORT_API ULONG NTAPI StorPortConvertPhysicalAddressToUlong | ( | _In_ STOR_PHYSICAL_ADDRESS | Address | ) |
STORPORT_API STOR_PHYSICAL_ADDRESS NTAPI StorPortConvertUlongToPhysicalAddress | ( | _In_ ULONG_PTR | UlongAddress | ) |
Definition at line 537 of file storport.c.
Definition at line 554 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 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.
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.
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().
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.
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.
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_ struct _HW_INITIALIZATION_DATA * | HwInitializationData, | ||
_In_opt_ PVOID | HwContext | ||
) |
Definition at line 949 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 1056 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 1079 of file storport.c.
STORPORT_API VOID 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.
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.
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.
Definition at line 18 of file storport.c.
Referenced by GetSerialMouseDetectionBitmap(), InbvPortInitialize(), PortAddDevice(), USBHI_CreateUsbDevice(), WinLdrInitializeHeadlessPort(), and WinLdrPortInitialize().