|
ReactOS 0.4.17-dev-966-gf06eace
|

Go to the source code of this file.
Macros | |
| #define | NDEBUG |
Variables | |
| ULONG | PciDebugPortsCount |
| RTL_RANGE_LIST | PciIsaBitExclusionList |
| RTL_RANGE_LIST | PciVgaAndIsaBitExclusionList |
Definition at line 275 of file utils.c.
Referenced by DriverEntry().
| BOOLEAN NTAPI PciCanDisableDecodes | ( | IN PPCI_PDO_EXTENSION | DeviceExtension, |
| IN PPCI_COMMON_HEADER | Config, | ||
| IN ULONGLONG | HackFlags, | ||
| IN BOOLEAN | ForPowerDown | ||
| ) |
Definition at line 954 of file utils.c.
Referenced by PciDecodeEnable(), and PciSetPowerManagedDevicePowerState().
| PCI_DEVICE_TYPES NTAPI PciClassifyDeviceType | ( | IN PPCI_PDO_EXTENSION | PdoExtension | ) |
Definition at line 1053 of file utils.c.
Referenced by PciProcessBus().
| BOOLEAN NTAPI PciCreateIoDescriptorFromBarLimit | ( | _Out_ PIO_RESOURCE_DESCRIPTOR | ResourceDescriptor, |
| _In_ ULONG | Bar, | ||
| _In_ ULONG | NextBar, | ||
| _In_ BOOLEAN | Rom | ||
| ) |
Builds the requirement of a BAR from the value it reads back after all ones were written to it.
| [out] | ResourceDescriptor | Receives the requirement, or a null descriptor when the BAR is not implemented. |
| [in] | Bar | The probed BAR. |
| [in] | NextBar | The probed BAR after it, which holds the high half of a 64-bit BAR. 0 when there is none. |
| [in] | Rom | TRUE when Bar is an expansion ROM BAR. |
Definition at line 1179 of file utils.c.
Referenced by Device_SaveLimits(), and PPBridge_SaveLimits().
| VOID NTAPI PciDecodeEnable | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN BOOLEAN | Enable, | ||
| OUT PUSHORT | Command | ||
| ) |
Definition at line 1286 of file utils.c.
Referenced by PciApplyHacks(), PciConfigureIdeController(), and PcipUpdateHardware().
Definition at line 1358 of file utils.c.
Referenced by PciQueryCapabilities().
Definition at line 1071 of file utils.c.
| PPCI_SECONDARY_EXTENSION NTAPI PciFindNextSecondaryExtension | ( | IN PSINGLE_LIST_ENTRY | ListHead, |
| IN PCI_SIGNATURE | ExtensionType | ||
| ) |
Definition at line 583 of file utils.c.
Referenced by ario_ApplyBrokenVideoHack(), PciArbiterConstructor(), and PciInitializeArbiterRanges().
| PPCI_FDO_EXTENSION NTAPI PciFindParentPciFdoExtension | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN PKEVENT | Lock | ||
| ) |
Definition at line 339 of file utils.c.
Referenced by PciAddDevice().
| PPCI_PDO_EXTENSION NTAPI PciFindPdoByFunction | ( | IN PPCI_FDO_EXTENSION | DeviceExtension, |
| IN ULONG | FunctionNumber, | ||
| IN PPCI_COMMON_HEADER | PciData | ||
| ) |
Definition at line 694 of file utils.c.
Referenced by PciScanBus().
| NTSTATUS NTAPI PciGetBiosConfig | ( | IN PPCI_PDO_EXTENSION | DeviceExtension, |
| OUT PPCI_COMMON_HEADER | PciData | ||
| ) |
Definition at line 767 of file utils.c.
Referenced by PciScanBus(), and PPBridge_SaveCurrentSettings().
| NTSTATUS NTAPI PciGetDeviceCapabilities | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN OUT PDEVICE_CAPABILITIES | DeviceCapability | ||
| ) |
Definition at line 1423 of file utils.c.
Referenced by PciQueryPowerCapabilities().
| NTSTATUS NTAPI PciGetDeviceProperty | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN DEVICE_REGISTRY_PROPERTY | DeviceProperty, | ||
| OUT PVOID * | OutputBuffer | ||
| ) |
Definition at line 474 of file utils.c.
Referenced by PciAddDevice().
| ULONGLONG NTAPI PciGetHackFlags | ( | IN USHORT | VendorId, |
| IN USHORT | DeviceId, | ||
| IN USHORT | SubVendorId, | ||
| IN USHORT | SubSystemId, | ||
| IN UCHAR | RevisionId | ||
| ) |
Definition at line 603 of file utils.c.
Referenced by PciScanBus().
| NTSTATUS NTAPI PciGetRegistryValue | ( | IN PWCHAR | ValueName, |
| IN PWCHAR | KeyName, | ||
| IN HANDLE | RootHandle, | ||
| IN ULONG | Type, | ||
| OUT PVOID * | OutputBuffer, | ||
| OUT PULONG | OutputLength | ||
| ) |
Definition at line 192 of file utils.c.
Referenced by DriverEntry(), PciAcpiFindRsdt(), PciGetIrqRoutingTableFromRegistry(), and PciIsDatacenter().
| VOID NTAPI PciInsertEntryAtHead | ( | IN PSINGLE_LIST_ENTRY | ListHead, |
| IN PSINGLE_LIST_ENTRY | Entry, | ||
| IN PKEVENT | Lock | ||
| ) |
Definition at line 429 of file utils.c.
Referenced by PcipLinkSecondaryExtension().
| VOID NTAPI PciInsertEntryAtTail | ( | IN PSINGLE_LIST_ENTRY | ListHead, |
| IN PPCI_FDO_EXTENSION | DeviceExtension, | ||
| IN PKEVENT | Lock | ||
| ) |
Definition at line 399 of file utils.c.
Referenced by PciAddDevice(), and PciPdoCreate().
Definition at line 671 of file utils.c.
Referenced by PciScanBus().
Definition at line 131 of file utils.c.
Referenced by DriverEntry().
| BOOLEAN NTAPI PciIsDeviceOnDebugPath | ( | IN PPCI_PDO_EXTENSION | DeviceExtension | ) |
Definition at line 750 of file utils.c.
Referenced by PciScanBus().
| BOOLEAN NTAPI PciIsSlotPresentInParentMethod | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN ULONG | Method | ||
| ) |
Definition at line 1096 of file utils.c.
Referenced by PciApplyHacks(), and PciBridgeIsPositiveDecode().
Definition at line 114 of file utils.c.
Referenced by PciIsDatacenter().
| BOOLEAN NTAPI PciOpenKey | ( | IN PWCHAR | KeyName, |
| IN HANDLE | RootKey, | ||
| IN ACCESS_MASK | DesiredAccess, | ||
| OUT PHANDLE | KeyHandle, | ||
| OUT PNTSTATUS | KeyStatus | ||
| ) |
Definition at line 165 of file utils.c.
Referenced by DriverEntry(), PciAcpiFindRsdt(), PciEcamQueryWindow(), PciGetIrqRoutingTableFromRegistry(), and PciGetRegistryValue().
| VOID NTAPI PcipLinkSecondaryExtension | ( | IN PSINGLE_LIST_ENTRY | List, |
| IN PVOID | Lock, | ||
| IN PPCI_SECONDARY_EXTENSION | SecondaryExtension, | ||
| IN PCI_SIGNATURE | ExtensionType, | ||
| IN PVOID | Destructor | ||
| ) |
Definition at line 458 of file utils.c.
Referenced by PciInitializeArbiters().
| NTSTATUS NTAPI PciQueryBusInformation | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| OUT PPNP_BUS_INFORMATION * | Buffer | ||
| ) |
Definition at line 1335 of file utils.c.
Referenced by PciPdoIrpQueryBusInformation().
| NTSTATUS NTAPI PciQueryCapabilities | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN OUT PDEVICE_CAPABILITIES | DeviceCapability | ||
| ) |
Definition at line 1747 of file utils.c.
Referenced by PciPdoIrpQueryCapabilities().
| NTSTATUS NTAPI PciQueryPowerCapabilities | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN PDEVICE_CAPABILITIES | DeviceCapability | ||
| ) |
Definition at line 1497 of file utils.c.
Referenced by PciQueryCapabilities().
| UCHAR NTAPI PciReadDeviceCapability | ( | IN PPCI_PDO_EXTENSION | DeviceExtension, |
| IN UCHAR | Offset, | ||
| IN ULONG | CapabilityId, | ||
| OUT PPCI_CAPABILITIES_HEADER | Buffer, | ||
| IN ULONG | Length | ||
| ) |
Definition at line 885 of file utils.c.
Referenced by PciGetEnhancedCapabilities(), PciGetExpressCapabilities(), PciScanBus(), and PciSetPowerManagedDevicePowerState().
| NTSTATUS NTAPI PciSaveBiosConfig | ( | IN PPCI_PDO_EXTENSION | DeviceExtension, |
| IN PPCI_COMMON_HEADER | PciData | ||
| ) |
Definition at line 830 of file utils.c.
| NTSTATUS NTAPI PciSendIoctl | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN ULONG | IoControlCode, | ||
| IN PVOID | InputBuffer, | ||
| IN ULONG | InputBufferLength, | ||
| IN PVOID | OutputBuffer, | ||
| IN ULONG | OutputBufferLength | ||
| ) |
Definition at line 530 of file utils.c.
Referenced by PciGetHotPlugParameters(), and PciIsSlotPresentInParentMethod().
Definition at line 61 of file utils.c.
Referenced by PciBuildHackTable().
| BOOLEAN NTAPI PciUnicodeStringStrStr | ( | IN PUNICODE_STRING | InputString, |
| IN PCUNICODE_STRING | EqualString, | ||
| IN BOOLEAN | CaseInSensitive | ||
| ) |
Definition at line 27 of file utils.c.
Referenced by DriverEntry().
| ULONG PciDebugPortsCount |
Definition at line 18 of file utils.c.
Referenced by PciIsDeviceOnDebugPath().
| RTL_RANGE_LIST PciIsaBitExclusionList |
Definition at line 20 of file utils.c.
Referenced by PciBuildDefaultExclusionLists().
| RTL_RANGE_LIST PciVgaAndIsaBitExclusionList |
Definition at line 21 of file utils.c.
Referenced by PciBuildDefaultExclusionLists().