TianoCore EDK2 master
Loading...
Searching...
No Matches
EhciSched.h
Go to the documentation of this file.
1
10#ifndef _EFI_EHCI_SCHED_H_
11#define _EFI_EHCI_SCHED_H_
12
24 IN USB2_HC_DEV *Ehc
25 );
26
33VOID
35 IN USB2_HC_DEV *Ehc
36 );
37
49VOID
51 IN USB2_HC_DEV *Ehc,
52 IN EHC_QH *Qh
53 );
54
63VOID
65 IN USB2_HC_DEV *Ehc,
66 IN EHC_QH *Qh
67 );
68
78VOID
80 IN USB2_HC_DEV *Ehc,
81 IN EHC_QH *Qh
82 );
83
92VOID
94 IN USB2_HC_DEV *Ehc,
95 IN EHC_QH *Qh
96 );
97
112 IN USB2_HC_DEV *Ehc,
113 IN URB *Urb,
114 IN UINTN TimeOut
115 );
116
132 IN USB2_HC_DEV *Ehc,
133 IN UINT8 DevAddr,
134 IN UINT8 EpNum,
135 OUT UINT8 *DataToggle
136 );
137
144VOID
146 IN USB2_HC_DEV *Ehc
147 );
148
168URB *
170 IN USB2_HC_DEV *Ehc,
171 IN UINT8 DevAddr,
172 IN UINT8 EpAddr,
173 IN UINT8 DevSpeed,
174 IN UINT8 Toggle,
175 IN UINTN MaxPacket,
177 IN UINTN DataLen,
179 IN VOID *Context,
180 IN UINTN Interval
181 );
182
190VOID
191EFIAPI
193 IN EFI_EVENT Event,
194 IN VOID *Context
195 );
196
197#endif
UINT64 UINTN
URB * EhciInsertAsyncIntTransfer(IN USB2_HC_DEV *Ehc, IN UINT8 DevAddr, IN UINT8 EpAddr, IN UINT8 DevSpeed, IN UINT8 Toggle, IN UINTN MaxPacket, IN EFI_USB2_HC_TRANSACTION_TRANSLATOR *Hub, IN UINTN DataLen, IN EFI_ASYNC_USB_TRANSFER_CALLBACK Callback, IN VOID *Context, IN UINTN Interval)
Definition: EhciSched.c:819
EFI_STATUS EhcInitSched(IN USB2_HC_DEV *Ehc)
Definition: EhciSched.c:102
EFI_STATUS EhciDelAsyncIntTransfer(IN USB2_HC_DEV *Ehc, IN UINT8 DevAddr, IN UINT8 EpNum, OUT UINT8 *DataToggle)
Definition: EhciSched.c:733
VOID EhcLinkQhToAsync(IN USB2_HC_DEV *Ehc, IN EHC_QH *Qh)
Definition: EhciSched.c:312
VOID EhcFreeSched(IN USB2_HC_DEV *Ehc)
Definition: EhciSched.c:250
VOID EFIAPI EhcMonitorAsyncRequests(IN EFI_EVENT Event, IN VOID *Context)
Definition: EhciSched.c:1021
EFI_STATUS EhcExecTransfer(IN USB2_HC_DEV *Ehc, IN URB *Urb, IN UINTN TimeOut)
Definition: EhciSched.c:668
VOID EhcUnlinkQhFromPeriod(IN USB2_HC_DEV *Ehc, IN EHC_QH *Qh)
Definition: EhciSched.c:490
VOID EhciDelAllAsyncIntTransfers(IN USB2_HC_DEV *Ehc)
Definition: EhciSched.c:780
VOID EhcLinkQhToPeriod(IN USB2_HC_DEV *Ehc, IN EHC_QH *Qh)
Definition: EhciSched.c:389
VOID EhcUnlinkQhFromAsync(IN USB2_HC_DEV *Ehc, IN EHC_QH *Qh)
Definition: EhciSched.c:345
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EFI_ASYNC_USB_TRANSFER_CALLBACK)(IN VOID *Data, IN UINTN DataLength, IN VOID *Context, IN UINT32 Status)
Definition: UsbIo.h:80
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_EVENT
Definition: UefiBaseType.h:37
Definition: EhciUrb.h:200