Lines Matching refs:IoDev
215 EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *IoDev, in ScanPciBus() argument
254 IoDev->Pci.Read (IoDev, EfiPciWidthUint16, Address, 1, &PciHeader.Hdr.VendorId); in ScanPciBus()
272 IoDev->Pci.Read (IoDev, EfiPciWidthUint8, Address + 0x0e, 1, &PciHeader.Hdr.HeaderType); in ScanPciBus()
278 IoDev, in ScanPciBus()
303 EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *IoDev, in CheckForRom() argument
338 IoDev->Pci.Read (IoDev, EfiPciWidthUint32, Address, sizeof(PciHeader)/sizeof(UINT32), &PciHeader); in CheckForRom()
353 IoDev->Pci.Write (IoDev, EfiPciWidthUint16, Address + 0x26, 1, &Register); in CheckForRom()
354 IoDev->Pci.Write (IoDev, EfiPciWidthUint32, Address + 0x2c, 1, &Register); in CheckForRom()
356 IoDev->Pci.Write (IoDev, EfiPciWidthUint16, Address + 0x24, 1, &Register); in CheckForRom()
357 IoDev->Pci.Write (IoDev, EfiPciWidthUint16, Address + 0x28, 1, &Register); in CheckForRom()
362 IoDev->Pci.Write (IoDev, EfiPciWidthUint16, Address + 0x20, 4, &Context->PpbMemoryWindow); in CheckForRom()
367 IoDev->Pci.Read (IoDev, EfiPciWidthUint16, Address + 4, 1, &Register); in CheckForRom()
369 IoDev->Pci.Write (IoDev, EfiPciWidthUint16, Address + 4, 1, &Register); in CheckForRom()
375 IoDev, in CheckForRom()
388 IoDev->Pci.Write (IoDev, EfiPciWidthUint32, Address + 0x30, 1, &RomBar); in CheckForRom()
389 IoDev->Pci.Read (IoDev, EfiPciWidthUint32, Address + 0x30, 1, &RomBar); in CheckForRom()
406 IoDev->Pci.Write (IoDev, EfiPciWidthUint32, Address + 0x30, 1, &RomBar); in CheckForRom()
407 IoDev->Pci.Read (IoDev, EfiPciWidthUint32, Address + 0x30, 1, &RomBar); in CheckForRom()
413 IoDev->Pci.Read (IoDev, EfiPciWidthUint16, Address + 4, 1, &Register); in CheckForRom()
415 IoDev->Pci.Write (IoDev, EfiPciWidthUint16, Address + 4, 1, &Register); in CheckForRom()
429 IoDev->Mem.Read ( in CheckForRom()
430 IoDev, in CheckForRom()
444 IoDev->Mem.Read ( in CheckForRom()
445 IoDev, in CheckForRom()
483 …IoDev->Mem.Read (IoDev, EfiPciWidthUint32, RomBar, RomBarSize / sizeof(UINT32), (VOID *)(UINTN)Rom… in CheckForRom()
507 TempPciOptionRomDescriptors->Seg = (UINT32)IoDev->SegmentNumber; in CheckForRom()
521 IoDev->Pci.Read (IoDev, EfiPciWidthUint16, Address + 4, 1, &Register); in CheckForRom()
523 IoDev->Pci.Write (IoDev, EfiPciWidthUint16, Address + 4, 1, &Register); in CheckForRom()
531 …IoDev->Pci.Write (IoDev, EfiPciWidthUint32, Address, sizeof(PciHeader)/sizeof(UINT32), &PciHeader); in CheckForRom()
536 EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *IoDev, in SaveCommandRegister() argument
561 IoDev->Pci.Read (IoDev, EfiPciWidthUint16, Address, 1, &Context->CommandRegisterBuffer[Index]); in SaveCommandRegister()
568 IoDev->Pci.Write (IoDev, EfiPciWidthUint16, Address, 1, &Command); in SaveCommandRegister()
573 EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *IoDev, in RestoreCommandRegister() argument
597 IoDev->Pci.Write (IoDev, EfiPciWidthUint16, Address, 1, &Context->CommandRegisterBuffer[Index]); in RestoreCommandRegister()
602 EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *IoDev in ScanPciRootBridgeForRoms() argument
619 Status = IoDev->Configuration(IoDev, (VOID **)&Descriptors); in ScanPciRootBridgeForRoms()
703 IoDev, in ScanPciRootBridgeForRoms()
714 IoDev, in ScanPciRootBridgeForRoms()
725 IoDev, in ScanPciRootBridgeForRoms()