Lines Matching refs:Pci
218 Status = PciIo->Pci.Read (PciIo, EfiPciIoWidthUint8, *Offset, Size, Buffer); in ReadConfigSpace()
810 PCI_TYPE00 Pci; in Virtio10BindingSupported() local
819 Status = PciIo->Pci.Read (PciIo, EfiPciIoWidthUint32, 0, in Virtio10BindingSupported()
820 sizeof Pci / sizeof (UINT32), &Pci); in Virtio10BindingSupported()
830 if (Pci.Hdr.VendorId == VIRTIO_VENDOR_ID && in Virtio10BindingSupported()
831 Pci.Hdr.DeviceId >= 0x1040 && in Virtio10BindingSupported()
832 Pci.Hdr.DeviceId <= 0x107F && in Virtio10BindingSupported()
833 Pci.Hdr.RevisionID >= 0x01 && in Virtio10BindingSupported()
834 Pci.Device.SubsystemID >= 0x40 && in Virtio10BindingSupported()
835 (Pci.Hdr.Status & EFI_PCI_STATUS_CAPABILITY) != 0) { in Virtio10BindingSupported()
847 if (Pci.Hdr.DeviceId != 0x1050 || !IS_PCI_VGA (&Pci)) { in Virtio10BindingSupported()
871 PCI_TYPE00 Pci; in Virtio10BindingStart() local
889 Status = Device->PciIo->Pci.Read (Device->PciIo, EfiPciIoWidthUint32, 0, in Virtio10BindingStart()
890 sizeof Pci / sizeof (UINT32), &Pci); in Virtio10BindingStart()
895 Device->VirtIo.SubSystemDeviceId = Pci.Hdr.DeviceId - 0x1040; in Virtio10BindingStart()
897 Status = ParseCapabilities (Device, Pci.Device.CapabilityPtr); in Virtio10BindingStart()