/device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/ |
H A D | PciDriverOverride.c | 37 PCI_IO_DEVICE *PciIoDevice
54 PciIoDevice->PciDriverOverride.GetDriver = GetDriver;
78 PCI_IO_DEVICE *PciIoDevice;
local 82 PciIoDevice = PCI_IO_DEVICE_FROM_PCI_DRIVER_OVERRIDE_THIS (This);
84 CurrentLink = PciIoDevice->OptionRomDriverList.ForwardLink;
86 while (CurrentLink && CurrentLink != &PciIoDevice->OptionRomDriverList) {
98 if (CurrentLink->ForwardLink == &PciIoDevice->OptionRomDriverList ||
119 IN PCI_IO_DEVICE *PciIoDevice,
155 InsertTailList (&PciIoDevice->OptionRomDriverList, &(Node->Link));
157 PciIoDevice 118 AddDriver( IN PCI_IO_DEVICE *PciIoDevice, IN EFI_HANDLE DriverImageHandle ) argument [all...] |
H A D | PciCommand.c | 29 IN PCI_IO_DEVICE *PciIoDevice,
48 PciIo = &PciIoDevice->PciIo;
61 IN PCI_IO_DEVICE *PciIoDevice,
80 PciIo = &PciIoDevice->PciIo;
95 IN PCI_IO_DEVICE *PciIoDevice,
114 PciIo = &PciIoDevice->PciIo;
139 IN PCI_IO_DEVICE *PciIoDevice,
158 PciIo = &PciIoDevice->PciIo;
184 IN PCI_IO_DEVICE *PciIoDevice,
203 PciIo = &PciIoDevice 28 PciReadCommandRegister( IN PCI_IO_DEVICE *PciIoDevice, OUT UINT16 *Command ) argument 60 PciSetCommandRegister( IN PCI_IO_DEVICE *PciIoDevice, IN UINT16 Command ) argument 94 PciEnableCommandRegister( IN PCI_IO_DEVICE *PciIoDevice, IN UINT16 Command ) argument 138 PciDisableCommandRegister( IN PCI_IO_DEVICE *PciIoDevice, IN UINT16 Command ) argument 183 PciSetBridgeControlRegister( IN PCI_IO_DEVICE *PciIoDevice, IN UINT16 Command ) argument 217 PciEnableBridgeControlRegister( IN PCI_IO_DEVICE *PciIoDevice, IN UINT16 Command ) argument 260 PciDisableBridgeControlRegister( IN PCI_IO_DEVICE *PciIoDevice, IN UINT16 Command ) argument 305 PciReadBridgeControlRegister( IN PCI_IO_DEVICE *PciIoDevice, OUT UINT16 *Command ) argument 363 LocateCapabilityRegBlock( IN PCI_IO_DEVICE *PciIoDevice, IN UINT8 CapId, IN OUT UINT8 *Offset, OUT UINT8 *NextRegBlock OPTIONAL ) argument [all...] |
H A D | PciDeviceSupport.c | 231 IN PCI_IO_DEVICE *PciIoDevice,
245 PciIoDevice - A PCI_IO_DEVICE pointer to the PCI IO device to be registered.
263 if (PciIoDevice->BusOverride) {
265 &PciIoDevice->Handle,
267 PciIoDevice->DevicePath,
269 &PciIoDevice->PciIo,
271 &PciIoDevice->PciDriverOverride,
276 &PciIoDevice->Handle,
278 PciIoDevice->DevicePath,
280 &PciIoDevice 229 RegisterPciDevice( IN EFI_HANDLE Controller, IN PCI_IO_DEVICE *PciIoDevice, OUT EFI_HANDLE *Handle OPTIONAL ) argument 355 PCI_IO_DEVICE *PciIoDevice; local 555 PCI_IO_DEVICE *PciIoDevice; local [all...] |
H A D | PciEnumeratorSupport.c | 29 IN PCI_IO_DEVICE *PciIoDevice
34 IN PCI_IO_DEVICE *PciIoDevice
58 IN PCI_IO_DEVICE *PciIoDevice,
77 IN PCI_IO_DEVICE *PciIoDevice
82 IN PCI_IO_DEVICE *PciIoDevice,
93 IN PCI_IO_DEVICE *PciIoDevice
197 PCI_IO_DEVICE *PciIoDevice;
local 202 PciIoDevice = NULL;
238 &PciIoDevice
251 PciIo = &(PciIoDevice 314 PCI_IO_DEVICE *PciIoDevice; local 441 PCI_IO_DEVICE *PciIoDevice; local 494 PCI_IO_DEVICE *PciIoDevice; local 594 PCI_IO_DEVICE *PciIoDevice; local 664 BarExisted( IN PCI_IO_DEVICE *PciIoDevice, IN UINTN Offset, OUT UINT32 *BarLengthValue, OUT UINT32 *OriginalBarValue ) argument 858 PciParseBar( IN PCI_IO_DEVICE *PciIoDevice, IN UINTN Offset, IN UINTN BarIndex ) argument 1147 PCI_IO_DEVICE *PciIoDevice; local [all...] |
H A D | PciIo.c | 40 IN PCI_IO_DEVICE *PciIoDevice,
48 IN PCI_IO_DEVICE *PciIoDevice,
56 IN PCI_IO_DEVICE *PciIoDevice
61 IN PCI_IO_DEVICE *PciIoDevice
67 PCI_IO_DEVICE *PciIoDevice,
77 PCI_IO_DEVICE *PciIoDevice,
302 PCI_IO_DEVICE *PciIoDevice
319 CopyMem (&PciIoDevice->PciIo, &PciIoInterface, sizeof (EFI_PCI_IO_PROTOCOL));
325 PCI_IO_DEVICE *PciIoDevice,
361 if (!CheckBarType (PciIoDevice, BarInde 324 PciIoVerifyBarAccess( PCI_IO_DEVICE *PciIoDevice, UINT8 BarIndex, PCI_BAR_TYPE Type, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINTN Count, UINT64 *Offset ) argument 385 PciIoVerifyConfigAccess( PCI_IO_DEVICE *PciIoDevice, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINTN Count, IN UINT64 *Offset ) argument 464 PCI_IO_DEVICE *PciIoDevice; local 520 PCI_IO_DEVICE *PciIoDevice; local 571 PCI_IO_DEVICE *PciIoDevice; local 624 PCI_IO_DEVICE *PciIoDevice; local 677 PCI_IO_DEVICE *PciIoDevice; local 730 PCI_IO_DEVICE *PciIoDevice; local 782 PCI_IO_DEVICE *PciIoDevice; local 828 PCI_IO_DEVICE *PciIoDevice; local 876 PCI_IO_DEVICE *PciIoDevice; local 941 PCI_IO_DEVICE *PciIoDevice; local 990 PCI_IO_DEVICE *PciIoDevice; local 1027 PCI_IO_DEVICE *PciIoDevice; local 1074 PCI_IO_DEVICE *PciIoDevice; local 1113 PCI_IO_DEVICE *PciIoDevice; local 1158 PCI_IO_DEVICE *PciIoDevice; local 1175 CheckBarType( IN PCI_IO_DEVICE *PciIoDevice, UINT8 BarIndex, PCI_BAR_TYPE BarType ) argument 1245 PCI_IO_DEVICE *PciIoDevice; local 1604 PCI_IO_DEVICE *PciIoDevice; local 1742 PCI_IO_DEVICE *PciIoDevice; local 1788 UpStreamBridgesAttributes( IN PCI_IO_DEVICE *PciIoDevice, IN EFI_PCI_IO_PROTOCOL_ATTRIBUTE_OPERATION Operation, IN UINT64 Attributes ) argument [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/ |
H A D | PciDriverOverride.c | 20 @param PciIoDevice PCI Device instance.
25 IN OUT PCI_IO_DEVICE *PciIoDevice
28 PciIoDevice->PciDriverOverride.GetDriver = GetDriver;
55 PCI_IO_DEVICE *PciIoDevice;
local 59 PciIoDevice = PCI_IO_DEVICE_FROM_PCI_DRIVER_OVERRIDE_THIS (This);
61 CurrentLink = PciIoDevice->OptionRomDriverList.ForwardLink;
63 while (CurrentLink != NULL && CurrentLink != &PciIoDevice->OptionRomDriverList) {
75 if (CurrentLink->ForwardLink == &PciIoDevice->OptionRomDriverList ||
97 @param PciIoDevice Instance of PciIo device.
107 IN PCI_IO_DEVICE *PciIoDevice,
106 AddDriver( IN PCI_IO_DEVICE *PciIoDevice, IN EFI_HANDLE DriverImageHandle ) argument [all...] |
H A D | PciCommand.c | 20 @param PciIoDevice Pointer to instance of PCI_IO_DEVICE.
31 IN PCI_IO_DEVICE *PciIoDevice,
43 PciIo = &PciIoDevice->PciIo;
80 @param PciIoDevice Pointer to instance of PCI_IO_DEVICE.
88 IN PCI_IO_DEVICE *PciIoDevice
91 if ((PciIoDevice->Pci.Hdr.Status & EFI_PCI_STATUS_CAPABILITY) != 0) {
101 @param PciIoDevice A pointer to the PCI_IO_DEVICE.
113 IN PCI_IO_DEVICE *PciIoDevice,
126 if (!PciCapabilitySupport (PciIoDevice)) {
135 if (IS_CARDBUS_BRIDGE (&PciIoDevice 30 PciOperateRegister( IN PCI_IO_DEVICE *PciIoDevice, IN UINT16 Command, IN UINT8 Offset, IN UINT8 Operation, OUT UINT16 *PtrCommand ) argument 112 LocateCapabilityRegBlock( IN PCI_IO_DEVICE *PciIoDevice, IN UINT8 CapId, IN OUT UINT8 *Offset, OUT UINT8 *NextRegBlock OPTIONAL ) argument 204 LocatePciExpressCapabilityRegBlock( IN PCI_IO_DEVICE *PciIoDevice, IN UINT16 CapId, IN OUT UINT32 *Offset, OUT UINT32 *NextRegBlock OPTIONAL ) argument [all...] |
H A D | PciDeviceSupport.c | 88 @param PciIoDevice A pointer to the PCI_IO_DEVICE to be destoried.
93 IN PCI_IO_DEVICE *PciIoDevice
96 ASSERT (PciIoDevice != NULL);
100 if (PciIoDevice->ResourcePaddingDescriptors != NULL) {
101 FreePool (PciIoDevice->ResourcePaddingDescriptors);
104 if (PciIoDevice->DevicePath != NULL) {
105 FreePool (PciIoDevice->DevicePath);
108 FreePool (PciIoDevice);
197 @param PciIoDevice A PCI_IO_DEVICE pointer to the PCI IO device to be registered.
207 IN PCI_IO_DEVICE *PciIoDevice,
205 RegisterPciDevice( IN EFI_HANDLE Controller, IN PCI_IO_DEVICE *PciIoDevice, OUT EFI_HANDLE *Handle OPTIONAL ) argument 479 PCI_IO_DEVICE *PciIoDevice; local 640 PCI_IO_DEVICE *PciIoDevice; local [all...] |
H A D | PciOptionRomSupport.c | 20 @param PciIoDevice PCI IO device instance.
39 IN PCI_IO_DEVICE *PciIoDevice,
65 (EfiOpRomImageNode->EndingOffset >= PciIoDevice->RomSize) ||
72 (UINT8 *) PciIoDevice->PciIo.RomImage + EfiOpRomImageNode->StartingOffset
165 @param PciIoDevice PCI IO Device.
170 IN PCI_IO_DEVICE *PciIoDevice
173 PciIoDevice->LoadFile2.LoadFile = LoadFile2;
209 PCI_IO_DEVICE *PciIoDevice;
local 214 PciIoDevice = PCI_IO_DEVICE_FROM_LOAD_FILE2_THIS (This);
217 PciIoDevice,
38 LocalLoadFile2( IN PCI_IO_DEVICE *PciIoDevice, IN EFI_DEVICE_PATH_PROTOCOL *FilePath, IN OUT UINTN *BufferSize, IN VOID *Buffer OPTIONAL ) argument [all...] |
H A D | PciIo.c | 52 @param PciIoDevice Pci device instance.
57 IN PCI_IO_DEVICE *PciIoDevice
60 CopyMem (&PciIoDevice->PciIo, &mPciIoInterface, sizeof (EFI_PCI_IO_PROTOCOL));
66 @param PciIoDevice Pci device instance.
80 IN PCI_IO_DEVICE *PciIoDevice,
103 if (!CheckBarType (PciIoDevice, BarIndex, Type)) {
117 if ((*Offset + Count * (UINTN)(1 << Width)) - 1 >= PciIoDevice->PciBar[BarIndex].Length) {
121 *Offset = *Offset + PciIoDevice->PciBar[BarIndex].BaseAddress;
129 @param PciIoDevice Pci device instance.
141 IN PCI_IO_DEVICE *PciIoDevice,
79 PciIoVerifyBarAccess( IN PCI_IO_DEVICE *PciIoDevice, IN UINT8 BarIndex, IN PCI_BAR_TYPE Type, IN IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN IN UINTN Count, IN UINT64 *Offset ) argument 140 PciIoVerifyConfigAccess( IN PCI_IO_DEVICE *PciIoDevice, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINTN Count, IN UINT64 *Offset ) argument 214 PCI_IO_DEVICE *PciIoDevice; local 321 PCI_IO_DEVICE *PciIoDevice; local 420 PCI_IO_DEVICE *PciIoDevice; local 499 PCI_IO_DEVICE *PciIoDevice; local 577 PCI_IO_DEVICE *PciIoDevice; local 655 PCI_IO_DEVICE *PciIoDevice; local 730 PCI_IO_DEVICE *PciIoDevice; local 799 PCI_IO_DEVICE *PciIoDevice; local 880 PCI_IO_DEVICE *PciIoDevice; local 969 PCI_IO_DEVICE *PciIoDevice; local 1023 PCI_IO_DEVICE *PciIoDevice; local 1075 PCI_IO_DEVICE *PciIoDevice; local 1129 PCI_IO_DEVICE *PciIoDevice; local 1168 PCI_IO_DEVICE *PciIoDevice; local 1209 PCI_IO_DEVICE *PciIoDevice; local 1238 CheckBarType( IN PCI_IO_DEVICE *PciIoDevice, IN UINT8 BarIndex, IN PCI_BAR_TYPE BarType ) argument 1284 ModifyRootBridgeAttributes( IN PCI_IO_DEVICE *PciIoDevice, IN UINT64 Attributes, IN EFI_PCI_IO_PROTOCOL_ATTRIBUTE_OPERATION Operation ) argument 1361 SupportPaletteSnoopAttributes( IN PCI_IO_DEVICE *PciIoDevice, IN EFI_PCI_IO_PROTOCOL_ATTRIBUTE_OPERATION Operation ) argument 1491 PCI_IO_DEVICE *PciIoDevice; local 1778 PCI_IO_DEVICE *PciIoDevice; local 1928 PCI_IO_DEVICE *PciIoDevice; local 1989 UpStreamBridgesAttributes( IN PCI_IO_DEVICE *PciIoDevice, IN EFI_PCI_IO_PROTOCOL_ATTRIBUTE_OPERATION Operation, IN UINT64 Attributes ) argument [all...] |
H A D | PciEnumeratorSupport.c | 103 PCI_IO_DEVICE *PciIoDevice;
local 147 &PciIoDevice
159 PciIo = &(PciIoDevice->PciIo);
170 GetResourcePaddingPpb (PciIoDevice);
176 PciIoDevice,
221 PCI_IO_DEVICE *PciIoDevice;
local 223 PciIoDevice = NULL;
237 PciIoDevice = GatherP2CInfo (
244 if ((PciIoDevice != NULL) && gFullEnumeration) {
245 InitializeP2C (PciIoDevice);
335 DumpPpbPaddingResource( IN PCI_IO_DEVICE *PciIoDevice, IN PCI_BAR_TYPE ResourceType ) argument 465 PCI_IO_DEVICE *PciIoDevice; local 533 PCI_IO_DEVICE *PciIoDevice; local 694 PCI_IO_DEVICE *PciIoDevice; local 780 VfBarExisted( IN PCI_IO_DEVICE *PciIoDevice, IN UINTN Offset, OUT UINT32 *BarLengthValue, OUT UINT32 *OriginalBarValue ) argument 854 BarExisted( IN PCI_IO_DEVICE *PciIoDevice, IN UINTN Offset, OUT UINT32 *BarLengthValue, OUT UINT32 *OriginalBarValue ) argument 919 PciTestSupportedAttribute( IN PCI_IO_DEVICE *PciIoDevice, IN OUT UINT16 *Command, IN OUT UINT16 *BridgeControl, OUT UINT16 *OldCommand, OUT UINT16 *OldBridgeControl ) argument 993 PciSetDeviceAttribute( IN PCI_IO_DEVICE *PciIoDevice, IN UINT16 Command, IN UINT16 BridgeControl, IN UINTN Option ) argument 1108 GetFastBackToBackSupport( IN PCI_IO_DEVICE *PciIoDevice, IN UINT8 StatusIndex ) argument 1530 PciIovParseVfBar( IN PCI_IO_DEVICE *PciIoDevice, IN UINTN Offset, IN UINTN BarIndex ) argument 1722 PciParseBar( IN PCI_IO_DEVICE *PciIoDevice, IN UINTN Offset, IN UINTN BarIndex ) argument 2057 PCI_IO_DEVICE *PciIoDevice; local [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformDxe/ |
H A D | PciDevice.c | 115 PCI_IO_DEVICE *PciIoDevice;
125 PciIoDevice = PCI_IO_DEVICE_FROM_PCI_IO_THIS (PciIo);
424 PCI_IO_DEVICE *PciIoDevice;
451 PciIoDevice = PCI_IO_DEVICE_FROM_PCI_IO_THIS (PciIo);
456 if (PciIoDevice->Pci.Hdr.VendorId == V_PCH_INTEL_VENDOR_ID)
494 if (PciIoDevice->Pci.Hdr.ClassCode[2] == PCI_CLASS_NETWORK) {
505 if ((PciIoDevice->Pci.Hdr.ClassCode[2] == BadDeviceTable[Index].ClassCode) &&
506 (PciIoDevice->Pci.Hdr.ClassCode[1] == BadDeviceTable[Index].SubClassCode) &&
507 (PciIoDevice->Pci.Hdr.VendorId == BadDeviceTable[Index].VendorId)) {
511 if ((PciIoDevice 106 PCI_IO_DEVICE *PciIoDevice; local 415 PCI_IO_DEVICE *PciIoDevice; local [all...] |