ReactOS 0.4.16-dev-106-g10b08aa
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
VOID NTAPI USBPORT_AbortTransfers | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_DEVICE_HANDLE | DeviceHandle | ||
) |
Definition at line 871 of file device.c.
Referenced by USBPORT_RemoveDevice(), and USBPORT_RestoreDevice().
VOID NTAPI USBPORT_AddDeviceHandle | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_DEVICE_HANDLE | DeviceHandle | ||
) |
Definition at line 769 of file device.c.
Referenced by USBPORT_CreateDevice(), and USBPORT_RootHubCreateDevice().
ULONG NTAPI USBPORT_AllocateUsbAddress | ( | IN PDEVICE_OBJECT | FdoDevice | ) |
Definition at line 1250 of file device.c.
Referenced by USBPORT_InitializeDevice().
VOID NTAPI USBPORT_CloseConfiguration | ( | IN PUSBPORT_DEVICE_HANDLE | DeviceHandle, |
IN PDEVICE_OBJECT | FdoDevice | ||
) |
Definition at line 451 of file device.c.
Referenced by USBPORT_RemoveDevice().
NTSTATUS NTAPI USBPORT_CreateDevice | ( | IN OUT PUSB_DEVICE_HANDLE * | pUsbdDeviceHandle, |
IN PDEVICE_OBJECT | FdoDevice, | ||
IN PUSBPORT_DEVICE_HANDLE | HubDeviceHandle, | ||
IN USHORT | PortStatus, | ||
IN USHORT | Port | ||
) |
Definition at line 982 of file device.c.
Referenced by USBHI_CreateUsbDevice().
BOOLEAN NTAPI USBPORT_DeviceHasTransfers | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_DEVICE_HANDLE | DeviceHandle | ||
) |
Definition at line 841 of file device.c.
Referenced by USBPORT_AbortTransfers().
Definition at line 1282 of file device.c.
Referenced by USBPORT_RemoveDevice(), and USBPORT_RestoreDevice().
PUSBPORT_INTERFACE_HANDLE NTAPI USBPORT_GetInterfaceHandle | ( | IN PUSBPORT_CONFIGURATION_HANDLE | ConfigurationHandle, |
IN UCHAR | InterfaceNumber | ||
) |
Definition at line 1453 of file device.c.
Referenced by USBPORT_HandleSelectInterface().
ULONG NTAPI USBPORT_GetInterfaceLength | ( | IN PUSB_INTERFACE_DESCRIPTOR | iDescriptor, |
IN ULONG_PTR | EndDescriptors | ||
) |
Definition at line 142 of file device.c.
Referenced by USBPORT_ParseConfigurationDescriptor().
PUSB2_TT_EXTENSION NTAPI USBPORT_GetTt | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_DEVICE_HANDLE | HubDeviceHandle, | ||
OUT PUSHORT | OutPort, | ||
OUT PUSBPORT_DEVICE_HANDLE * | OutHubDeviceHandle | ||
) |
Definition at line 912 of file device.c.
Referenced by USBPORT_CreateDevice().
NTSTATUS NTAPI USBPORT_GetUsbDescriptor | ( | IN PUSBPORT_DEVICE_HANDLE | DeviceHandle, |
IN PDEVICE_OBJECT | FdoDevice, | ||
IN UCHAR | Type, | ||
IN PUCHAR | ConfigDesc, | ||
IN PULONG | ConfigDescSize | ||
) |
Definition at line 1425 of file device.c.
Referenced by USBHI_GetUsbDescriptors().
NTSTATUS NTAPI USBPORT_HandleSelectConfiguration | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PIRP | Irp, | ||
IN PURB | Urb | ||
) |
Definition at line 574 of file device.c.
Referenced by USBPORT_HandleSubmitURB().
NTSTATUS NTAPI USBPORT_HandleSelectInterface | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PIRP | Irp, | ||
IN PURB | Urb | ||
) |
Definition at line 1486 of file device.c.
Referenced by USBPORT_HandleSubmitURB().
NTSTATUS NTAPI USBPORT_Initialize20Hub | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_DEVICE_HANDLE | HubDeviceHandle, | ||
IN ULONG | TtCount | ||
) |
Definition at line 2012 of file device.c.
Referenced by USBHI_Initialize20Hub().
NTSTATUS NTAPI USBPORT_InitializeDevice | ( | IN PUSBPORT_DEVICE_HANDLE | DeviceHandle, |
IN PDEVICE_OBJECT | FdoDevice | ||
) |
Definition at line 1316 of file device.c.
Referenced by USBHI_InitializeUsbDevice().
NTSTATUS NTAPI USBPORT_InitializeTT | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_DEVICE_HANDLE | HubDeviceHandle, | ||
IN ULONG | TtNumber | ||
) |
Definition at line 1954 of file device.c.
Referenced by USBPORT_Initialize20Hub().
NTSTATUS NTAPI USBPORT_InitInterfaceInfo | ( | IN PUSBD_INTERFACE_INFORMATION | InterfaceInfo, |
IN PUSBPORT_CONFIGURATION_HANDLE | ConfigHandle | ||
) |
Definition at line 499 of file device.c.
Referenced by USBPORT_HandleSelectConfiguration(), and USBPORT_HandleSelectInterface().
USBD_STATUS NTAPI USBPORT_OpenInterface | ( | IN PURB | Urb, |
IN PUSBPORT_DEVICE_HANDLE | DeviceHandle, | ||
IN PDEVICE_OBJECT | FdoDevice, | ||
IN PUSBPORT_CONFIGURATION_HANDLE | ConfigHandle, | ||
IN PUSBD_INTERFACE_INFORMATION | InterfaceInfo, | ||
IN OUT PUSBPORT_INTERFACE_HANDLE * | iHandle, | ||
IN BOOLEAN | SendSetInterface | ||
) |
Definition at line 246 of file device.c.
Referenced by USBPORT_HandleSelectConfiguration(), and USBPORT_HandleSelectInterface().
PUSB_INTERFACE_DESCRIPTOR NTAPI USBPORT_ParseConfigurationDescriptor | ( | IN PUSB_CONFIGURATION_DESCRIPTOR | ConfigDescriptor, |
IN UCHAR | InterfaceNumber, | ||
IN UCHAR | Alternate, | ||
OUT PBOOLEAN | HasAlternates | ||
) |
Definition at line 186 of file device.c.
Referenced by USBPORT_InitInterfaceInfo(), and USBPORT_OpenInterface().
NTSTATUS NTAPI USBPORT_RemoveDevice | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN OUT PUSBPORT_DEVICE_HANDLE | DeviceHandle, | ||
IN ULONG | Flags | ||
) |
Definition at line 1584 of file device.c.
Referenced by USBHI_RemoveUsbDevice().
VOID NTAPI USBPORT_RemoveDeviceHandle | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_DEVICE_HANDLE | DeviceHandle | ||
) |
Definition at line 784 of file device.c.
Referenced by USBPORT_RemoveDevice(), and USBPORT_RestoreDevice().
NTSTATUS NTAPI USBPORT_RestoreDevice | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN OUT PUSBPORT_DEVICE_HANDLE | OldDeviceHandle, | ||
IN OUT PUSBPORT_DEVICE_HANDLE | NewDeviceHandle | ||
) |
Definition at line 1701 of file device.c.
Referenced by USBHI_RestoreUsbDevice().
NTSTATUS NTAPI USBPORT_SendSetupPacket | ( | IN PUSBPORT_DEVICE_HANDLE | DeviceHandle, |
IN PDEVICE_OBJECT | FdoDevice, | ||
IN PUSB_DEFAULT_PIPE_SETUP_PACKET | SetupPacket, | ||
IN PVOID | Buffer, | ||
IN ULONG | Length, | ||
IN OUT PULONG | TransferedLen, | ||
IN OUT PUSBD_STATUS | pUSBDStatus | ||
) |
Definition at line 15 of file device.c.
Referenced by USBPORT_ClearStall(), USBPORT_CreateDevice(), USBPORT_GetUsbDescriptor(), USBPORT_HandleSelectConfiguration(), USBPORT_InitializeDevice(), USBPORT_OpenInterface(), and USBPORT_RestoreDevice().
BOOLEAN NTAPI USBPORT_ValidateDeviceHandle | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_DEVICE_HANDLE | DeviceHandle | ||
) |
Definition at line 801 of file device.c.
Referenced by USBPORT_CreateDevice(), USBPORT_HandleSubmitURB(), USBPORT_RemoveDevice(), and USBPORT_RestoreDevice().