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/ShellPkg/Library/UefiShellDebug1CommandsLib/
DPci.c2453 PCI_COMMON_HEADER PciHeader; in ShellCommandRunPci() local
2638 &PciHeader.VendorId in ShellCommandRunPci()
2648 if (PciHeader.VendorId == 0xffff && Func == 0) { in ShellCommandRunPci()
2652 if (PciHeader.VendorId != 0xffff) { in ShellCommandRunPci()
2663 sizeof (PciHeader) / sizeof (UINT32), in ShellCommandRunPci()
2664 &PciHeader in ShellCommandRunPci()
2675 PciPrintClassCode (PciHeader.ClassCode, FALSE); in ShellCommandRunPci()
2678 PciHeader.VendorId, in ShellCommandRunPci()
2679 PciHeader.DeviceId, in ShellCommandRunPci()
2680 PciHeader.ClassCode[0] in ShellCommandRunPci()
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/Library/PlatformBdsLib/
DBdsPlatform.c921 IN PCI_TYPE00 *PciHeader in ConnectRecursivelyIfPciMassStorage() argument
928 if (IS_CLASS1 (PciHeader, PCI_CLASS_MASS_STORAGE)) { in ConnectRecursivelyIfPciMassStorage()
/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]