|
ReactOS 0.4.17-dev-934-g091855f
|
#include <ntifs.h>#include <wdmguid.h>#include <wchar.h>#include <acpiioct.h>#include <drivers/pci/pci.h>#include <drivers/acpi/acpi.h>#include <ndk/halfuncs.h>#include <ndk/rtlfuncs.h>#include <ndk/vffuncs.h>#include <arbiter.h>#include <cmreslist.h>

Go to the source code of this file.
Classes | |
| struct | _PCI_HACK_ENTRY |
| struct | _PCI_POWER_STATE |
| struct | _PCI_LOCK |
| struct | _PCI_FDO_EXTENSION |
| struct | _PCI_FUNCTION_RESOURCES |
| union | _PCI_HEADER_TYPE_DEPENDENT |
| struct | _PCI_PDO_EXTENSION |
| struct | _PCI_MN_DISPATCH_TABLE |
| struct | _PCI_MJ_DISPATCH_TABLE |
| struct | _PCI_INTERFACE |
| struct | PCI_SECONDARY_EXTENSION |
| struct | PCI_ARBITER_INSTANCE |
| struct | _PCI_VERIFIER_DATA |
| struct | _PCI_ID_BUFFER |
| struct | _PCI_CONFIGURATOR |
| struct | _PCI_CONFIGURATOR_CONTEXT |
| struct | _PCI_IPI_CONTEXT |
| struct | _PCI_LEGACY_DEVICE |
Enumerations | |
| enum | _PCI_SIGNATURE { PciPdoExtensionType = 'icP0' , PciFdoExtensionType = 'icP1' , PciArb_Io = 'icP2' , PciArb_Memory = 'icP3' , PciArb_Interrupt = 'icP4' , PciArb_BusNumber = 'icP5' , PciTrans_Interrupt = 'icP6' , PciInterface_BusHandler = 'icP7' , PciInterface_IntRouteHandler = 'icP8' , PciInterface_PciCb = 'icP9' , PciInterface_LegacyDeviceDetection = 'icP:' , PciInterface_PmeHandler = 'icP;' , PciInterface_DevicePresent = 'icP<' , PciInterface_NativeIde = 'icP=' , PciInterface_AgpTarget = 'icP>' , PciInterface_Location = 'icP?' } |
| enum | _PCI_DEVICE_TYPES { PciTypeInvalid , PciTypeHostBridge , PciTypePciBridge , PciTypeCardbusBridge , PciTypeDevice } |
| enum | _PCI_STATE { PciNotStarted , PciStarted , PciDeleted , PciStopped , PciSurpriseRemoved , PciSynchronizedOperation , PciMaxObjectState } |
| enum | _PCI_DISPATCH_STYLE { IRP_COMPLETE , IRP_DOWNWARD , IRP_UPWARD , IRP_DISPATCH } |
| #define ASSERT_FDO | ( | x | ) | ASSERT((x)->ExtensionType == PciFdoExtensionType); |
| #define ASSERT_PDO | ( | x | ) | ASSERT((x)->ExtensionType == PciPdoExtensionType); |
| #define PCI_HACK_ENTRY_FULL_SIZE sizeof(L"VVVVddddssssIIIIRR") - sizeof(UNICODE_NULL) |
| #define PCI_HACK_ENTRY_REV_SIZE sizeof(L"VVVVddddRR") - sizeof(UNICODE_NULL) |
| #define PCI_HACK_ENTRY_SIZE sizeof(L"VVVVdddd") - sizeof(UNICODE_NULL) |
| #define PCI_HACK_ENTRY_SUBSYS_SIZE sizeof(L"VVVVddddssssIIII") - sizeof(UNICODE_NULL) |
| typedef struct _PCI_CONFIGURATOR PCI_CONFIGURATOR |
| typedef VOID(NTAPI * PCI_CONFIGURATOR_CHANGE_RESOURCE_SETTINGS) (IN PPCI_PDO_EXTENSION PdoExtension, IN PPCI_COMMON_HEADER PciData) |
| typedef VOID(NTAPI * PCI_CONFIGURATOR_GET_ADDITIONAL_RESOURCE_DESCRIPTORS) (IN struct _PCI_CONFIGURATOR_CONTEXT *Context, IN PPCI_COMMON_HEADER PciData, IN PIO_RESOURCE_DESCRIPTOR IoDescriptor) |
| typedef VOID(NTAPI * PCI_CONFIGURATOR_RESET_DEVICE) (IN PPCI_PDO_EXTENSION PdoExtension, IN PPCI_COMMON_HEADER PciData) |
| typedef enum _PCI_DEVICE_TYPES PCI_DEVICE_TYPES |
| typedef NTSTATUS(NTAPI * PCI_DISPATCH_FUNCTION) (IN PIRP Irp, IN PIO_STACK_LOCATION IoStackLocation, IN PVOID DeviceExtension) |
| typedef struct _PCI_HACK_ENTRY PCI_HACK_ENTRY |
| typedef union _PCI_HEADER_TYPE_DEPENDENT PCI_HEADER_TYPE_DEPENDENT |
| typedef struct _PCI_ID_BUFFER PCI_ID_BUFFER |
| typedef struct _PCI_INTERFACE PCI_INTERFACE |
| typedef struct _PCI_IPI_CONTEXT PCI_IPI_CONTEXT |
| typedef struct _PCI_POWER_STATE PCI_POWER_STATE |
| typedef enum _PCI_SIGNATURE PCI_SIGNATURE |
| typedef enum _PCI_STATE PCI_STATE |
| typedef struct PCI_ARBITER_INSTANCE * PPCI_ARBITER_INSTANCE |
| typedef struct _PCI_CONFIGURATOR * PPCI_CONFIGURATOR |
| typedef struct _PCI_FDO_EXTENSION * PPCI_FDO_EXTENSION |
| typedef struct _PCI_HACK_ENTRY * PPCI_HACK_ENTRY |
| typedef union _PCI_HEADER_TYPE_DEPENDENT * PPCI_HEADER_TYPE_DEPENDENT |
| typedef struct _PCI_ID_BUFFER * PPCI_ID_BUFFER |
| typedef struct _PCI_INTERFACE * PPCI_INTERFACE |
| typedef struct _PCI_IPI_CONTEXT * PPCI_IPI_CONTEXT |
| typedef struct _PCI_LEGACY_DEVICE * PPCI_LEGACY_DEVICE |
| typedef struct _PCI_PDO_EXTENSION * PPCI_PDO_EXTENSION |
| typedef struct _PCI_POWER_STATE * PPCI_POWER_STATE |
| typedef enum _PCI_SIGNATURE * PPCI_SIGNATURE |
| typedef struct _PCI_VERIFIER_DATA * PPCI_VERIFIER_DATA |
| Enumerator | |
|---|---|
| PciTypeInvalid | |
| PciTypeHostBridge | |
| PciTypePciBridge | |
| PciTypeCardbusBridge | |
| PciTypeDevice | |
Definition at line 125 of file pci.h.
| Enumerator | |
|---|---|
| IRP_COMPLETE | |
| IRP_DOWNWARD | |
| IRP_UPWARD | |
| IRP_DISPATCH | |
Definition at line 151 of file pci.h.
Definition at line 102 of file pci.h.
| Enumerator | |
|---|---|
| PciNotStarted | |
| PciStarted | |
| PciDeleted | |
| PciStopped | |
| PciSurpriseRemoved | |
| PciSynchronizedOperation | |
| PciMaxObjectState | |
Definition at line 137 of file pci.h.
| NTSTATUS NTAPI agpintrf_Constructor | ( | IN PVOID | DeviceExtension, |
| IN PVOID | Instance, | ||
| IN PVOID | InterfaceData, | ||
| IN USHORT | Version, | ||
| IN USHORT | Size, | ||
| IN PINTERFACE | Interface | ||
| ) |
Definition at line 47 of file agpintrf.c.
Definition at line 37 of file agpintrf.c.
| NTSTATUS NTAPI arbusno_Constructor | ( | IN PVOID | DeviceExtension, |
| IN PVOID | Instance, | ||
| IN PVOID | InterfaceData, | ||
| IN USHORT | Version, | ||
| IN USHORT | Size, | ||
| IN PINTERFACE | Interface | ||
| ) |
Definition at line 143 of file ar_busno.c.
Definition at line 110 of file ar_busno.c.
| NTSTATUS NTAPI arbusno_PackResource | ( | _In_ PIO_RESOURCE_DESCRIPTOR | Descriptor, |
| _In_ ULONGLONG | Start, | ||
| _Out_ PCM_PARTIAL_RESOURCE_DESCRIPTOR | Resource | ||
| ) |
Definition at line 54 of file ar_busno.c.
Referenced by arbusno_Initializer().
| INT32 NTAPI arbusno_ScoreRequirement | ( | _In_ PIO_RESOURCE_DESCRIPTOR | Descriptor | ) |
Definition at line 85 of file ar_busno.c.
Referenced by arbusno_Initializer().
| NTSTATUS NTAPI arbusno_UnpackRequirement | ( | _In_ PIO_RESOURCE_DESCRIPTOR | Descriptor, |
| _Out_ PULONGLONG | Minimum, | ||
| _Out_ PULONGLONG | Maximum, | ||
| _Out_ PULONGLONG | Length, | ||
| _Out_ PULONGLONG | Alignment | ||
| ) |
Definition at line 35 of file ar_busno.c.
Referenced by arbusno_Initializer(), and arbusno_ScoreRequirement().
| NTSTATUS NTAPI arbusno_UnpackResource | ( | _In_ PCM_PARTIAL_RESOURCE_DESCRIPTOR | Resource, |
| _Out_ PULONGLONG | Start, | ||
| _Out_ PULONGLONG | Length | ||
| ) |
Definition at line 71 of file ar_busno.c.
Referenced by arbusno_Initializer().
| VOID NTAPI ario_ApplyBrokenVideoHack | ( | IN PPCI_FDO_EXTENSION | FdoExtension | ) |
Definition at line 181 of file ar_memio.c.
Referenced by PciApplyHacks().
| NTSTATUS NTAPI ario_Constructor | ( | IN PVOID | DeviceExtension, |
| IN PVOID | Instance, | ||
| IN PVOID | InterfaceData, | ||
| IN USHORT | Version, | ||
| IN USHORT | Size, | ||
| IN PINTERFACE | Interface | ||
| ) |
Definition at line 153 of file ar_memio.c.
Definition at line 119 of file ar_memio.c.
| NTSTATUS NTAPI ario_PackResource | ( | _In_ PIO_RESOURCE_DESCRIPTOR | Descriptor, |
| _In_ ULONGLONG | Start, | ||
| _Out_ PCM_PARTIAL_RESOURCE_DESCRIPTOR | Resource | ||
| ) |
Definition at line 67 of file ar_memio.c.
Referenced by ario_Initializer().
| INT32 NTAPI ario_ScoreRequirement | ( | _In_ PIO_RESOURCE_DESCRIPTOR | Descriptor | ) |
Definition at line 98 of file ar_memio.c.
Referenced by ario_Initializer().
| NTSTATUS NTAPI ario_UnpackRequirement | ( | _In_ PIO_RESOURCE_DESCRIPTOR | Descriptor, |
| _Out_ PULONGLONG | Minimum, | ||
| _Out_ PULONGLONG | Maximum, | ||
| _Out_ PULONGLONG | Length, | ||
| _Out_ PULONGLONG | Alignment | ||
| ) |
Definition at line 48 of file ar_memio.c.
Referenced by ario_Initializer(), and ario_ScoreRequirement().
| NTSTATUS NTAPI ario_UnpackResource | ( | _In_ PCM_PARTIAL_RESOURCE_DESCRIPTOR | Resource, |
| _Out_ PULONGLONG | Start, | ||
| _Out_ PULONGLONG | Length | ||
| ) |
Definition at line 84 of file ar_memio.c.
Referenced by ario_Initializer().
| NTSTATUS NTAPI armem_Constructor | ( | IN PVOID | DeviceExtension, |
| IN PVOID | Instance, | ||
| IN PVOID | InterfaceData, | ||
| IN USHORT | Version, | ||
| IN USHORT | Size, | ||
| IN PINTERFACE | Interface | ||
| ) |
Definition at line 339 of file ar_memio.c.
Definition at line 305 of file ar_memio.c.
| NTSTATUS NTAPI armem_PackResource | ( | _In_ PIO_RESOURCE_DESCRIPTOR | Descriptor, |
| _In_ ULONGLONG | Start, | ||
| _Out_ PCM_PARTIAL_RESOURCE_DESCRIPTOR | Resource | ||
| ) |
Definition at line 245 of file ar_memio.c.
Referenced by armem_Initializer().
| INT32 NTAPI armem_ScoreRequirement | ( | _In_ PIO_RESOURCE_DESCRIPTOR | Descriptor | ) |
Definition at line 284 of file ar_memio.c.
Referenced by armem_Initializer().
| NTSTATUS NTAPI armem_UnpackRequirement | ( | _In_ PIO_RESOURCE_DESCRIPTOR | Descriptor, |
| _Out_ PULONGLONG | Minimum, | ||
| _Out_ PULONGLONG | Maximum, | ||
| _Out_ PULONGLONG | Length, | ||
| _Out_ PULONGLONG | Alignment | ||
| ) |
Definition at line 222 of file ar_memio.c.
Referenced by armem_Initializer(), and armem_ScoreRequirement().
| NTSTATUS NTAPI armem_UnpackResource | ( | _In_ PCM_PARTIAL_RESOURCE_DESCRIPTOR | Resource, |
| _Out_ PULONGLONG | Start, | ||
| _Out_ PULONGLONG | Length | ||
| ) |
Definition at line 267 of file ar_memio.c.
Referenced by armem_Initializer().
| NTSTATUS NTAPI busintrf_Constructor | ( | IN PVOID | DeviceExtension, |
| IN PVOID | Instance, | ||
| IN PVOID | InterfaceData, | ||
| IN USHORT | Version, | ||
| IN USHORT | Size, | ||
| IN PINTERFACE | Interface | ||
| ) |
Definition at line 142 of file busintrf.c.
Definition at line 132 of file busintrf.c.
| VOID NTAPI Cardbus_ChangeResourceSettings | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN PPCI_COMMON_HEADER | PciData | ||
| ) |
| VOID NTAPI Cardbus_GetAdditionalResourceDescriptors | ( | IN PPCI_CONFIGURATOR_CONTEXT | Context, |
| IN PPCI_COMMON_HEADER | PciData, | ||
| IN PIO_RESOURCE_DESCRIPTOR | IoDescriptor | ||
| ) |
Definition at line 67 of file cardbus.c.
| VOID NTAPI Cardbus_MassageHeaderForLimitsDetermination | ( | IN PPCI_CONFIGURATOR_CONTEXT | Context | ) |
| VOID NTAPI Cardbus_ResetDevice | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN PPCI_COMMON_HEADER | PciData | ||
| ) |
| VOID NTAPI Cardbus_RestoreCurrent | ( | IN PPCI_CONFIGURATOR_CONTEXT | Context | ) |
| VOID NTAPI Cardbus_SaveCurrentSettings | ( | IN PPCI_CONFIGURATOR_CONTEXT | Context | ) |
| VOID NTAPI Cardbus_SaveLimits | ( | IN PPCI_CONFIGURATOR_CONTEXT | Context | ) |
| VOID NTAPI Device_ChangeResourceSettings | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN PPCI_COMMON_HEADER | PciData | ||
| ) |
Definition at line 284 of file device.c.
| VOID NTAPI Device_GetAdditionalResourceDescriptors | ( | IN PPCI_CONFIGURATOR_CONTEXT | Context, |
| IN PPCI_COMMON_HEADER | PciData, | ||
| IN PIO_RESOURCE_DESCRIPTOR | IoDescriptor | ||
| ) |
Definition at line 260 of file device.c.
| VOID NTAPI Device_MassageHeaderForLimitsDetermination | ( | IN PPCI_CONFIGURATOR_CONTEXT | Context | ) |
Definition at line 219 of file device.c.
| VOID NTAPI Device_ResetDevice | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN PPCI_COMMON_HEADER | PciData | ||
| ) |
Definition at line 273 of file device.c.
| VOID NTAPI Device_RestoreCurrent | ( | IN PPCI_CONFIGURATOR_CONTEXT | Context | ) |
| VOID NTAPI Device_SaveCurrentSettings | ( | IN PPCI_CONFIGURATOR_CONTEXT | Context | ) |
Definition at line 20 of file device.c.
| VOID NTAPI Device_SaveLimits | ( | IN PPCI_CONFIGURATOR_CONTEXT | Context | ) |
Definition at line 119 of file device.c.
| NTSTATUS NTAPI devpresent_Constructor | ( | IN PVOID | DeviceExtension, |
| IN PVOID | Instance, | ||
| IN PVOID | InterfaceData, | ||
| IN USHORT | Version, | ||
| IN USHORT | Size, | ||
| IN PINTERFACE | Interface | ||
| ) |
Definition at line 45 of file devhere.c.
| NTSTATUS NTAPI lddintrf_Constructor | ( | IN PVOID | DeviceExtension, |
| IN PVOID | Instance, | ||
| IN PVOID | InterfaceData, | ||
| IN USHORT | Version, | ||
| IN USHORT | Size, | ||
| IN PINTERFACE | Interface | ||
| ) |
Definition at line 45 of file lddintrf.c.
Definition at line 35 of file lddintrf.c.
| NTSTATUS NTAPI locintrf_Constructor | ( | IN PVOID | DeviceExtension, |
| IN PVOID | Instance, | ||
| IN PVOID | InterfaceData, | ||
| IN USHORT | Version, | ||
| IN USHORT | Size, | ||
| IN PINTERFACE | Interface | ||
| ) |
Definition at line 45 of file locintrf.c.
Definition at line 35 of file locintrf.c.
| NTSTATUS NTAPI PciAddDevice | ( | IN PDRIVER_OBJECT | DriverObject, |
| IN PDEVICE_OBJECT | PhysicalDeviceObject | ||
| ) |
Definition at line 458 of file fdo.c.
| NTSTATUS NTAPI PciArbiterConstructor | ( | _In_ PPCI_FDO_EXTENSION | FdoExtension, |
| _In_ PCI_SIGNATURE | ArbiterType, | ||
| _Out_ PARBITER_INTERFACE | Interface | ||
| ) |
Definition at line 48 of file arb_comn.c.
Referenced by arbusno_Constructor(), ario_Constructor(), and armem_Constructor().
| BOOLEAN NTAPI PciAreBusNumbersConfigured | ( | IN PPCI_PDO_EXTENSION | PdoExtension | ) |
Definition at line 20 of file busno.c.
Referenced by PciAddDevice().
| NTSTATUS NTAPI PciBeginStateTransition | ( | IN PPCI_FDO_EXTENSION | DeviceExtension, |
| IN PCI_STATE | NewState | ||
| ) |
Definition at line 97 of file state.c.
Referenced by PciFdoIrpStartDevice(), PciPdoIrpStartDevice(), and PciQueryDeviceRelations().
Definition at line 275 of file utils.c.
Referenced by DriverEntry().
| NTSTATUS NTAPI PciBuildRequirementsList | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN PPCI_COMMON_HEADER | PciData, | ||
| OUT PIO_RESOURCE_REQUIREMENTS_LIST * | Buffer | ||
| ) |
Definition at line 572 of file enum.c.
Referenced by PciAssignSlotResources(), and PciQueryRequirements().
| NTSTATUS NTAPI PciCacheLegacyDeviceRouting | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN ULONG | BusNumber, | ||
| IN ULONG | SlotNumber, | ||
| IN UCHAR | InterruptLine, | ||
| IN UCHAR | InterruptPin, | ||
| IN UCHAR | BaseClass, | ||
| IN UCHAR | SubClass, | ||
| IN PDEVICE_OBJECT | PhysicalDeviceObject, | ||
| IN PPCI_PDO_EXTENSION | PdoExtension, | ||
| OUT PDEVICE_OBJECT * | pFoundDeviceObject | ||
| ) |
Definition at line 70 of file routintf.c.
Referenced by PciAssignSlotResources().
Definition at line 39 of file dispatch.c.
Referenced by PciDispatchIrp(), and PciFdoIrpQueryInterface().
| NTSTATUS NTAPI PciCancelStateTransition | ( | IN PPCI_FDO_EXTENSION | DeviceExtension, |
| IN PCI_STATE | NewState | ||
| ) |
Definition at line 145 of file state.c.
Referenced by PciFdoIrpStartDevice(), PciPdoIrpStartDevice(), and PciQueryDeviceRelations().
| 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().
| NTSTATUS NTAPI pcicbintrf_Constructor | ( | IN PVOID | DeviceExtension, |
| IN PVOID | Instance, | ||
| IN PVOID | InterfaceData, | ||
| IN USHORT | Version, | ||
| IN USHORT | Size, | ||
| IN PINTERFACE | Interface | ||
| ) |
Definition at line 109 of file cardbus.c.
| PCI_DEVICE_TYPES NTAPI PciClassifyDeviceType | ( | IN PPCI_PDO_EXTENSION | PdoExtension | ) |
Definition at line 1053 of file utils.c.
Referenced by PciProcessBus().
| VOID NTAPI PciCommitStateTransition | ( | IN PPCI_FDO_EXTENSION | DeviceExtension, |
| IN PCI_STATE | NewState | ||
| ) |
Definition at line 181 of file state.c.
Referenced by PciFdoIrpStartDevice(), and PciPdoIrpStartDevice().
| BOOLEAN NTAPI PciComputeNewCurrentSettings | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN PCM_RESOURCE_LIST | ResourceList | ||
| ) |
Definition at line 55 of file enum.c.
Referenced by PciAssignSlotResources(), and PciPdoIrpStartDevice().
| 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 PciDebugDumpCommonConfig | ( | IN PPCI_COMMON_HEADER | PciData | ) |
Definition at line 207 of file debug.c.
Referenced by PcipGetFunctionLimits(), and PciScanBus().
| VOID NTAPI PciDebugDumpQueryCapabilities | ( | IN PDEVICE_CAPABILITIES | DeviceCaps | ) |
Definition at line 221 of file debug.c.
Referenced by PciFdoIrpQueryCapabilities(), and PciQueryCapabilities().
| BOOLEAN NTAPI PciDebugIrpDispatchDisplay | ( | IN PIO_STACK_LOCATION | IoStackLocation, |
| IN PPCI_FDO_EXTENSION | DeviceExtension, | ||
| IN USHORT | MaxMinor | ||
| ) |
Definition at line 124 of file debug.c.
Referenced by PciDispatchIrp().
| VOID NTAPI PciDebugPrintCmResList | ( | IN PCM_RESOURCE_LIST | ResourceList | ) |
Definition at line 365 of file debug.c.
Referenced by PciComputeNewCurrentSettings().
| VOID NTAPI PciDebugPrintIoResReqList | ( | IN PIO_RESOURCE_REQUIREMENTS_LIST | Requirements | ) |
Definition at line 303 of file debug.c.
Referenced by PciQueryRequirements().
| VOID NTAPI PciDebugPrintPartialResource | ( | IN PCM_PARTIAL_RESOURCE_DESCRIPTOR | PartialResource | ) |
Definition at line 349 of file debug.c.
Referenced by PciComputeNewCurrentSettings(), and PciDebugPrintCmResList().
| 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 99 of file dispatch.c.
| BOOLEAN NTAPI PciEcamReadWriteConfig | ( | _In_ ULONG | Bus, |
| _In_ PCI_SLOT_NUMBER | Slot, | ||
| _Inout_updates_bytes_(Length) PVOID | Buffer, | ||
| _In_ ULONG | Offset, | ||
| _In_ ULONG | Length, | ||
| _In_ BOOLEAN | Read | ||
| ) |
Performs a configuration space access through the ECAM window.
Definition at line 386 of file ecam.c.
Referenced by PciReadWriteConfigSpace().
Definition at line 1071 of file utils.c.
| NTSTATUS NTAPI PciFdoIrpCancelRemoveDevice | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_FDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciFdoIrpCancelStopDevice | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_FDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciFdoIrpDeviceUsageNotification | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_FDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciFdoIrpQueryCapabilities | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_FDO_EXTENSION | DeviceExtension | ||
| ) |
Definition at line 310 of file fdo.c.
| NTSTATUS NTAPI PciFdoIrpQueryDeviceRelations | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_FDO_EXTENSION | DeviceExtension | ||
| ) |
Definition at line 208 of file fdo.c.
| NTSTATUS NTAPI PciFdoIrpQueryInterface | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_FDO_EXTENSION | DeviceExtension | ||
| ) |
Definition at line 235 of file fdo.c.
| NTSTATUS NTAPI PciFdoIrpQueryLegacyBusInformation | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_FDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciFdoIrpQueryPower | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_FDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciFdoIrpQueryRemoveDevice | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_FDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciFdoIrpQueryStopDevice | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_FDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciFdoIrpRemoveDevice | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_FDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciFdoIrpStartDevice | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_FDO_EXTENSION | DeviceExtension | ||
| ) |
Definition at line 76 of file fdo.c.
| NTSTATUS NTAPI PciFdoIrpStopDevice | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_FDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciFdoIrpSurpriseRemoval | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_FDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciFdoSetPowerState | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_FDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciFdoWaitWake | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_FDO_EXTENSION | DeviceExtension | ||
| ) |
| 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().
| UCHAR NTAPI PciGetAdjustedInterruptLine | ( | IN PPCI_PDO_EXTENSION | PdoExtension | ) |
Definition at line 24 of file config.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 PciGetConfigHandlers | ( | IN PPCI_FDO_EXTENSION | FdoExtension | ) |
Definition at line 266 of file config.c.
Referenced by PciAddDevice().
Definition at line 88 of file id.c.
Referenced by PciQueryDeviceText(), and PciScanBus().
| 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().
| VOID NTAPI PciGetExpressCapabilities | ( | _Inout_ PPCI_PDO_EXTENSION | PdoExtension | ) |
Records the Express capability of a new function and whether its extended configuration space can be reached.
| [in,out] | PdoExtension | The PDO extension of the function being enumerated. |
Definition at line 99 of file express.c.
Referenced by PciGetEnhancedCapabilities().
| 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().
Definition at line 248 of file hookhal.c.
Referenced by DriverEntry().
| NTSTATUS NTAPI PciInitializeArbiterRanges | ( | IN PPCI_FDO_EXTENSION | DeviceExtension, |
| IN PCM_RESOURCE_LIST | Resources | ||
| ) |
Definition at line 181 of file arb_comn.c.
Referenced by PciFdoIrpStartDevice().
| NTSTATUS NTAPI PciInitializeArbiters | ( | IN PPCI_FDO_EXTENSION | FdoExtension | ) |
Definition at line 90 of file arb_comn.c.
Referenced by PciAddDevice().
| VOID NTAPI PciInitializeEcam | ( | _In_ PPCI_FDO_EXTENSION | FdoExtension | ) |
Maps the bus an FDO decodes into the ECAM window and verifies the window the first time a bus with devices on it is seen.
| [in] | FdoExtension | The FDO extension of the bus being started. |
Definition at line 336 of file ecam.c.
Referenced by PciAddDevice().
| VOID NTAPI PciInitializeState | ( | IN PPCI_FDO_EXTENSION | DeviceExtension | ) |
Definition at line 88 of file state.c.
Referenced by PciInitializeFdoExtensionCommonFields(), and PciPdoCreate().
| 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().
| NTSTATUS NTAPI PciIrpInvalidDeviceRequest | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_FDO_EXTENSION | DeviceExtension | ||
| ) |
Definition at line 277 of file dispatch.c.
| NTSTATUS NTAPI PciIrpNotSupported | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_FDO_EXTENSION | DeviceExtension | ||
| ) |
Definition at line 261 of file dispatch.c.
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().
| 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().
Definition at line 70 of file dispatch.c.
Referenced by PciDispatchIrp(), and PciFdoIrpQueryInterface().
| NTSTATUS NTAPI PciPdoCreate | ( | IN PPCI_FDO_EXTENSION | DeviceExtension, |
| IN PCI_SLOT_NUMBER | Slot, | ||
| OUT PDEVICE_OBJECT * | PdoDeviceObject | ||
| ) |
Definition at line 542 of file pdo.c.
Referenced by PciScanBus().
| NTSTATUS NTAPI PciPdoIrpCancelRemoveDevice | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciPdoIrpCancelStopDevice | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciPdoIrpDeviceUsageNotification | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciPdoIrpQueryBusInformation | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
Definition at line 442 of file pdo.c.
| NTSTATUS NTAPI PciPdoIrpQueryCapabilities | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
Definition at line 364 of file pdo.c.
| NTSTATUS NTAPI PciPdoIrpQueryDeviceRelations | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
Definition at line 330 of file pdo.c.
| NTSTATUS NTAPI PciPdoIrpQueryDeviceState | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciPdoIrpQueryDeviceText | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
Definition at line 411 of file pdo.c.
| NTSTATUS NTAPI PciPdoIrpQueryId | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
Definition at line 428 of file pdo.c.
| NTSTATUS NTAPI PciPdoIrpQueryInterface | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
Definition at line 304 of file pdo.c.
| NTSTATUS NTAPI PciPdoIrpQueryLegacyBusInformation | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciPdoIrpQueryPower | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciPdoIrpQueryRemoveDevice | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciPdoIrpQueryResourceRequirements | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
Definition at line 395 of file pdo.c.
| NTSTATUS NTAPI PciPdoIrpQueryResources | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
Definition at line 380 of file pdo.c.
| NTSTATUS NTAPI PciPdoIrpQueryStopDevice | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciPdoIrpReadConfig | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciPdoIrpRemoveDevice | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciPdoIrpStartDevice | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
Definition at line 121 of file pdo.c.
| NTSTATUS NTAPI PciPdoIrpStopDevice | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciPdoIrpSurpriseRemoval | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciPdoIrpWriteConfig | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciPdoSetPowerState | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
| NTSTATUS NTAPI PciPdoWaitWake | ( | IN PIRP | Irp, |
| IN PIO_STACK_LOCATION | IoStackLocation, | ||
| IN PPCI_PDO_EXTENSION | DeviceExtension | ||
| ) |
| 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 PciPmeInterfaceConstructor | ( | IN PVOID | DeviceExtension, |
| IN PVOID | Instance, | ||
| IN PVOID | InterfaceData, | ||
| IN USHORT | Version, | ||
| IN USHORT | Size, | ||
| IN PINTERFACE | Interface | ||
| ) |
Definition at line 74 of file pmeintf.c.
| 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 PciQueryDeviceRelations | ( | IN PPCI_FDO_EXTENSION | DeviceExtension, |
| IN OUT PDEVICE_RELATIONS * | pDeviceRelations | ||
| ) |
Definition at line 2134 of file enum.c.
Referenced by PciFdoIrpQueryDeviceRelations().
| NTSTATUS NTAPI PciQueryDeviceText | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN DEVICE_TEXT_TYPE | QueryType, | ||
| IN ULONG | Locale, | ||
| OUT PWCHAR * | Buffer | ||
| ) |
Definition at line 394 of file id.c.
Referenced by PciPdoIrpQueryDeviceText().
| NTSTATUS NTAPI PciQueryEjectionRelations | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN OUT PDEVICE_RELATIONS * | pDeviceRelations | ||
| ) |
Definition at line 559 of file enum.c.
Referenced by PciPdoIrpQueryDeviceRelations().
| NTSTATUS NTAPI PciQueryId | ( | IN PPCI_PDO_EXTENSION | DeviceExtension, |
| IN BUS_QUERY_ID_TYPE | QueryType, | ||
| OUT PWCHAR * | Buffer | ||
| ) |
Definition at line 200 of file id.c.
Referenced by PciPdoIrpQueryId().
| NTSTATUS NTAPI PciQueryInterface | ( | IN PPCI_FDO_EXTENSION | DeviceExtension, |
| IN CONST GUID * | InterfaceType, | ||
| IN ULONG | Size, | ||
| IN ULONG | Version, | ||
| IN PVOID | InterfaceData, | ||
| IN PINTERFACE | Interface, | ||
| IN BOOLEAN | LastChance | ||
| ) |
Definition at line 45 of file intrface.c.
Referenced by PciFdoIrpQueryInterface(), and PciPdoIrpQueryInterface().
| NTSTATUS NTAPI PciQueryRequirements | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN OUT PIO_RESOURCE_REQUIREMENTS_LIST * | RequirementsList | ||
| ) |
Definition at line 675 of file enum.c.
Referenced by PciPdoIrpQueryResourceRequirements().
| NTSTATUS NTAPI PciQueryResources | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| OUT PCM_RESOURCE_LIST * | Buffer | ||
| ) |
Definition at line 371 of file enum.c.
Referenced by PciPdoIrpQueryResources().
| NTSTATUS NTAPI PciQueryTargetDeviceRelations | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN OUT PDEVICE_RELATIONS * | pDeviceRelations | ||
| ) |
Definition at line 532 of file enum.c.
Referenced by PciPdoIrpQueryDeviceRelations().
| 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().
| VOID NTAPI PciReadDeviceConfig | ( | IN PPCI_PDO_EXTENSION | DeviceExtension, |
| IN PVOID | Buffer, | ||
| IN ULONG | Offset, | ||
| IN ULONG | Length | ||
| ) |
Definition at line 149 of file config.c.
Referenced by PciApplyHacks(), PciAssignSlotResources(), PciConfigureIdeController(), PciDecodeEnable(), PcipGetFunctionLimits(), PciQueryRequirements(), PciQueryResources(), PciReadDeviceCapability(), PciReadDeviceExtendedCapability(), PciScanBus(), PciSetResources(), PciStallForPowerChange(), and PciWriteLimitsAndRestoreCurrent().
| ULONG NTAPI PciReadDeviceExtendedCapability | ( | _In_ PPCI_PDO_EXTENSION | DeviceExtension, |
| _In_ ULONG | CapabilityId, | ||
| _Out_writes_bytes_(Length) PPCI_EXPRESS_ENHANCED_CAPABILITY_HEADER | Buffer, | ||
| _In_ ULONG | Length | ||
| ) |
Finds an extended capability and reads it into the caller's buffer.
Definition at line 39 of file express.c.
| VOID NTAPI PciReadSlotConfig | ( | IN PPCI_FDO_EXTENSION | DeviceExtension, |
| IN PCI_SLOT_NUMBER | Slot, | ||
| IN PVOID | Buffer, | ||
| IN ULONG | Offset, | ||
| IN ULONG | Length | ||
| ) |
Definition at line 165 of file config.c.
Referenced by PciEcamVerifyBus(), and PciScanBus().
| NTSTATUS NTAPI PciSaveBiosConfig | ( | IN PPCI_PDO_EXTENSION | DeviceExtension, |
| OUT PPCI_COMMON_HEADER | PciData | ||
| ) |
Referenced by PciScanBus().
| 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().
| NTSTATUS NTAPI PciSetPowerManagedDevicePowerState | ( | IN PPCI_PDO_EXTENSION | DeviceExtension, |
| IN DEVICE_POWER_STATE | DeviceState, | ||
| IN BOOLEAN | IrpSet | ||
| ) |
Definition at line 121 of file power.c.
Referenced by PciPdoIrpStartDevice(), and PciScanBus().
| NTSTATUS NTAPI PciSetResources | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN BOOLEAN | DoReset, | ||
| IN BOOLEAN | SomethingSomethingDarkSide | ||
| ) |
Definition at line 2255 of file enum.c.
Referenced by PciAssignSlotResources(), and PciPdoIrpStartDevice().
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().
| VOID NTAPI PciVerifierInit | ( | IN PDRIVER_OBJECT | DriverObject | ) |
Definition at line 94 of file pcivrify.c.
Referenced by DriverEntry().
| PPCI_VERIFIER_DATA NTAPI PciVerifierRetrieveFailureData | ( | IN ULONG | FailureCode | ) |
Definition at line 60 of file pcivrify.c.
Referenced by PciStallForPowerChange().
| VOID NTAPI PciWriteDeviceConfig | ( | IN PPCI_PDO_EXTENSION | DeviceExtension, |
| IN PVOID | Buffer, | ||
| IN ULONG | Offset, | ||
| IN ULONG | Length | ||
| ) |
Definition at line 133 of file config.c.
Referenced by PciApplyHacks(), PciConfigureIdeController(), PciDecodeEnable(), PcipUpdateHardware(), PciScanBus(), PciSetPowerManagedDevicePowerState(), and PciWriteLimitsAndRestoreCurrent().
| VOID NTAPI PPBridge_ChangeResourceSettings | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN PPCI_COMMON_HEADER | PciData | ||
| ) |
Definition at line 684 of file ppbridge.c.
| VOID NTAPI PPBridge_GetAdditionalResourceDescriptors | ( | IN PPCI_CONFIGURATOR_CONTEXT | Context, |
| IN PPCI_COMMON_HEADER | PciData, | ||
| IN PIO_RESOURCE_DESCRIPTOR | IoDescriptor | ||
| ) |
Definition at line 629 of file ppbridge.c.
| VOID NTAPI PPBridge_MassageHeaderForLimitsDetermination | ( | IN PPCI_CONFIGURATOR_CONTEXT | Context | ) |
Definition at line 583 of file ppbridge.c.
| VOID NTAPI PPBridge_ResetDevice | ( | IN PPCI_PDO_EXTENSION | PdoExtension, |
| IN PPCI_COMMON_HEADER | PciData | ||
| ) |
Definition at line 674 of file ppbridge.c.
| VOID NTAPI PPBridge_RestoreCurrent | ( | IN PPCI_CONFIGURATOR_CONTEXT | Context | ) |
Definition at line 621 of file ppbridge.c.
| VOID NTAPI PPBridge_SaveCurrentSettings | ( | IN PPCI_CONFIGURATOR_CONTEXT | Context | ) |
Definition at line 225 of file ppbridge.c.
| VOID NTAPI PPBridge_SaveLimits | ( | IN PPCI_CONFIGURATOR_CONTEXT | Context | ) |
Definition at line 466 of file ppbridge.c.
| NTSTATUS NTAPI routeintrf_Constructor | ( | IN PVOID | DeviceExtension, |
| IN PVOID | Instance, | ||
| IN PVOID | InterfaceData, | ||
| IN USHORT | Version, | ||
| IN USHORT | Size, | ||
| IN PINTERFACE | Interface | ||
| ) |
Definition at line 47 of file routintf.c.
Definition at line 37 of file routintf.c.
| NTSTATUS NTAPI tranirq_Constructor | ( | IN PVOID | DeviceExtension, |
| IN PVOID | Instance, | ||
| IN PVOID | InterfaceData, | ||
| IN USHORT | Version, | ||
| IN USHORT | Size, | ||
| IN PINTERFACE | Interface | ||
| ) |
Definition at line 45 of file tr_irq.c.
|
extern |
Definition at line 20 of file agpintrf.c.
|
extern |
Definition at line 18 of file ar_busno.c.
|
extern |
Definition at line 31 of file ar_memio.c.
|
extern |
Definition at line 18 of file ar_memio.c.
|
extern |
Definition at line 18 of file busintrf.c.
Definition at line 71 of file init.c.
Referenced by AtaCtrlSetTransferMode(), and PciApplyHacks().
|
extern |
Definition at line 18 of file config.c.
Referenced by PciGetConfigHandlers(), PciProcessBus(), and PciReadWriteConfigSpace().
|
extern |
|
extern |
Definition at line 18 of file devhere.c.
Referenced by PdoQueryInterface(), and VideoPortCheckForDeviceExistence().
| DRIVER_DISPATCH PciDispatchIrp |
Definition at line 555 of file pci.h.
Referenced by DriverEntry().
|
extern |
Definition at line 19 of file init.c.
Referenced by DriverEntry(), and PciGetDescriptionMessage().
|
extern |
Definition at line 20 of file ecam.c.
Referenced by PciEcamReadWriteConfig(), PciGetExpressCapabilities(), and PciInitializeEcam().
|
extern |
Definition at line 24 of file init.c.
Referenced by DriverEntry(), and PciApplyHacks().
| KIPI_BROADCAST_WORKER PciExecuteCriticalSystemRoutine |
Definition at line 1146 of file pci.h.
Referenced by PcipGetFunctionLimits(), and PciUpdateHardware().
|
extern |
Definition at line 18 of file fdo.c.
Referenced by PciAddDevice(), PciFindParentPciFdoExtension(), and PciFindPdoByLocation().
|
extern |
Definition at line 20 of file init.c.
Referenced by DriverEntry(), PciAddDevice(), PciAssignSlotResources(), and PciFindPdoByLocation().
|
extern |
Definition at line 28 of file init.c.
Referenced by PciBuildHackTable(), and PciGetHackFlags().
|
extern |
Definition at line 18 of file intrface.c.
Referenced by PciInitializeArbiters(), and PciQueryInterface().
|
extern |
Definition at line 26 of file init.c.
Referenced by DriverEntry(), and PciDetermineSlotNumber().
|
extern |
Definition at line 18 of file lddintrf.c.
|
extern |
Definition at line 18 of file locintrf.c.
|
extern |
|
extern |
Definition at line 20 of file routintf.c.
|
extern |
Definition at line 18 of file init.c.
Referenced by DriverEntry().
|
extern |
|
extern |
Definition at line 27 of file init.c.
Referenced by PciScanBus().