HomeSort by relevance Sort by last modified time
    Searched refs:Pci (Results 1 - 25 of 243) sorted by null

1 2 3 4 5 6 7 8 910

  /device/linaro/bootloader/edk2/OvmfPkg/Library/PciHostBridgeLib/
XenSupport.c 2 Scan the entire PCI bus for root bridges to support OVMF above Xen.
17 #include <IndustryStandard/Pci.h>
184 PCI_TYPE01 Pci;
198 // After scanning all the PCI devices on the PCI root bridge's primary bus,
199 // update the Primary Bus Number for the next PCI root bridge to be this PCI
208 // Scan all the PCI devices on the primary bus of the PCI root bridge
215 // Compute the PCI configuration address of the PCI device to probe
    [all...]
  /device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/
PciCommand.c 18 PCI Bus Driver
50 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 (
    [all...]
PciPowerManagement.c 18 PCI Bus Driver
37 PCI Power Management.
71 Status = PciIoDevice->PciIo.Pci.Read (
91 Status = PciIoDevice->PciIo.Pci.Write (
PciEnumeratorSupport.c 19 PCI Bus Driver
40 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,
126 This routine is used to check whether the pci device is present
140 // Create PCI address map in terms of Bus, Device and Func
147 Status = PciRootBridgeIo->Pci.Read (
    [all...]
PciEnumeratorSupport.h 18 PCI Bus Driver
55 PCI_TYPE00 *Pci,
  /device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/PciHostBridgeLib/
PciHostBridgeSupport.c 2 Scan the entire PCI bus for root bridges to support coreboot UEFI payload.
17 #include <IndustryStandard/Pci.h>
28 Adjust the collected PCI resource.
112 @param[in] Address PCI address for the BAR.
149 Parse PCI bar and collect the assigned PCI resouce information.
153 @param[in] Bus PCI bus number.
155 @param[in] Device PCI device number.
157 @param[in] Function PCI function number.
159 @param[in] BarOffsetBase PCI bar start offset.
    [all...]
  /device/linaro/bootloader/edk2/QuarkPlatformPkg/Pci/Dxe/PciHostBridge/
PciHostBridgeSupport.c 2 Do platform initialization for PCI bridge.
31 This function is called for all the PCI controllers that the PCI
36 RootBridgeHandle -- The PCI Root Bridge handle
37 PciBusAddress -- Address of the controller on the PCI bus
72 mPciRootBridgeIo->Pci.Read (
81 // PCI-x cards come up with a default latency of 0x40. Don't touch them.
85 mPciRootBridgeIo->Pci.Write (
99 mPciRootBridgeIo->Pci.Write (
138 // PCI Root Bridge does not support separate windows for Non-prefetchable
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
PciCommand.c 2 PCI command register operations supporting functions implementation for PCI Bus module.
18 Operate the PCI register via PciIo function interface.
22 @param Offset The address within the PCI configuration space for the PCI controller.
24 @param PtrCommand Return buffer holding old PCI command, if operation is not EFI_SET_REGISTER.
46 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.
    [all...]
PciPowerManagement.c 2 Power management support fucntions implementation for PCI Bus module.
20 PCI Power Management.
22 @param PciIoDevice PCI device instance.
24 @retval EFI_UNSUPPORTED PCI Device does not support power management.
57 Status = PciIoDevice->PciIo.Pci.Read (
78 Status = PciIoDevice->PciIo.Pci.Write (
PciEnumeratorSupport.c 2 PCI emumeration support functions implementation for PCI Bus module.
21 This routine is used to check whether the pci device is present.
24 @param Pci Output buffer for PCI device configuration space.
25 @param Bus PCI bus NO.
26 @param Device PCI device NO.
27 @param Func PCI Func NO.
29 @retval EFI_NOT_FOUND PCI device not present.
30 @retval EFI_SUCCESS PCI device is found.
    [all...]
PciEnumeratorSupport.h 2 PCI emumeration support functions declaration for PCI Bus module.
19 This routine is used to check whether the pci device is present.
22 @param Pci Output buffer for PCI device configuration space.
23 @param Bus PCI bus NO.
24 @param Device PCI device NO.
25 @param Func PCI Func NO.
27 @retval EFI_NOT_FOUND PCI device not present.
28 @retval EFI_SUCCESS PCI device is found.
    [all...]
PciResourceSupport.c 2 PCI resouces support functions implemntation for PCI Bus module.
18 // The default policy for the PCI bus driver is NOT to reserve I/O ranges for both ISA aliases and VGA aliases.
95 @param Bridge PCI resource node for bridge.
140 prefetchable memory decoding, the PCI bus driver will choose to call this function
185 @param Bridge PCI resource node for bridge.
270 if (!IS_PCI_BRIDGE (&(Node->PciDev->Pci)) && !IS_CARDBUS_BRIDGE (&(Node->PciDev->Pci))) {
338 @param Bridge PCI resouce node for given bridge device.
441 Get IO/Memory resource infor for given PCI device.
    [all...]
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformDxe/
PciDevice.c 82 // Register for callback to PCI I/O protocol
132 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 (
    [all...]
  /device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
HwDebug.c 131 // Strings for PCI Class code [2]
160 PCI Dump
162 Argv[0] - "pci"
182 EFI_PCI_IO_PROTOCOL *Pci;
211 AsciiPrint ("No PCI devices found in the system\n");
216 // Dump all PCI devices
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);
    [all...]
  /device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/Ia32/
PcatIo.c 17 EFI PC AT PCI Root Bridge Io Protocol
94 PCI_CONFIG_ACCESS_CF8 Pci;
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;
158 // PCI Config access are all 32-bit alligned, but by accessing the
    [all...]
  /device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/X64/
PcatIo.c 17 EFI PC AT PCI Root Bridge Io Protocol
94 PCI_CONFIG_ACCESS_CF8 Pci;
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;
158 // PCI Config access are all 32-bit alligned, but by accessing the
    [all...]
  /device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/PlatformBootManagerLib/
PlatformConsole.h 18 #include <IndustryStandard/Pci.h>
53 @param[in] Handle - Handle of PCI device instance
54 @param[in] PciIo - PCI IO protocol instance
55 @param[in] Pci - PCI Header register block
62 IN PCI_TYPE00 *Pci
PlatformConsole.c 159 @param[in] PciDevicePath - Device path for the PCI graphics device.
162 @retval EFI_SUCCESS - PCI VGA is added to ConOut.
251 // Delete the PCI device's path that added by GetPlugInPciVgaDevicePath()
265 Add PCI VGA to ConOut, ConIn, ErrOut.
269 @retval EFI_SUCCESS - PCI VGA is added to ConOut.
270 @retval EFI_STATUS - No PCI VGA device is added.
301 Add PCI Serial to ConOut, ConIn, ErrOut.
305 @retval EFI_SUCCESS - PCI Serial is added to ConOut, ConIn, and ErrOut.
306 @retval EFI_STATUS - No PCI Serial device is added.
339 For every PCI instance execute a callback function.
    [all...]
  /device/linaro/bootloader/edk2/OvmfPkg/VirtioPciDeviceDxe/
VirtioPciDevice.c 3 This driver produces Virtio Device Protocol instances for Virtio PCI devices.
19 #include <IndustryStandard/Pci.h>
50 Region 0 must be an iomem region. This is an internal function for the PCI
53 @param[in] Dev Virtio PCI device.
98 // The 64bit PCI I/O is broken down into two 32bit reads to prevent
135 Region 0 must be an iomem region. This is an internal function for the PCI
138 @param[in] Dev Virtio PCI device.
178 // The 64bit PCI I/O is broken down into two 32bit writes to prevent
229 @retval EFI_UNSUPPORTED Based on virtio-pci discovery, we do not support
247 PCI_TYPE00 Pci;
    [all...]
  /device/linaro/bootloader/edk2/OvmfPkg/XenIoPciDxe/
XenIoPciDxe.c 3 Driver for the virtual Xen PCI device
21 #include <IndustryStandard/Pci.h>
69 PCI_TYPE00 Pci;
73 // the protocol is "instantiated" for the PCI device. Covers duplicate open
78 &gEfiPciIoProtocolGuid, // for generic PCI access
91 // Read entire PCI configuration header for more extensive check ahead.
93 Status = PciIo->Pci.Read (
99 sizeof Pci / sizeof (UINT32), // Count
100 &Pci // target buffer
104 if ((Pci.Hdr.VendorId == PCI_VENDOR_ID_XEN) &&
    [all...]
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Wpce791/
LpcDriver.c 40 // This driver is for ACPI(PNP0A03,0)/PCI(0x1f,0)
109 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) {
191 // See if this is a standard PCI to ISA Bridge from the Base Code
194 if (Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA) {
200 // See if this is an Intel PCI to ISA bridge in Positive Decode Mode
    [all...]
  /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/
VgaMiniPort.c 93 PCI_TYPE00 Pci;
110 // See if this is a PCI VGA Controller by looking at the Command register and
113 Status = PciIo->Pci.Read (
117 sizeof (Pci) / sizeof (UINT32),
118 &Pci
129 if (((Pci.Hdr.Command & 0x03) == 0x03) && IS_PCI_VGA (&Pci)) {
148 This function consumes PCI I/O Protocol, and installs VGA Mini Port Protocol
240 and closes PCI I/O Protocol.
  /device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/Smbios/AddSmbiosType9/
AddSmbiosType9.h 22 #include <IndustryStandard/Pci.h>
  /device/linaro/bootloader/edk2/PcAtChipsetPkg/IsaAcpiDxe/
PcatIsaAcpi.c 75 PCI_TYPE00 Pci;
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) {
108 // See if this is a standard PCI to ISA Bridge from the Base Code and Class Code
110 if (Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA) {
115 // See if this is an Intel PCI to ISA bridge in Positive Decode Mode
117 if (Pci.Hdr.ClassCode[1] == PCI_CLASS_BRIDGE_ISA_PDECODE &&
    [all...]
  /external/syslinux/gpxe/src/interface/efi/
efi_pci.c 22 #include <gpxe/pci.h>
28 * gPXE PCI I/O API for EFI
32 /** PCI root bridge I/O protocol */
36 static unsigned long efipci_address ( struct pci_device *pci,
38 return EFI_PCI_ADDRESS ( pci->bus, PCI_SLOT ( pci->devfn ),
39 PCI_FUNC ( pci->devfn ),
43 int efipci_read ( struct pci_device *pci, unsigned long location,
47 if ( ( efirc = efipci->Pci.Read ( efipci, EFIPCI_WIDTH ( location ),
48 efipci_address ( pci, location ), 1
    [all...]

Completed in 604 milliseconds

1 2 3 4 5 6 7 8 910