Lines Matching refs:PciHeader
231 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()
531 …IoDev->Pci.Write (IoDev, EfiPciWidthUint32, Address, sizeof(PciHeader)/sizeof(UINT32), &PciHeader); in CheckForRom()