ReactOS 0.4.16-dev-336-gb667d82
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | NDEBUG_USBPORT_CORE |
#define NDEBUG |
Definition at line 10 of file endpoint.c.
#define NDEBUG_USBPORT_CORE |
Definition at line 13 of file endpoint.c.
VOID NTAPI MiniportCloseEndpoint | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_ENDPOINT | Endpoint | ||
) |
Definition at line 549 of file endpoint.c.
Referenced by USBPORT_DeleteEndpoint(), USBPORT_ReopenPipe(), and USBPORT_RestoreDevice().
MPSTATUS NTAPI MiniportOpenEndpoint | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_ENDPOINT | Endpoint | ||
) |
Definition at line 722 of file endpoint.c.
Referenced by USBPORT_OpenPipe(), USBPORT_ReopenPipe(), and USBPORT_RestoreDevice().
VOID NTAPI USBPORT_AddPipeHandle | ( | IN PUSBPORT_DEVICE_HANDLE | DeviceHandle, |
IN PUSBPORT_PIPE_HANDLE | PipeHandle | ||
) |
Definition at line 444 of file endpoint.c.
Referenced by USBPORT_OpenPipe(), and USBPORT_RestoreDevice().
BOOLEAN NTAPI USBPORT_AllocateBandwidth | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_ENDPOINT | Endpoint | ||
) |
Definition at line 63 of file endpoint.c.
Referenced by USBPORT_OpenPipe().
ULONG NTAPI USBPORT_CalculateUsbBandwidth | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_ENDPOINT | Endpoint | ||
) |
Definition at line 18 of file endpoint.c.
Referenced by USBPORT_OpenPipe().
VOID NTAPI USBPORT_ClosePipe | ( | IN PUSBPORT_DEVICE_HANDLE | DeviceHandle, |
IN PDEVICE_OBJECT | FdoDevice, | ||
IN PUSBPORT_PIPE_HANDLE | PipeHandle | ||
) |
Definition at line 590 of file endpoint.c.
Referenced by USBPORT_CloseConfiguration(), USBPORT_CreateDevice(), USBPORT_HandleSelectInterface(), USBPORT_RemoveDevice(), and USBPORT_RestoreDevice().
BOOLEAN NTAPI USBPORT_DeleteEndpoint | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_ENDPOINT | Endpoint | ||
) |
Definition at line 498 of file endpoint.c.
Referenced by USBPORT_FlushClosedEndpointList().
ULONG NTAPI USBPORT_DmaEndpointActive | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_ENDPOINT | Endpoint | ||
) |
Definition at line 1509 of file endpoint.c.
Referenced by USBPORT_DmaEndpointWorker().
ULONG NTAPI USBPORT_DmaEndpointPaused | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_ENDPOINT | Endpoint | ||
) |
Definition at line 1413 of file endpoint.c.
Referenced by USBPORT_DmaEndpointWorker().
VOID NTAPI USBPORT_DmaEndpointWorker | ( | IN PUSBPORT_ENDPOINT | Endpoint | ) |
Definition at line 1591 of file endpoint.c.
Referenced by USBPORT_EndpointWorker().
BOOLEAN NTAPI USBPORT_EndpointHasQueuedTransfers | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_ENDPOINT | Endpoint, | ||
IN PULONG | TransferCount | ||
) |
Definition at line 254 of file endpoint.c.
Referenced by USBPORT_DeviceHasTransfers(), and USBPORT_FlushDoneTransfers().
Definition at line 1656 of file endpoint.c.
Referenced by USBPORT_DpcHandler(), USBPORT_FlushPendingTransfers(), USBPORT_MapTransfer(), and USBPORT_WorkerThreadHandler().
VOID NTAPI USBPORT_FlushClosedEndpointList | ( | IN PDEVICE_OBJECT | FdoDevice | ) |
Definition at line 1281 of file endpoint.c.
Referenced by USBPORT_WorkerThreadHandler().
VOID NTAPI USBPORT_FreeBandwidth | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_ENDPOINT | Endpoint | ||
) |
Definition at line 171 of file endpoint.c.
Referenced by USBPORT_ClosePipe(), and USBPORT_OpenPipe().
ULONG NTAPI USBPORT_GetEndpointState | ( | IN PUSBPORT_ENDPOINT | Endpoint | ) |
Definition at line 332 of file endpoint.c.
Referenced by USBPORT_DmaEndpointPaused(), USBPORT_DmaEndpointWorker(), USBPORT_DpcHandler(), USBPORT_EndpointWorker(), USBPORT_FlushAllEndpoints(), USBPORT_InvalidateEndpointHandler(), USBPORT_OpenPipe(), and USBPORT_SyncResetPipeAndClearStall().
VOID NTAPI USBPORT_InvalidateEndpointHandler | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_ENDPOINT | Endpoint, | ||
IN ULONG | Type | ||
) |
Definition at line 1317 of file endpoint.c.
Referenced by USBPORT_AbortEndpoint(), USBPORT_CancelActiveTransferIrp(), USBPORT_DmaEndpointWorker(), USBPORT_FlushDoneTransfers(), USBPORT_FlushPendingTransfers(), USBPORT_InvalidateEndpoint(), USBPORT_InvalidateRootHub(), USBPORT_IsrDpcHandler(), USBPORT_MapTransfer(), and USBPORT_SetEndpointState().
Definition at line 235 of file endpoint.c.
Referenced by USBPORT_OpenPipe().
VOID NTAPI USBPORT_NukeAllEndpoints | ( | IN PDEVICE_OBJECT | FdoDevice | ) |
Definition at line 300 of file endpoint.c.
Referenced by USBPORT_ResumeController().
NTSTATUS NTAPI USBPORT_OpenPipe | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_DEVICE_HANDLE | DeviceHandle, | ||
IN PUSBPORT_PIPE_HANDLE | PipeHandle, | ||
IN OUT PUSBD_STATUS | UsbdStatus | ||
) |
Definition at line 763 of file endpoint.c.
Referenced by USBPORT_CreateDevice(), USBPORT_OpenInterface(), and USBPORT_RootHubCreateDevice().
VOID NTAPI USBPORT_RemovePipeHandle | ( | IN PUSBPORT_DEVICE_HANDLE | DeviceHandle, |
IN PUSBPORT_PIPE_HANDLE | PipeHandle | ||
) |
Definition at line 456 of file endpoint.c.
Referenced by USBPORT_ClosePipe(), and USBPORT_RestoreDevice().
NTSTATUS NTAPI USBPORT_ReopenPipe | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_ENDPOINT | Endpoint | ||
) |
Definition at line 1165 of file endpoint.c.
Referenced by USBPORT_InitializeDevice().
Definition at line 363 of file endpoint.c.
Referenced by USBPORT_ClosePipe(), USBPORT_DmaEndpointWorker(), USBPORT_OpenPipe(), and USBPORT_SyncResetPipeAndClearStall().
BOOLEAN NTAPI USBPORT_ValidatePipeHandle | ( | IN PUSBPORT_DEVICE_HANDLE | DeviceHandle, |
IN PUSBPORT_PIPE_HANDLE | PipeHandle | ||
) |
Definition at line 469 of file endpoint.c.
Referenced by USBPORT_AbortPipe(), USBPORT_ClearStall(), USBPORT_ResetPipe(), USBPORT_SyncResetPipeAndClearStall(), and USBPORT_ValidateURB().