Home
last modified time | relevance | path

Searched refs:PciHeader (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
DHwDebug.c194 PCI_TYPE_GENERIC PciHeader; in EblPciCmd() local
207 Header = &PciHeader; in EblPciCmd()
228 …atus = Pci->Pci.Read (Pci, EfiPciIoWidthUint32, 0, sizeof (PciHeader)/sizeof (UINT32), &PciHeader); in EblPciCmd()
230 Hdr = &PciHeader.Bridge.Hdr; in EblPciCmd()
268 … Status = Pci->Pci.Read (Pci, EfiPciIoWidthUint32, 0, sizeof (PciHeader)/sizeof (UINT32), Header); in EblPciCmd()
270 Hdr = &PciHeader.Bridge.Hdr; in EblPciCmd()
271 if (IS_PCI_BRIDGE (&PciHeader.Bridge)) { in EblPciCmd()
272 Bridge = &PciHeader.Bridge.Bridge; in EblPciCmd()
279 Device = &PciHeader.Device.Device; in EblPciCmd()
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/
DPcatIo.c231 PCI_TYPE00 PciHeader; in ScanPciBus() local
254 IoDev->Pci.Read (IoDev, EfiPciWidthUint16, Address, 1, &PciHeader.Hdr.VendorId); in ScanPciBus()
263 if (PciHeader.Hdr.VendorId == 0xffff && Func == 0) { in ScanPciBus()
267 if (PciHeader.Hdr.VendorId != 0xffff) { in ScanPciBus()
272 IoDev->Pci.Read (IoDev, EfiPciWidthUint8, Address + 0x0e, 1, &PciHeader.Hdr.HeaderType); in ScanPciBus()
292 if ((PciHeader.Hdr.HeaderType & HEADER_TYPE_MULTI_FUNCTION) == 0x00 && Func == 0) { in ScanPciBus()
319 PCI_TYPE00 PciHeader; in CheckForRom() local
338 IoDev->Pci.Read (IoDev, EfiPciWidthUint32, Address, sizeof(PciHeader)/sizeof(UINT32), &PciHeader); in CheckForRom()
340 if (IS_PCI_BRIDGE(&PciHeader)) { in CheckForRom()
342 PciBridgeHeader = (PCI_TYPE01 *)(&PciHeader); in CheckForRom()
[all …]
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/X64/
DPcatIo.c231 PCI_TYPE00 PciHeader; in ScanPciBus() local
254 IoDev->Pci.Read (IoDev, EfiPciWidthUint16, Address, 1, &PciHeader.Hdr.VendorId); in ScanPciBus()
263 if (PciHeader.Hdr.VendorId == 0xffff && Func == 0) { in ScanPciBus()
267 if (PciHeader.Hdr.VendorId != 0xffff) { in ScanPciBus()
272 IoDev->Pci.Read (IoDev, EfiPciWidthUint8, Address + 0x0e, 1, &PciHeader.Hdr.HeaderType); in ScanPciBus()
292 if ((PciHeader.Hdr.HeaderType & HEADER_TYPE_MULTI_FUNCTION) == 0x00 && Func == 0) { in ScanPciBus()
319 PCI_TYPE00 PciHeader; in CheckForRom() local
338 IoDev->Pci.Read (IoDev, EfiPciWidthUint32, Address, sizeof(PciHeader)/sizeof(UINT32), &PciHeader); in CheckForRom()
340 if (IS_PCI_BRIDGE(&PciHeader)) { in CheckForRom()
342 PciBridgeHeader = (PCI_TYPE01 *)(&PciHeader); in CheckForRom()
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/Library/PlatformBootManagerLib/
DBdsPlatform.c1210 IN PCI_TYPE00 *PciHeader in ConnectRecursivelyIfPciMassStorage() argument
1220 if (IS_CLASS1 (PciHeader, PCI_CLASS_MASS_STORAGE) || in ConnectRecursivelyIfPciMassStorage()
1221 (XenDetected() && IS_CLASS2 (PciHeader, 0xFF, 0x80))) { in ConnectRecursivelyIfPciMassStorage()
1240 IS_CLASS1 (PciHeader, PCI_CLASS_MASS_STORAGE) ? L"Mass Storage" : L"Xen", in ConnectRecursivelyIfPciMassStorage()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DPci.c2455 PCI_COMMON_HEADER PciHeader; in ShellCommandRunPci() local
2640 &PciHeader.VendorId in ShellCommandRunPci()
2650 if (PciHeader.VendorId == 0xffff && Func == 0) { in ShellCommandRunPci()
2654 if (PciHeader.VendorId != 0xffff) { in ShellCommandRunPci()
2665 sizeof (PciHeader) / sizeof (UINT32), in ShellCommandRunPci()
2666 &PciHeader in ShellCommandRunPci()
2677 PciPrintClassCode (PciHeader.ClassCode, FALSE); in ShellCommandRunPci()
2680 PciHeader.VendorId, in ShellCommandRunPci()
2681 PciHeader.DeviceId, in ShellCommandRunPci()
2682 PciHeader.ClassCode[0] in ShellCommandRunPci()
[all …]
/device/linaro/bootloader/edk2/EdkShellPkg/
DShellR33.patch5774 if (PciHeader.VendorId != 0xffff) {
5792 PciPrintClassCode (PciHeader.ClassCode, FALSE);
5797 PciHeader.VendorId,
5798 PciHeader.DeviceId,
5799 PciHeader.ClassCode[0]