Home
last modified time | relevance | path

Searched refs:PhysicalDeviceObject (Results 1 – 25 of 137) sorted by relevance

123456

/reactos/ntoskrnl/io/pnpmgr/
H A Ddevnode.c35 _In_opt_ PDEVICE_OBJECT PhysicalDeviceObject) in PipAllocateDeviceNode() argument
65 if (PhysicalDeviceObject) in PipAllocateDeviceNode()
68 DeviceNode->PhysicalDeviceObject = PhysicalDeviceObject; in PipAllocateDeviceNode()
70 PhysicalDeviceObject->Flags &= ~DO_DEVICE_INITIALIZING; in PipAllocateDeviceNode()
164 _In_opt_ PDEVICE_OBJECT PhysicalDeviceObject,
180 ParentNode, PhysicalDeviceObject, ServiceName);
196 if (!PhysicalDeviceObject)
295 Node->PhysicalDeviceObject = PhysicalDeviceObject;
318 PhysicalDeviceObject->Flags &= ~DO_DEVICE_INITIALIZING;
333 ASSERT(DeviceNode->PhysicalDeviceObject); in IopFreeDeviceNode()
[all …]
H A Dpnpdma.c23 IoGetDmaAdapter(IN PDEVICE_OBJECT PhysicalDeviceObject, in IoGetDmaAdapter() argument
39 if (PhysicalDeviceObject) in IoGetDmaAdapter()
48 Status = IoGetDeviceProperty(PhysicalDeviceObject, in IoGetDmaAdapter()
66 Status = IopInitiatePnpIrp(PhysicalDeviceObject, in IoGetDmaAdapter()
83 return HalGetDmaAdapter(PhysicalDeviceObject, in IoGetDmaAdapter()
H A Dpnpreport.c21 PDEVICE_OBJECT PhysicalDeviceObject; member
108 ObDereferenceObject(Item->PhysicalDeviceObject); in IopReportTargetDeviceChangeAsyncWorker()
448 IoReportTargetDeviceChange(IN PDEVICE_OBJECT PhysicalDeviceObject, in IoReportTargetDeviceChange() argument
458 if (!IopIsValidPhysicalDeviceObject(PhysicalDeviceObject)) in IoReportTargetDeviceChange()
460 KeBugCheckEx(PNP_DETECTED_FATAL_ERROR, 0x2, (ULONG_PTR)PhysicalDeviceObject, 0, 0); in IoReportTargetDeviceChange()
482 …Status = PpSetCustomTargetEvent(PhysicalDeviceObject, &NotifyEvent, &NotifyStatus, NULL, NULL, not… in IoReportTargetDeviceChange()
498 IoReportTargetDeviceChangeAsynchronous(IN PDEVICE_OBJECT PhysicalDeviceObject, in IoReportTargetDeviceChangeAsynchronous() argument
510 if (!IopIsValidPhysicalDeviceObject(PhysicalDeviceObject)) in IoReportTargetDeviceChangeAsynchronous()
512 KeBugCheckEx(PNP_DETECTED_FATAL_ERROR, 0x2, (ULONG_PTR)PhysicalDeviceObject, 0, 0); in IoReportTargetDeviceChangeAsynchronous()
540 ObReferenceObject(PhysicalDeviceObject); in IoReportTargetDeviceChangeAsynchronous()
[all …]
H A Dpnpirp.c104 NTSTATUS status = IopSynchronousCall(DeviceNode->PhysicalDeviceObject, &stack, &info); in PiIrpStartDevice()
126 NTSTATUS status = IopSynchronousCall(DeviceNode->PhysicalDeviceObject, &stack, &info); in PiIrpStopDevice()
147 NTSTATUS status = IopSynchronousCall(DeviceNode->PhysicalDeviceObject, &stack, &info); in PiIrpQueryStopDevice()
169 NTSTATUS status = IopSynchronousCall(DeviceNode->PhysicalDeviceObject, &stack, &info); in PiIrpCancelStopDevice()
192 NTSTATUS status = IopSynchronousCall(DeviceNode->PhysicalDeviceObject, in PiIrpQueryDeviceRelations()
216 status = IopSynchronousCall(DeviceNode->PhysicalDeviceObject, &stack, (PVOID)&longRes); in PiIrpQueryResources()
242 status = IopSynchronousCall(DeviceNode->PhysicalDeviceObject, &stack, (PVOID)&longRes); in PiIrpQueryResourceRequirements()
273 status = IopSynchronousCall(DeviceNode->PhysicalDeviceObject, &stack, (PVOID)&longText); in PiIrpQueryDeviceText()
301 status = IopSynchronousCall(DeviceNode->PhysicalDeviceObject, &stack, (PVOID)&longState); in PiIrpQueryPnPDeviceState()
H A Ddevaction.c229 Status = IopInitiatePnpIrp(DeviceNode->PhysicalDeviceObject, in IopCreateDeviceInstancePath()
286 Status = IopInitiatePnpIrp(DeviceNode->PhysicalDeviceObject, in IopCreateDeviceInstancePath()
875 Status = IopInitiatePnpIrp(DeviceNode->PhysicalDeviceObject, in IopQueryDeviceCapabilities()
972 Status = IopInitiatePnpIrp(DeviceNode->PhysicalDeviceObject, in IopQueryHardwareIds()
1037 Status = IopInitiatePnpIrp(DeviceNode->PhysicalDeviceObject, in IopQueryCompatibleIds()
1200 DPRINT("PDO 0x%p\n", DeviceNode->PhysicalDeviceObject); in PiInitializeDevNode()
1261 Status = IopInitiatePnpIrp(DeviceNode->PhysicalDeviceObject, in PiInitializeDevNode()
2083 IopSendRemoveDevice(DeviceNode->PhysicalDeviceObject); in IopRemoveDevice()
2203 IoRequestDeviceEject(IN PDEVICE_OBJECT PhysicalDeviceObject) in IoRequestDeviceEject() argument
2222 Status = IopInitiatePnpIrp(PhysicalDeviceObject, in IoRequestDeviceEject()
[all …]
/reactos/sdk/lib/drivers/wdf/shared/core/km/
H A Dfxdriverkm.cpp40 __in MdDeviceObject PhysicalDeviceObject in AddDevice() argument
48 return pDriver->AddDevice(PhysicalDeviceObject); in AddDevice()
57 _In_ MdDeviceObject PhysicalDeviceObject in AddDevice() argument
65 "Enter AddDevice PDO %p", PhysicalDeviceObject); in AddDevice()
71 init.Fdo.PhysicalDevice = PhysicalDeviceObject; in AddDevice()
/reactos/drivers/wdm/audio/backpln/portcls/
H A Dadapter.cpp75 IN PDEVICE_OBJECT PhysicalDeviceObject, in PcAddAdapterDevice() argument
88 if (!DriverObject || !PhysicalDeviceObject || !StartDevice) in PcAddAdapterDevice()
138 portcls_ext->PhysicalDeviceObject = PhysicalDeviceObject; in PcAddAdapterDevice()
164 PrevDeviceObject = IoAttachDeviceToDeviceStack(fdo, PhysicalDeviceObject); in PcAddAdapterDevice()
180 IoRegisterShutdownNotification(PhysicalDeviceObject); in PcAddAdapterDevice()
278 Status = IoRegisterDeviceInterface(DeviceExt->PhysicalDeviceObject, in PcRegisterSubdevice()
/reactos/drivers/ksfilter/ks/
H A Ddriver.c50 ASSERT(BasicHeader->KsDevice->PhysicalDeviceObject); in KsGetDevice()
67 IN PDEVICE_OBJECT PhysicalDeviceObject, in KsCreateDevice() argument
84 …OldHighestDeviceObject = IoAttachDeviceToDeviceStack(FunctionalDeviceObject, PhysicalDeviceObject); in KsCreateDevice()
87 …Status = KsInitializeDevice(FunctionalDeviceObject, PhysicalDeviceObject, OldHighestDeviceObject, … in KsCreateDevice()
131 IN PDEVICE_OBJECT PhysicalDeviceObject) in KsAddDevice() argument
146 return KsCreateDevice(DriverObject, PhysicalDeviceObject, Descriptor, 0, NULL); in KsAddDevice()
/reactos/drivers/bus/pcix/
H A Dfdo.c401 Status = PciSendIoctl(FdoExtension->PhysicalDeviceObject, in PciGetHotPlugParameters()
435 IN PDEVICE_OBJECT PhysicalDeviceObject) in PciInitializeFdoExtensionCommonFields() argument
441 FdoExtension->PhysicalDeviceObject = PhysicalDeviceObject; in PciInitializeFdoExtensionCommonFields()
459 IN PDEVICE_OBJECT PhysicalDeviceObject) in PciAddDevice() argument
475 PhysicalDeviceObject, &PhysicalDeviceObject->DriverObject->DriverName); in PciAddDevice()
486 ParentExtension = PciFindParentPciFdoExtension(PhysicalDeviceObject, in PciAddDevice()
491 PdoExtension = PhysicalDeviceObject->DeviceExtension; in PciAddDevice()
544 PhysicalDeviceObject); in PciAddDevice()
549 PhysicalDeviceObject); in PciAddDevice()
566 Status = PciGetDeviceProperty(PhysicalDeviceObject, in PciAddDevice()
H A Dhookhal.c154 ASSERT(DeviceObject != PdoExtension->PhysicalDeviceObject); in PciAssignSlotResources()
166 PhysicalDeviceObject, in PciAssignSlotResources()
230 PhysicalDeviceObject, in PciAssignSlotResources()
/reactos/drivers/bluetooth/fbtusb/
H A Dfbtusb.c31 …TUS NTAPI FreeBT_AddDevice(IN PDRIVER_OBJECT DriverObject, IN PDEVICE_OBJECT PhysicalDeviceObject);
108 …ATUS NTAPI FreeBT_AddDevice(IN PDRIVER_OBJECT DriverObject, IN PDEVICE_OBJECT PhysicalDeviceObject) in FreeBT_AddDevice() argument
157 deviceExtension->PhysicalDeviceObject = PhysicalDeviceObject; in FreeBT_AddDevice()
218 if (PhysicalDeviceObject->Flags & DO_POWER_PAGABLE) in FreeBT_AddDevice()
238 …xtension->TopOfStackDeviceObject = IoAttachDeviceToDeviceStack(deviceObject, PhysicalDeviceObject); in FreeBT_AddDevice()
251 ntStatus = IoRegisterDeviceInterface(deviceExtension->PhysicalDeviceObject, in FreeBT_AddDevice()
/reactos/drivers/usb/usbccgp/
H A Dusbccgp.c24 PDEVICE_OBJECT PhysicalDeviceObject) in USBCCGP_AddDevice() argument
52 FDODeviceExtension->PhysicalDeviceObject = PhysicalDeviceObject; in USBCCGP_AddDevice()
58 PhysicalDeviceObject); in USBCCGP_AddDevice()
/reactos/drivers/input/inport/
H A Dinport.c45 _In_ PDEVICE_OBJECT PhysicalDeviceObject) in InPortAddDevice() argument
62 DPRINT("%s(%p, %p)\n", __FUNCTION__, DriverObject, PhysicalDeviceObject); in InPortAddDevice()
82 FdoExtension->Pdo = PhysicalDeviceObject; in InPortAddDevice()
83 FdoExtension->Ldo = IoAttachDeviceToDeviceStack(Fdo, PhysicalDeviceObject); in InPortAddDevice()
94 Status = IoGetDeviceProperty(PhysicalDeviceObject, in InPortAddDevice()
/reactos/ntoskrnl/io/iomgr/
H A Ddeviface.c455 IN PDEVICE_OBJECT PhysicalDeviceObject OPTIONAL, in IoGetDeviceInterfaces()
480 if (PhysicalDeviceObject != NULL) in IoGetDeviceInterfaces()
569 if (PhysicalDeviceObject) in IoGetDeviceInterfaces()
955 IoRegisterDeviceInterface(IN PDEVICE_OBJECT PhysicalDeviceObject, in IoRegisterDeviceInterface() argument
981 PhysicalDeviceObject, ReferenceString); in IoRegisterDeviceInterface()
989 DPRINT("PhysicalDeviceObject 0x%p doesn't have a DeviceNode\n", PhysicalDeviceObject); in IoRegisterDeviceInterface()
1021 PhysicalDeviceObject, in IoRegisterDeviceInterface()
1314 PDEVICE_OBJECT PhysicalDeviceObject; in IoSetDeviceInterfaceState() local
1454 PhysicalDeviceObject = IopGetDeviceObjectFromDeviceInstance(&DeviceInstance); in IoSetDeviceInterfaceState()
1456 if (!PhysicalDeviceObject) in IoSetDeviceInterfaceState()
[all …]
/reactos/drivers/usb/usbstor_new/
H A Dusbstor.c24 IN PDEVICE_OBJECT PhysicalDeviceObject) in USBSTOR_AddDevice() argument
60 DeviceExtension->PhysicalDeviceObject = PhysicalDeviceObject; in USBSTOR_AddDevice()
61 …viceExtension->LowerDeviceObject = IoAttachDeviceToDeviceStack(DeviceObject, PhysicalDeviceObject); in USBSTOR_AddDevice()
/reactos/drivers/usb/usbstor/
H A Dusbstor.c20 IN PDEVICE_OBJECT PhysicalDeviceObject) in USBSTOR_AddDevice() argument
40 DeviceExtension->PhysicalDeviceObject = PhysicalDeviceObject; in USBSTOR_AddDevice()
41 …viceExtension->LowerDeviceObject = IoAttachDeviceToDeviceStack(DeviceObject, PhysicalDeviceObject); in USBSTOR_AddDevice()
/reactos/win32ss/drivers/videoprt/
H A Dvideoprt.c162 _In_opt_ PDEVICE_OBJECT PhysicalDeviceObject, in IntVideoPortCreateAdapterDeviceObject() argument
231 DeviceExtension->PhysicalDeviceObject = PhysicalDeviceObject; in IntVideoPortCreateAdapterDeviceObject()
250 if (PhysicalDeviceObject != NULL) in IntVideoPortCreateAdapterDeviceObject()
254 Status = IoGetDeviceProperty(PhysicalDeviceObject, in IntVideoPortCreateAdapterDeviceObject()
264 DeviceExtension->PhysicalDeviceObject = NULL; in IntVideoPortCreateAdapterDeviceObject()
271 if (PhysicalDeviceObject != NULL) in IntVideoPortCreateAdapterDeviceObject()
275 IoGetDeviceProperty(PhysicalDeviceObject, in IntVideoPortCreateAdapterDeviceObject()
283 IoGetDeviceProperty(PhysicalDeviceObject, in IntVideoPortCreateAdapterDeviceObject()
306 if ((PhysicalDeviceObject != NULL) && (DisplayNumber == 0)) in IntVideoPortCreateAdapterDeviceObject()
462 if (DeviceExtension->PhysicalDeviceObject == NULL) in IntVideoPortFindAdapter()
[all …]
H A Dvideoprt.h87 PDEVICE_OBJECT PhysicalDeviceObject; member
127 PDEVICE_OBJECT PhysicalDeviceObject; member
177 IN PDEVICE_OBJECT PhysicalDeviceObject);
271 _In_opt_ PDEVICE_OBJECT PhysicalDeviceObject,
/reactos/drivers/bus/pcix/intrface/
H A Droutintf.c77 IN PDEVICE_OBJECT PhysicalDeviceObject, in PciCacheLegacyDeviceRouting() argument
132 LegacyDevice->PhysicalDeviceObject = PhysicalDeviceObject; in PciCacheLegacyDeviceRouting()
/reactos/drivers/bus/isapnp/
H A Dstub.c207 _In_ PDEVICE_OBJECT PhysicalDeviceObject) in IsaStubAddDevice() argument
215 DPRINT("%s(%p, %p)\n", __FUNCTION__, DriverObject, PhysicalDeviceObject); in IsaStubAddDevice()
236 FdoExt->Pdo = PhysicalDeviceObject; in IsaStubAddDevice()
237 FdoExt->Ldo = IoAttachDeviceToDeviceStack(Fdo, PhysicalDeviceObject); in IsaStubAddDevice()
/reactos/drivers/storage/class/disk/
H A Dpnp.c55 IN PDEVICE_OBJECT PhysicalDeviceObject in DiskAddDevice() argument
101 status = IoOpenDeviceRegistryKey(PhysicalDeviceObject, in DiskAddDevice()
109 status, PhysicalDeviceObject)); in DiskAddDevice()
126 status, PhysicalDeviceObject, deviceKey)); in DiskAddDevice()
147 status, diskKey, PhysicalDeviceObject)); in DiskAddDevice()
162 PhysicalDeviceObject)); in DiskAddDevice()
174 PhysicalDeviceObject, in DiskAddDevice()
/reactos/drivers/bus/acpi/
H A Dmain.c27 PDEVICE_OBJECT PhysicalDeviceObject in Bus_AddDevice() argument
41 DPRINT("Add Device: 0x%p\n", PhysicalDeviceObject); in Bus_AddDevice()
76 deviceData->UnderlyingPDO = PhysicalDeviceObject; in Bus_AddDevice()
95 PhysicalDeviceObject); in Bus_AddDevice()
109 status = IoGetDeviceProperty (PhysicalDeviceObject, in Bus_AddDevice()
129 status = IoGetDeviceProperty (PhysicalDeviceObject, in Bus_AddDevice()
144 PhysicalDeviceObject, in Bus_AddDevice()
/reactos/drivers/wdm/audio/drivers/mpu401/
H A Dadapter.cpp94 IN PDEVICE_OBJECT PhysicalDeviceObject) in AddDevice() argument
98 PhysicalDeviceObject, in AddDevice()
/reactos/drivers/wdm/audio/legacy/stream/
H A Ddriver.c15 IN PDEVICE_OBJECT PhysicalDeviceObject) in StreamClassAddDevice() argument
48 LowerDeviceObject = IoAttachDeviceToDeviceStack(DeviceObject, PhysicalDeviceObject); in StreamClassAddDevice()
83 DeviceExtension->PhysicalDeviceObject = PhysicalDeviceObject; in StreamClassAddDevice()
/reactos/drivers/wdm/audio/sysaudio/
H A Dmain.c131 IN PDEVICE_OBJECT PhysicalDeviceObject) in SysAudio_AddDevice() argument
158 Status = SysAudioRegisterDeviceInterfaces(PhysicalDeviceObject); in SysAudio_AddDevice()
214 NextDeviceObject = IoAttachDeviceToDeviceStack(DeviceObject, PhysicalDeviceObject); in SysAudio_AddDevice()

123456