TianoCore EDK2 master
Loading...
Searching...
No Matches
PciEnumeratorSupport.h
Go to the documentation of this file.
1
9#ifndef _EFI_PCI_ENUMERATOR_SUPPORT_H_
10#define _EFI_PCI_ENUMERATOR_SUPPORT_H_
11
27 IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *PciRootBridgeIo,
28 OUT PCI_TYPE00 *Pci,
29 IN UINT8 Bus,
30 IN UINT8 Device,
31 IN UINT8 Func
32 );
33
49 IN PCI_IO_DEVICE *Bridge,
50 IN UINT8 StartBusNumber
51 );
52
69 IN PCI_IO_DEVICE *Bridge,
70 IN PCI_TYPE00 *Pci,
71 IN UINT8 Bus,
72 IN UINT8 Device,
73 IN UINT8 Func,
74 OUT PCI_IO_DEVICE **PciDevice
75 );
76
91 IN PCI_IO_DEVICE *Bridge,
92 IN PCI_TYPE00 *Pci,
93 IN UINT8 Bus,
94 IN UINT8 Device,
95 IN UINT8 Func
96 );
97
112 IN PCI_IO_DEVICE *Bridge,
113 IN PCI_TYPE00 *Pci,
114 IN UINT8 Bus,
115 IN UINT8 Device,
116 IN UINT8 Func
117 );
118
133 IN PCI_IO_DEVICE *Bridge,
134 IN PCI_TYPE00 *Pci,
135 IN UINT8 Bus,
136 IN UINT8 Device,
137 IN UINT8 Func
138 );
139
151 IN EFI_DEVICE_PATH_PROTOCOL *ParentDevicePath,
152 IN PCI_IO_DEVICE *PciIoDevice
153 );
154
169 IN PCI_IO_DEVICE *PciIoDevice,
170 IN UINTN Offset,
171 OUT UINT32 *BarLengthValue,
172 OUT UINT32 *OriginalBarValue
173 );
174
189 IN PCI_IO_DEVICE *PciIoDevice,
190 IN UINTN Offset,
191 OUT UINT32 *BarLengthValue,
192 OUT UINT32 *OriginalBarValue
193 );
194
207VOID
209 IN PCI_IO_DEVICE *PciIoDevice,
210 IN OUT UINT16 *Command,
211 IN OUT UINT16 *BridgeControl,
212 OUT UINT16 *OldCommand,
213 OUT UINT16 *OldBridgeControl
214 );
215
225VOID
227 IN PCI_IO_DEVICE *PciIoDevice,
228 IN UINT16 Command,
229 IN UINT16 BridgeControl,
230 IN UINTN Option
231 );
232
245 IN PCI_IO_DEVICE *PciIoDevice,
246 IN UINT8 StatusIndex
247 );
248
257 IN PCI_IO_DEVICE *PciIoDevice
258 );
259
273 IN OUT PCI_IO_DEVICE *PciIoDevice,
274 OUT BOOLEAN *IgnoreOptionRom
275 );
276
284VOID
286 IN OUT UINT64 *Alignment,
287 IN UINT64 NewAlignment
288 );
289
300UINTN
302 IN PCI_IO_DEVICE *PciIoDevice,
303 IN UINTN Offset,
304 IN UINTN BarIndex
305 );
306
317UINTN
319 IN PCI_IO_DEVICE *PciIoDevice,
320 IN UINTN Offset,
321 IN UINTN BarIndex
322 );
323
332VOID
334 IN PCI_IO_DEVICE *PciIoDevice
335 );
336
343VOID
345 IN PCI_IO_DEVICE *PciIoDevice
346 );
347
354VOID
356 IN PCI_IO_DEVICE *PciIoDevice
357 );
358
374 IN PCI_IO_DEVICE *Bridge,
375 IN PCI_TYPE00 *Pci,
376 IN UINT8 Bus,
377 IN UINT8 Device,
378 IN UINT8 Func
379 );
380
395 IN EFI_HANDLE Controller
396 );
397
413 OUT UINT16 *MinBus,
414 OUT UINT16 *MaxBus,
415 OUT UINT16 *BusRange
416 );
417
429 IN PCI_IO_DEVICE *RootBridgeDev
430 );
431
441BOOLEAN
443 IN PCI_IO_DEVICE *PciIoDevice
444 );
445
453VOID
455 IN PCI_IO_DEVICE *Bridge,
456 IN UINT8 StartBusNumber
457 );
458
466VOID
468 IN PCI_IO_DEVICE *PciIoDevice,
469 IN PCI_BAR_TYPE ResourceType
470 );
471
477VOID
479 IN PCI_IO_DEVICE *PciIoDevice
480 );
481
482#endif
UINT64 UINTN
PACKED struct @89 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS PciPciDeviceInfoCollector(IN PCI_IO_DEVICE *Bridge, IN UINT8 StartBusNumber)
EFI_STATUS StartManagingRootBridge(IN PCI_IO_DEVICE *RootBridgeDev)
VOID DumpPpbPaddingResource(IN PCI_IO_DEVICE *PciIoDevice, IN PCI_BAR_TYPE ResourceType)
PCI_IO_DEVICE * GatherP2CInfo(IN PCI_IO_DEVICE *Bridge, IN PCI_TYPE00 *Pci, IN UINT8 Bus, IN UINT8 Device, IN UINT8 Func)
EFI_STATUS PciDevicePresent(IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *PciRootBridgeIo, OUT PCI_TYPE00 *Pci, IN UINT8 Bus, IN UINT8 Device, IN UINT8 Func)
VOID InitializeP2C(IN PCI_IO_DEVICE *PciIoDevice)
PCI_IO_DEVICE * GatherPpbInfo(IN PCI_IO_DEVICE *Bridge, IN PCI_TYPE00 *Pci, IN UINT8 Bus, IN UINT8 Device, IN UINT8 Func)
UINTN PciIovParseVfBar(IN PCI_IO_DEVICE *PciIoDevice, IN UINTN Offset, IN UINTN BarIndex)
EFI_STATUS PciSearchDevice(IN PCI_IO_DEVICE *Bridge, IN PCI_TYPE00 *Pci, IN UINT8 Bus, IN UINT8 Device, IN UINT8 Func, OUT PCI_IO_DEVICE **PciDevice)
EFI_STATUS DetermineDeviceAttribute(IN PCI_IO_DEVICE *PciIoDevice)
EFI_STATUS VfBarExisted(IN PCI_IO_DEVICE *PciIoDevice, IN UINTN Offset, OUT UINT32 *BarLengthValue, OUT UINT32 *OriginalBarValue)
EFI_STATUS BarExisted(IN PCI_IO_DEVICE *PciIoDevice, IN UINTN Offset, OUT UINT32 *BarLengthValue, OUT UINT32 *OriginalBarValue)
VOID DumpPciBars(IN PCI_IO_DEVICE *PciIoDevice)
VOID InitializePciDevice(IN PCI_IO_DEVICE *PciIoDevice)
VOID ResetAllPpbBusNumber(IN PCI_IO_DEVICE *Bridge, IN UINT8 StartBusNumber)
UINTN PciParseBar(IN PCI_IO_DEVICE *PciIoDevice, IN UINTN Offset, IN UINTN BarIndex)
PCI_IO_DEVICE * GatherDeviceInfo(IN PCI_IO_DEVICE *Bridge, IN PCI_TYPE00 *Pci, IN UINT8 Bus, IN UINT8 Device, IN UINT8 Func)
EFI_STATUS UpdatePciInfo(IN OUT PCI_IO_DEVICE *PciIoDevice, OUT BOOLEAN *IgnoreOptionRom)
EFI_DEVICE_PATH_PROTOCOL * CreatePciDevicePath(IN EFI_DEVICE_PATH_PROTOCOL *ParentDevicePath, IN PCI_IO_DEVICE *PciIoDevice)
VOID PciSetDeviceAttribute(IN PCI_IO_DEVICE *PciIoDevice, IN UINT16 Command, IN UINT16 BridgeControl, IN UINTN Option)
EFI_STATUS GetFastBackToBackSupport(IN PCI_IO_DEVICE *PciIoDevice, IN UINT8 StatusIndex)
PCI_IO_DEVICE * CreatePciIoDevice(IN PCI_IO_DEVICE *Bridge, IN PCI_TYPE00 *Pci, IN UINT8 Bus, IN UINT8 Device, IN UINT8 Func)
VOID SetNewAlign(IN OUT UINT64 *Alignment, IN UINT64 NewAlignment)
VOID InitializePpb(IN PCI_IO_DEVICE *PciIoDevice)
EFI_STATUS PciEnumeratorLight(IN EFI_HANDLE Controller)
BOOLEAN IsPciDeviceRejected(IN PCI_IO_DEVICE *PciIoDevice)
VOID PciTestSupportedAttribute(IN PCI_IO_DEVICE *PciIoDevice, IN OUT UINT16 *Command, IN OUT UINT16 *BridgeControl, OUT UINT16 *OldCommand, OUT UINT16 *OldBridgeControl)
EFI_STATUS PciGetBusRange(IN EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR **Descriptors, OUT UINT16 *MinBus, OUT UINT16 *MaxBus, OUT UINT16 *BusRange)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33