/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/ |
D | EhciSched.c | 72 PciAddr = UsbHcGetPciAddressForHostMem (Ehc->MemPool, Qh, sizeof (EHC_QH)); in EhcCreateHelpQ() 179 Ehc->MemPool = UsbHcInitMemPool ( in EhcInitSched() 185 if (Ehc->MemPool == NULL) { in EhcInitSched() 205 PciAddr = UsbHcGetPciAddressForHostMem (Ehc->MemPool, Ehc->PeriodOne, sizeof (EHC_QH)); in EhcInitSched() 223 PciAddr = UsbHcGetPciAddressForHostMem (Ehc->MemPool, Ehc->ReclaimHead, sizeof (EHC_QH)); in EhcInitSched() 229 UsbHcFreeMem (Ehc->MemPool, Ehc->PeriodOne, sizeof (EHC_QH)); in EhcInitSched() 234 UsbHcFreeMem (Ehc->MemPool, Ehc->ReclaimHead, sizeof (EHC_QH)); in EhcInitSched() 239 UsbHcFreeMem (Ehc->MemPool, Ehc->ShortReadStop, sizeof (EHC_QTD)); in EhcInitSched() 268 UsbHcFreeMem (Ehc->MemPool, Ehc->PeriodOne, sizeof (EHC_QH)); in EhcFreeSched() 273 UsbHcFreeMem (Ehc->MemPool, Ehc->ReclaimHead, sizeof (EHC_QH)); in EhcFreeSched() [all …]
|
D | EhciUrb.c | 53 Qtd = UsbHcAllocateMem (Ehc->MemPool, sizeof (EHC_QTD)); in EhcCreateQtd() 185 Qh = UsbHcAllocateMem (Ehci->MemPool, sizeof (EHC_QH)); in EhcCreateQh() 312 UsbHcFreeMem (Ehc->MemPool, Qtd, sizeof (EHC_QTD)); in EhcFreeQtds() 348 UsbHcFreeMem (Ehc->MemPool, Urb->Qh, sizeof (EHC_QH)); in EhcFreeUrb() 397 PhyAddr = UsbHcGetPciAddressForHostMem (Ehc->MemPool, Ehc->ShortReadStop, sizeof (EHC_QTD)); in EhcCreateQtds() 434 PhyAddr = UsbHcGetPciAddressForHostMem (Ehc->MemPool, StatusQtd, sizeof (EHC_QTD)); in EhcCreateQtds() 502 PhyAddr = UsbHcGetPciAddressForHostMem (Ehc->MemPool, NextQtd, sizeof (EHC_QTD)); in EhcCreateQtds() 510 PhyAddr = UsbHcGetPciAddressForHostMem (Ehc->MemPool, NextQtd, sizeof (EHC_QTD)); in EhcCreateQtds()
|
D | Ehci.h | 121 USBHC_MEM_POOL *MemPool; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciPei/ |
D | EhciSched.c | 144 Ehc->MemPool = UsbHcInitMemPool ( in EhcInitSched() 150 if (Ehc->MemPool == NULL) { in EhcInitSched() 195 UsbHcFreeMem (Ehc->MemPool, Ehc->PeriodOne, sizeof (PEI_EHC_QH)); in EhcFreeSched() 200 UsbHcFreeMem (Ehc->MemPool, Ehc->ReclaimHead, sizeof (PEI_EHC_QH)); in EhcFreeSched() 205 UsbHcFreeMem (Ehc->MemPool, Ehc->ShortReadStop, sizeof (PEI_EHC_QTD)); in EhcFreeSched() 209 if (Ehc->MemPool != NULL) { in EhcFreeSched() 210 UsbHcFreeMemPool (Ehc->MemPool); in EhcFreeSched() 211 Ehc->MemPool = NULL; in EhcFreeSched()
|
D | EhciUrb.c | 52 Qtd = UsbHcAllocateMem (Ehc, Ehc->MemPool, sizeof (PEI_EHC_QTD)); in EhcCreateQtd() 179 Qh = UsbHcAllocateMem (Ehci, Ehci->MemPool, sizeof (PEI_EHC_QH)); in EhcCreateQh() 304 UsbHcFreeMem (Ehc->MemPool, Qtd, sizeof (PEI_EHC_QTD)); in EhcFreeQtds() 327 UsbHcFreeMem (Ehc->MemPool, Urb->Qh, sizeof (PEI_EHC_QH)); in EhcFreeUrb()
|
D | EhcPeim.h | 100 USBHC_MEM_POOL *MemPool; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UhciDxe/ |
D | UhciSched.c | 111 PhyAddr = UsbHcGetPciAddressForHostMem (Uhc->MemPool, Uhc->CtrlQh, sizeof (UHCI_QH_HW)); in UhciInitFrameList() 115 PhyAddr = UsbHcGetPciAddressForHostMem (Uhc->MemPool, Uhc->BulkQh, sizeof (UHCI_QH_HW)); in UhciInitFrameList() 134 PhyAddr = UsbHcGetPciAddressForHostMem (Uhc->MemPool, Uhc->SyncIntQh, sizeof (UHCI_QH_HW)); in UhciInitFrameList() 144 UsbHcFreeMem (Uhc->MemPool, Uhc->SyncIntQh, sizeof (UHCI_QH_SW)); in UhciInitFrameList() 148 UsbHcFreeMem (Uhc->MemPool, Uhc->CtrlQh, sizeof (UHCI_QH_SW)); in UhciInitFrameList() 152 UsbHcFreeMem (Uhc->MemPool, Uhc->BulkQh, sizeof (UHCI_QH_SW)); in UhciInitFrameList() 189 UsbHcFreeMem (Uhc->MemPool, Uhc->SyncIntQh, sizeof (UHCI_QH_SW)); in UhciDestoryFrameList() 193 UsbHcFreeMem (Uhc->MemPool, Uhc->CtrlQh, sizeof (UHCI_QH_SW)); in UhciDestoryFrameList() 197 UsbHcFreeMem (Uhc->MemPool, Uhc->BulkQh, sizeof (UHCI_QH_SW)); in UhciDestoryFrameList() 262 QhPciAddr = UsbHcGetPciAddressForHostMem (Uhc->MemPool, Qh, sizeof (UHCI_QH_HW)); in UhciLinkQhToFrameList() [all …]
|
D | UhciQueue.c | 169 PhyAddr = UsbHcGetPciAddressForHostMem (Uhc->MemPool, Td, sizeof (UHCI_TD_HW)); in UhciLinkTdToQh() 215 PhyAddr = UsbHcGetPciAddressForHostMem (Uhc->MemPool, ThisTd, sizeof (UHCI_TD_HW)); in UhciAppendTd() 247 UsbHcFreeMem (Uhc->MemPool, ThisTd, sizeof (UHCI_TD_SW)); in UhciDestoryTds() 269 Qh = UsbHcAllocateMem (Uhc->MemPool, sizeof (UHCI_QH_SW)); in UhciCreateQh() 300 Td = UsbHcAllocateMem (Uhc->MemPool, sizeof (UHCI_TD_SW)); in UhciCreateTd()
|
D | Uhci.c | 1019 DataPtr = UsbHcAllocateMem (Uhc->MemPool, DataLength); in Uhci2AsyncInterruptTransfer() 1025 DataPhy = (UINT8 *) (UINTN) UsbHcGetPciAddressForHostMem (Uhc->MemPool, DataPtr, DataLength); in Uhci2AsyncInterruptTransfer() 1084 UsbHcFreeMem (Uhc->MemPool, Qh, sizeof (UHCI_QH_SW)); in Uhci2AsyncInterruptTransfer() 1087 UsbHcFreeMem (Uhc->MemPool, DataPtr, DataLength); in Uhci2AsyncInterruptTransfer() 1474 Uhc->MemPool = UsbHcInitMemPool (PciIo, TRUE, 0); in UhciAllocateDev() 1476 if (Uhc->MemPool == NULL) { in UhciAllocateDev() 1492 UsbHcFreeMemPool (Uhc->MemPool); in UhciAllocateDev() 1523 if (Uhc->MemPool != NULL) { in UhciFreeDev() 1524 UsbHcFreeMemPool (Uhc->MemPool); in UhciFreeDev()
|
D | Uhci.h | 143 USBHC_MEM_POOL *MemPool; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
D | XhciSched.c | 644 …TRBPtr = (TRB_TEMPLATE *) (UINTN) UsbHcGetHostAddrForPciAddr (Xhc->MemPool, (VOID *) (UINTN) PhyAd… in XhcPeiCheckUrbResult() 734 …PhyAddr = UsbHcGetPciAddrForHostAddr (Xhc->MemPool, Xhc->EventRing.EventRingDequeue, sizeof (TRB_T… in XhcPeiCheckUrbResult() 1078 InputContext = UsbHcAllocateMem (Xhc->MemPool, sizeof (INPUT_CONTEXT)); in XhcPeiInitializeDeviceSlot() 1168 Xhc->MemPool, in XhcPeiInitializeDeviceSlot() 1178 OutputContext = UsbHcAllocateMem (Xhc->MemPool, sizeof (DEVICE_CONTEXT)); in XhcPeiInitializeDeviceSlot() 1188 PhyAddr = UsbHcGetPciAddrForHostAddr (Xhc->MemPool, OutputContext, sizeof (DEVICE_CONTEXT)); in XhcPeiInitializeDeviceSlot() 1203 …PhyAddr = UsbHcGetPciAddrForHostAddr (Xhc->MemPool, Xhc->UsbDevContext[SlotId].InputContext, sizeo… in XhcPeiInitializeDeviceSlot() 1289 InputContext = UsbHcAllocateMem (Xhc->MemPool, sizeof (INPUT_CONTEXT_64)); in XhcPeiInitializeDeviceSlot64() 1379 Xhc->MemPool, in XhcPeiInitializeDeviceSlot64() 1389 OutputContext = UsbHcAllocateMem (Xhc->MemPool, sizeof (DEVICE_CONTEXT_64)); in XhcPeiInitializeDeviceSlot64() [all …]
|
D | XhcPeim.h | 153 USBHC_MEM_POOL *MemPool; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/ |
D | XhciSched.c | 483 Xhc->MemPool = UsbHcInitMemPool (Xhc->PciIo); in XhcInitSched() 484 ASSERT (Xhc->MemPool != NULL); in XhcInitSched() 501 Dcbaa = UsbHcAllocateMem (Xhc->MemPool, Entries); in XhcInitSched() 578 DcbaaPhy = UsbHcGetPciAddrForHostAddr (Xhc->MemPool, Dcbaa, Entries); in XhcInitSched() 597 …CmdRingPhy = UsbHcGetPciAddrForHostAddr (Xhc->MemPool, (VOID *)(UINTN) CmdRing, sizeof (TRB_TEMPLA… in XhcInitSched() 771 Buf = UsbHcAllocateMem (Xhc->MemPool, Size); in CreateEventRing() 781 DequeuePhy = UsbHcGetPciAddrForHostAddr (Xhc->MemPool, Buf, Size); in CreateEventRing() 790 Buf = UsbHcAllocateMem (Xhc->MemPool, Size); in CreateEventRing() 801 ERSTPhy = UsbHcGetPciAddrForHostAddr (Xhc->MemPool, ERSTBase, Size); in CreateEventRing() 868 Buf = UsbHcAllocateMem (Xhc->MemPool, sizeof (TRB_TEMPLATE) * TrbNum); in CreateTransferRing() [all …]
|
D | Xhci.h | 213 USBHC_MEM_POOL *MemPool; member
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/ |
D | OhciUrb.c | 38 Td = UsbHcAllocateMem(Ohc->MemPool, sizeof(TD_DESCRIPTOR)); in OhciCreateTD() 70 UsbHcFreeMem(Ohc->MemPool, Td, sizeof(TD_DESCRIPTOR)); in OhciFreeTD() 91 Ed = UsbHcAllocateMem(Ohc->MemPool, sizeof (ED_DESCRIPTOR)); in OhciCreateED() 123 UsbHcFreeMem(Ohc->MemPool, Ed, sizeof(ED_DESCRIPTOR)); in OhciFreeED()
|
D | OhcPeim.h | 60 VOID *MemPool; member
|
D | OhcPeim.c | 304 UsbHcFreeMem(Ohc->MemPool, DataTd, sizeof(TD_DESCRIPTOR)); in OhciControlTransfer() 308 UsbHcFreeMem(Ohc->MemPool, Ed, sizeof(ED_DESCRIPTOR)); in OhciControlTransfer() 534 UsbHcFreeMem(Ohc->MemPool, DataTd, sizeof(TD_DESCRIPTOR)); in OhciBulkTransfer() 536 UsbHcFreeMem(Ohc->MemPool, Ed, sizeof(ED_DESCRIPTOR)); in OhciBulkTransfer() 1053 Ohc->MemPool = UsbHcInitMemPool(TRUE, 0); in InitializeUsbHC() 1054 if(Ohc->MemPool == NULL) { in InitializeUsbHC()
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/ |
D | OhciUrb.c | 38 Td = UsbHcAllocateMem(Ohc->MemPool, sizeof(TD_DESCRIPTOR)); in OhciCreateTD() 71 UsbHcFreeMem(Ohc->MemPool, Td, sizeof(TD_DESCRIPTOR)); in OhciFreeTD() 92 Ed = UsbHcAllocateMem(Ohc->MemPool, sizeof (ED_DESCRIPTOR)); in OhciCreateED() 125 UsbHcFreeMem(Ohc->MemPool, Ed, sizeof(ED_DESCRIPTOR)); in OhciFreeED() 864 UsbHcFreeMem(Ohc->MemPool, Ohc->IntervalList[Level][Index], sizeof(ED_DESCRIPTOR)); in OhciFreeFixedIntMemory()
|
D | Ohci.c | 568 UsbHcFreeMem(Ohc->MemPool, DataTd, sizeof(TD_DESCRIPTOR)); in OhciControlTransfer() 577 UsbHcFreeMem(Ohc->MemPool, Ed, sizeof(ED_DESCRIPTOR)); in OhciControlTransfer() 843 UsbHcFreeMem(Ohc->MemPool, DataTd, sizeof(TD_DESCRIPTOR)); in OhciBulkTransfer() 851 UsbHcFreeMem(Ohc->MemPool, Ed, sizeof(ED_DESCRIPTOR)); in OhciBulkTransfer() 1127 UsbHcFreeMem(Ohc->MemPool, DataTd, sizeof(TD_DESCRIPTOR)); in OhciInterruptTransfer() 1136 UsbHcFreeMem(Ohc->MemPool, Ed, sizeof(ED_DESCRIPTOR)); in OhciInterruptTransfer() 2052 Ohc->MemPool = UsbHcInitMemPool(PciIo, TRUE, 0); in OhciAllocateDev() 2053 if(Ohc->MemPool == NULL) { in OhciAllocateDev() 2096 UsbHcFreeMemPool (Ohc->MemPool); in OhciAllocateDev() 2124 if (Ohc->MemPool != NULL) { in OhciFreeDev() [all …]
|
D | Ohci.h | 79 VOID *MemPool; member
|
D | OhciSched.c | 86 UsbHcFreeMem(Ohc->MemPool, Td, sizeof(TD_DESCRIPTOR)); in OhciFreeInterruptContextEntry()
|