|
ReactOS 0.4.17-dev-1190-g4c812f4
|

Go to the source code of this file.
Macros | |
| #define | NDEBUG |
Variables | |
| PIO_RESOURCE_REQUIREMENTS_LIST | PciZeroIoResourceRequirements |
| PCI_CONFIGURATOR | PciConfigurators [] |
| _Out_writes_opt_ | ( | _Inexpressible_("function count") | ) |
| _Requires_lock_held_ | ( | PdoExtension->ParentFdoExtension-> | ChildListLock | ) |
Finds the other present functions in the same slot as PdoExtension. When Objects is not NULL, each PDO found is referenced and stored there.
|
static |
Writes a fixed requirement for the range a BAR is decoding now.
| [in] | PdoExtension | The PDO extension of the function. |
| [in] | Command | The command register of the function as it reads now. |
| [in] | BarIndex | The BAR to describe. |
| [out] | Descriptor | Receives the requirement, or NULL to only count it. |
Definition at line 702 of file enum.c.
Referenced by PciBuildRequirementsList().
Definition at line 359 of file enum.c.
Referenced by PciQueryResources().
| PIO_RESOURCE_REQUIREMENTS_LIST NTAPI PciAllocateIoRequirementsList | ( | IN ULONG | Count, |
| IN ULONG | BusNumber, | ||
| IN ULONG | SlotNumber | ||
| ) |
Definition at line 326 of file enum.c.
Referenced by PciBuildRequirementsList().
| VOID NTAPI PciApplyHacks | ( | IN PPCI_FDO_EXTENSION | DeviceExtension, |
| IN PPCI_COMMON_HEADER | PciData, | ||
| IN PCI_SLOT_NUMBER | SlotNumber, | ||
| IN ULONG | OperationType, | ||
| PPCI_PDO_EXTENSION | PdoExtension | ||
| ) |
Definition at line 1081 of file enum.c.
Referenced by PciScanBus(), and PciSetResources().
| NTSTATUS NTAPI PciBuildRequirementsList | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN PPCI_COMMON_HEADER | PciData, | ||
| OUT PIO_RESOURCE_REQUIREMENTS_LIST * | Buffer | ||
| ) |
Definition at line 756 of file enum.c.
Referenced by PciAssignAndProgramLegacy(), and PciQueryRequirements().
| BOOLEAN NTAPI PciComputeNewCurrentSettings | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN PCM_RESOURCE_LIST | ResourceList | ||
| ) |
Definition at line 55 of file enum.c.
Referenced by PciAssignAndProgramLegacy(), and PciPdoIrpStartDevice().
| BOOLEAN NTAPI PciConfigureIdeController | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN PPCI_COMMON_HEADER | PciData, | ||
| IN BOOLEAN | Initial | ||
| ) |
Definition at line 941 of file enum.c.
Referenced by PciApplyHacks(), and PciSetResources().
| VOID NTAPI PciGetEnhancedCapabilities | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN PPCI_COMMON_HEADER | PciData | ||
| ) |
Definition at line 1441 of file enum.c.
Referenced by PciScanBus().
| NTSTATUS NTAPI PciGetFunctionLimits | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN PPCI_COMMON_HEADER | Current, | ||
| IN ULONGLONG | HackFlags | ||
| ) |
Definition at line 1759 of file enum.c.
Referenced by PciScanBus().
| BOOLEAN NTAPI PciIsRequirementDescriptor | ( | _In_ PIO_RESOURCE_DESCRIPTOR | Limit | ) |
Tells whether a discovered limit asks the arbiter for a range.
| [in] | Limit | The limit of one BAR or bridge window. |
Definition at line 671 of file enum.c.
Referenced by Device_ChangeResourceSettings(), PciBuildRequirementsList(), and PciComputeNewCurrentSettings().
| NTSTATUS NTAPI PcipGetFunctionLimits | ( | IN PPCI_CONFIGURATOR_CONTEXT | Context | ) |
Definition at line 1618 of file enum.c.
Referenced by PciGetFunctionLimits().
| BOOLEAN NTAPI PcipIsSameDevice | ( | IN PPCI_PDO_EXTENSION | DeviceExtension, |
| IN PPCI_COMMON_HEADER | PciData | ||
| ) |
Definition at line 1333 of file enum.c.
Referenced by PciFindPdoByFunction(), PciPdoIsPresent(), PciScanBus(), and PciSetResources().
| VOID NTAPI PciProcessBus | ( | IN PPCI_FDO_EXTENSION | DeviceExtension | ) |
Definition at line 1795 of file enum.c.
Referenced by PciScanBus().
Definition at line 263 of file enum.c.
Referenced by PciUpdateHardware().
| NTSTATUS NTAPI PciQueryDeviceRelations | ( | IN PPCI_FDO_EXTENSION | DeviceExtension, |
| IN OUT PDEVICE_RELATIONS * | pDeviceRelations | ||
| ) |
Definition at line 2366 of file enum.c.
Referenced by PciFdoIrpQueryDeviceRelations().
| NTSTATUS NTAPI PciQueryEjectionRelations | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN OUT PDEVICE_RELATIONS * | pDeviceRelations | ||
| ) |
Definition at line 614 of file enum.c.
Referenced by PciPdoIrpQueryDeviceRelations().
| NTSTATUS NTAPI PciQueryRequirements | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN OUT PIO_RESOURCE_REQUIREMENTS_LIST * | RequirementsList | ||
| ) |
Definition at line 882 of file enum.c.
Referenced by PciPdoIrpQueryResourceRequirements().
| NTSTATUS NTAPI PciQueryResources | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| OUT PCM_RESOURCE_LIST * | Buffer | ||
| ) |
Definition at line 389 of file enum.c.
Referenced by PciPdoIrpQueryResources().
| NTSTATUS NTAPI PciQueryTargetDeviceRelations | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN OUT PDEVICE_RELATIONS * | pDeviceRelations | ||
| ) |
Definition at line 552 of file enum.c.
Referenced by PciPdoIrpQueryDeviceRelations().
| NTSTATUS NTAPI PciScanBus | ( | IN PPCI_FDO_EXTENSION | DeviceExtension | ) |
Definition at line 1879 of file enum.c.
Referenced by PciQueryDeviceRelations().
| NTSTATUS NTAPI PciSetResources | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN BOOLEAN | DoReset, | ||
| IN BOOLEAN | SomethingSomethingDarkSide | ||
| ) |
Definition at line 2490 of file enum.c.
Referenced by PciAssignAndProgramLegacy(), PciPdoIrpStartDevice(), and PciSetPowerManagedDevicePowerState().
| BOOLEAN NTAPI PciSkipThisFunction | ( | IN PPCI_COMMON_HEADER | PciData, |
| IN PCI_SLOT_NUMBER | Slot, | ||
| IN UCHAR | OperationType, | ||
| IN ULONGLONG | HackFlags | ||
| ) |
Definition at line 1367 of file enum.c.
Referenced by PciGetFunctionLimits(), and PciScanBus().
| VOID NTAPI PciUpdateHardware | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN PPCI_COMMON_HEADER | PciData | ||
| ) |
Definition at line 300 of file enum.c.
Referenced by PciSetResources().
Definition at line 1575 of file enum.c.
Referenced by PcipGetFunctionLimits().
| PCI_CONFIGURATOR PciConfigurators[] |
Definition at line 20 of file enum.c.
Referenced by PciBuildRequirementsList(), PcipGetFunctionLimits(), and PciSetResources().
| PIO_RESOURCE_REQUIREMENTS_LIST PciZeroIoResourceRequirements |
Definition at line 18 of file enum.c.
Referenced by PciAssignAndProgramLegacy(), PciBuildRequirementsList(), PciDriverUnload(), and PciQueryRequirements().