Home
last modified time | relevance | path

Searched refs:MemPool (Results 1 – 21 of 21) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/
DEhciSched.c72 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 …]
DEhciUrb.c53 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()
DEhci.h121 USBHC_MEM_POOL *MemPool; member
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciPei/
DEhciSched.c144 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()
DEhciUrb.c52 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()
DEhcPeim.h100 USBHC_MEM_POOL *MemPool; member
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UhciDxe/
DUhciSched.c111 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 …]
DUhciQueue.c169 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()
DUhci.c1019 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()
DUhci.h143 USBHC_MEM_POOL *MemPool; member
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/
DXhciSched.c644 …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 …]
DXhcPeim.h153 USBHC_MEM_POOL *MemPool; member
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
DXhciSched.c483 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 …]
DXhci.h213 USBHC_MEM_POOL *MemPool; member
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/
DOhciUrb.c38 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()
DOhcPeim.h60 VOID *MemPool; member
DOhcPeim.c304 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/
DOhciUrb.c38 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()
DOhci.c568 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 …]
DOhci.h79 VOID *MemPool; member
DOhciSched.c86 UsbHcFreeMem(Ohc->MemPool, Td, sizeof(TD_DESCRIPTOR)); in OhciFreeInterruptContextEntry()