/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/ |
D | PciEnumeratorSupport.c | 472 UINTN BarIndex; in GatherDeviceInfo() local 499 for (Offset = 0x10, BarIndex = 0; Offset <= 0x24 && BarIndex < PCI_MAX_BAR; BarIndex++) { in GatherDeviceInfo() 500 Offset = PciParseBar (PciIoDevice, Offset, BarIndex); in GatherDeviceInfo() 507 …for (Offset = PciIoDevice->SrIovCapabilityOffset + EFI_PCIE_CAPABILITY_ID_SRIOV_BAR0, BarIndex = 0; in GatherDeviceInfo() 509 BarIndex++) { in GatherDeviceInfo() 511 ASSERT (BarIndex < PCI_MAX_BAR); in GatherDeviceInfo() 512 Offset = PciIovParseVfBar (PciIoDevice, Offset, BarIndex); in GatherDeviceInfo() 1338 UINTN BarIndex; in UpdatePciInfo() local 1393 BarIndex = (UINTN) Ptr->AddrTranslationOffset; in UpdatePciInfo() 1394 BarEndIndex = BarIndex; in UpdatePciInfo() [all …]
|
D | PciIo.c | 81 IN UINT8 BarIndex, in PciIoVerifyBarAccess() argument 92 if (BarIndex == EFI_PCI_IO_PASS_THROUGH_BAR) { in PciIoVerifyBarAccess() 99 if (BarIndex >= PCI_MAX_BAR) { in PciIoVerifyBarAccess() 103 if (!CheckBarType (PciIoDevice, BarIndex, Type)) { in PciIoVerifyBarAccess() 117 if ((*Offset + Count * (UINTN)(1 << Width)) - 1 >= PciIoDevice->PciBar[BarIndex].Length) { in PciIoVerifyBarAccess() 121 *Offset = *Offset + PciIoDevice->PciBar[BarIndex].BaseAddress; in PciIoVerifyBarAccess() 205 IN UINT8 BarIndex, in PciIoPollMem() argument 222 Status = PciIoVerifyBarAccess (PciIoDevice, BarIndex, PciBarTypeMem, Width, 1, &Offset); in PciIoPollMem() 236 Status = PciIoMemRead (This, Width, BarIndex, Offset, 1, Result); in PciIoPollMem() 249 Status = PciIoMemRead (This, Width, BarIndex, Offset, 1, Result); in PciIoPollMem() [all …]
|
D | PciIo.h | 47 IN UINT8 BarIndex, 102 IN UINT8 BarIndex, 137 IN UINT8 BarIndex, 170 IN UINT8 BarIndex, 201 IN UINT8 BarIndex, 232 IN UINT8 BarIndex, 263 IN UINT8 BarIndex, 518 IN UINT8 BarIndex, 610 IN UINT8 BarIndex, 644 IN UINT8 BarIndex,
|
D | PciEnumeratorSupport.h | 308 IN UINTN BarIndex 325 IN UINTN BarIndex
|
/device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/ |
D | PciEnumeratorSupport.c | 60 IN UINTN BarIndex 441 UINTN BarIndex; in GatherDeviceInfo() local 468 for (Offset = 0x10, BarIndex = 0; Offset <= 0x24; BarIndex++) { in GatherDeviceInfo() 469 Offset = PciParseBar (PciIoDevice, Offset, BarIndex); in GatherDeviceInfo() 862 IN UINTN BarIndex in PciParseBar() argument 892 PciIoDevice->PciBar[BarIndex].BaseAddress = 0; in PciParseBar() 893 PciIoDevice->PciBar[BarIndex].Length = 0; in PciParseBar() 894 PciIoDevice->PciBar[BarIndex].Alignment = 0; in PciParseBar() 899 PciIoDevice->PciBar[BarIndex].Offset = (UINT8) Offset; in PciParseBar() 903 PciIoDevice->PciBar[BarIndex].Offset = (UINT8) Offset; in PciParseBar() [all …]
|
D | PciIo.c | 49 UINT8 BarIndex, 68 UINT8 BarIndex, 88 IN UINT8 BarIndex, 101 IN UINT8 BarIndex, 114 IN UINT8 BarIndex, 125 IN UINT8 BarIndex, 136 IN UINT8 BarIndex, 147 IN UINT8 BarIndex, 251 IN UINT8 BarIndex, 261 IN UINT8 BarIndex, [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UfsPciHcDxe/ |
D | UfsPciHcDxe.c | 70 UINT8 BarIndex; in UfsHcGetMmioBar() local 80 BarIndex = Private->BarIndex; in UfsHcGetMmioBar() 84 BarIndex, in UfsHcGetMmioBar() 316 UINT8 BarIndex; in UfsHcMmioRead() local 320 BarIndex = Private->BarIndex; in UfsHcMmioRead() 322 …Status = PciIo->Mem.Read (PciIo, (EFI_PCI_IO_PROTOCOL_WIDTH)Width, BarIndex, Offset, Count, Buff… in UfsHcMmioRead() 358 UINT8 BarIndex; in UfsHcMmioWrite() local 362 BarIndex = Private->BarIndex; in UfsHcMmioWrite() 364 …Status = PciIo->Mem.Write (PciIo, (EFI_PCI_IO_PROTOCOL_WIDTH)Width, BarIndex, Offset, Count, Buf… in UfsHcMmioWrite() 565 UINT8 BarIndex; in UfsHcDriverBindingStart() local [all …]
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ |
D | PciEmulation.c | 66 IN UINT8 BarIndex, in PciIoPollMem() argument 82 IN UINT8 BarIndex, in PciIoPollIo() argument 98 IN UINT8 BarIndex, in PciIoMemRead() argument 108 … Private->ConfigSpace->Device.Bar[BarIndex] + Offset, //Fix me ConfigSpace in PciIoMemRead() 118 IN UINT8 BarIndex, in PciIoMemWrite() argument 128 … Private->ConfigSpace->Device.Bar[BarIndex] + Offset, //Fix me ConfigSpace in PciIoMemWrite() 138 IN UINT8 BarIndex, in PciIoIoRead() argument 152 IN UINT8 BarIndex, in PciIoIoWrite() argument 464 IN UINT8 BarIndex, in PciIoGetBarAttributes() argument 477 IN UINT8 BarIndex, in PciIoSetBarAttributes() argument
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/VirtualEhciPciIo/ |
D | VirtualEhciPciIo.c | 91 IN UINT8 BarIndex, in EhciPciIoPollMem() argument 107 IN UINT8 BarIndex, in EhciPciIoPollIo() argument 123 IN UINT8 BarIndex, in EhciPciIoMemRead() argument 139 if (BarIndex != 0) { in EhciPciIoMemRead() 180 IN UINT8 BarIndex, in EhciPciIoMemWrite() argument 234 IN UINT8 BarIndex, in EhciPciIoIoRead() argument 248 IN UINT8 BarIndex, in EhciPciIoIoWrite() argument 567 IN UINT8 BarIndex, in EhciPciIoGetBarAttributes() argument 580 IN UINT8 BarIndex, in EhciPciIoSetBarAttributes() argument
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/PciIo/ |
D | PciIo.h | 118 IN UINT8 BarIndex, 131 IN UINT8 BarIndex, 235 IN UINT8 BarIndex, 245 IN UINT8 BarIndex,
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
D | PciIo.h | 156 IN UINT8 BarIndex, 189 IN UINT8 BarIndex, 477 IN UINT8 BarIndex, 511 IN UINT8 BarIndex,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/ |
D | NonDiscoverablePciDeviceIo.c | 43 IN UINT8 BarIndex, in GetBarResource() argument 49 if (BarIndex < Dev->BarOffset) { in GetBarResource() 53 BarIndex -= (UINT8)Dev->BarOffset; in GetBarResource() 59 if (BarIndex == 0) { in GetBarResource() 64 BarIndex -= 1; in GetBarResource() 90 IN UINT8 BarIndex, in PciIoPollMem() argument 123 IN UINT8 BarIndex, in PciIoPollIo() argument 228 IN UINT8 BarIndex, in PciIoMemRead() argument 249 Status = GetBarResource (Dev, BarIndex, &Desc); in PciIoMemRead() 315 IN UINT8 BarIndex, in PciIoMemWrite() argument [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/ |
D | SdMmcPciHci.h | 197 IN UINT8 BarIndex, 229 IN UINT8 BarIndex, 260 IN UINT8 BarIndex, 292 IN UINT8 BarIndex,
|
D | SdMmcPciHci.c | 145 IN UINT8 BarIndex, in SdMmcHcRwMmio() argument 166 BarIndex, in SdMmcHcRwMmio() 175 BarIndex, in SdMmcHcRwMmio() 210 IN UINT8 BarIndex, in SdMmcHcOrMmio() argument 220 Status = SdMmcHcRwMmio (PciIo, BarIndex, Offset, TRUE, Count, &Data); in SdMmcHcOrMmio() 238 Status = SdMmcHcRwMmio (PciIo, BarIndex, Offset, FALSE, Count, &Data); in SdMmcHcOrMmio() 268 IN UINT8 BarIndex, in SdMmcHcAndMmio() argument 278 Status = SdMmcHcRwMmio (PciIo, BarIndex, Offset, TRUE, Count, &Data); in SdMmcHcAndMmio() 296 Status = SdMmcHcRwMmio (PciIo, BarIndex, Offset, FALSE, Count, &Data); in SdMmcHcAndMmio() 324 IN UINT8 BarIndex, in SdMmcHcCheckMmioSet() argument [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/ |
D | SdMmcPciHci.h | 197 IN UINT8 BarIndex, 229 IN UINT8 BarIndex, 260 IN UINT8 BarIndex, 292 IN UINT8 BarIndex,
|
D | SdMmcPciHci.c | 145 IN UINT8 BarIndex, in SdMmcHcRwMmio() argument 166 BarIndex, in SdMmcHcRwMmio() 175 BarIndex, in SdMmcHcRwMmio() 210 IN UINT8 BarIndex, in SdMmcHcOrMmio() argument 220 Status = SdMmcHcRwMmio (PciIo, BarIndex, Offset, TRUE, Count, &Data); in SdMmcHcOrMmio() 238 Status = SdMmcHcRwMmio (PciIo, BarIndex, Offset, FALSE, Count, &Data); in SdMmcHcOrMmio() 268 IN UINT8 BarIndex, in SdMmcHcAndMmio() argument 278 Status = SdMmcHcRwMmio (PciIo, BarIndex, Offset, TRUE, Count, &Data); in SdMmcHcAndMmio() 296 Status = SdMmcHcRwMmio (PciIo, BarIndex, Offset, FALSE, Count, &Data); in SdMmcHcAndMmio() 324 IN UINT8 BarIndex, in SdMmcHcCheckMmioSet() argument [all …]
|
/device/linaro/bootloader/edk2/CorebootModulePkg/Library/BaseSerialPortLib16550/ |
D | BaseSerialPortLib16550.c | 202 UINTN BarIndex; in GetSerialRegisterBase() local 308 for (BarIndex = 0; BarIndex < PCI_MAX_BAR; BarIndex ++) { in GetSerialRegisterBase() 309 SerialRegisterBase = PciRead32 (PciLibAddress + PCI_BASE_ADDRESSREG_OFFSET + BarIndex * 4); in GetSerialRegisterBase() 330 if (BarIndex == PCI_MAX_BAR) { in GetSerialRegisterBase() 338 PciLibAddress + PCI_BASE_ADDRESSREG_OFFSET + BarIndex * 4, in GetSerialRegisterBase()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BaseSerialPortLib16550/ |
D | BaseSerialPortLib16550.c | 202 UINTN BarIndex; in GetSerialRegisterBase() local 308 for (BarIndex = 0; BarIndex < PCI_MAX_BAR; BarIndex ++) { in GetSerialRegisterBase() 309 SerialRegisterBase = PciRead32 (PciLibAddress + PCI_BASE_ADDRESSREG_OFFSET + BarIndex * 4); in GetSerialRegisterBase() 330 if (BarIndex == PCI_MAX_BAR) { in GetSerialRegisterBase() 338 PciLibAddress + PCI_BASE_ADDRESSREG_OFFSET + BarIndex * 4, in GetSerialRegisterBase()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/SnpDxe/ |
D | Snp.c | 272 UINT8 BarIndex; in SimpleNetworkDriverStart() local 478 for (BarIndex = 0; BarIndex < PCI_MAX_BAR; BarIndex++) { in SimpleNetworkDriverStart() 481 BarIndex, in SimpleNetworkDriverStart() 492 Snp->MemoryBarIndex = BarIndex; in SimpleNetworkDriverStart() 495 Snp->IoBarIndex = BarIndex; in SimpleNetworkDriverStart()
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/DwMmcHcDxe/ |
D | DwMmcHci.h | 334 IN UINT8 BarIndex, 366 IN UINT8 BarIndex, 397 IN UINT8 BarIndex, 429 IN UINT8 BarIndex,
|
D | DwMmcHci.c | 125 IN UINT8 BarIndex, in DwMmcHcRwMmio() argument 146 BarIndex, in DwMmcHcRwMmio() 155 BarIndex, in DwMmcHcRwMmio() 190 IN UINT8 BarIndex, in DwMmcHcOrMmio() argument 200 Status = DwMmcHcRwMmio (PciIo, BarIndex, Offset, TRUE, Count, &Data); in DwMmcHcOrMmio() 218 Status = DwMmcHcRwMmio (PciIo, BarIndex, Offset, FALSE, Count, &Data); in DwMmcHcOrMmio() 248 IN UINT8 BarIndex, in DwMmcHcAndMmio() argument 258 Status = DwMmcHcRwMmio (PciIo, BarIndex, Offset, TRUE, Count, &Data); in DwMmcHcAndMmio() 276 Status = DwMmcHcRwMmio (PciIo, BarIndex, Offset, FALSE, Count, &Data); in DwMmcHcAndMmio() 304 IN UINT8 BarIndex, in DwMmcHcCheckMmioSet() argument [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Include/Guid/ |
D | GraphicsInfoHob.h | 45 UINT8 BarIndex; ///< Ignore if the value is 0xFF. member
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Block/DwUfsHcDxe/ |
D | DwUfsHcDxe.c | 790 UINT8 BarIndex; in UfsHcDriverBindingStart() local 836 for (BarIndex = 0; BarIndex < PCI_MAX_BAR; BarIndex++) { in UfsHcDriverBindingStart() 839 BarIndex, in UfsHcDriverBindingStart() 850 Private->BarIndex = BarIndex; in UfsHcDriverBindingStart()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciSioSerialDxe/ |
D | Serial.c | 436 UINT8 BarIndex; in CreateSerialDevice() local 446 BarIndex = 0; in CreateSerialDevice() 476 BarIndex = (PciSerialParameter->BarIndex == PCI_BAR_ALL) ? 0 : PciSerialParameter->BarIndex; in CreateSerialDevice() 506 … Status = ParentIo.PciIo->GetBarAttributes (ParentIo.PciIo, BarIndex, NULL, (VOID **) &Resources); in CreateSerialDevice() 1023 DefaultPciSerialParameter.BarIndex = 0; in SerialControllerDriverStart()
|
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/PlatformHookLib/ |
D | PlatformHookLib.c | 27 UINT8 BarIndex; ///< Which BAR to get the UART base address member
|