Home | History | Annotate | Download | only in EhciPei

Lines Matching refs:Ep

124   @param  Ep    The queue head's related endpoint.

130 IN USB_ENDPOINT *Ep,
141 if (Ep->DevSpeed == EFI_USB_SPEED_HIGH) {
165 @param Ep The endpoint to create queue head for.
173 IN USB_ENDPOINT *Ep
187 Qh->Interval = Ep->PollRate;
193 QhHw->DeviceAddr = Ep->DevAddr;
195 QhHw->EpNum = Ep->EpAddr;
196 QhHw->EpSpeed = Ep->DevSpeed;
199 QhHw->MaxPacketLen = (UINT32) Ep->MaxPacket;
202 QhHw->HubAddr = Ep->HubAddr;
203 QhHw->PortNum = Ep->HubPort;
205 QhHw->DataToggle = Ep->Toggle;
207 if (Ep->DevSpeed != EFI_USB_SPEED_HIGH) {
211 switch (Ep->Type) {
220 if (Ep->DevSpeed != EFI_USB_SPEED_HIGH) {
232 EhcInitIntQh (Ep, QhHw);
236 if ((Ep->DevSpeed == EFI_USB_SPEED_HIGH) && (Ep->Direction == EfiUsbDataOut)) {
347 USB_ENDPOINT *Ep;
368 Ep = &Urb->Ep;
372 if (Ep->Direction == EfiUsbDataIn) {
379 if (Urb->Ep.Type == EHC_CTRL_TRANSFER) {
381 Qtd = EhcCreateQtd (Ehc, Urb->RequestPhy, Len, QTD_PID_SETUP, 0, Ep->MaxPacket);
395 if (Ep->Direction == EfiUsbDataIn) {
401 StatusQtd = EhcCreateQtd (Ehc, NULL, 0, Pid, 1, Ep->MaxPacket);
407 if (Ep->Direction == EfiUsbDataIn) {
417 if (Ep->Direction == EfiUsbDataIn) {
433 Ep->MaxPacket
446 if (((Qtd->DataLen + Ep->MaxPacket - 1) / Ep->MaxPacket) % 2) {
456 if (Ep->Type == EHC_CTRL_TRANSFER) {
528 USB_ENDPOINT *Ep;
542 Ep = &Urb->Ep;
543 Ep->DevAddr = DevAddr;
544 Ep->EpAddr = (UINT8) (EpAddr & 0x0F);
545 Ep->Direction = (((EpAddr & 0x80) != 0) ? EfiUsbDataIn : EfiUsbDataOut);
546 Ep->DevSpeed = DevSpeed;
547 Ep->MaxPacket = MaxPacket;
549 Ep->HubAddr = 0;
550 Ep->HubPort = 0;
555 Ep->HubAddr = Hub->TranslatorHubAddress;
556 Ep->HubPort = Hub->TranslatorPortNumber;
559 Ep->Toggle = Toggle;
560 Ep->Type = Type;
561 Ep->PollRate = EhcConvertPollRate (Interval);
568 Urb->Qh = EhcCreateQh (Ehc, &Urb->Ep);