|
ReactOS 0.4.17-dev-1281-g065abb3
|

Go to the source code of this file.
Macros | |
| #define | UCX_URB_FLAGS_KEEP_HUB_BITS UCXHUB_URB_FLAGS_HUB_MASK |
| #define | UCX_URB_FLAG_BUFFER_LOCKED 0x20000000 |
| #define | UCX_MAX_CONTROL_TRANSFER 0xFFFF |
Functions | |
| FORCEINLINE VOID NTAPI | UcxStampProcessorNumber (_Inout_ PURB Urb) |
| FORCEINLINE VOID NTAPI | UcxSetTransferDirection (_Inout_ PURB Urb, _In_ const UcxPipe *Pipe) |
| VOID NTAPI | UcxLockTransferBuffer (_Inout_ PURB Urb) |
| VOID NTAPI | UcxUnlockTransferBuffer (_Inout_ PURB Urb) |
| NTSTATUS NTAPI | UcxUsbdStatusToNtStatus (_In_ USBD_STATUS UsbdStatus) |
| USBD_STATUS NTAPI | UcxNtStatusToUsbdStatus (_In_ NTSTATUS Status) |
| NTSTATUS NTAPI | UcxProcessLegacyUrb (_In_ WDFDEVICE RootHubPdo, _In_ PIRP Irp, _In_ PURB Urb) |
| BOOLEAN NTAPI | UcxValidatePipeHandle (_In_ UcxUsbDevice *Device, _In_ USBD_PIPE_HANDLE Handle) |
| NTSTATUS NTAPI | UcxForwardIrpToQueue (_In_ WDFDEVICE RootHubPdo, _In_ PIRP Irp, _In_ PIO_COMPLETION_ROUTINE Completion, _In_ PVOID Context, _In_ WDFQUEUE Queue) |
| NTSTATUS NTAPI | UcxForwardIrpWithRequest (_In_ WDFDEVICE RootHubPdo, _In_ PIRP Irp, _In_ PIO_COMPLETION_ROUTINE Completion, _In_ PVOID Context, _In_ WDFQUEUE Queue, _In_ WDFREQUEST Request) |
| #define UCX_MAX_CONTROL_TRANSFER 0xFFFF |
Definition at line 17 of file urbroute.h.
| #define UCX_URB_FLAG_BUFFER_LOCKED 0x20000000 |
Definition at line 14 of file urbroute.h.
| #define UCX_URB_FLAGS_KEEP_HUB_BITS UCXHUB_URB_FLAGS_HUB_MASK |
Definition at line 11 of file urbroute.h.
| NTSTATUS NTAPI UcxForwardIrpToQueue | ( | _In_ WDFDEVICE | RootHubPdo, |
| _In_ PIRP | Irp, | ||
| _In_ PIO_COMPLETION_ROUTINE | Completion, | ||
| _In_ PVOID | Context, | ||
| _In_ WDFQUEUE | Queue | ||
| ) |
Definition at line 308 of file urbroute.cpp.
Referenced by UcxForwardDefaultPipeRequest(), UcxForwardStreamsUrb(), UcxHandleIsoch(), UcxProcessLegacyUrb(), and UcxXrbSubmitTransfer().
| NTSTATUS NTAPI UcxForwardIrpWithRequest | ( | _In_ WDFDEVICE | RootHubPdo, |
| _In_ PIRP | Irp, | ||
| _In_ PIO_COMPLETION_ROUTINE | Completion, | ||
| _In_ PVOID | Context, | ||
| _In_ WDFQUEUE | Queue, | ||
| _In_ WDFREQUEST | Request | ||
| ) |
Definition at line 323 of file urbroute.cpp.
Referenced by UcxXrbSubmitTransfer().
Below DISPATCH_LEVEL, locks a buffer passed without an MDL so the HCD can map it.
Definition at line 82 of file urbroute.cpp.
Referenced by UcxForwardDefaultPipeRequest(), UcxHandleIsoch(), UcxProcessLegacyUrb(), and UcxXrbSubmitTransfer().
| USBD_STATUS NTAPI UcxNtStatusToUsbdStatus | ( | _In_ NTSTATUS | Status | ) |
Definition at line 53 of file urbroute.cpp.
Referenced by UcxEndpoint::AbortPipe(), UcxEndpoint::GetIsochPathDelays(), UcxFailStreamsUrb(), UcxHandleGetCurrentFrame(), and UcxLegacyTransferCompletion().
Validates and routes a URB the way USBPORT did. Owns the IRP afterwards.
Definition at line 760 of file urbroute.cpp.
Referenced by UcxProcessSubmitUrb().
Pins TransferFlags' direction to the pipe; the client's own bit is ignored.
Definition at line 48 of file urbroute.h.
Referenced by UcxHandleIsoch(), UcxProcessLegacyUrb(), and UcxXrbSubmitTransfer().
| FORCEINLINE VOID NTAPI UcxStampProcessorNumber | ( | _Inout_ PURB | Urb | ) |
Definition at line 32 of file urbroute.h.
Referenced by UcxPrepareTransfer(), and UcxXrbSubmitTransfer().
Definition at line 130 of file urbroute.cpp.
Referenced by UcxLegacyTransferCompletion(), and UcxXrbTransferCompletion().
| NTSTATUS NTAPI UcxUsbdStatusToNtStatus | ( | _In_ USBD_STATUS | UsbdStatus | ) |
Definition at line 18 of file urbroute.cpp.
Referenced by UcxLegacyTransferCompletion(), UcxProcessLegacyUrb(), UcxXrbStreamsCompletion(), and UcxXrbTransferCompletion().
| BOOLEAN NTAPI UcxValidatePipeHandle | ( | _In_ UcxUsbDevice * | Device, |
| _In_ USBD_PIPE_HANDLE | Handle | ||
| ) |
Definition at line 356 of file urbroute.cpp.
Referenced by UcxPrepareTransfer(), and UcxProcessLegacyUrb().