|
ReactOS 0.4.17-dev-1037-g720d112
|
#include "ucxusbdevice.h"

Go to the source code of this file.
Classes | |
| struct | _UCX_CONTROLLER_PCI_INFORMATION |
| struct | _UCX_CONTROLLER_ACPI_INFORMATION |
| union | _UCX_CONTROLLER_TRANSPORT_CHARACTERISTICS_CHANGE_FLAGS |
| struct | _UCX_CONTROLLER_TRANSPORT_CHARACTERISTICS |
| struct | _UCX_CONTROLLER_CONFIG |
| struct | _UCX_CONTROLLER_RESET_COMPLETE_INFO |
Macros | |
| #define | MAX_VENDOR_ID_STRING_LENGTH 5 |
| #define | MAX_DEVICE_ID_STRING_LENGTH 5 |
| #define | MAX_REVISION_ID_STRING_LENGTH 5 |
| #define | MAX_GENERIC_USB_CONTROLLER_NAME_SIZE 40 |
Enumerations | |
| enum | _UCX_CONTROLLER_PARENT_BUS_TYPE { UcxControllerParentBusTypeCustom = 0 , UcxControllerParentBusTypePci = 1 , UcxControllerParentBusTypeAcpi = 2 , UcxControllerParentBusTypeMaUsb = 3 } |
| enum | _UCX_CONTROLLER_STATE { UcxControllerStateLost = 0 , UcxControllerStatePreserved = 1 } |
Variables | |
| DeviceControl = UCX_BOUND_FUNCTION(PFN_UCXIODEVICECONTROL, UcxIoDeviceControlTableIndex) | |
| Create = UCX_BOUND_FUNCTION(PFN_UCXCONTROLLERCREATE, UcxControllerCreateTableIndex) | |
| ResetComplete | |
| SetIdStrings | |
| Notify | |
| #define MAX_DEVICE_ID_STRING_LENGTH 5 |
Definition at line 34 of file ucxcontroller.h.
| #define MAX_GENERIC_USB_CONTROLLER_NAME_SIZE 40 |
Definition at line 36 of file ucxcontroller.h.
| #define MAX_REVISION_ID_STRING_LENGTH 5 |
Definition at line 35 of file ucxcontroller.h.
| #define MAX_VENDOR_ID_STRING_LENGTH 5 |
Definition at line 33 of file ucxcontroller.h.
| _IRQL_requires_max_ == 0 |
Frees previously reserved amount of memory in system virtual address space.
Computes the quota size of a security descriptor.
Assigns a security descriptor for a new object.
An extended function that assigns a security descriptor for a new object.
Frees a security descriptor.
An extended function that sets new information data to a security descriptor.
Modifies some information data about a security descriptor.
Offers an IOCTL to UCX, returning TRUE once UCX owns the request.
| [in] | BaseAddress | A pointer to the 1st memory block of the reserved buffer. |
| [in] | PoolTag | Pool Tag identifying the buffer. Usually consists from 4 characters in reversed order. |
| [in] | Object | If specified, the function will use this arbitrary object that points to an object security descriptor. |
| [in] | SecurityInformation | Security information details to be set. |
| [in] | SecurityDescriptor | A security descriptor where its info is to be changed. |
| [in,out] | ObjectsSecurityDescriptor | The returned pointer to security descriptor objects. |
| [in] | PoolType | Pool type for the new security descriptor to allocate. |
| [in] | GenericMapping | The generic mapping of access rights masks. |
| [in] | Object | If specified, the function will use this arbitrary object that points to an object security descriptor. |
| [in] | SecurityInformation | Security information details to be set. |
| [in] | SecurityDescriptor | A security descriptor where its info is to be changed. |
| [in,out] | ObjectsSecurityDescriptor | The returned pointer to security descriptor objects. |
| [in] | AutoInheritFlags | Flags bitmask inheritation, influencing how the security descriptor can be inherited and if it can be in the first place. |
| [in] | PoolType | Pool type for the new security descriptor to allocate. |
| [in] | GenericMapping | The generic mapping of access rights masks. |
| [in] | SecurityDescriptor | A security descriptor to be freed from memory. |
| [in] | _ParentDescriptor | A security descriptor of the parent object that is being created. |
| [in] | _ExplicitDescriptor | An explicit security descriptor that is applied to a new object. |
| [out] | NewDescriptor | The new allocated security descriptor. |
| [in] | ObjectType | The type of the new object. |
| [in] | IsDirectoryObject | Set this to TRUE if the newly created object is a directory object, otherwise set this to FALSE. |
| [in] | AutoInheritFlags | Automatic inheritance flags that influence how access control entries within ACLs from security descriptors are inherited. |
| [in] | SubjectContext | Security subject context of the new object. |
| [in] | GenericMapping | Generic mapping of access mask rights. |
| [in] | PoolType | This parameter is unused. |
| [in] | ParentDescriptor | A security descriptor of the parent object that is being created. |
| [in] | ExplicitDescriptor | An explicit security descriptor that is applied to a new object. |
| [out] | NewDescriptor | The new allocated security descriptor. |
| [in] | IsDirectoryObject | Set this to TRUE if the newly created object is a directory object, otherwise set this to FALSE. |
| [in] | SubjectContext | Security subject context of the new object. |
| [in] | GenericMapping | Generic mapping of access mask rights. |
| [in] | PoolType | This parameter is unused. |
| [in] | SecurityDescriptor | A security descriptor. |
| [out] | QuotaInfoSize | The returned quota size of the given security descriptor to the caller. The function may return 0 to this parameter if the descriptor doesn't have a group or a discretionary access control list (DACL) even. |
Priority 1 to 3, forwarded to the HCD's EvtEndpointSetCharacteristic.
Returns the streams object with a reference held under Tag, or NULL.
Signals a port status change, completing the pending interrupt transfer.
Definition at line 330 of file ucxcontroller.h.
| _In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ ULONG _Out_writes_bytes_opt_ |
Definition at line 82 of file ucxcontroller.h.
Definition at line 348 of file ucxcontroller.h.
Definition at line 80 of file ucxcontroller.h.
Definition at line 139 of file ucxcontroller.h.
Definition at line 347 of file ucxcontroller.h.
| _Must_inspect_result_ _In_ PUCX_CONTROLLER_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ UCXCONTROLLER * Controller |
Definition at line 349 of file ucxcontroller.h.
| typedef _Must_inspect_result_ _In_ WDFDEVICE Device |
Definition at line 334 of file ucxcontroller.h.
| typedef _Out_ PULONG FrameNumber |
Definition at line 94 of file ucxcontroller.h.
| _In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ ULONG InputBufferLength |
Definition at line 153 of file ucxcontroller.h.
Definition at line 338 of file ucxcontroller.h.
Definition at line 379 of file ucxcontroller.h.
Definition at line 380 of file ucxcontroller.h.
Definition at line 381 of file ucxcontroller.h.
| _In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ ULONG _In_ ULONG OutputBufferLength |
Definition at line 81 of file ucxcontroller.h.
Definition at line 322 of file ucxcontroller.h.
Definition at line 321 of file ucxcontroller.h.
Definition at line 324 of file ucxcontroller.h.
Definition at line 323 of file ucxcontroller.h.
| typedef EVT_UCX_CONTROLLER_GET_CURRENT_FRAMENUMBER* PFN_UCX_CONTROLLER_GET_CURRENT_FRAMENUMBER |
Definition at line 95 of file ucxcontroller.h.
| typedef EVT_UCX_CONTROLLER_GET_FRAME_NUMBER_AND_QPC_FOR_TIME_SYNC* PFN_UCX_CONTROLLER_GET_FRAME_NUMBER_AND_QPC_FOR_TIME_SYNC |
Definition at line 181 of file ucxcontroller.h.
| typedef EVT_UCX_CONTROLLER_GET_TRANSPORT_CHARACTERISTICS* PFN_UCX_CONTROLLER_GET_TRANSPORT_CHARACTERISTICS |
Definition at line 129 of file ucxcontroller.h.
| typedef EVT_UCX_CONTROLLER_QUERY_USB_CAPABILITY* PFN_UCX_CONTROLLER_QUERY_USB_CAPABILITY |
Definition at line 84 of file ucxcontroller.h.
| typedef EVT_UCX_CONTROLLER_RESET* PFN_UCX_CONTROLLER_RESET |
Definition at line 118 of file ucxcontroller.h.
| typedef EVT_UCX_CONTROLLER_SET_TRANSPORT_CHARACTERISTICS_CHANGE_NOTIFICATION* PFN_UCX_CONTROLLER_SET_TRANSPORT_CHARACTERISTICS_CHANGE_NOTIFICATION |
Definition at line 141 of file ucxcontroller.h.
| typedef EVT_UCX_CONTROLLER_START_TRACKING_FOR_TIME_SYNC* PFN_UCX_CONTROLLER_START_TRACKING_FOR_TIME_SYNC |
Definition at line 154 of file ucxcontroller.h.
| typedef EVT_UCX_CONTROLLER_STOP_TRACKING_FOR_TIME_SYNC* PFN_UCX_CONTROLLER_STOP_TRACKING_FOR_TIME_SYNC |
Definition at line 167 of file ucxcontroller.h.
| typedef EVT_UCX_CONTROLLER_USBDEVICE_ADD* PFN_UCX_CONTROLLER_USBDEVICE_ADD |
Definition at line 108 of file ucxcontroller.h.
| typedef struct _UCX_CONTROLLER_TRANSPORT_CHARACTERISTICS * PUCX_CONTROLLER_TRANSPORT_CHARACTERISTICS |
| _Must_inspect_result_ _In_ WDFUSBPIPE _In_ WDFREQUEST Request |
Definition at line 335 of file ucxcontroller.h.
| _Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID _Out_ PULONG ResultLength |
Definition at line 83 of file ucxcontroller.h.
| typedef union _UCX_CONTROLLER_TRANSPORT_CHARACTERISTICS_CHANGE_FLAGS UCX_CONTROLLER_TRANSPORT_CHARACTERISTICS_CHANGE_FLAGS |
Definition at line 364 of file ucxcontroller.h.
Definition at line 128 of file ucxcontroller.h.
| typedef _In_ PUCXUSBDEVICE_INFO UcxUsbDeviceInfo |
Definition at line 106 of file ucxcontroller.h.
Definition at line 107 of file ucxcontroller.h.
| typedef _In_ WDFREQUEST WdfRequest |
Definition at line 151 of file ucxcontroller.h.
| Enumerator | |
|---|---|
| UcxControllerParentBusTypeCustom | |
| UcxControllerParentBusTypePci | |
| UcxControllerParentBusTypeAcpi | |
| UcxControllerParentBusTypeMaUsb | |
Definition at line 14 of file ucxcontroller.h.
| Enumerator | |
|---|---|
| UcxControllerStateLost | |
| UcxControllerStatePreserved | |
Definition at line 22 of file ucxcontroller.h.
| typedef _Function_class_ | ( | EVT_UCX_CONTROLLER_GET_CURRENT_FRAMENUMBER | ) |
| typedef _Function_class_ | ( | EVT_UCX_CONTROLLER_GET_FRAME_NUMBER_AND_QPC_FOR_TIME_SYNC | ) |
| typedef _Function_class_ | ( | EVT_UCX_CONTROLLER_GET_TRANSPORT_CHARACTERISTICS | ) |
| typedef _Function_class_ | ( | EVT_UCX_CONTROLLER_QUERY_USB_CAPABILITY | ) |
| typedef _Function_class_ | ( | EVT_UCX_CONTROLLER_RESET | ) |
| typedef _Function_class_ | ( | EVT_UCX_CONTROLLER_SET_TRANSPORT_CHARACTERISTICS_CHANGE_NOTIFICATION | ) |
| typedef _Function_class_ | ( | EVT_UCX_CONTROLLER_START_TRACKING_FOR_TIME_SYNC | ) |
| typedef _Function_class_ | ( | EVT_UCX_CONTROLLER_STOP_TRACKING_FOR_TIME_SYNC | ) |
| typedef _Function_class_ | ( | EVT_UCX_CONTROLLER_USBDEVICE_ADD | ) |
| return Create | ( | UcxDriverGlobals | , |
| Device | , | ||
| Config | , | ||
| Attributes | , | ||
| Controller | |||
| ) |
| DEFINE_GUID | ( | GUID_USB_CAPABILITY_CLEAR_TT_BUFFER_ON_ASYNC_TRANSFER_CANCEL | , |
| 0x09b76d52 | , | ||
| 0x0a6d | , | ||
| 0x4e4f | , | ||
| 0xa9 | , | ||
| 0x11 | , | ||
| 0xd0 | , | ||
| 0x36 | , | ||
| 0xd1 | , | ||
| 0x92 | , | ||
| 0x94 | , | ||
| 0x97 | |||
| ) |
| return DeviceControl | ( | UcxDriverGlobals | , |
| Device | , | ||
| Request | , | ||
| OutputBufferLength | , | ||
| InputBufferLength | , | ||
| IoControlCode | |||
| ) |
| Notify | ( | UcxDriverGlobals | , |
| Controller | , | ||
| UcxControllerTransportCharacteristics | |||
| ) |
| ResetComplete | ( | UcxDriverGlobals | , |
| Controller | , | ||
| UcxControllerResetCompleteInfo | |||
| ) |
| return SetIdStrings | ( | UcxDriverGlobals | , |
| Controller | , | ||
| ManufacturerNameString | , | ||
| ModelNameString | , | ||
| ModelNumberString | |||
| ) |
| FORCEINLINE VOID NTAPI UCX_CONTROLLER_CONFIG_INIT | ( | _Out_ PUCX_CONTROLLER_CONFIG | Config, |
| _In_ LPCSTR | DeviceDescription | ||
| ) |
Prepares a config with no parent bus information; MAXLONG marks the PCI IDs unset.
Definition at line 239 of file ucxcontroller.h.
Referenced by _IRQL_requires_().
| FORCEINLINE VOID NTAPI UCX_CONTROLLER_CONFIG_SET_ACPI_INFO | ( | _Inout_ PUCX_CONTROLLER_CONFIG | Config, |
| _In_reads_(MAX_VENDOR_ID_STRING_LENGTH) PSTR | VendorId, | ||
| _In_reads_(MAX_DEVICE_ID_STRING_LENGTH) PSTR | DeviceId, | ||
| _In_reads_(MAX_REVISION_ID_STRING_LENGTH) PSTR | RevisionId | ||
| ) |
Definition at line 284 of file ucxcontroller.h.
| FORCEINLINE VOID NTAPI UCX_CONTROLLER_CONFIG_SET_PCI_INFO | ( | _Inout_ PUCX_CONTROLLER_CONFIG | Config, |
| _In_ ULONG | VendorId, | ||
| _In_ ULONG | DeviceId, | ||
| _In_ USHORT | RevisionId, | ||
| _In_ ULONG | BusNumber, | ||
| _In_ ULONG | DeviceNumber, | ||
| _In_ ULONG | FunctionNumber | ||
| ) |
Definition at line 260 of file ucxcontroller.h.
| FORCEINLINE VOID NTAPI UCX_CONTROLLER_RESET_COMPLETE_INFO_INIT | ( | _Out_ PUCX_CONTROLLER_RESET_COMPLETE_INFO | UcxControllerResetCompleteInfo, |
| _In_ UCX_CONTROLLER_STATE | UcxControllerState, | ||
| _In_ BOOLEAN | UcxCoordinated | ||
| ) |
Definition at line 309 of file ucxcontroller.h.
Referenced by XhciEvtControllerReset().
| FORCEINLINE VOID NTAPI UcxpCopyAnsiString | ( | _Out_writes_z_(DestinationSize) PCHAR | Destination, |
| _In_ SIZE_T | DestinationSize, | ||
| _In_z_ PCSTR | Source | ||
| ) |
Definition at line 216 of file ucxcontroller.h.
Referenced by UCX_CONTROLLER_CONFIG_INIT(), and UCX_CONTROLLER_CONFIG_SET_ACPI_INFO().
| Create = UCX_BOUND_FUNCTION(PFN_UCXCONTROLLERCREATE, UcxControllerCreateTableIndex) |
Definition at line 428 of file ucxcontroller.h.
| DeviceControl = UCX_BOUND_FUNCTION(PFN_UCXIODEVICECONTROL, UcxIoDeviceControlTableIndex) |
Definition at line 406 of file ucxcontroller.h.
| Notify |
Definition at line 505 of file ucxcontroller.h.
Referenced by AcpiEvAsynchExecuteGpeMethod(), AcpiEvDeleteGpeHandlers(), AcpiSetupGpeForWake(), AtaAhciHandlePortStateChange(), DECLARE_INTERFACE_(), DoNotifyPositionEvents(), IDirectSoundNotify_fnSetNotificationPositions(), InstallOptionalComponents(), InstallStartMenuItems(), NewDirectSoundNotify(), NotifyGPEvents(), RegisterComponents(), RegisterGPNotification(), SaveSettings(), ShimLib_NotifyShims(), and UnregisterGPNotification().
| ResetComplete |
Definition at line 456 of file ucxcontroller.h.
| SetIdStrings |
Definition at line 486 of file ucxcontroller.h.