ReactOS 0.4.16-dev-297-gc569aee
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | NDEBUG_USBHUB_SCE |
#define | NDEBUG_USBHUB_PNP |
Variables | |
PWSTR | GenericUSBDeviceString = NULL |
NTSTATUS NTAPI DriverEntry | ( | IN PDRIVER_OBJECT | DriverObject, |
IN PUNICODE_STRING | RegistryPath | ||
) |
Definition at line 5115 of file usbhub.c.
Definition at line 121 of file usbhub.c.
Referenced by USBH_ChangeIndication(), and USBH_ChangeIndicationWorker().
PUSBHUB_PORT_PDO_EXTENSION NTAPI PdoExt | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 133 of file usbhub.c.
Referenced by _Requires_lock_held_(), DrvTestResources(), IsaPdoFilterResourceRequirements(), IsaPdoPnp(), IsaPdoQueryBusInformation(), IsaPdoQueryCapabilities(), IsaPdoQueryDeviceRelations(), IsaPdoQueryDeviceText(), IsaPdoQueryDeviceUsageNotification(), IsaPdoQueryId(), IsaPdoQueryPnpDeviceState(), IsaPdoQueryResourceRequirements(), IsaPdoQueryResources(), IsaPdoRemoveDevice(), IsaPdoStartReadPort(), IsaPnpCreateLogicalDeviceRequirements(), IsaPnpCreateLogicalDeviceResources(), IsaPnpCreateReadPortDO(), IsaPnpFillDeviceRelations(), IsaPnpRemoveLogicalDeviceDO(), IsaReadPortRemoveDevice(), PcmciaPdoPlugPlay(), PcmciaPdoSetPowerState(), USBH_FdoQueryBusRelations(), USBH_FdoSurpriseRemoveDevice(), and USBH_PdoRemoveDevice().
NTSTATUS NTAPI USBD_CreateDeviceEx | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN PUSB_DEVICE_HANDLE * | OutDeviceHandle, | ||
IN USB_PORT_STATUS | UsbPortStatus, | ||
IN USHORT | Port | ||
) |
Definition at line 2508 of file usbhub.c.
Referenced by USBH_CreateDevice(), and USBH_ResetDevice().
NTSTATUS NTAPI USBD_GetDeviceInformationEx | ( | IN PUSBHUB_PORT_PDO_EXTENSION | PortExtension, |
IN PUSBHUB_FDO_EXTENSION | HubExtension, | ||
IN PUSB_NODE_CONNECTION_INFORMATION_EX | Info, | ||
IN ULONG | Length, | ||
IN PUSB_DEVICE_HANDLE | DeviceHandle | ||
) |
Definition at line 2639 of file usbhub.c.
Referenced by USBH_IoctlGetNodeConnectionInformation().
NTSTATUS NTAPI USBD_InitializeDeviceEx | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN PUSB_DEVICE_HANDLE | DeviceHandle, | ||
IN PUCHAR | DeviceDescriptorBuffer, | ||
IN ULONG | DeviceDescriptorBufferLength, | ||
IN PUCHAR | ConfigDescriptorBuffer, | ||
IN ULONG | ConfigDescriptorBufferLength | ||
) |
Definition at line 2562 of file usbhub.c.
Referenced by USBH_CreateDevice(), and USBH_ResetDevice().
NTSTATUS NTAPI USBD_RegisterRootHubCallBack | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension | ) |
Definition at line 2986 of file usbhub.c.
Referenced by USBH_StartHubFdoDevice().
NTSTATUS NTAPI USBD_RemoveDeviceEx | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN PUSB_DEVICE_HANDLE | DeviceHandle, | ||
IN ULONG | Flags | ||
) |
Definition at line 2538 of file usbhub.c.
Referenced by USBH_CreateDevice(), USBH_FdoCleanup(), USBH_FdoQueryBusRelations(), USBH_PdoRemoveDevice(), USBH_ProcessPortStateChange(), USBH_ResetDevice(), and USBH_ResetPortWorker().
NTSTATUS NTAPI USBD_RestoreDeviceEx | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN OUT PUSB_DEVICE_HANDLE | OldDeviceHandle, | ||
IN OUT PUSB_DEVICE_HANDLE | NewDeviceHandle | ||
) |
Definition at line 2761 of file usbhub.c.
Referenced by USBH_ResetDevice().
NTSTATUS NTAPI USBD_UnRegisterRootHubCallBack | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension | ) |
Definition at line 3008 of file usbhub.c.
Referenced by USBH_FdoCleanup().
NTSTATUS NTAPI USBH_AddDevice | ( | IN PDRIVER_OBJECT | DriverObject, |
IN PDEVICE_OBJECT | LowerPDO | ||
) |
Definition at line 4947 of file usbhub.c.
Referenced by DriverEntry().
NTSTATUS NTAPI USBH_AllocateWorkItem | ( | PUSBHUB_FDO_EXTENSION | HubExtension, |
PUSBHUB_IO_WORK_ITEM * | OutHubIoWorkItem, | ||
PUSBHUB_WORKER_ROUTINE | WorkerRoutine, | ||
SIZE_T | BufferLength, | ||
PVOID * | OutHubWorkItemBuffer, | ||
WORK_QUEUE_TYPE | Type | ||
) |
Definition at line 2791 of file usbhub.c.
Referenced by USBH_ChangeIndication(), USBH_CheckIdleDeferred(), USBH_FdoIdleNotificationRequestComplete(), USBH_PdoIoctlResetPort(), and USBH_PortIdleNotificationCancelRoutine().
NTSTATUS NTAPI USBH_ChangeIndication | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIRP | Irp, | ||
IN PVOID | Context | ||
) |
Definition at line 2319 of file usbhub.c.
Referenced by USBH_SubmitStatusChangeTransfer().
NTSTATUS NTAPI USBH_ChangeIndicationAckChange | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN PIRP | Irp, | ||
IN struct _URB_CONTROL_VENDOR_OR_CLASS_REQUEST * | Urb, | ||
IN USHORT | Port, | ||
IN USHORT | RequestValue | ||
) |
Definition at line 1657 of file usbhub.c.
Referenced by USBH_ChangeIndicationProcessChange().
NTSTATUS NTAPI USBH_ChangeIndicationAckChangeComplete | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIRP | Irp, | ||
IN PVOID | Context | ||
) |
Definition at line 1618 of file usbhub.c.
Referenced by USBH_ChangeIndicationAckChange().
NTSTATUS NTAPI USBH_ChangeIndicationProcessChange | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIRP | Irp, | ||
IN PVOID | Context | ||
) |
Definition at line 1710 of file usbhub.c.
Referenced by USBH_ChangeIndicationQueryChange().
NTSTATUS NTAPI USBH_ChangeIndicationQueryChange | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN PIRP | Irp, | ||
IN struct _URB_CONTROL_VENDOR_OR_CLASS_REQUEST * | Urb, | ||
IN USHORT | Port | ||
) |
Definition at line 1769 of file usbhub.c.
Referenced by USBH_ChangeIndication().
Definition at line 2146 of file usbhub.c.
Referenced by USBH_ChangeIndication().
BOOLEAN NTAPI USBH_CheckDeviceIDUnique | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN USHORT | idVendor, | ||
IN USHORT | idProduct, | ||
IN PVOID | SerialNumber, | ||
IN USHORT | SN_DescriptorLength | ||
) |
Definition at line 4167 of file usbhub.c.
Referenced by USBH_CreateDevice().
Definition at line 4242 of file usbhub.c.
Referenced by USBH_GetSerialNumberString(), and USBH_PdoQueryDeviceText().
VOID NTAPI USBH_CheckHubIdle | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension | ) |
Definition at line 3808 of file usbhub.c.
Referenced by USBH_ChangeIndicationWorker(), USBH_CheckIdleWorker(), and USBH_DeviceControl().
BOOLEAN NTAPI USBH_CheckIdleAbort | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN BOOLEAN | IsWait, | ||
IN BOOLEAN | IsExtCheck | ||
) |
Definition at line 3221 of file usbhub.c.
Referenced by USBH_FdoIdleNotificationCallback(), and USBH_FdoPower().
VOID NTAPI USBH_CheckIdleDeferred | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension | ) |
Definition at line 3957 of file usbhub.c.
Referenced by USBH_FdoDeferPoRequestCompletion(), USBH_FdoPnP(), USBH_FdoPower(), USBH_PdoRemoveDevice(), and USBH_PortIdleNotificationRequest().
Definition at line 3948 of file usbhub.c.
Referenced by USBH_CheckIdleDeferred().
Definition at line 63 of file usbhub.c.
Referenced by USBH_DeviceControl(), USBH_FdoDispatch(), USBH_FdoQueryBusRelations(), USBH_FdoStartDevice(), USBH_IoctlGetDescriptor(), USBH_IoctlGetHubCapabilities(), USBH_IoctlGetNodeConnectionAttributes(), USBH_IoctlGetNodeConnectionDriverKeyName(), USBH_IoctlGetNodeConnectionInformation(), USBH_IoctlGetNodeInformation(), USBH_IoctlGetNodeName(), USBH_PdoDispatch(), USBH_PdoInternalControl(), USBH_PdoIoctlGetPortStatus(), USBH_PdoIoctlResetPort(), USBH_PdoUrbFilter(), USBH_ResetPortWorker(), and USBH_StartHubFdoDevice().
VOID NTAPI USBH_CompletePortIdleIrpsWorker | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN PVOID | Context | ||
) |
Definition at line 3576 of file usbhub.c.
Referenced by USBH_FdoIdleNotificationRequestComplete().
NTSTATUS NTAPI USBH_CreateDevice | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN USHORT | Port, | ||
IN USB_PORT_STATUS | UsbPortStatus, | ||
IN ULONG | IsWait | ||
) |
Definition at line 4379 of file usbhub.c.
Referenced by USBH_FdoQueryBusRelations().
VOID NTAPI USBH_DriverUnload | ( | IN PDRIVER_OBJECT | DriverObject | ) |
Definition at line 5021 of file usbhub.c.
Referenced by DriverEntry().
NTSTATUS NTAPI USBH_EnableParentPort | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension | ) |
Definition at line 2032 of file usbhub.c.
Referenced by USBH_ResetHub().
Definition at line 4896 of file usbhub.c.
Referenced by USBH_HubDispatch().
Definition at line 3365 of file usbhub.c.
Referenced by USBH_FdoSubmitIdleRequestIrp().
NTSTATUS NTAPI USBH_FdoIdleNotificationRequestComplete | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIRP | Irp, | ||
IN PVOID | Context | ||
) |
Definition at line 3629 of file usbhub.c.
Referenced by USBH_FdoSubmitIdleRequestIrp().
NTSTATUS NTAPI USBH_FdoSubmitIdleRequestIrp | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension | ) |
Definition at line 3722 of file usbhub.c.
Referenced by USBH_CheckHubIdle().
NTSTATUS NTAPI USBH_FdoSubmitWaitWakeIrp | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension | ) |
Definition at line 3313 of file usbhub.c.
Referenced by USBH_FdoIdleNotificationCallback().
Definition at line 355 of file usbhub.c.
Referenced by USBH_AbortInterruptPipe(), USBH_GetDeviceDescriptor(), USBH_OpenConfiguration(), USBH_ResetInterruptPipe(), USBH_SyncGetDeviceConfigurationDescriptor(), USBH_SyncGetStatus(), and USBH_Transact().
VOID NTAPI USBH_FdoWaitWakeIrpCompletion | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN UCHAR | MinorFunction, | ||
IN POWER_STATE | PowerState, | ||
IN PVOID | Context, | ||
IN PIO_STATUS_BLOCK | IoStatus | ||
) |
Definition at line 3302 of file usbhub.c.
Referenced by USBH_FdoSubmitWaitWakeIrp().
VOID NTAPI USBH_FlushPortPwrList | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension | ) |
Definition at line 3125 of file usbhub.c.
Referenced by USBH_CompletePortIdleIrpsWorker(), and USBH_HubCompletePortIdleIrps().
VOID NTAPI USBH_FreeWorkItem | ( | IN PUSBHUB_IO_WORK_ITEM | HubIoWorkItem | ) |
Definition at line 2937 of file usbhub.c.
Referenced by USBH_ChangeIndicationProcessChange().
NTSTATUS NTAPI USBH_GetConfigurationDescriptor | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PUSB_CONFIGURATION_DESCRIPTOR * | OutDescriptor | ||
) |
Definition at line 974 of file usbhub.c.
Referenced by USBH_ProcessDeviceInformation(), and USBH_StartHubFdoDevice().
NTSTATUS NTAPI USBH_GetConfigValue | ( | IN PWSTR | ValueName, |
IN ULONG | ValueType, | ||
IN PVOID | ValueData, | ||
IN ULONG | ValueLength, | ||
IN PVOID | Context, | ||
IN PVOID | EntryContext | ||
) |
Definition at line 34 of file usbhub.c.
Referenced by USBH_RegQueryGenericUSBDeviceString().
NTSTATUS NTAPI USBH_GetDeviceDescriptor | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PUSB_DEVICE_DESCRIPTOR | HubDeviceDescriptor | ||
) |
Definition at line 877 of file usbhub.c.
Referenced by USBH_StartHubFdoDevice().
NTSTATUS NTAPI USBH_GetDeviceType | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN PUSB_DEVICE_HANDLE | DeviceHandle, | ||
OUT USB_DEVICE_TYPE * | OutDeviceType | ||
) |
Definition at line 608 of file usbhub.c.
Referenced by USBH_StartHubFdoDevice().
Definition at line 1979 of file usbhub.c.
Referenced by USBH_ResetHub().
PUSBHUB_FDO_EXTENSION NTAPI USBH_GetRootHubExtension | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension | ) |
Definition at line 699 of file usbhub.c.
Referenced by USBH_CheckHubIdle(), USBH_FdoPower(), and USBH_HubSetD0().
NTSTATUS NTAPI USBH_GetSerialNumberString | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN LPWSTR * | OutSerialNumber, | ||
IN PUSHORT | OutDescriptorLength, | ||
IN USHORT | LanguageId, | ||
IN UCHAR | Index | ||
) |
Definition at line 4304 of file usbhub.c.
Referenced by USBH_CreateDevice().
Definition at line 3206 of file usbhub.c.
Referenced by USBH_FdoCleanup(), USBH_FdoIdleNotificationCallback(), USBH_HubQueuePortIdleIrps(), and USBH_PortIdleNotificationCancelRoutine().
VOID NTAPI USBH_HubCompletePortIdleIrps | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN NTSTATUS | NtStatus | ||
) |
Definition at line 3185 of file usbhub.c.
Referenced by USBH_FdoIdleNotificationCallback(), and USBH_IdleCompletePowerHubWorker().
VOID NTAPI USBH_HubCompleteQueuedPortIdleIrps | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN PLIST_ENTRY | IdleList, | ||
IN NTSTATUS | NtStatus | ||
) |
Definition at line 3110 of file usbhub.c.
Referenced by USBH_CompletePortIdleIrpsWorker(), and USBH_HubCompletePortIdleIrps().
Definition at line 5034 of file usbhub.c.
Referenced by DriverEntry().
BOOLEAN NTAPI USBH_HubIsBusPowered | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PUSB_CONFIGURATION_DESCRIPTOR | HubConfigDescriptor | ||
) |
Definition at line 1589 of file usbhub.c.
Referenced by USBH_IoctlGetNodeInformation(), and USBH_StartHubFdoDevice().
VOID NTAPI USBH_HubQueuePortIdleIrps | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN PLIST_ENTRY | IdleList | ||
) |
Definition at line 3052 of file usbhub.c.
Referenced by USBH_FdoIdleNotificationRequestComplete(), and USBH_HubCompletePortIdleIrps().
VOID NTAPI USBH_HubSetDWakeCompletion | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN UCHAR | MinorFunction, | ||
IN POWER_STATE | PowerState, | ||
IN PVOID | Context, | ||
IN PIO_STATUS_BLOCK | IoStatus | ||
) |
Definition at line 3040 of file usbhub.c.
Referenced by USBH_FdoIdleNotificationCallback().
VOID NTAPI USBH_IdleCompletePowerHubWorker | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN PVOID | Context | ||
) |
Definition at line 3607 of file usbhub.c.
Referenced by USBH_FdoIdleNotificationRequestComplete().
Definition at line 79 of file usbhub.c.
Referenced by USBH_DeviceControl(), USBH_FdoDispatch(), USBH_FdoPnP(), USBH_FdoQueryBusRelations(), USBH_FdoRemoveDevice(), USBH_PdoInternalControl(), USBH_PdoIoctlSubmitUrb(), USBH_PdoPnP(), and USBH_PdoUrbFilter().
Definition at line 4809 of file usbhub.c.
Referenced by USBH_HubDispatch().
VOID NTAPI USBH_PdoSetCapabilities | ( | IN PUSBHUB_PORT_PDO_EXTENSION | PortExtension | ) |
Definition at line 3981 of file usbhub.c.
Referenced by USBH_CreateDevice().
NTSTATUS NTAPI USBH_ProcessDeviceInformation | ( | IN PUSBHUB_PORT_PDO_EXTENSION | PortExtension | ) |
Definition at line 4056 of file usbhub.c.
Referenced by USBH_CreateDevice().
VOID NTAPI USBH_ProcessHubStateChange | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN PUSB_HUB_STATUS_AND_CHANGE | HubStatus | ||
) |
Definition at line 1841 of file usbhub.c.
Referenced by USBH_ChangeIndicationWorker().
VOID NTAPI USBH_ProcessPortStateChange | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN USHORT | Port, | ||
IN PUSB_PORT_STATUS_AND_CHANGE | PortStatus | ||
) |
Definition at line 1870 of file usbhub.c.
Referenced by USBH_ChangeIndicationWorker().
VOID NTAPI USBH_QueueWorkItem | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN PUSBHUB_IO_WORK_ITEM | HubIoWorkItem | ||
) |
Definition at line 2917 of file usbhub.c.
Referenced by USBH_ChangeIndicationProcessChange(), USBH_ChangeIndicationQueryChange(), USBH_CheckIdleDeferred(), USBH_FdoIdleNotificationRequestComplete(), USBH_PdoIoctlResetPort(), and USBH_PortIdleNotificationCancelRoutine().
Definition at line 5090 of file usbhub.c.
Referenced by DriverEntry().
NTSTATUS NTAPI USBH_ResetDevice | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN USHORT | Port, | ||
IN BOOLEAN | IsKeepDeviceData, | ||
IN BOOLEAN | IsWait | ||
) |
Definition at line 4615 of file usbhub.c.
Referenced by USBH_ResetPortWorker(), and USBH_RestoreDevice().
NTSTATUS NTAPI USBH_ResetHub | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension | ) |
Definition at line 2117 of file usbhub.c.
Referenced by USBH_ChangeIndicationWorker().
NTSTATUS NTAPI USBH_ResetInterruptPipe | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension | ) |
Definition at line 2078 of file usbhub.c.
Referenced by USBH_ResetHub().
NTSTATUS NTAPI USBH_SetPdoRegistryParameter | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PCWSTR | ValueName, | ||
IN PVOID | Data, | ||
IN ULONG | DataSize, | ||
IN ULONG | Type, | ||
IN ULONG | DevInstKeyType | ||
) |
Definition at line 213 of file usbhub.c.
Referenced by USBH_SymbolicLink().
NTSTATUS NTAPI USBH_SubmitStatusChangeTransfer | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension | ) |
Definition at line 2442 of file usbhub.c.
Referenced by USBH_ChangeIndicationAckChangeComplete(), USBH_ChangeIndicationWorker(), USBH_FdoPower(), USBH_PowerIrpCompletion(), USBH_StartHubFdoDevice(), and USBHUB_RootHubCallBack().
NTSTATUS NTAPI USBH_SyncClearHubStatus | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN USHORT | RequestValue | ||
) |
Definition at line 1389 of file usbhub.c.
Referenced by USBH_ProcessHubStateChange().
NTSTATUS NTAPI USBH_SyncClearPortStatus | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN USHORT | Port, | ||
IN USHORT | RequestValue | ||
) |
Definition at line 1442 of file usbhub.c.
Referenced by USBH_ProcessPortStateChange(), and USBH_StartHubFdoDevice().
Definition at line 1553 of file usbhub.c.
Referenced by USBH_FdoCleanup(), USBH_FdoQueryBusRelations(), USBH_PdoRemoveDevice(), USBH_ProcessPortStateChange(), and USBH_ResetDevice().
NTSTATUS NTAPI USBH_SyncGetDeviceConfigurationDescriptor | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PUSB_CONFIGURATION_DESCRIPTOR | ConfigDescriptor, | ||
IN ULONG | NumberOfBytes, | ||
IN PULONG | OutLength | ||
) |
Definition at line 913 of file usbhub.c.
Referenced by USBH_GetConfigurationDescriptor().
PUSB_DEVICE_HANDLE NTAPI USBH_SyncGetDeviceHandle | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 832 of file usbhub.c.
Referenced by USBD_CreateDeviceEx(), USBD_Initialize20Hub(), and USBH_StartHubFdoDevice().
Definition at line 781 of file usbhub.c.
Referenced by USBH_PdoInternalControl(), and USBH_StartHubFdoDevice().
NTSTATUS NTAPI USBH_SyncGetHubDescriptor | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension | ) |
Definition at line 1048 of file usbhub.c.
Referenced by USBH_StartHubFdoDevice().
NTSTATUS NTAPI USBH_SyncGetHubStatus | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN PUSB_HUB_STATUS_AND_CHANGE | HubStatus, | ||
IN ULONG | Length | ||
) |
Definition at line 1363 of file usbhub.c.
Referenced by USBH_ChangeIndicationWorker().
NTSTATUS NTAPI USBH_SyncGetPortStatus | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN USHORT | Port, | ||
IN PUSB_PORT_STATUS_AND_CHANGE | PortStatus, | ||
IN ULONG | Length | ||
) |
Definition at line 1414 of file usbhub.c.
Referenced by USBH_ChangeIndicationWorker(), USBH_FdoQueryBusRelations(), USBH_PdoIoctlGetPortStatus(), USBH_ResetDevice(), USBH_RestoreDevice(), and USBH_SyncResetPort().
NTSTATUS NTAPI USBH_SyncGetRootHubPdo | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN OUT PDEVICE_OBJECT * | OutPdo1, | ||
IN OUT PDEVICE_OBJECT * | OutPdo2 | ||
) |
Definition at line 728 of file usbhub.c.
Referenced by USBH_FdoStartDevice(), and USBH_StartHubFdoDevice().
NTSTATUS NTAPI USBH_SyncGetStatus | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PUSHORT | OutStatus, | ||
IN USHORT | Function, | ||
IN USHORT | RequestIndex | ||
) |
Definition at line 1323 of file usbhub.c.
Referenced by USBH_HubIsBusPowered().
NTSTATUS NTAPI USBH_SyncGetStringDescriptor | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN UCHAR | Index, | ||
IN USHORT | LanguageId, | ||
IN PUSB_STRING_DESCRIPTOR | Descriptor, | ||
IN ULONG | NumberOfBytes, | ||
IN PULONG | OutLength, | ||
IN BOOLEAN | IsValidateLength | ||
) |
Definition at line 1248 of file usbhub.c.
Referenced by USBH_CheckDeviceLanguage(), USBH_GetSerialNumberString(), and USBH_PdoQueryDeviceText().
NTSTATUS NTAPI USBH_SyncIrpComplete | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIRP | Irp, | ||
IN PVOID | Context | ||
) |
Definition at line 92 of file usbhub.c.
Referenced by USBH_SyncSubmitUrb().
NTSTATUS NTAPI USBH_SyncPowerOnPort | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN USHORT | Port, | ||
IN BOOLEAN | IsWait | ||
) |
Definition at line 1470 of file usbhub.c.
Referenced by USBH_SyncPowerOnPorts().
NTSTATUS NTAPI USBH_SyncPowerOnPorts | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension | ) |
Definition at line 1522 of file usbhub.c.
Referenced by USBH_StartHubFdoDevice().
Definition at line 471 of file usbhub.c.
Referenced by USBH_CreateDevice(), USBH_FdoQueryBusRelations(), and USBH_ResetDevice().
Definition at line 250 of file usbhub.c.
Referenced by USBH_FdoSyncSubmitUrb(), USBH_IoctlGetDescriptor(), USBH_SyncGetDeviceConfigurationDescriptor(), and USBH_SyncGetStringDescriptor().
NTSTATUS NTAPI USBH_Transact | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN PVOID | TransferBuffer, | ||
IN ULONG | BufferLen, | ||
IN BOOLEAN | IsDeviceToHost, | ||
IN USHORT | Function, | ||
IN BM_REQUEST_TYPE | RequestType, | ||
IN UCHAR | Request, | ||
IN USHORT | RequestValue, | ||
IN USHORT | RequestIndex | ||
) |
Definition at line 370 of file usbhub.c.
Referenced by USBH_SyncClearHubStatus(), USBH_SyncClearPortStatus(), USBH_SyncDisablePort(), USBH_SyncGetHubDescriptor(), USBH_SyncGetHubStatus(), USBH_SyncGetPortStatus(), USBH_SyncPowerOnPort(), and USBH_SyncResetPort().
VOID NTAPI USBH_UrbTimeoutDPC | ( | IN PKDPC | Dpc, |
IN PVOID | DeferredContext, | ||
IN PVOID | SystemArgument1, | ||
IN PVOID | SystemArgument2 | ||
) |
Definition at line 184 of file usbhub.c.
Referenced by USBH_SyncSubmitUrb().
Definition at line 4219 of file usbhub.c.
Referenced by USBH_CreateDevice().
Definition at line 23 of file usbhub.c.
Referenced by USBH_CreateDevice(), USBH_FdoQueryBusRelations(), USBH_HubSetD0(), USBH_ResetDevice(), USBH_RestoreDevice(), USBH_SyncPowerOnPort(), USBH_SyncPowerOnPorts(), and USBH_SyncResetPort().
Definition at line 2872 of file usbhub.c.
Referenced by USBH_QueueWorkItem().
Definition at line 153 of file usbhub.c.
Referenced by USBH_StartHubFdoDevice().
VOID NTAPI USBHUB_FlushAllTransfers | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension | ) |
Definition at line 2623 of file usbhub.c.
Referenced by USBH_PdoRemoveDevice().
NTSTATUS NTAPI USBHUB_GetExtendedHubInfo | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN PUSB_EXTHUB_INFORMATION_0 | HubInfoBuffer | ||
) |
Definition at line 680 of file usbhub.c.
Referenced by USBH_SyncGetHubDescriptor().
Definition at line 2957 of file usbhub.c.
Referenced by USBD_RegisterRootHubCallBack().
VOID NTAPI USBHUB_SetDeviceHandleData | ( | IN PUSBHUB_FDO_EXTENSION | HubExtension, |
IN PDEVICE_OBJECT | UsbDevicePdo, | ||
IN PVOID | DeviceHandle | ||
) |
Definition at line 2601 of file usbhub.c.
Referenced by USBH_PdoStartDevice().
Definition at line 19 of file usbhub.c.
Referenced by DriverEntry(), USBH_DriverUnload(), and USBH_PdoQueryDeviceText().