Searched refs:Pci (Results 1 - 25 of 222) sorted by relevance

123456789

/device/linaro/bootloader/edk2/OvmfPkg/Library/PciHostBridgeLib/
H A DXenSupport.c17 #include <IndustryStandard/Pci.h>
184 PCI_TYPE01 Pci; local
241 PciReadBuffer (Address, sizeof (Pci), &Pci);
253 if ((Pci.Hdr.Command & EFI_PCI_COMMAND_VGA_PALETTE_SNOOP) != 0) {
263 if (IS_PCI_BRIDGE (&Pci)) {
267 if (Pci.Bridge.SubordinateBus > SubBus) {
273 SubBus = Pci.Bridge.SubordinateBus;
279 Value = Pci.Bridge.IoBase & 0x0f;
280 Base = ((UINT32) Pci
[all...]
/device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/
H A DPciCommand.c50 return PciIo->Pci.Read (
82 return PciIo->Pci.Write (
116 PciIo->Pci.Read (
126 return PciIo->Pci.Write (
160 PciIo->Pci.Read (
170 return PciIo->Pci.Write (
205 return PciIo->Pci.Write (
239 PciIo->Pci.Read (
249 return PciIo->Pci.Write (
282 PciIo->Pci
[all...]
H A DPciPowerManagement.c71 Status = PciIoDevice->PciIo.Pci.Read (
91 Status = PciIoDevice->PciIo.Pci.Write (
H A DPciEnumeratorSupport.c40 IN PCI_TYPE00 *Pci,
50 IN PCI_TYPE00 *Pci,
67 PCI_TYPE00 *Pci,
99 IN PCI_TYPE00 *Pci,
108 IN PCI_TYPE00 *Pci,
117 PCI_TYPE00 *Pci,
147 Status = PciRootBridgeIo->Pci.Read (
152 Pci
155 if (!EFI_ERROR (Status) && (Pci->Hdr).VendorId != 0xffff) {
161 Status = PciRootBridgeIo->Pci
115 PciDevicePresent( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *PciRootBridgeIo, PCI_TYPE00 *Pci, UINT8 Bus, UINT8 Device, UINT8 Func ) argument
193 PCI_TYPE00 Pci; local
286 PciSearchDevice( IN PCI_IO_DEVICE *Bridge, IN PCI_TYPE00 *Pci, IN UINT8 Bus, IN UINT8 Device, IN UINT8 Func, OUT PCI_IO_DEVICE **PciDevice ) argument
421 GatherDeviceInfo( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *PciRootBridgeIo, IN PCI_TYPE00 *Pci, UINT8 Bus, UINT8 Device, UINT8 Func ) argument
476 GatherPPBInfo( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *PciRootBridgeIo, IN PCI_TYPE00 *Pci, UINT8 Bus, UINT8 Device, UINT8 Func ) argument
576 GatherP2CInfo( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *PciRootBridgeIo, IN PCI_TYPE00 *Pci, UINT8 Bus, UINT8 Device, UINT8 Func ) argument
1127 CreatePciIoDevice( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *PciRootBridgeIo, IN PCI_TYPE00 *Pci, UINT8 Bus, UINT8 Device, UINT8 Func ) argument
[all...]
H A DPciEnumeratorSupport.h55 PCI_TYPE00 *Pci,
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/PciHostBridgeLib/
H A DPciHostBridgeSupport.c17 #include <IndustryStandard/Pci.h>
310 PCI_TYPE01 Pci; local
367 PciReadBuffer (Address, sizeof (Pci), &Pci);
379 if ((Pci.Hdr.Command & EFI_PCI_COMMAND_VGA_PALETTE_SNOOP) != 0) {
389 if (IS_PCI_BRIDGE (&Pci)) {
393 if (Pci.Bridge.SubordinateBus > SubBus) {
399 SubBus = Pci.Bridge.SubordinateBus;
405 Value = Pci.Bridge.IoBase & 0x0f;
406 Base = ((UINT32) Pci
[all...]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Pci/Dxe/PciHostBridge/
H A DPciHostBridgeSupport.c72 mPciRootBridgeIo->Pci.Read (
85 mPciRootBridgeIo->Pci.Write (
99 mPciRootBridgeIo->Pci.Write (
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
H A DPciCommand.c46 Status = PciIo->Pci.Read (
68 return PciIo->Pci.Write (
91 if ((PciIoDevice->Pci.Hdr.Status & EFI_PCI_STATUS_CAPABILITY) != 0) {
107 @retval EFI_UNSUPPORTED Pci device does not support capability.
108 @retval EFI_NOT_FOUND Pci device support but can not find register block.
135 if (IS_CARDBUS_BRIDGE (&PciIoDevice->Pci)) {
137 PciIoDevice->PciIo.Pci.Read (
146 PciIoDevice->PciIo.Pci.Read (
157 PciIoDevice->PciIo.Pci.Read (
199 @retval EFI_UNSUPPORTED Pci devic
[all...]
H A DPciPowerManagement.c57 Status = PciIoDevice->PciIo.Pci.Read (
78 Status = PciIoDevice->PciIo.Pci.Write (
H A DPciEnumeratorSupport.c24 @param Pci Output buffer for PCI device configuration space.
36 OUT PCI_TYPE00 *Pci,
53 Status = PciRootBridgeIo->Pci.Read (
58 Pci
61 if (!EFI_ERROR (Status) && (Pci->Hdr).VendorId != 0xffff) {
65 Status = PciRootBridgeIo->Pci.Read (
70 Pci
99 PCI_TYPE00 Pci; local
118 &Pci,
143 &Pci,
34 PciDevicePresent( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *PciRootBridgeIo, OUT PCI_TYPE00 *Pci, IN UINT8 Bus, IN UINT8 Device, IN UINT8 Func ) argument
220 PciSearchDevice( IN PCI_IO_DEVICE *Bridge, IN PCI_TYPE00 *Pci, IN UINT8 Bus, IN UINT8 Device, IN UINT8 Func, OUT PCI_IO_DEVICE **PciDevice ) argument
463 GatherDeviceInfo( IN PCI_IO_DEVICE *Bridge, IN PCI_TYPE00 *Pci, IN UINT8 Bus, IN UINT8 Device, IN UINT8 Func ) argument
533 GatherPpbInfo( IN PCI_IO_DEVICE *Bridge, IN PCI_TYPE00 *Pci, IN UINT8 Bus, IN UINT8 Device, IN UINT8 Func ) argument
694 GatherP2CInfo( IN PCI_IO_DEVICE *Bridge, IN PCI_TYPE00 *Pci, IN UINT8 Bus, IN UINT8 Device, IN UINT8 Func ) argument
2089 CreatePciIoDevice( IN PCI_IO_DEVICE *Bridge, IN PCI_TYPE00 *Pci, IN UINT8 Bus, IN UINT8 Device, IN UINT8 Func ) argument
2703 PCI_TYPE00 Pci; local
[all...]
H A DPciEnumeratorSupport.h22 @param Pci Output buffer for PCI device configuration space.
34 OUT PCI_TYPE00 *Pci,
63 @param Pci Input PCI device information block.
76 IN PCI_TYPE00 *Pci,
87 @param Pci Input PCI device information block.
98 IN PCI_TYPE00 *Pci,
108 @param Pci Input PCI device information block.
119 IN PCI_TYPE00 *Pci,
129 @param Pci Input PCI device information block.
140 IN PCI_TYPE00 *Pci,
[all...]
H A DPciResourceSupport.c270 if (!IS_PCI_BRIDGE (&(Node->PciDev->Pci)) && !IS_CARDBUS_BRIDGE (&(Node->PciDev->Pci))) {
443 @param PciDev Pci device instance.
675 @param PciDev Pci device instance.
722 @param PciDev Pci device instance.
759 @param Bridge Pci device instance.
806 if (IS_PCI_BRIDGE (&Temp->Pci)) {
949 if (IS_CARDBUS_BRIDGE (&Temp->Pci)) {
999 @param PciDev Pci device instance.
1039 @param Bridge Pci devic
[all...]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformDxe/
H A DPciDevice.c132 PciIo->Pci.Read (
143 PciIo->Pci.Write (
150 PciIo->Pci.Read (
186 PciIo->Pci.Write (
203 PciIo->Pci.Read (
212 PciIo->Pci.Write (
241 PciIo->Pci.Write (
263 PciIo->Pci.Read (
277 PciIo->Pci.Write (
294 PciIo->Pci
[all...]
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
H A DHwDebug.c182 EFI_PCI_IO_PROTOCOL *Pci; local
221 Status = gBS->HandleProtocol (HandleBuffer[Index], &gEfiPciIoProtocolGuid, (VOID **)&Pci);
223 Pci->GetLocation (Pci, &Seg, &Bus, &Dev, &Func);
228 Status = Pci->Pci.Read (Pci, EfiPciIoWidthUint32, 0, sizeof (PciHeader)/sizeof (UINT32), &PciHeader);
257 Status = gBS->HandleProtocol (HandleBuffer[Index], &gEfiPciIoProtocolGuid, (VOID **)&Pci);
259 Pci->GetLocation (Pci,
[all...]
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/
H A DPcatIo.c94 PCI_CONFIG_ACCESS_CF8 Pci; local
141 Pci.Bits.Reg = PciAddress.ExtendedRegister & 0xFF;
143 Pci.Bits.Reg = PciAddress.Register;
151 Pci.Bits.Func = PciAddress.Function;
152 Pci.Bits.Dev = PciAddress.Device;
153 Pci.Bits.Bus = PciAddress.Bus;
154 Pci.Bits.Reserved = 0;
155 Pci.Bits.Enable = 1;
165 PciDataStride = Pci.Bits.Reg & 0x03;
168 PciAligned = Pci;
[all...]
/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/X64/
H A DPcatIo.c94 PCI_CONFIG_ACCESS_CF8 Pci; local
141 Pci.Bits.Reg = PciAddress.ExtendedRegister & 0xFF;
143 Pci.Bits.Reg = PciAddress.Register;
151 Pci.Bits.Func = PciAddress.Function;
152 Pci.Bits.Dev = PciAddress.Device;
153 Pci.Bits.Bus = PciAddress.Bus;
154 Pci.Bits.Reserved = 0;
155 Pci.Bits.Enable = 1;
165 PciDataStride = Pci.Bits.Reg & 0x03;
168 PciAligned = Pci;
[all...]
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/PlatformBootManagerLib/
H A DPlatformConsole.h18 #include <IndustryStandard/Pci.h>
55 @param[in] Pci - PCI Header register block
62 IN PCI_TYPE00 *Pci
H A DPlatformConsole.c417 PCI_TYPE00 Pci; local
424 Status = PciIo->Pci.Read (
428 sizeof (Pci) / sizeof (UINT32),
429 &Pci
438 &Pci
472 @param[in] Pci - PCI Header register block
483 IN PCI_TYPE00 *Pci
500 if ((IS_PCI_LPC (Pci)) ||
501 ((IS_PCI_ISA_PDECODE (Pci)) &&
502 (Pci
[all...]
/device/linaro/bootloader/edk2/OvmfPkg/VirtioPciDeviceDxe/
H A DVirtioPciDevice.c19 #include <IndustryStandard/Pci.h>
247 PCI_TYPE00 Pci; local
271 Status = PciIo->Pci.Read (
277 sizeof Pci / sizeof (UINT32), // Count
278 &Pci // target buffer
285 if ((Pci.Hdr.VendorId == VIRTIO_VENDOR_ID) &&
286 (Pci.Hdr.DeviceId >= 0x1000) &&
287 (Pci.Hdr.DeviceId <= 0x103F) &&
288 (Pci.Hdr.RevisionID == 0x00)) {
318 @return Error codes from PciIo->Pci
330 PCI_TYPE00 Pci; local
[all...]
/device/linaro/bootloader/edk2/OvmfPkg/XenIoPciDxe/
H A DXenIoPciDxe.c21 #include <IndustryStandard/Pci.h>
69 PCI_TYPE00 Pci; local
93 Status = PciIo->Pci.Read (
99 sizeof Pci / sizeof (UINT32), // Count
100 &Pci // target buffer
104 if ((Pci.Hdr.VendorId == PCI_VENDOR_ID_XEN) &&
105 (Pci.Hdr.DeviceId == PCI_DEVICE_ID_XEN_PLATFORM)) {
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Wpce791/
H A DLpcDriver.c109 PCI_TYPE00 Pci;
178 Status = PciIo->Pci.Read (
182 sizeof(Pci) / sizeof(UINT32),
183 &Pci
188 if ((Pci.Hdr.Command & 0x03) == 0x03) {
189 if (Pci.Hdr.ClassCode[2] == PCI_CLASS_BRIDGE) {
194 if (Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA) {
202 if (Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA_PDECODE &&
203 Pci.Hdr.VendorId == 0x8086 &&
204 Pci
100 PCI_TYPE00 Pci; local
[all...]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/
H A DVgaMiniPort.c93 PCI_TYPE00 Pci; local
113 Status = PciIo->Pci.Read (
117 sizeof (Pci) / sizeof (UINT32),
118 &Pci
129 if (((Pci.Hdr.Command & 0x03) == 0x03) && IS_PCI_VGA (&Pci)) {
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/Smbios/AddSmbiosType9/
H A DAddSmbiosType9.h22 #include <IndustryStandard/Pci.h>
/device/linaro/bootloader/edk2/PcAtChipsetPkg/IsaAcpiDxe/
H A DPcatIsaAcpi.c75 PCI_TYPE00 Pci; local
96 Status = PciIo->Pci.Read (
100 sizeof(Pci) / sizeof(UINT32),
101 &Pci);
105 if ((Pci.Hdr.Command & 0x03) == 0x03) {
106 if (Pci.Hdr.ClassCode[2] == PCI_CLASS_BRIDGE) {
110 if (Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA) {
117 if (Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA_PDECODE &&
118 Pci.Hdr.VendorId == 0x8086 ) {
/device/linaro/bootloader/edk2/OvmfPkg/Virtio10Dxe/
H A DVirtio10.c15 #include <IndustryStandard/Pci.h>
205 @return Error codes from PciIo->Pci.Read().
218 Status = PciIo->Pci.Read (PciIo, EfiPciIoWidthUint8, *Offset, Size, Buffer);
810 PCI_TYPE00 Pci; local
819 Status = PciIo->Pci.Read (PciIo, EfiPciIoWidthUint32, 0,
820 sizeof Pci / sizeof (UINT32), &Pci);
830 if (Pci.Hdr.VendorId == VIRTIO_VENDOR_ID &&
831 Pci.Hdr.DeviceId >= 0x1040 &&
832 Pci
871 PCI_TYPE00 Pci; local
[all...]

Completed in 230 milliseconds

123456789