ReactOS 0.4.16-dev-306-g647d351
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | NDEBUG_EHCI_TRACE |
Variables | |
USBPORT_REGISTRATION_PACKET | RegPacket |
static const UCHAR | ClassicPeriod [8] |
static const EHCI_PERIOD | pTable [] |
static const UCHAR | Balance [] |
static const UCHAR | LinkTable [] |
C_ASSERT | ( | RTL_NUMBER_OF(Balance) | = =EHCI_FRAMES | ) |
C_ASSERT | ( | RTL_NUMBER_OF(LinkTable) | = =INTERRUPT_ENDPOINTs+1 | ) |
C_ASSERT | ( | RTL_NUMBER_OF(pTable) | = =INTERRUPT_ENDPOINTs+1 | ) |
NTSTATUS NTAPI DriverEntry | ( | IN PDRIVER_OBJECT | DriverObject, |
IN PUNICODE_STRING | RegistryPath | ||
) |
Definition at line 3614 of file usbehci.c.
VOID NTAPI EHCI_AbortAsyncTransfer | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_ENDPOINT | EhciEndpoint, | ||
IN PEHCI_TRANSFER | EhciTransfer | ||
) |
Definition at line 2464 of file usbehci.c.
Referenced by EHCI_AbortTransfer().
VOID NTAPI EHCI_AbortIsoTransfer | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_ENDPOINT | EhciEndpoint, | ||
IN PEHCI_TRANSFER | EhciTransfer | ||
) |
VOID NTAPI EHCI_AbortTransfer | ( | IN PVOID | ehciExtension, |
IN PVOID | ehciEndpoint, | ||
IN PVOID | ehciTransfer, | ||
IN PULONG | CompletedLength | ||
) |
Definition at line 2599 of file usbehci.c.
Referenced by DriverEntry().
VOID NTAPI EHCI_AddDummyQHs | ( | IN PEHCI_EXTENSION | EhciExtension | ) |
Definition at line 785 of file usbehci.c.
Referenced by EHCI_InitializeSchedule().
VOID NTAPI EHCI_AlignHwStructure | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PULONG | PhysicalAddress, | ||
IN PULONG_PTR | VirtualAddress, | ||
IN ULONG | Alignment | ||
) |
Definition at line 750 of file usbehci.c.
Referenced by EHCI_InitializeSchedule().
PEHCI_HCD_TD NTAPI EHCI_AllocTd | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_ENDPOINT | EhciEndpoint | ||
) |
Definition at line 113 of file usbehci.c.
Referenced by EHCI_BulkTransfer(), EHCI_ControlTransfer(), EHCI_InterruptTransfer(), EHCI_OpenBulkOrControlEndpoint(), and EHCI_OpenInterruptEndpoint().
MPSTATUS NTAPI EHCI_BulkTransfer | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_ENDPOINT | EhciEndpoint, | ||
IN PUSBPORT_TRANSFER_PARAMETERS | TransferParameters, | ||
IN PEHCI_TRANSFER | EhciTransfer, | ||
IN PUSBPORT_SCATTER_GATHER_LIST | SgList | ||
) |
Definition at line 2114 of file usbehci.c.
Referenced by EHCI_SubmitTransfer().
Definition at line 3351 of file usbehci.c.
Referenced by DriverEntry().
VOID NTAPI EHCI_CloseEndpoint | ( | IN PVOID | ehciExtension, |
IN PVOID | ehciEndpoint, | ||
IN BOOLEAN | DisablePeriodic | ||
) |
Definition at line 703 of file usbehci.c.
Referenced by DriverEntry().
MPSTATUS NTAPI EHCI_ControlTransfer | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_ENDPOINT | EhciEndpoint, | ||
IN PUSBPORT_TRANSFER_PARAMETERS | TransferParameters, | ||
IN PEHCI_TRANSFER | EhciTransfer, | ||
IN PUSBPORT_SCATTER_GATHER_LIST | SgList | ||
) |
Definition at line 1928 of file usbehci.c.
Referenced by EHCI_SubmitTransfer().
VOID NTAPI EHCI_DisableAsyncList | ( | IN PEHCI_EXTENSION | EhciExtension | ) |
Definition at line 1638 of file usbehci.c.
Referenced by EHCI_ProcessDoneAsyncTd().
Definition at line 3397 of file usbehci.c.
Referenced by DriverEntry().
VOID NTAPI EHCI_DisablePeriodicList | ( | IN PEHCI_EXTENSION | EhciExtension | ) |
Definition at line 684 of file usbehci.c.
Referenced by EHCI_CloseEndpoint().
VOID NTAPI EHCI_EnableAsyncList | ( | IN PEHCI_EXTENSION | EhciExtension | ) |
Definition at line 1622 of file usbehci.c.
Referenced by EHCI_BulkTransfer(), and EHCI_ControlTransfer().
Definition at line 3384 of file usbehci.c.
Referenced by DriverEntry().
VOID NTAPI EHCI_EnablePeriodicList | ( | IN PEHCI_EXTENSION | EhciExtension | ) |
Definition at line 1654 of file usbehci.c.
Referenced by EHCI_InterruptTransfer().
MPSTATUS NTAPI EHCI_EndSendOnePacket | ( | IN PVOID | ehciExtension, |
IN PVOID | PacketParameters, | ||
IN PVOID | Data, | ||
IN PULONG | pDataLength, | ||
IN PVOID | BufferVA, | ||
IN PVOID | BufferPA, | ||
IN ULONG | BufferLength, | ||
IN USBD_STATUS * | pUSBDStatus | ||
) |
VOID NTAPI EHCI_FlushAsyncCache | ( | IN PEHCI_EXTENSION | EhciExtension | ) |
Definition at line 1670 of file usbehci.c.
Referenced by EHCI_LockQH(), and EHCI_RemoveQhFromAsyncList().
Definition at line 3581 of file usbehci.c.
Referenced by DriverEntry().
Definition at line 3363 of file usbehci.c.
Referenced by DriverEntry().
PEHCI_HCD_QH NTAPI EHCI_GetDummyQhForFrame | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN ULONG | Idx | ||
) |
Definition at line 2623 of file usbehci.c.
Referenced by DriverEntry().
Definition at line 3464 of file usbehci.c.
Referenced by DriverEntry().
USBD_STATUS NTAPI EHCI_GetErrorFromTD | ( | IN PEHCI_HCD_TD | TD | ) |
Definition at line 2931 of file usbehci.c.
Referenced by EHCI_ProcessDoneAsyncTd().
Definition at line 1055 of file usbehci.c.
Referenced by EHCI_TakeControlHC().
PEHCI_STATIC_QH NTAPI EHCI_GetQhForFrame | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN ULONG | FrameIdx | ||
) |
Definition at line 729 of file usbehci.c.
Referenced by EHCI_AddDummyQHs(), and EHCI_InitializeSchedule().
VOID NTAPI EHCI_GetRegistryParameters | ( | IN PEHCI_EXTENSION | EhciExtension | ) |
Definition at line 1153 of file usbehci.c.
Referenced by EHCI_StartController().
BOOLEAN NTAPI EHCI_HardwarePresent | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN BOOLEAN | IsInvalidateController | ||
) |
Definition at line 1412 of file usbehci.c.
Referenced by EHCI_CheckController(), EHCI_InterruptService(), EHCI_LinkTransferToQueue(), EHCI_PollActiveAsyncEndpoint(), and EHCI_PollHaltedAsyncEndpoint().
MPSTATUS NTAPI EHCI_InitializeHardware | ( | IN PEHCI_EXTENSION | EhciExtension | ) |
Definition at line 985 of file usbehci.c.
Referenced by EHCI_StartController().
VOID NTAPI EHCI_InitializeInterruptSchedule | ( | IN PEHCI_EXTENSION | EhciExtension | ) |
Definition at line 841 of file usbehci.c.
Referenced by EHCI_InitializeSchedule().
PEHCI_HCD_QH NTAPI EHCI_InitializeQH | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_ENDPOINT | EhciEndpoint, | ||
IN PEHCI_HCD_QH | QH, | ||
IN ULONG | QhPA | ||
) |
Definition at line 149 of file usbehci.c.
Referenced by EHCI_OpenBulkOrControlEndpoint(), and EHCI_OpenInterruptEndpoint().
MPSTATUS NTAPI EHCI_InitializeSchedule | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN ULONG_PTR | BaseVA, | ||
IN ULONG | BasePA | ||
) |
Definition at line 884 of file usbehci.c.
Referenced by EHCI_StartController().
VOID NTAPI EHCI_InsertQhInAsyncList | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_HCD_QH | QH | ||
) |
Definition at line 2790 of file usbehci.c.
Referenced by EHCI_SetAsyncEndpointState().
VOID NTAPI EHCI_InsertQhInPeriodicList | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_ENDPOINT | EhciEndpoint | ||
) |
Definition at line 2725 of file usbehci.c.
Referenced by EHCI_SetAsyncEndpointState().
Definition at line 1495 of file usbehci.c.
Referenced by DriverEntry().
Definition at line 2919 of file usbehci.c.
Referenced by DriverEntry(), and EHCI_PollActiveAsyncEndpoint().
Definition at line 1433 of file usbehci.c.
Referenced by DriverEntry().
MPSTATUS NTAPI EHCI_InterruptTransfer | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_ENDPOINT | EhciEndpoint, | ||
IN PUSBPORT_TRANSFER_PARAMETERS | TransferParameters, | ||
IN PEHCI_TRANSFER | EhciTransfer, | ||
IN PUSBPORT_SCATTER_GATHER_LIST | SgList | ||
) |
Definition at line 2273 of file usbehci.c.
Referenced by EHCI_SubmitTransfer().
VOID NTAPI EHCI_LinkTransferToQueue | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_ENDPOINT | EhciEndpoint, | ||
IN PEHCI_HCD_TD | NextTD | ||
) |
Definition at line 1840 of file usbehci.c.
Referenced by EHCI_BulkTransfer(), EHCI_ControlTransfer(), and EHCI_InterruptTransfer().
VOID NTAPI EHCI_LockQH | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_HCD_QH | QH, | ||
IN ULONG | TransferType | ||
) |
Definition at line 1753 of file usbehci.c.
Referenced by EHCI_LinkTransferToQueue(), EHCI_PollActiveAsyncEndpoint(), and EHCI_PollHaltedAsyncEndpoint().
ULONG NTAPI EHCI_MapAsyncTransferToTd | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN ULONG | MaxPacketSize, | ||
IN ULONG | TransferedLen, | ||
IN PULONG | DataToggle, | ||
IN PEHCI_TRANSFER | EhciTransfer, | ||
IN PEHCI_HCD_TD | TD, | ||
IN PUSBPORT_SCATTER_GATHER_LIST | SgList | ||
) |
Definition at line 1533 of file usbehci.c.
Referenced by EHCI_BulkTransfer(), EHCI_ControlTransfer(), and EHCI_InterruptTransfer().
MPSTATUS NTAPI EHCI_OpenBulkOrControlEndpoint | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PUSBPORT_ENDPOINT_PROPERTIES | EndpointProperties, | ||
IN PEHCI_ENDPOINT | EhciEndpoint, | ||
IN BOOLEAN | IsControl | ||
) |
Definition at line 223 of file usbehci.c.
Referenced by EHCI_OpenEndpoint().
MPSTATUS NTAPI EHCI_OpenEndpoint | ( | IN PVOID | ehciExtension, |
IN PUSBPORT_ENDPOINT_PROPERTIES | EndpointProperties, | ||
IN PVOID | ehciEndpoint | ||
) |
Definition at line 494 of file usbehci.c.
Referenced by DriverEntry().
MPSTATUS NTAPI EHCI_OpenHsIsoEndpoint | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PUSBPORT_ENDPOINT_PROPERTIES | EndpointProperties, | ||
IN PEHCI_ENDPOINT | EhciEndpoint | ||
) |
MPSTATUS NTAPI EHCI_OpenInterruptEndpoint | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PUSBPORT_ENDPOINT_PROPERTIES | EndpointProperties, | ||
IN PEHCI_ENDPOINT | EhciEndpoint | ||
) |
Definition at line 327 of file usbehci.c.
Referenced by EHCI_OpenEndpoint().
MPSTATUS NTAPI EHCI_OpenIsoEndpoint | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PUSBPORT_ENDPOINT_PROPERTIES | EndpointProperties, | ||
IN PEHCI_ENDPOINT | EhciEndpoint | ||
) |
MPSTATUS NTAPI EHCI_PassThru | ( | IN PVOID | ehciExtension, |
IN PVOID | passThruParameters, | ||
IN ULONG | ParameterLength, | ||
IN PVOID | pParameters | ||
) |
Definition at line 3561 of file usbehci.c.
Referenced by DriverEntry().
VOID NTAPI EHCI_PollActiveAsyncEndpoint | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_ENDPOINT | EhciEndpoint | ||
) |
Definition at line 3051 of file usbehci.c.
Referenced by EHCI_PollAsyncEndpoint().
VOID NTAPI EHCI_PollAsyncEndpoint | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_ENDPOINT | EhciEndpoint | ||
) |
Definition at line 3277 of file usbehci.c.
Referenced by EHCI_PollEndpoint().
Definition at line 3409 of file usbehci.c.
Referenced by DriverEntry().
Definition at line 3332 of file usbehci.c.
Referenced by DriverEntry().
VOID NTAPI EHCI_PollHaltedAsyncEndpoint | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_ENDPOINT | EhciEndpoint | ||
) |
Definition at line 3177 of file usbehci.c.
Referenced by EHCI_PollAsyncEndpoint().
VOID NTAPI EHCI_PollIsoEndpoint | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_ENDPOINT | EhciEndpoint | ||
) |
Definition at line 3324 of file usbehci.c.
Referenced by EHCI_PollEndpoint().
VOID NTAPI EHCI_ProcessDoneAsyncTd | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_HCD_TD | TD | ||
) |
Definition at line 2971 of file usbehci.c.
Referenced by EHCI_PollAsyncEndpoint().
VOID NTAPI EHCI_QueryEndpointRequirements | ( | IN PVOID | ehciExtension, |
IN PUSBPORT_ENDPOINT_PROPERTIES | EndpointProperties, | ||
IN PUSBPORT_ENDPOINT_REQUIREMENTS | EndpointRequirements | ||
) |
Definition at line 620 of file usbehci.c.
Referenced by DriverEntry().
VOID NTAPI EHCI_RebalanceEndpoint | ( | IN PVOID | ohciExtension, |
IN PUSBPORT_ENDPOINT_PROPERTIES | EndpointProperties, | ||
IN PVOID | ohciEndpoint | ||
) |
Definition at line 3572 of file usbehci.c.
Referenced by DriverEntry().
VOID NTAPI EHCI_RemoveQhFromAsyncList | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_HCD_QH | QH | ||
) |
Definition at line 2679 of file usbehci.c.
Referenced by EHCI_SetAsyncEndpointState().
VOID NTAPI EHCI_RemoveQhFromPeriodicList | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_ENDPOINT | EhciEndpoint | ||
) |
Definition at line 2632 of file usbehci.c.
Referenced by EHCI_SetAsyncEndpointState().
MPSTATUS NTAPI EHCI_ReopenEndpoint | ( | IN PVOID | ehciExtension, |
IN PUSBPORT_ENDPOINT_PROPERTIES | EndpointProperties, | ||
IN PVOID | ehciEndpoint | ||
) |
Definition at line 559 of file usbehci.c.
Referenced by DriverEntry().
Definition at line 1355 of file usbehci.c.
Referenced by DriverEntry().
VOID NTAPI EHCI_SetAsyncEndpointState | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_ENDPOINT | EhciEndpoint, | ||
IN ULONG | EndpointState | ||
) |
Definition at line 2832 of file usbehci.c.
Referenced by EHCI_SetEndpointState().
VOID NTAPI EHCI_SetEndpointDataToggle | ( | IN PVOID | ehciExtension, |
IN PVOID | ehciEndpoint, | ||
IN ULONG | DataToggle | ||
) |
Definition at line 3440 of file usbehci.c.
Referenced by DriverEntry().
VOID NTAPI EHCI_SetEndpointState | ( | IN PVOID | ehciExtension, |
IN PVOID | ehciEndpoint, | ||
IN ULONG | EndpointState | ||
) |
Definition at line 2885 of file usbehci.c.
Referenced by DriverEntry().
VOID NTAPI EHCI_SetEndpointStatus | ( | IN PVOID | ehciExtension, |
IN PVOID | ehciEndpoint, | ||
IN ULONG | EndpointStatus | ||
) |
Definition at line 3488 of file usbehci.c.
Referenced by DriverEntry().
VOID NTAPI EHCI_SetIsoEndpointState | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_ENDPOINT | EhciEndpoint, | ||
IN ULONG | EndpointState | ||
) |
Definition at line 2823 of file usbehci.c.
Referenced by EHCI_SetEndpointState().
Definition at line 1160 of file usbehci.c.
Referenced by DriverEntry().
MPSTATUS NTAPI EHCI_StartSendOnePacket | ( | IN PVOID | ehciExtension, |
IN PVOID | PacketParameters, | ||
IN PVOID | Data, | ||
IN PULONG | pDataLength, | ||
IN PVOID | BufferVA, | ||
IN PVOID | BufferPA, | ||
IN ULONG | BufferLength, | ||
IN USBD_STATUS * | pUSBDStatus | ||
) |
Definition at line 1285 of file usbehci.c.
Referenced by DriverEntry().
MPSTATUS NTAPI EHCI_SubmitIsoTransfer | ( | IN PVOID | ehciExtension, |
IN PVOID | ehciEndpoint, | ||
IN PUSBPORT_TRANSFER_PARAMETERS | TransferParameters, | ||
IN PVOID | ehciTransfer, | ||
IN PVOID | isoParameters | ||
) |
MPSTATUS NTAPI EHCI_SubmitTransfer | ( | IN PVOID | ehciExtension, |
IN PVOID | ehciEndpoint, | ||
IN PUSBPORT_TRANSFER_PARAMETERS | TransferParameters, | ||
IN PVOID | ehciTransfer, | ||
IN PUSBPORT_SCATTER_GATHER_LIST | SgList | ||
) |
Definition at line 2385 of file usbehci.c.
Referenced by DriverEntry().
Definition at line 1293 of file usbehci.c.
Referenced by DriverEntry().
MPSTATUS NTAPI EHCI_TakeControlHC | ( | IN PEHCI_EXTENSION | EhciExtension | ) |
Definition at line 1095 of file usbehci.c.
Referenced by EHCI_StartController().
Definition at line 3597 of file usbehci.c.
Referenced by DriverEntry().
VOID NTAPI EHCI_Unload | ( | IN PDRIVER_OBJECT | DriverObject | ) |
Definition at line 3604 of file usbehci.c.
Referenced by DriverEntry().
VOID NTAPI EHCI_UnlockQH | ( | IN PEHCI_EXTENSION | EhciExtension, |
IN PEHCI_HCD_QH | QH | ||
) |
Definition at line 1816 of file usbehci.c.
Referenced by EHCI_LinkTransferToQueue(), EHCI_PollActiveAsyncEndpoint(), and EHCI_PollHaltedAsyncEndpoint().
Definition at line 97 of file usbehci.c.
Referenced by EHCI_GetQhForFrame(), MiSetBalance(), RtlpDeleteAvlTreeNode(), RtlpInsertAvlTreeNode(), RtlpRebalanceAvlTreeNode(), and RtlSetBalance().
Definition at line 18 of file usbehci.c.
Referenced by EHCI_OpenInterruptEndpoint().
Definition at line 103 of file usbehci.c.
Referenced by EHCI_InitializeInterruptSchedule().
|
static |
Definition at line 29 of file usbehci.c.
Referenced by EHCI_OpenInterruptEndpoint(), FileQueryFiles(), getNextSecPkgTable(), IsValidDevmodeA(), IsValidDevmodeNoSizeW(), IsValidDevmodeW(), JapaneseEra_Find(), RegQueryRegistryKeys(), RegQueryRegistryValues(), RxpAcquirePrefixTableLockExclusive(), RxpAcquirePrefixTableLockShared(), RxpReleasePrefixTableLock(), SdbpTableDestroy(), SplInitializeWinSpoolDrv(), START_TEST(), Test_WSAIoctl_GetInterfaceList(), Test_WSAIoctl_InitTest(), WhoamiAllocTable(), WhoamiPrintTable(), WhoamiSetTable(), and WhoamiSetTableDyn().
USBPORT_REGISTRATION_PACKET RegPacket |
Definition at line 16 of file usbehci.c.
Referenced by DriverEntry(), EHCI_AbortAsyncTransfer(), EHCI_AllocTd(), EHCI_BulkTransfer(), EHCI_ControlTransfer(), EHCI_FlushAsyncCache(), EHCI_GetOffsetEECP(), EHCI_HardwarePresent(), EHCI_InterruptDpc(), EHCI_InterruptNextSOF(), EHCI_InterruptTransfer(), EHCI_PollActiveAsyncEndpoint(), EHCI_PollController(), EHCI_PollHaltedAsyncEndpoint(), EHCI_ProcessDoneAsyncTd(), EHCI_RH_ChirpRootPort(), EHCI_RH_ClearFeaturePortSuspend(), EHCI_RH_FinishReset(), EHCI_RH_PortResetComplete(), EHCI_RH_SetFeaturePortReset(), EHCI_SetEndpointState(), EHCI_StartController(), EHCI_SuspendController(), EHCI_TakeControlHC(), UhciRHPortResetComplete(), UhciRHSetFeaturePortResetWorker(), and USBPORT_RegisterUSBPortDriver().