Lines Matching refs:Func
151 Pci.Bits.Func = PciAddress.Function; in PcatRootBridgeIoPciRW()
229 UINT16 Func; in ScanPciBus() local
244 for (Func = MinFunc; Func <= MaxFunc; Func++) { in ScanPciBus()
249 Address = EFI_PCI_ADDRESS (Bus, Device, Func, 0); in ScanPciBus()
263 if (PciHeader.Hdr.VendorId == 0xffff && Func == 0) { in ScanPciBus()
284 Func, in ScanPciBus()
292 if ((PciHeader.Hdr.HeaderType & HEADER_TYPE_MULTI_FUNCTION) == 0x00 && Func == 0) { in ScanPciBus()
312 UINT16 Func, in CheckForRom() argument
333 Address = EFI_PCI_ADDRESS (Bus, Device, Func, 0); in CheckForRom()
510 TempPciOptionRomDescriptors->Func = (UINT8)Func; in CheckForRom()
545 UINT16 Func, in SaveCommandRegister() argument
557 Address = EFI_PCI_ADDRESS (Bus, Device, Func, 4); in SaveCommandRegister()
559 Index = (Bus - MinBus) * (PCI_MAX_DEVICE+1) * (PCI_MAX_FUNC+1) + Device * (PCI_MAX_FUNC+1) + Func; in SaveCommandRegister()
582 UINT16 Func, in RestoreCommandRegister() argument
593 Address = EFI_PCI_ADDRESS (Bus, Device, Func, 4); in RestoreCommandRegister()
595 Index = (Bus - MinBus) * (PCI_MAX_DEVICE+1) * (PCI_MAX_FUNC+1) + Device * (PCI_MAX_FUNC+1) + Func; in RestoreCommandRegister()