Lines Matching refs:PciDevice
372 @param PciDevice Pci device instance.
381 IN PCI_IO_DEVICE *PciDevice,
401 RomSize = PciDevice->RomSize;
416 if (IS_PCI_BRIDGE (&(PciDevice->Pci))) {
445 RomDecode (PciDevice, RomBarIndex, RomBar, TRUE);
453 PciDevice->PciRootBridgeIo->Mem.Read (
454 PciDevice->PciRootBridgeIo,
482 PciDevice->PciRootBridgeIo->Mem.Read (
483 PciDevice->PciRootBridgeIo,
519 RomDecode (PciDevice, RomBarIndex, RomBar, FALSE);
528 PciDevice->PciRootBridgeIo->Mem.Read (
529 PciDevice->PciRootBridgeIo,
538 RomDecode (PciDevice, RomBarIndex, RomBar, FALSE);
540 PciDevice->EmbeddedRom = TRUE;
541 PciDevice->PciIo.RomSize = RomImageSize;
542 PciDevice->PciIo.RomImage = RomInMemory;
550 PciDevice->PciRootBridgeIo->SegmentNumber,
551 PciDevice->BusNumber,
552 PciDevice->DeviceNumber,
553 PciDevice->FunctionNumber,
554 (UINT64) (UINTN) PciDevice->PciIo.RomImage,
555 PciDevice->PciIo.RomSize
570 @param PciDevice Pci device instance.
579 IN PCI_IO_DEVICE *PciDevice,
590 PciIo = &PciDevice->PciIo;
596 if (IS_PCI_BRIDGE(&PciDevice->Pci)) {
620 ProgrameUpstreamBridgeForRom(PciDevice, RomBar, TRUE);
625 PCI_ENABLE_COMMAND_REGISTER(PciDevice, EFI_PCI_COMMAND_MEMORY_SPACE);
632 PCI_DISABLE_COMMAND_REGISTER(PciDevice, EFI_PCI_COMMAND_MEMORY_SPACE);
637 ProgrameUpstreamBridgeForRom(PciDevice, RomBar, FALSE);
657 @param PciDevice Pci device instance.
665 IN PCI_IO_DEVICE *PciDevice
687 RomBar = PciDevice->PciIo.RomImage;
738 PciOptionRomImageDevicePath = AppendDevicePathNode (PciDevice->DevicePath, &EfiOpRomImageNode.Header);
762 AddDriver (PciDevice, ImageHandle);
765 PciDevice->PciRootBridgeIo->SegmentNumber,
766 PciDevice->BusNumber,
767 PciDevice->DeviceNumber,
768 PciDevice->FunctionNumber,
769 (UINT64) (UINTN) PciDevice->PciIo.RomImage,
770 PciDevice->PciIo.RomSize
779 } while (((Indicator & 0x80) == 0x00) && ((UINTN) (RomBarOffset - (UINT8 *) RomBar) < PciDevice->RomSize));