25 "PciSynchronizedOperation",
102 DPRINT1(
"PCI Request to begin transition of Extension %p to %s ->",
107 ASSERT(DeviceExtension->TentativeNextState == DeviceExtension->DeviceState);
119 DPRINT1(
"ERROR\nPCI: Error trying to enter state \"%s\" "
120 "from state \"%s\"\n",
128 DPRINT1(
"ERROR\nPCI: Illegal request to try to enter state \"%s\" "
129 "from state \"%s\", rejecting",
149 DPRINT1(
"PCI Request to cancel transition of Extension %p to %s ->",
154 if (DeviceExtension->TentativeNextState == DeviceExtension->DeviceState)
167 ASSERT(DeviceExtension->TentativeNextState == StateNotEntered);
168 DeviceExtension->TentativeNextState = DeviceExtension->DeviceState;
184 DPRINT1(
"PCI Commit transition of Extension %p to %s\n",
189 ASSERT(DeviceExtension->TentativeNextState == NewState);
192 DeviceExtension->DeviceState = NewState;
#define NT_SUCCESS(StatCode)
PCHAR PciTransitionText[PciMaxObjectState+1]
NTSTATUS PnpStateCancelArray[PciMaxObjectState]
NTSTATUS NTAPI PciBeginStateTransition(IN PPCI_FDO_EXTENSION DeviceExtension, IN PCI_STATE NewState)
NTSTATUS NTAPI PciCancelStateTransition(IN PPCI_FDO_EXTENSION DeviceExtension, IN PCI_STATE StateNotEntered)
NTSTATUS PnpStateTransitionArray[PciMaxObjectState *PciMaxObjectState]
VOID NTAPI PciCommitStateTransition(IN PPCI_FDO_EXTENSION DeviceExtension, IN PCI_STATE NewState)
VOID NTAPI PciInitializeState(IN PPCI_FDO_EXTENSION DeviceExtension)
enum _PCI_STATE PCI_STATE
@ PciSynchronizedOperation
NTSYSAPI void WINAPI DbgBreakPoint(void)
#define STATUS_FAIL_CHECK
#define STATUS_INVALID_DEVICE_REQUEST
#define STATUS_INVALID_DEVICE_STATE
_Out_opt_ PBOOLEAN CurrentState