/device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/ |
D | PciEnumeratorSupport.c | 40 IN PCI_TYPE00 *Pci, 50 IN PCI_TYPE00 *Pci, 67 PCI_TYPE00 *Pci, 99 IN PCI_TYPE00 *Pci, 108 IN PCI_TYPE00 *Pci, 117 PCI_TYPE00 *Pci, in PciDevicePresent() argument 147 Status = PciRootBridgeIo->Pci.Read ( in PciDevicePresent() 152 Pci in PciDevicePresent() 155 if (!EFI_ERROR (Status) && (Pci->Hdr).VendorId != 0xffff) { in PciDevicePresent() 161 Status = PciRootBridgeIo->Pci.Read ( in PciDevicePresent() [all …]
|
D | PciCommand.c | 50 return PciIo->Pci.Read ( in PciReadCommandRegister() 82 return PciIo->Pci.Write ( in PciSetCommandRegister() 116 PciIo->Pci.Read ( in PciEnableCommandRegister() 126 return PciIo->Pci.Write ( in PciEnableCommandRegister() 160 PciIo->Pci.Read ( in PciDisableCommandRegister() 170 return PciIo->Pci.Write ( in PciDisableCommandRegister() 205 return PciIo->Pci.Write ( in PciSetBridgeControlRegister() 239 PciIo->Pci.Read ( in PciEnableBridgeControlRegister() 249 return PciIo->Pci.Write ( in PciEnableBridgeControlRegister() 282 PciIo->Pci.Read ( in PciDisableBridgeControlRegister() [all …]
|
D | PciOptionRomSupport.c | 73 if (IS_PCI_BRIDGE (&PciIoDevice->Pci)) { in GetOpRomInfo() 89 Status = PciRootBridgeIo->Pci.Write ( in GetOpRomInfo() 103 Status = PciRootBridgeIo->Pci.Read ( in GetOpRomInfo() 177 if (IS_PCI_BRIDGE (&(PciDevice->Pci))) { in LoadOpRomImage() 342 PciRootBridgeIo->Pci.Write( in RomDecode() 353 PciRootBridgeIo->Pci.Write( in RomDecode() 364 PciRootBridgeIo->Pci.Read( in RomDecode() 372 PciRootBridgeIo->Pci.Write( in RomDecode() 384 PciRootBridgeIo->Pci.Write( in RomDecode()
|
D | PciDeviceSupport.c | 171 if (IS_PCI_BRIDGE (&(Temp->Pci))) { in DestroyPciDeviceTree() 382 if (IS_PCI_BRIDGE (&(PciIoDevice->Pci))) { in DeRegisterPciDevice() 486 PciIoDevice->PciIo.Pci.Read ( in EnableBridgeAttributes() 570 if (Node.Pci->Device != Temp->DeviceNumber || in StartPciDevicesOnBridge() 571 Node.Pci->Function != Temp->FunctionNumber) { in StartPciDevicesOnBridge() 609 if (IS_PCI_BRIDGE (&(Temp->Pci))) { in StartPciDevicesOnBridge() 645 if (IS_PCI_BRIDGE (&(Temp->Pci))) { in StartPciDevicesOnBridge() 952 if (IS_PCI_VGA(&Temp->Pci) && in ActiveVGADeviceOnTheRootBridge() 960 if (IS_PCI_BRIDGE (&Temp->Pci)) { in ActiveVGADeviceOnTheRootBridge()
|
D | PciPowerManagement.c | 71 Status = PciIoDevice->PciIo.Pci.Read ( in ResetPowerManagementFeature() 91 Status = PciIoDevice->PciIo.Pci.Write ( in ResetPowerManagementFeature()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/ |
D | PciEnumeratorSupport.c | 36 OUT PCI_TYPE00 *Pci, in PciDevicePresent() argument 53 Status = PciRootBridgeIo->Pci.Read ( in PciDevicePresent() 58 Pci in PciDevicePresent() 61 if (!EFI_ERROR (Status) && (Pci->Hdr).VendorId != 0xffff) { in PciDevicePresent() 65 Status = PciRootBridgeIo->Pci.Read ( in PciDevicePresent() 70 Pci in PciDevicePresent() 99 PCI_TYPE00 Pci; in PciPciDeviceInfoCollector() local 118 &Pci, in PciPciDeviceInfoCollector() 143 &Pci, in PciPciDeviceInfoCollector() 154 if (!EFI_ERROR (Status) && (IS_PCI_BRIDGE (&Pci) || IS_CARDBUS_BRIDGE (&Pci))) { in PciPciDeviceInfoCollector() [all …]
|
D | PciCommand.c | 46 Status = PciIo->Pci.Read ( in PciOperateRegister() 68 return PciIo->Pci.Write ( in PciOperateRegister() 91 if ((PciIoDevice->Pci.Hdr.Status & EFI_PCI_STATUS_CAPABILITY) != 0) { in PciCapabilitySupport() 135 if (IS_CARDBUS_BRIDGE (&PciIoDevice->Pci)) { in LocateCapabilityRegBlock() 137 PciIoDevice->PciIo.Pci.Read ( in LocateCapabilityRegBlock() 146 PciIoDevice->PciIo.Pci.Read ( in LocateCapabilityRegBlock() 157 PciIoDevice->PciIo.Pci.Read ( in LocateCapabilityRegBlock() 234 Status = PciIoDevice->PciIo.Pci.Read ( in LocatePciExpressCapabilityRegBlock()
|
D | PciResourceSupport.c | 270 if (!IS_PCI_BRIDGE (&(Node->PciDev->Pci)) && !IS_CARDBUS_BRIDGE (&(Node->PciDev->Pci))) { in CalculateApertureIo16() 806 if (IS_PCI_BRIDGE (&Temp->Pci)) { in CreateResourceMap() 949 if (IS_CARDBUS_BRIDGE (&Temp->Pci)) { in CreateResourceMap() 1244 if (!IS_PCI_BRIDGE (&(Node->PciDev->Pci))) { in ProgramResource() 1246 if (IS_CARDBUS_BRIDGE (&(Node->PciDev->Pci))) { in ProgramResource() 1322 PciIo->Pci.Write ( in ProgramBar() 1339 PciIo->Pci.Write ( in ProgramBar() 1349 PciIo->Pci.Write ( in ProgramBar() 1404 PciIo->Pci.Write ( in ProgramVfBar() 1420 PciIo->Pci.Write ( in ProgramVfBar() [all …]
|
D | PciEnumeratorSupport.h | 34 OUT PCI_TYPE00 *Pci, 76 IN PCI_TYPE00 *Pci, 98 IN PCI_TYPE00 *Pci, 119 IN PCI_TYPE00 *Pci, 140 IN PCI_TYPE00 *Pci, 379 IN PCI_TYPE00 *Pci,
|
D | PciLib.c | 54 PciIoDevice->PciIo.Pci.Read ( in GetBackPcCardBar() 67 PciIoDevice->PciIo.Pci.Read ( in GetBackPcCardBar() 79 PciIoDevice->PciIo.Pci.Read ( in GetBackPcCardBar() 91 PciIoDevice->PciIo.Pci.Read ( in GetBackPcCardBar() 137 if (IS_PCI_BRIDGE (&Temp->Pci)) { in RemoveRejectedPciDevices() 201 IS_PCI_BRIDGE (&Resource->PciDev->Pci) ? L"PPB" : in DumpBridgeResource() 202 IS_CARDBUS_BRIDGE (&Resource->PciDev->Pci) ? L"P2C" : in DumpBridgeResource() 208 … if ((!IS_PCI_BRIDGE (&Resource->PciDev->Pci) && !IS_CARDBUS_BRIDGE (&Resource->PciDev->Pci)) || in DumpBridgeResource() 209 (IS_PCI_BRIDGE (&Resource->PciDev->Pci) && (Resource->Bar < PPB_IO_RANGE)) || in DumpBridgeResource() 210 (IS_CARDBUS_BRIDGE (&Resource->PciDev->Pci) && (Resource->Bar < P2C_MEM_1)) in DumpBridgeResource() [all …]
|
D | PciPowerManagement.c | 57 Status = PciIoDevice->PciIo.Pci.Read ( in ResetPowerManagementFeature() 78 Status = PciIoDevice->PciIo.Pci.Write ( in ResetPowerManagementFeature()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformDxe/ |
D | PciDevice.c | 136 Status = PciIo->Pci.Read ( 147 Status = PciIo->Pci.Write ( 154 Status = PciIo->Pci.Read ( 190 Status = PciIo->Pci.Write ( 207 Status = PciIo->Pci.Read ( 216 Status = PciIo->Pci.Write ( 245 Status = PciIo->Pci.Write ( 267 Status = PciIo->Pci.Read ( 281 Status = PciIo->Pci.Write ( 298 Status = PciIo->Pci.Write ( [all …]
|
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/ |
D | PcatIo.c | 94 PCI_CONFIG_ACCESS_CF8 Pci; in PcatRootBridgeIoPciRW() local 141 Pci.Bits.Reg = PciAddress.ExtendedRegister & 0xFF; in PcatRootBridgeIoPciRW() 143 Pci.Bits.Reg = PciAddress.Register; in PcatRootBridgeIoPciRW() 151 Pci.Bits.Func = PciAddress.Function; in PcatRootBridgeIoPciRW() 152 Pci.Bits.Dev = PciAddress.Device; in PcatRootBridgeIoPciRW() 153 Pci.Bits.Bus = PciAddress.Bus; in PcatRootBridgeIoPciRW() 154 Pci.Bits.Reserved = 0; in PcatRootBridgeIoPciRW() 155 Pci.Bits.Enable = 1; in PcatRootBridgeIoPciRW() 165 PciDataStride = Pci.Bits.Reg & 0x03; in PcatRootBridgeIoPciRW() 168 PciAligned = Pci; in PcatRootBridgeIoPciRW() [all …]
|
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/X64/ |
D | PcatIo.c | 94 PCI_CONFIG_ACCESS_CF8 Pci; in PcatRootBridgeIoPciRW() local 141 Pci.Bits.Reg = PciAddress.ExtendedRegister & 0xFF; in PcatRootBridgeIoPciRW() 143 Pci.Bits.Reg = PciAddress.Register; in PcatRootBridgeIoPciRW() 151 Pci.Bits.Func = PciAddress.Function; in PcatRootBridgeIoPciRW() 152 Pci.Bits.Dev = PciAddress.Device; in PcatRootBridgeIoPciRW() 153 Pci.Bits.Bus = PciAddress.Bus; in PcatRootBridgeIoPciRW() 154 Pci.Bits.Reserved = 0; in PcatRootBridgeIoPciRW() 155 Pci.Bits.Enable = 1; in PcatRootBridgeIoPciRW() 165 PciDataStride = Pci.Bits.Reg & 0x03; in PcatRootBridgeIoPciRW() 168 PciAligned = Pci; in PcatRootBridgeIoPciRW() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
D | HwDebug.c | 182 EFI_PCI_IO_PROTOCOL *Pci; in EblPciCmd() local 221 Status = gBS->HandleProtocol (HandleBuffer[Index], &gEfiPciIoProtocolGuid, (VOID **)&Pci); in EblPciCmd() 223 Pci->GetLocation (Pci, &Seg, &Bus, &Dev, &Func); in EblPciCmd() 228 …Status = Pci->Pci.Read (Pci, EfiPciIoWidthUint32, 0, sizeof (PciHeader)/sizeof (UINT32), &PciHeade… in EblPciCmd() 257 Status = gBS->HandleProtocol (HandleBuffer[Index], &gEfiPciIoProtocolGuid, (VOID **)&Pci); in EblPciCmd() 259 Pci->GetLocation (Pci, &Seg, &Bus, &Dev, &Func); in EblPciCmd() 268 … Status = Pci->Pci.Read (Pci, EfiPciIoWidthUint32, 0, sizeof (PciHeader)/sizeof (UINT32), Header); in EblPciCmd()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Wpce791/ |
D | LpcDriver.c | 109 PCI_TYPE00 Pci; in LpcDriverSupported() 178 Status = PciIo->Pci.Read ( in LpcDriverSupported() 182 sizeof(Pci) / sizeof(UINT32), in LpcDriverSupported() 183 &Pci in LpcDriverSupported() 188 if ((Pci.Hdr.Command & 0x03) == 0x03) { in LpcDriverSupported() 189 if (Pci.Hdr.ClassCode[2] == PCI_CLASS_BRIDGE) { in LpcDriverSupported() 194 if (Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA) { in LpcDriverSupported() 202 if (Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA_PDECODE && in LpcDriverSupported() 203 Pci.Hdr.VendorId == 0x8086 && in LpcDriverSupported() 204 Pci.Hdr.DeviceId == 0x7110) { in LpcDriverSupported()
|
/device/linaro/bootloader/edk2/OvmfPkg/VirtioPciDeviceDxe/ |
D | VirtioPciDevice.c | 248 PCI_TYPE00 Pci; in VirtioPciDeviceBindingSupported() local 272 Status = PciIo->Pci.Read ( in VirtioPciDeviceBindingSupported() 278 sizeof Pci / sizeof (UINT32), // Count in VirtioPciDeviceBindingSupported() 279 &Pci // target buffer in VirtioPciDeviceBindingSupported() 286 if ((Pci.Hdr.VendorId == VIRTIO_VENDOR_ID) && in VirtioPciDeviceBindingSupported() 287 (Pci.Hdr.DeviceId >= 0x1000) && in VirtioPciDeviceBindingSupported() 288 (Pci.Hdr.DeviceId <= 0x103F) && in VirtioPciDeviceBindingSupported() 289 (Pci.Hdr.RevisionID == 0x00)) { in VirtioPciDeviceBindingSupported() 331 PCI_TYPE00 Pci; in VirtioPciInit() local 336 ASSERT (PciIo->Pci.Read != NULL); in VirtioPciInit() [all …]
|
/device/linaro/bootloader/edk2/PcAtChipsetPkg/IsaAcpiDxe/ |
D | PcatIsaAcpi.c | 75 PCI_TYPE00 Pci; in PcatIsaAcpiDriverBindingSupported() local 96 Status = PciIo->Pci.Read ( in PcatIsaAcpiDriverBindingSupported() 100 sizeof(Pci) / sizeof(UINT32), in PcatIsaAcpiDriverBindingSupported() 101 &Pci); in PcatIsaAcpiDriverBindingSupported() 105 if ((Pci.Hdr.Command & 0x03) == 0x03) { in PcatIsaAcpiDriverBindingSupported() 106 if (Pci.Hdr.ClassCode[2] == PCI_CLASS_BRIDGE) { in PcatIsaAcpiDriverBindingSupported() 110 if (Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA) { in PcatIsaAcpiDriverBindingSupported() 117 if (Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA_PDECODE && in PcatIsaAcpiDriverBindingSupported() 118 Pci.Hdr.VendorId == 0x8086 ) { in PcatIsaAcpiDriverBindingSupported()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/ |
D | VgaMiniPort.c | 93 PCI_TYPE00 Pci; in PciVgaMiniPortDriverBindingSupported() local 113 Status = PciIo->Pci.Read ( in PciVgaMiniPortDriverBindingSupported() 117 sizeof (Pci) / sizeof (UINT32), in PciVgaMiniPortDriverBindingSupported() 118 &Pci in PciVgaMiniPortDriverBindingSupported() 129 if (((Pci.Hdr.Command & 0x03) == 0x03) && IS_PCI_VGA (&Pci)) { in PciVgaMiniPortDriverBindingSupported()
|
/device/linaro/bootloader/edk2/OvmfPkg/XenIoPciDxe/ |
D | XenIoPciDxe.c | 69 PCI_TYPE00 Pci; in XenIoPciDeviceBindingSupported() local 93 Status = PciIo->Pci.Read ( in XenIoPciDeviceBindingSupported() 99 sizeof Pci / sizeof (UINT32), // Count in XenIoPciDeviceBindingSupported() 100 &Pci // target buffer in XenIoPciDeviceBindingSupported() 104 if ((Pci.Hdr.VendorId == PCI_VENDOR_ID_XEN) && in XenIoPciDeviceBindingSupported() 105 (Pci.Hdr.DeviceId == PCI_DEVICE_ID_XEN_PLATFORM)) { in XenIoPciDeviceBindingSupported()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Pci/Dxe/PciHostBridge/ |
D | PciHostBridgeSupport.c | 72 mPciRootBridgeIo->Pci.Read ( in ChipsetPreprocessController() 85 mPciRootBridgeIo->Pci.Write ( in ChipsetPreprocessController() 99 mPciRootBridgeIo->Pci.Write ( in ChipsetPreprocessController()
|
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/PlatformBdsLib/ |
D | BdsPlatform.c | 45 IN PCI_TYPE00 *Pci 402 PCI_TYPE00 Pci; in VisitingAPciInstance() local 409 Status = PciIo->Pci.Read ( in VisitingAPciInstance() 413 sizeof (Pci) / sizeof (UINT32), in VisitingAPciInstance() 414 &Pci in VisitingAPciInstance() 423 &Pci in VisitingAPciInstance() 460 IN PCI_TYPE00 *Pci in DetectAndPreparePlatformPciDevicePath() argument 477 if ((IS_PCI_LPC (Pci)) || in DetectAndPreparePlatformPciDevicePath() 478 ((IS_PCI_ISA_PDECODE (Pci)) && in DetectAndPreparePlatformPciDevicePath() 479 (Pci->Hdr.VendorId == 0x8086) in DetectAndPreparePlatformPciDevicePath() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/ |
D | EhciReg.c | 271 PciIo->Pci.Read (PciIo, EfiPciIoWidthUint32, ExtendCap, 1, &Value); in EhcClearLegacySupport() 272 PciIo->Pci.Read (PciIo, EfiPciIoWidthUint32, ExtendCap + 0x4, 1, &Value); in EhcClearLegacySupport() 274 PciIo->Pci.Read (PciIo, EfiPciIoWidthUint32, ExtendCap, 1, &Value); in EhcClearLegacySupport() 276 PciIo->Pci.Write (PciIo, EfiPciIoWidthUint32, ExtendCap, 1, &Value); in EhcClearLegacySupport() 282 PciIo->Pci.Read (PciIo, EfiPciIoWidthUint32, ExtendCap, 1, &Value); in EhcClearLegacySupport() 289 PciIo->Pci.Read (PciIo, EfiPciIoWidthUint32, ExtendCap, 1, &Value); in EhcClearLegacySupport() 290 PciIo->Pci.Read (PciIo, EfiPciIoWidthUint32, ExtendCap + 0x4, 1, &Value); in EhcClearLegacySupport()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/ |
D | LegacyIde.c | 290 Status = PciIo->Pci.Read (PciIo, EfiPciIoWidthUint8, 0, sizeof (PciData), &PciData); in InitLegacyIdeController() 308 PciIo->Pci.Write (PciIo, EfiPciIoWidthUint32, 0x10, 1, &IOBarClear); in InitLegacyIdeController() 309 PciIo->Pci.Write (PciIo, EfiPciIoWidthUint32, 0x14, 1, &IOBarClear); in InitLegacyIdeController() 312 PciIo->Pci.Write (PciIo, EfiPciIoWidthUint32, 0x18, 1, &IOBarClear); in InitLegacyIdeController() 313 PciIo->Pci.Write (PciIo, EfiPciIoWidthUint32, 0x1C, 1, &IOBarClear); in InitLegacyIdeController()
|
/device/linaro/bootloader/edk2/OvmfPkg/QemuVideoDxe/ |
D | Driver.c | 104 PCI_TYPE00 Pci; in QemuVideoControllerDriverSupported() local 125 Status = PciIo->Pci.Read ( in QemuVideoControllerDriverSupported() 129 sizeof (Pci) / sizeof (UINT32), in QemuVideoControllerDriverSupported() 130 &Pci in QemuVideoControllerDriverSupported() 137 Card = QemuVideoDetect(Pci.Hdr.VendorId, Pci.Hdr.DeviceId); in QemuVideoControllerDriverSupported() 184 PCI_TYPE00 Pci; in QemuVideoControllerDriverStart() local 222 Status = Private->PciIo->Pci.Read ( in QemuVideoControllerDriverStart() 226 sizeof (Pci) / sizeof (UINT32), in QemuVideoControllerDriverStart() 227 &Pci in QemuVideoControllerDriverStart() 236 Card = QemuVideoDetect(Pci.Hdr.VendorId, Pci.Hdr.DeviceId); in QemuVideoControllerDriverStart()
|