/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/ |
D | EhciUrb.c | 381 EFI_PHYSICAL_ADDRESS PhyAddr; in EhcCreateQtds() local 397 PhyAddr = UsbHcGetPciAddressForHostMem (Ehc->MemPool, Ehc->ShortReadStop, sizeof (EHC_QTD)); in EhcCreateQtds() 399 AlterNext = QTD_LINK (PhyAddr, FALSE); in EhcCreateQtds() 434 PhyAddr = UsbHcGetPciAddressForHostMem (Ehc->MemPool, StatusQtd, sizeof (EHC_QTD)); in EhcCreateQtds() 435 AlterNext = QTD_LINK (PhyAddr, FALSE); in EhcCreateQtds() 502 PhyAddr = UsbHcGetPciAddressForHostMem (Ehc->MemPool, NextQtd, sizeof (EHC_QTD)); in EhcCreateQtds() 503 Qtd->QtdHw.NextQtd = QTD_LINK (PhyAddr, FALSE); in EhcCreateQtds() 510 PhyAddr = UsbHcGetPciAddressForHostMem (Ehc->MemPool, NextQtd, sizeof (EHC_QTD)); in EhcCreateQtds() 511 Qh->QhHw.NextQtd = QTD_LINK (PhyAddr, FALSE); in EhcCreateQtds() 560 EFI_PHYSICAL_ADDRESS PhyAddr; in EhcCreateUrb() local [all …]
|
D | EhciSched.c | 115 EFI_PHYSICAL_ADDRESS PhyAddr; in EhcInitSched() local 153 &PhyAddr, in EhcInitSched() 168 EhcWriteOpReg (Ehc, EHC_FRAME_BASE_OFFSET, EHC_LOW_32BIT (PhyAddr)); in EhcInitSched() 172 EhcWriteOpReg (Ehc, EHC_CTRLDSSEG_OFFSET, EHC_HIGH_32BIT (PhyAddr)); in EhcInitSched() 182 EHC_HIGH_32BIT (PhyAddr) in EhcInitSched() 836 EFI_PHYSICAL_ADDRESS PhyAddr; in EhcFlushAsyncIntMap() local 858 Status = PciIo->Map (PciIo, MapOp, Urb->Data, &Len, &PhyAddr, &Map); in EhcFlushAsyncIntMap() 863 Urb->DataPhy = (VOID *) ((UINTN) PhyAddr); in EhcFlushAsyncIntMap()
|
D | UsbHcMem.c | 243 EFI_PHYSICAL_ADDRESS PhyAddr; in UsbHcGetPciAddressForHostMem() local 268 PhyAddr = (EFI_PHYSICAL_ADDRESS)(UINTN) (Block->Buf + Offset); in UsbHcGetPciAddressForHostMem() 269 return PhyAddr; in UsbHcGetPciAddressForHostMem()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UhciDxe/ |
D | UhciQueue.c | 41 EFI_PHYSICAL_ADDRESS PhyAddr; in UhciMapUserRequest() local 49 &PhyAddr, in UhciMapUserRequest() 54 *MappedAddr = (UINT8 *) (UINTN) PhyAddr; in UhciMapUserRequest() 88 EFI_PHYSICAL_ADDRESS PhyAddr; in UhciMapUserData() local 103 &PhyAddr, in UhciMapUserData() 111 *MappedAddr = (UINT8 *) (UINTN) PhyAddr; in UhciMapUserData() 121 &PhyAddr, in UhciMapUserData() 129 *MappedAddr = (UINT8 *) (UINTN) PhyAddr; in UhciMapUserData() 167 EFI_PHYSICAL_ADDRESS PhyAddr; in UhciLinkTdToQh() local 169 PhyAddr = UsbHcGetPciAddressForHostMem (Uhc->MemPool, Td, sizeof (UHCI_TD_HW)); in UhciLinkTdToQh() [all …]
|
D | UhciSched.c | 41 EFI_PHYSICAL_ADDRESS PhyAddr; in UhciInitFrameList() local 111 PhyAddr = UsbHcGetPciAddressForHostMem (Uhc->MemPool, Uhc->CtrlQh, sizeof (UHCI_QH_HW)); in UhciInitFrameList() 112 Uhc->SyncIntQh->QhHw.HorizonLink = QH_HLINK (PhyAddr, FALSE); in UhciInitFrameList() 115 PhyAddr = UsbHcGetPciAddressForHostMem (Uhc->MemPool, Uhc->BulkQh, sizeof (UHCI_QH_HW)); in UhciInitFrameList() 116 Uhc->CtrlQh->QhHw.HorizonLink = QH_HLINK (PhyAddr, FALSE); in UhciInitFrameList() 124 Uhc->BulkQh->QhHw.HorizonLink = QH_HLINK (PhyAddr, FALSE); in UhciInitFrameList() 134 PhyAddr = UsbHcGetPciAddressForHostMem (Uhc->MemPool, Uhc->SyncIntQh, sizeof (UHCI_QH_HW)); in UhciInitFrameList() 136 Uhc->FrameBase[Index] = QH_HLINK (PhyAddr, FALSE); in UhciInitFrameList() 257 EFI_PHYSICAL_ADDRESS PhyAddr; in UhciLinkQhToFrameList() local 333 PhyAddr = UsbHcGetPciAddressForHostMem (Uhc->MemPool, Next, sizeof (UHCI_QH_HW)); in UhciLinkQhToFrameList() [all …]
|
D | UsbHcMem.c | 242 EFI_PHYSICAL_ADDRESS PhyAddr; in UsbHcGetPciAddressForHostMem() local 267 PhyAddr = (EFI_PHYSICAL_ADDRESS)(UINTN) (Block->Buf + Offset); in UsbHcGetPciAddressForHostMem() 268 return PhyAddr; in UsbHcGetPciAddressForHostMem()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/ |
D | XhciSched.c | 237 EFI_PHYSICAL_ADDRESS PhyAddr; in XhcCreateTransferTrb() local 271 Status = Xhc->PciIo->Map (Xhc->PciIo, MapOp, Urb->Data, &Len, &PhyAddr, &Map); in XhcCreateTransferTrb() 278 Urb->DataPhy = (VOID *) ((UINTN) PhyAddr); in XhcCreateTransferTrb() 866 EFI_PHYSICAL_ADDRESS PhyAddr; in CreateTransferRing() local 885 PhyAddr = UsbHcGetPciAddrForHostAddr (Xhc->MemPool, Buf, sizeof (TRB_TEMPLATE) * TrbNum); in CreateTransferRing() 886 EndTrb->PtrLo = XHC_LOW_32BIT (PhyAddr); in CreateTransferRing() 887 EndTrb->PtrHi = XHC_HIGH_32BIT (PhyAddr); in CreateTransferRing() 1080 EFI_PHYSICAL_ADDRESS PhyAddr; in XhcCheckUrbResult() local 1121 PhyAddr = (EFI_PHYSICAL_ADDRESS)(EvtTrb->TRBPtrLo | LShiftU64 ((UINT64) EvtTrb->TRBPtrHi, 32)); in XhcCheckUrbResult() 1122 …LATE *)(UINTN) UsbHcGetHostAddrForPciAddr (Xhc->MemPool, (VOID *)(UINTN) PhyAddr, sizeof (TRB_TEMP… in XhcCheckUrbResult() [all …]
|
D | UsbHcMem.c | 235 EFI_PHYSICAL_ADDRESS PhyAddr; in UsbHcGetPciAddrForHostAddr() local 260 PhyAddr = (EFI_PHYSICAL_ADDRESS)(UINTN) (Block->Buf + Offset); in UsbHcGetPciAddrForHostAddr() 261 return PhyAddr; in UsbHcGetPciAddrForHostAddr()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
D | XhciSched.c | 603 EFI_PHYSICAL_ADDRESS PhyAddr; in XhcPeiCheckUrbResult() local 643 PhyAddr = (EFI_PHYSICAL_ADDRESS) (EvtTrb->TRBPtrLo | LShiftU64 ((UINT64) EvtTrb->TRBPtrHi, 32)); in XhcPeiCheckUrbResult() 644 …TE *) (UINTN) UsbHcGetHostAddrForPciAddr (Xhc->MemPool, (VOID *) (UINTN) PhyAddr, sizeof (TRB_TEMP… in XhcPeiCheckUrbResult() 734 …PhyAddr = UsbHcGetPciAddrForHostAddr (Xhc->MemPool, Xhc->EventRing.EventRingDequeue, sizeof (TRB_T… in XhcPeiCheckUrbResult() 736 if ((XhcDequeue & (~0x0F)) != (PhyAddr & (~0x0F))) { in XhcPeiCheckUrbResult() 741 XhcPeiWriteRuntimeReg (Xhc, XHC_ERDP_OFFSET, XHC_LOW_32BIT (PhyAddr) | BIT3); in XhcPeiCheckUrbResult() 742 XhcPeiWriteRuntimeReg (Xhc, XHC_ERDP_OFFSET + 4, XHC_HIGH_32BIT (PhyAddr)); in XhcPeiCheckUrbResult() 1047 EFI_PHYSICAL_ADDRESS PhyAddr; in XhcPeiInitializeDeviceSlot() local 1167 PhyAddr = UsbHcGetPciAddrForHostAddr ( in XhcPeiInitializeDeviceSlot() 1172 InputContext->EP[0].PtrLo = XHC_LOW_32BIT (PhyAddr) | BIT0; in XhcPeiInitializeDeviceSlot() [all …]
|
D | UsbHcMem.c | 202 EFI_PHYSICAL_ADDRESS PhyAddr; in UsbHcGetPciAddrForHostAddr() local 227 PhyAddr = (EFI_PHYSICAL_ADDRESS) (UINTN) (Block->Buf + Offset); in UsbHcGetPciAddrForHostAddr() 228 return PhyAddr; in UsbHcGetPciAddrForHostAddr()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciPei/ |
D | EhciSched.c | 110 EFI_PHYSICAL_ADDRESS PhyAddr; in EhcInitSched() local 130 &PhyAddr in EhcInitSched() 134 Ehc->PeriodFrameHost = (VOID *)(UINTN)PhyAddr; in EhcInitSched() 135 Ehc->PeriodFrame = (VOID *)(UINTN)PhyAddr; in EhcInitSched() 137 Ehc->High32bitAddr = EHC_HIGH_32BIT (PhyAddr); in EhcInitSched()
|
D | EhciUrb.c | 529 EFI_PHYSICAL_ADDRESS PhyAddr; in EhcCreateUrb() local 579 PhyAddr = (EFI_PHYSICAL_ADDRESS) (UINTN) Request ; in EhcCreateUrb() 584 Urb->RequestPhy = (VOID *) ((UINTN) PhyAddr); in EhcCreateUrb() 590 PhyAddr = (EFI_PHYSICAL_ADDRESS) (UINTN) Data ; in EhcCreateUrb() 595 Urb->DataPhy = (VOID *) ((UINTN) PhyAddr); in EhcCreateUrb()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/ |
D | NvmExpressPassthru.c | 370 EFI_PHYSICAL_ADDRESS PhyAddr; in NvmExpressPassThru() local 449 &PhyAddr, in NvmExpressPassThru() 456 Sq->Prp[0] = PhyAddr; in NvmExpressPassThru() 467 &PhyAddr, in NvmExpressPassThru() 478 Sq->Mptr = PhyAddr; in NvmExpressPassThru() 492 PhyAddr = (Sq->Prp[0] + EFI_PAGE_SIZE) & ~(EFI_PAGE_SIZE - 1); in NvmExpressPassThru() 493 …Prp = NvmeCreatePrpList (PciIo, PhyAddr, EFI_SIZE_TO_PAGES(Offset + Bytes) - 1, &PrpListHost, &Prp… in NvmExpressPassThru()
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/ |
D | UsbHcMem.c | 243 EFI_PHYSICAL_ADDRESS PhyAddr; in UsbHcGetPciAddressForHostMem() local 268 PhyAddr = (EFI_PHYSICAL_ADDRESS)(UINTN) (Block->Buf + Offset); in UsbHcGetPciAddressForHostMem() 269 return PhyAddr; in UsbHcGetPciAddressForHostMem()
|
D | Ohci.c | 2022 EFI_PHYSICAL_ADDRESS PhyAddr; in OhciAllocateDev() local 2087 &PhyAddr, in OhciAllocateDev() 2095 Ohc->HccaMemoryBlock = (HCCA_MEMORY_BLOCK *)(UINTN)PhyAddr; in OhciAllocateDev()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/ |
D | AhciMode.c | 698 EFI_PHYSICAL_ADDRESS PhyAddr; in AhciPioTransfer() local 732 &PhyAddr, in AhciPioTransfer() 760 (VOID *)(UINTN)PhyAddr, in AhciPioTransfer() 925 EFI_PHYSICAL_ADDRESS PhyAddr; in AhciDmaTransfer() local 981 &PhyAddr, in AhciDmaTransfer() 1012 (VOID *)(UINTN)PhyAddr, in AhciDmaTransfer()
|
/device/linaro/bootloader/edk2/OptionRomPkg/UndiRuntimeDxe/ |
D | E100b.c | 267 UINT64 *PhyAddr; in MapIt() local 269 PhyAddr = (UINT64 *) (UINTN) MappedAddr; in MapIt() 275 *PhyAddr = (UINT64) AdapterInfo->MemoryPtr; in MapIt() 277 (*AdapterInfo->Virt2Phys_30) (MemAddr, (UINT64) (UINTN) PhyAddr); in MapIt() 280 if (*PhyAddr > FOUR_GIGABYTE) { in MapIt() 291 *PhyAddr = MemAddr; in MapIt()
|