|
ReactOS 0.4.17-dev-1190-g4c812f4
|

Go to the source code of this file.
Macros | |
| #define | NDEBUG |
Variables | |
| PCI_DEBUGGING_DEVICE | PciDebuggingDevices [MAX_DEBUGGING_DEVICES_SUPPORTED] |
| ULONG | PciDebugPortsCount |
| RTL_RANGE_LIST | PciIsaBitExclusionList |
| RTL_RANGE_LIST | PciVgaAndIsaBitExclusionList |
Definition at line 276 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 1027 of file utils.c.
Referenced by PciDecodeEnable(), PciPdoCanPowerDown(), PciPdoCanTurnOff(), PciPdoTurnOff(), and PciSetPowerManagedDevicePowerState().
| PCI_DEVICE_TYPES NTAPI PciClassifyDeviceType | ( | IN PPCI_PDO_EXTENSION | PdoExtension | ) |
Definition at line 1126 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 1252 of file utils.c.
Referenced by Cardbus_SaveLimits(), Device_SaveLimits(), and PPBridge_SaveLimits().
| VOID NTAPI PciDecodeEnable | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN BOOLEAN | Enable, | ||
| OUT PUSHORT | Command | ||
| ) |
Definition at line 1359 of file utils.c.
Referenced by PciApplyHacks(), PciConfigureIdeController(), PciPdoTurnOff(), and PcipUpdateHardware().
Definition at line 1431 of file utils.c.
Referenced by PciQueryCapabilities().
Definition at line 1144 of file utils.c.
| PPCI_SECONDARY_EXTENSION NTAPI PciFindNextSecondaryExtension | ( | IN PSINGLE_LIST_ENTRY | ListHead, |
| IN PCI_SIGNATURE | ExtensionType | ||
| ) |
Definition at line 584 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 340 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 695 of file utils.c.
Referenced by PciScanBus().
|
static |
Reads the bus range the firmware gave a bridge.
Definition at line 754 of file utils.c.
Referenced by PciIsDeviceOnDebugPath().
| NTSTATUS NTAPI PciGetBiosConfig | ( | IN PPCI_PDO_EXTENSION | DeviceExtension, |
| OUT PPCI_COMMON_HEADER | PciData | ||
| ) |
Definition at line 840 of file utils.c.
Referenced by PciGetBiosBusRange(), PciScanBus(), PPBridge_SaveCurrentSettings(), and routeintrf_UpdateInterruptLine().
| NTSTATUS NTAPI PciGetDeviceCapabilities | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN OUT PDEVICE_CAPABILITIES | DeviceCapability | ||
| ) |
Definition at line 1496 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 475 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 604 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 193 of file utils.c.
Referenced by DriverEntry(), PciAcpiFindRsdt(), PciGetDebugPorts(), PciGetIrqRoutingTableFromRegistry(), and PciIsDatacenter().
| VOID NTAPI PciInsertEntryAtHead | ( | IN PSINGLE_LIST_ENTRY | ListHead, |
| IN PSINGLE_LIST_ENTRY | Entry, | ||
| IN PKEVENT | Lock | ||
| ) |
Definition at line 430 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 400 of file utils.c.
Referenced by PciAddDevice(), and PciPdoCreate().
Definition at line 672 of file utils.c.
Referenced by PciScanBus().
Definition at line 132 of file utils.c.
Referenced by DriverEntry().
| BOOLEAN NTAPI PciIsDeviceOnDebugPath | ( | _In_ PPCI_PDO_EXTENSION | DeviceExtension | ) |
Definition at line 780 of file utils.c.
| BOOLEAN NTAPI PciIsSlotPresentInParentMethod | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN ULONG | Method | ||
| ) |
Definition at line 1169 of file utils.c.
Referenced by PciApplyHacks(), and PciBridgeIsPositiveDecode().
Definition at line 115 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 166 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 459 of file utils.c.
Referenced by PciInitializeArbiters().
| NTSTATUS NTAPI PciQueryBusInformation | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| OUT PPNP_BUS_INFORMATION * | Buffer | ||
| ) |
Definition at line 1408 of file utils.c.
Referenced by PciPdoIrpQueryBusInformation().
| NTSTATUS NTAPI PciQueryCapabilities | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN OUT PDEVICE_CAPABILITIES | DeviceCapability | ||
| ) |
Definition at line 1820 of file utils.c.
Referenced by PciPdoIrpQueryCapabilities().
| NTSTATUS NTAPI PciQueryPowerCapabilities | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN PDEVICE_CAPABILITIES | DeviceCapability | ||
| ) |
Definition at line 1570 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 958 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 903 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 531 of file utils.c.
Referenced by PciGetHotPlugParameters(), and PciIsSlotPresentInParentMethod().
Definition at line 62 of file utils.c.
Referenced by PciBuildHackTable().
| BOOLEAN NTAPI PciUnicodeStringStrStr | ( | IN PUNICODE_STRING | InputString, |
| IN PCUNICODE_STRING | EqualString, | ||
| IN BOOLEAN | CaseInSensitive | ||
| ) |
Definition at line 28 of file utils.c.
Referenced by DriverEntry().
| PCI_DEBUGGING_DEVICE PciDebuggingDevices[MAX_DEBUGGING_DEVICES_SUPPORTED] |
Definition at line 18 of file utils.c.
Referenced by PciGetDebugPorts(), and PciIsDeviceOnDebugPath().
| ULONG PciDebugPortsCount |
Definition at line 19 of file utils.c.
Referenced by PciGetDebugPorts(), and PciIsDeviceOnDebugPath().
| RTL_RANGE_LIST PciIsaBitExclusionList |
Definition at line 21 of file utils.c.
Referenced by PciBuildDefaultExclusionLists(), and PciDriverUnload().
| RTL_RANGE_LIST PciVgaAndIsaBitExclusionList |
Definition at line 22 of file utils.c.
Referenced by PciBuildDefaultExclusionLists(), and PciDriverUnload().