ReactOS 0.4.16-dev-336-gb667d82
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
Variables | |
static const UCHAR | CMASKS [USB2_MICROFRAMES] |
Definition at line 40 of file usb2.c.
Referenced by USB2_AllocateHS(), USB2_AllocateTimeForEndpoint(), and USB2_DeallocateHS().
BOOLEAN NTAPI USB2_AllocateCheck | ( | IN OUT PULONG | OutTimeUsed, |
IN ULONG | CalcBusTime, | ||
IN ULONG | LimitAllocation | ||
) |
Definition at line 19 of file usb2.c.
Referenced by USB2_AllocateHS(), and USB2_AllocateTimeForEndpoint().
Definition at line 310 of file usb2.c.
Referenced by USB2_AllocateTimeForEndpoint(), and USB2_MoveTtEndpoint().
BOOLEAN NTAPI USB2_AllocateTimeForEndpoint | ( | IN PUSB2_TT_ENDPOINT | TtEndpoint, |
IN PUSB2_REBALANCE | Rebalance, | ||
IN PULONG | RebalanceListEntries | ||
) |
Definition at line 1290 of file usb2.c.
Referenced by USB2_ChangePeriod(), USB2_PromotePeriods(), and USBPORT_AllocateBandwidthUSB2().
BOOLEAN NTAPI USB2_ChangePeriod | ( | IN PUSB2_TT_ENDPOINT | TtEndpoint, |
IN PUSB2_REBALANCE | Rebalance, | ||
IN PULONG | RebalanceListEntries | ||
) |
Definition at line 1639 of file usb2.c.
Referenced by USB2_PromotePeriods().
BOOLEAN NTAPI USB2_CheckTtEndpointInsert | ( | IN PUSB2_TT_ENDPOINT | nextTtEndpoint, |
IN PUSB2_TT_ENDPOINT | TtEndpoint | ||
) |
Definition at line 74 of file usb2.c.
Referenced by USB2_AllocateTimeForEndpoint(), and USB2_DeallocateEndpointBudget().
BOOLEAN NTAPI USB2_CommonFrames | ( | IN PUSB2_TT_ENDPOINT | NextTtEndpoint, |
IN PUSB2_TT_ENDPOINT | TtEndpoint | ||
) |
Definition at line 704 of file usb2.c.
Referenced by USB2_DeallocateEndpointBudget().
VOID NTAPI USB2_ConvertFrame | ( | IN UCHAR | Frame, |
IN UCHAR | Microframe, | ||
OUT PUCHAR | HcFrame, | ||
OUT PUCHAR | HcMicroframe | ||
) |
Definition at line 727 of file usb2.c.
Referenced by USB2_GetCMASK(), and USB2_GetSMASK().
BOOLEAN NTAPI USB2_DeallocateEndpointBudget | ( | IN PUSB2_TT_ENDPOINT | TtEndpoint, |
IN PUSB2_REBALANCE | Rebalance, | ||
IN PULONG | RebalanceListEntries, | ||
IN ULONG | MaxFrames | ||
) |
Definition at line 1026 of file usb2.c.
Referenced by USB2_AllocateTimeForEndpoint(), USB2_ChangePeriod(), USB2_PromotePeriods(), and USBPORT_FreeBandwidthUSB2().
Definition at line 508 of file usb2.c.
Referenced by USB2_DeallocateEndpointBudget(), and USB2_MoveTtEndpoint().
UCHAR NTAPI USB2_GetCMASK | ( | IN PUSB2_TT_ENDPOINT | TtEndpoint | ) |
Definition at line 787 of file usb2.c.
Referenced by USB2_Rebalance(), USB2_RebalanceEndpoint(), and USBPORT_AllocateBandwidthUSB2().
VOID NTAPI USB2_GetHsOverhead | ( | IN PUSB2_TT_ENDPOINT | TtEndpoint, |
IN PULONG | OverheadSS, | ||
IN PULONG | OverheadCS | ||
) |
Definition at line 168 of file usb2.c.
Referenced by USB2_AllocateHS(), and USB2_DeallocateHS().
Definition at line 211 of file usb2.c.
Referenced by USB2_GetStartTime().
ULONG NTAPI USB2_GetOverhead | ( | IN PUSB2_TT_ENDPOINT | TtEndpoint | ) |
Definition at line 120 of file usb2.c.
Referenced by USB2_AllocateTimeForEndpoint().
Definition at line 61 of file usb2.c.
Referenced by USB2_AllocateHS(), and USB2_DeallocateHS().
UCHAR NTAPI USB2_GetSMASK | ( | IN PUSB2_TT_ENDPOINT | TtEndpoint | ) |
Definition at line 757 of file usb2.c.
Referenced by USB2_Rebalance(), USB2_RebalanceEndpoint(), and USBPORT_AllocateBandwidthUSB2().
ULONG NTAPI USB2_GetStartTime | ( | IN PUSB2_TT_ENDPOINT | nextTtEndpoint, |
IN PUSB2_TT_ENDPOINT | TtEndpoint, | ||
IN PUSB2_TT_ENDPOINT | prevTtEndpoint, | ||
IN ULONG | Frame | ||
) |
Definition at line 238 of file usb2.c.
Referenced by USB2_AllocateTimeForEndpoint().
Definition at line 47 of file usb2.c.
Referenced by USB2_AllocateHS(), and USB2_DeallocateHS().
VOID NTAPI USB2_InitController | ( | IN PUSB2_HC_EXTENSION | HcExtension | ) |
Definition at line 2217 of file usb2.c.
Referenced by USBPORT_AddDevice().
Definition at line 2160 of file usb2.c.
Referenced by USB2_InitController(), and USBPORT_InitializeTT().
VOID NTAPI USB2_InitTtEndpoint | ( | IN PUSB2_TT_ENDPOINT | TtEndpoint, |
IN UCHAR | TransferType, | ||
IN UCHAR | Direction, | ||
IN UCHAR | DeviceSpeed, | ||
IN USHORT | Period, | ||
IN USHORT | MaxPacketSize, | ||
IN PUSB2_TT | Tt | ||
) |
Definition at line 279 of file usb2.c.
Referenced by USB2_InitTT(), and USBPORT_AllocateBandwidthUSB2().
BOOLEAN NTAPI USB2_MoveTtEndpoint | ( | IN PUSB2_TT_ENDPOINT | TtEndpoint, |
IN LONG | BusTime, | ||
IN PUSB2_REBALANCE | Rebalance, | ||
IN ULONG | RebalanceListEntries, | ||
OUT BOOLEAN * | OutResult | ||
) |
Definition at line 619 of file usb2.c.
Referenced by USB2_AllocateTimeForEndpoint(), and USB2_DeallocateEndpointBudget().
BOOLEAN NTAPI USB2_PromotePeriods | ( | IN PUSB2_TT_ENDPOINT | TtEndpoint, |
IN PUSB2_REBALANCE | Rebalance, | ||
IN PULONG | RebalanceListEntries | ||
) |
Definition at line 1665 of file usb2.c.
Referenced by USBPORT_AllocateBandwidthUSB2().
VOID NTAPI USB2_Rebalance | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PLIST_ENTRY | RebalanceList | ||
) |
Definition at line 942 of file usb2.c.
Referenced by USBPORT_AllocateBandwidthUSB2(), and USBPORT_FreeBandwidthUSB2().
VOID NTAPI USB2_RebalanceEndpoint | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PLIST_ENTRY | List | ||
) |
Definition at line 851 of file usb2.c.
Referenced by USB2_Rebalance().
BOOLEAN NTAPI USBPORT_AllocateBandwidthUSB2 | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_ENDPOINT | Endpoint | ||
) |
Definition at line 1799 of file usb2.c.
Referenced by USBPORT_OpenPipe().
VOID NTAPI USBPORT_FreeBandwidthUSB2 | ( | IN PDEVICE_OBJECT | FdoDevice, |
IN PUSBPORT_ENDPOINT | Endpoint | ||
) |
Definition at line 2040 of file usb2.c.
Referenced by USBPORT_ClosePipe(), and USBPORT_OpenPipe().
VOID NTAPI USBPORT_UpdateAllocatedBwTt | ( | IN PUSB2_TT_EXTENSION | TtExtension | ) |
Definition at line 1768 of file usb2.c.
Referenced by USBPORT_AllocateBandwidthUSB2(), USBPORT_ClosePipe(), USBPORT_FreeBandwidthUSB2(), USBPORT_InitializeTT(), and USBPORT_RemoveDevice().
|
static |
Definition at line 13 of file usb2.c.
Referenced by USB2_GetCMASK().