Home
last modified time | relevance | path

Searched refs:EventRing (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/
DDebugCommunicationLibUsb3Common.c344 OUT EVENT_RING *EventRing in CreateEventRing() argument
350 ASSERT (EventRing != NULL); in CreateEventRing()
360 EventRing->EventRingSeg0 = (EFI_PHYSICAL_ADDRESS)(UINTN) Buf; in CreateEventRing()
361 EventRing->TrbNumber = EVENT_RING_TRB_NUMBER; in CreateEventRing()
362 EventRing->EventRingDequeue = (EFI_PHYSICAL_ADDRESS)(UINTN) EventRing->EventRingSeg0; in CreateEventRing()
363 EventRing->EventRingEnqueue = (EFI_PHYSICAL_ADDRESS)(UINTN) EventRing->EventRingSeg0; in CreateEventRing()
369 EventRing->EventRingCCS = 1; in CreateEventRing()
380 EventRing->ERSTBase = (EFI_PHYSICAL_ADDRESS)(UINTN) ERSTBase; in CreateEventRing()
385 ERSTBase->PtrLo = XHC_LOW_32BIT (EventRing->EventRingSeg0); in CreateEventRing()
386 ERSTBase->PtrHi = XHC_HIGH_32BIT (EventRing->EventRingSeg0); in CreateEventRing()
[all …]
DDebugCommunicationLibUsb3Transfer.c239 XhcSyncEventRing (Handle, &Handle->EventRing); in XhcCheckUrbResult()
241 for (Index = 0; Index < Handle->EventRing.TrbNumber; Index++) { in XhcCheckUrbResult()
243 Status = XhcCheckNewEvent (Handle, &Handle->EventRing, ((TRB_TEMPLATE **)&EvtTrb)); in XhcCheckUrbResult()
301 if ((XhcDequeue & (~0x0F)) != ((UINT64)(UINTN)Handle->EventRing.EventRingDequeue & (~0x0F))) { in XhcCheckUrbResult()
306 XhcWriteDebugReg (Handle, XHC_DC_DCERDP, XHC_LOW_32BIT (Handle->EventRing.EventRingDequeue)); in XhcCheckUrbResult()
307 … XhcWriteDebugReg (Handle, XHC_DC_DCERDP + 4, XHC_HIGH_32BIT (Handle->EventRing.EventRingDequeue)); in XhcCheckUrbResult()
DDebugCommunicationLibUsb3Internal.h507 EVENT_RING EventRing; member
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/
DXhciSched.c623 XhcPeiSyncEventRing (Xhc, &Xhc->EventRing); in XhcPeiCheckUrbResult()
624 for (Index = 0; Index < Xhc->EventRing.TrbNumber; Index++) { in XhcPeiCheckUrbResult()
625 Status = XhcPeiCheckNewEvent (Xhc, &Xhc->EventRing, ((TRB_TEMPLATE **) &EvtTrb)); in XhcPeiCheckUrbResult()
734 …PhyAddr = UsbHcGetPciAddrForHostAddr (Xhc->MemPool, Xhc->EventRing.EventRingDequeue, sizeof (TRB_T… in XhcPeiCheckUrbResult()
2528 IN EVENT_RING *EventRing in XhcPeiFreeEventRing() argument
2531 if(EventRing->EventRingSeg0 == NULL) { in XhcPeiFreeEventRing()
2538 …UsbHcFreeMem (Xhc->MemPool, EventRing->EventRingSeg0, sizeof (TRB_TEMPLATE) * EVENT_RING_TRB_NUMBE… in XhcPeiFreeEventRing()
2543 …UsbHcFreeMem (Xhc->MemPool, EventRing->ERSTBase, sizeof (EVENT_RING_SEG_TABLE_ENTRY) * ERST_NUMBER… in XhcPeiFreeEventRing()
2556 OUT EVENT_RING *EventRing in XhcPeiCreateEventRing() argument
2565 ASSERT (EventRing != NULL); in XhcPeiCreateEventRing()
[all …]
DXhcPeim.h171 EVENT_RING EventRing; member
DXhciSched.h1282 OUT EVENT_RING *EventRing
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
DXhciSched.c622 CreateEventRing (Xhc, &Xhc->EventRing); in XhcInitSched()
623 DEBUG ((EFI_D_INFO, "XhcInitSched:XHC_EVENTRING=0x%x\n", Xhc->EventRing.EventRingSeg0)); in XhcInitSched()
759 OUT EVENT_RING *EventRing in CreateEventRing() argument
768 ASSERT (EventRing != NULL); in CreateEventRing()
776 EventRing->EventRingSeg0 = Buf; in CreateEventRing()
777 EventRing->TrbNumber = EVENT_RING_TRB_NUMBER; in CreateEventRing()
778 EventRing->EventRingDequeue = (TRB_TEMPLATE *) EventRing->EventRingSeg0; in CreateEventRing()
779 EventRing->EventRingEnqueue = (TRB_TEMPLATE *) EventRing->EventRingSeg0; in CreateEventRing()
787 EventRing->EventRingCCS = 1; in CreateEventRing()
796 EventRing->ERSTBase = ERSTBase; in CreateEventRing()
[all …]
DXhci.h248 EVENT_RING EventRing; member
DXhciSched.h1296 OUT EVENT_RING *EventRing