/reactos/drivers/hid/hidclass/ |
H A D | pdo.c | 177 PHIDCLASS_PDO_DEVICE_EXTENSION PDODeviceExtension; in HidClassPDO_HandleQueryHardwareId() local 186 PDODeviceExtension = DeviceObject->DeviceExtension; in HidClassPDO_HandleQueryHardwareId() 187 ASSERT(PDODeviceExtension->Common.IsFDO == FALSE); in HidClassPDO_HandleQueryHardwareId() 211 …PDODeviceExtension->Common.Attributes.VendorID, PDODeviceExtension->Common.Attributes.ProductID, P… in HidClassPDO_HandleQueryHardwareId() 212 …Pid_%04x&Col%02x", PDODeviceExtension->Common.Attributes.VendorID, PDODeviceExtension->Common.Attr… in HidClassPDO_HandleQueryHardwareId() 317 PHIDCLASS_PDO_DEVICE_EXTENSION PDODeviceExtension; in HidClassPDO_HandleQueryInstanceId() local 322 PDODeviceExtension = DeviceObject->DeviceExtension; in HidClassPDO_HandleQueryInstanceId() 323 ASSERT(PDODeviceExtension->Common.IsFDO == FALSE); in HidClassPDO_HandleQueryInstanceId() 383 PHIDCLASS_PDO_DEVICE_EXTENSION PDODeviceExtension; in HidClassPDO_PnP() local 394 ASSERT(PDODeviceExtension->Common.IsFDO == FALSE); in HidClassPDO_PnP() [all …]
|
H A D | hidclass.c | 140 PHIDCLASS_PDO_DEVICE_EXTENSION PDODeviceExtension; in HidClass_Create() local 165 PDODeviceExtension = DeviceObject->DeviceExtension; in HidClass_Create() 194 Context->DeviceExtension = PDODeviceExtension; in HidClass_Create() 548 PHIDCLASS_PDO_DEVICE_EXTENSION PDODeviceExtension; in HidClass_BuildIrp() local 594 PDODeviceExtension = DeviceObject->DeviceExtension; in HidClass_BuildIrp() 595 ASSERT(PDODeviceExtension->Common.IsFDO == FALSE); in HidClass_BuildIrp() 865 PHIDCLASS_PDO_DEVICE_EXTENSION PDODeviceExtension; in HidClass_DeviceControl() local 891 PDODeviceExtension = DeviceObject->DeviceExtension; in HidClass_DeviceControl() 925 … PDODeviceExtension->CollectionNumber); in HidClass_DeviceControl() 951 … PDODeviceExtension->CollectionNumber); in HidClass_DeviceControl() [all …]
|
/reactos/drivers/usb/usbccgp/ |
H A D | pdo.c | 26 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBCCGP_PdoHandleQueryDeviceText() local 37 PDODeviceExtension = (PPDO_DEVICE_EXTENSION)DeviceObject->DeviceExtension; in USBCCGP_PdoHandleQueryDeviceText() 53 if (PDODeviceExtension->FunctionDescriptor->FunctionDescription.Length) in USBCCGP_PdoHandleQueryDeviceText() 71 …RtlCopyMemory(Buffer, PDODeviceExtension->FunctionDescriptor->FunctionDescription.Buffer, PDODevic… in USBCCGP_PdoHandleQueryDeviceText() 214 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBCCGP_PdoHandleQueryId() local 276 DeviceString = &PDODeviceExtension->FunctionDescriptor->HardwareId; in USBCCGP_PdoHandleQueryId() 347 PPDO_DEVICE_EXTENSION PDODeviceExtension; in PDO_HandlePnp() local 364 ASSERT(PDODeviceExtension->Common.IsFDO == FALSE); in PDO_HandlePnp() 503 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBCCGP_BuildConfigurationDescriptor() local 712 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBCCGP_PDOSelectConfiguration() local [all …]
|
H A D | fdo.c | 174 PPDO_DEVICE_EXTENSION PDODeviceExtension; in FDO_CreateChildPdo() local 213 PDODeviceExtension = (PPDO_DEVICE_EXTENSION)PDODeviceObject->DeviceExtension; in FDO_CreateChildPdo() 214 RtlZeroMemory(PDODeviceExtension, sizeof(PDO_DEVICE_EXTENSION)); in FDO_CreateChildPdo() 217 PDODeviceExtension->Common.IsFDO = FALSE; in FDO_CreateChildPdo() 218 PDODeviceExtension->FunctionDescriptor = &FDODeviceExtension->FunctionDescriptor[Index]; in FDO_CreateChildPdo() 219 PDODeviceExtension->NextDeviceObject = DeviceObject; in FDO_CreateChildPdo() 220 PDODeviceExtension->FunctionIndex = Index; in FDO_CreateChildPdo() 221 PDODeviceExtension->FDODeviceExtension = FDODeviceExtension; in FDO_CreateChildPdo() 222 PDODeviceExtension->InterfaceList = FDODeviceExtension->InterfaceList; in FDO_CreateChildPdo() 223 PDODeviceExtension->InterfaceListCount = FDODeviceExtension->InterfaceListCount; in FDO_CreateChildPdo() [all …]
|
/reactos/drivers/usb/usbstor/ |
H A D | disk.c | 87 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_HandleInternalDeviceControl() local 94 ASSERT(PDODeviceExtension->Common.IsFDO == FALSE); in USBSTOR_HandleInternalDeviceControl() 130 ASSERT(PDODeviceExtension->Claimed == TRUE); in USBSTOR_HandleInternalDeviceControl() 133 PDODeviceExtension->Claimed = FALSE; in USBSTOR_HandleInternalDeviceControl() 142 if (PDODeviceExtension->Claimed) in USBSTOR_HandleInternalDeviceControl() 151 PDODeviceExtension->Claimed = TRUE; in USBSTOR_HandleInternalDeviceControl() 230 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_HandleQueryProperty() local 274 ASSERT(PDODeviceExtension); in USBSTOR_HandleQueryProperty() 419 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_HandleDeviceControl() local 482 ASSERT(PDODeviceExtension); in USBSTOR_HandleDeviceControl() [all …]
|
H A D | scsi.c | 136 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_CSWCompletionRoutine() local 222 USBSTOR_QueueTerminateRequest(PDODeviceExtension->LowerDeviceObject, Irp); in USBSTOR_CSWCompletionRoutine() 223 USBSTOR_QueueNextRequest(PDODeviceExtension->LowerDeviceObject); in USBSTOR_CSWCompletionRoutine() 235 USBSTOR_QueueTerminateRequest(PDODeviceExtension->LowerDeviceObject, Irp); in USBSTOR_CSWCompletionRoutine() 269 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_DataCompletionRoutine() local 336 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_CBWCompletionRoutine() local 437 USBSTOR_QueueTerminateRequest(PDODeviceExtension->LowerDeviceObject, Irp); in USBSTOR_CBWCompletionRoutine() 460 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_SendCBWRequest() local 469 PDODeviceExtension = IoStack->DeviceObject->DeviceExtension; in USBSTOR_SendCBWRequest() 477 Context->cbw.LUN = PDODeviceExtension->LUN; in USBSTOR_SendCBWRequest() [all …]
|
H A D | pdo.c | 271 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_PdoHandleQueryHardwareId() local 398 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_PdoHandleQueryCompatibleId() local 438 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_PdoHandleQueryInstanceId() local 445 PDODeviceExtension = DeviceObject->DeviceExtension; in USBSTOR_PdoHandleQueryInstanceId() 479 PDODeviceExtension->LUN); in USBSTOR_PdoHandleQueryInstanceId() 487 PDODeviceExtension->LUN); in USBSTOR_PdoHandleQueryInstanceId() 870 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_CreatePDO() local 892 PDODeviceExtension->Common.IsFDO = FALSE; in USBSTOR_CreatePDO() 893 PDODeviceExtension->LowerDeviceObject = DeviceObject; in USBSTOR_CreatePDO() 895 PDODeviceExtension->Self = PDO; in USBSTOR_CreatePDO() [all …]
|
H A D | queue.c | 307 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_StartIo() local 342 PDODeviceExtension = (PPDO_DEVICE_EXTENSION)IoStack->DeviceObject->DeviceExtension; in USBSTOR_StartIo() 344 ASSERT(PDODeviceExtension->Common.IsFDO == FALSE); in USBSTOR_StartIo()
|
/reactos/drivers/usb/usbstor_new/ |
H A D | disk.c | 24 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_HandleInternalDeviceControl() local 50 ASSERT(PDODeviceExtension->Common.IsFDO == FALSE); in USBSTOR_HandleInternalDeviceControl() 116 ASSERT(PDODeviceExtension->Claimed == TRUE); in USBSTOR_HandleInternalDeviceControl() 121 PDODeviceExtension->Claimed = FALSE; in USBSTOR_HandleInternalDeviceControl() 131 if (PDODeviceExtension->Claimed) in USBSTOR_HandleInternalDeviceControl() 144 PDODeviceExtension->Claimed = TRUE; in USBSTOR_HandleInternalDeviceControl() 250 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_HandleQueryProperty() local 319 ASSERT(PDODeviceExtension); in USBSTOR_HandleQueryProperty() 320 ASSERT(PDODeviceExtension->Common.IsFDO == FALSE); in USBSTOR_HandleQueryProperty() 535 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_HandleDeviceControl() local [all …]
|
H A D | scsi.c | 633 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_SendRequest() local 665 PDODeviceExtension->LUN, in USBSTOR_SendRequest() 692 Context->PDODeviceExtension = PDODeviceExtension; in USBSTOR_SendRequest() 831 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_SendFormatCapacity() local 872 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_SendInquiry() local 918 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_SendCapacity() local 964 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_SendModeSense() local 1146 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_SendReadWrite() local 1180 ASSERT(PDODeviceExtension->BlockLength); in USBSTOR_SendReadWrite() 1221 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_SendTestUnit() local [all …]
|
H A D | pdo.c | 417 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_PdoHandleQueryHardwareId() local 581 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_PdoHandleQueryCompatibleId() local 653 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_PdoHandleQueryInstanceId() local 1129 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_SendIrp() local 1196 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_SendInquiryIrp() local 1244 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_SendFormatCapacityIrp() local 1267 …PDODeviceExtension->IsFloppy = USBSTOR_IsFloppy(Response, 0xFC /*FIXME*/, &PDODeviceExtension->Med… in USBSTOR_SendFormatCapacityIrp() 1285 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_CreatePDO() local 1321 PDODeviceExtension->Common.IsFDO = FALSE; in USBSTOR_CreatePDO() 1324 PDODeviceExtension->Self = PDO; in USBSTOR_CreatePDO() [all …]
|
H A D | error.c | 125 ASSERT(Context->PDODeviceExtension); in USBSTOR_HandleTransferError() 126 ASSERT(Context->PDODeviceExtension->Self); in USBSTOR_HandleTransferError() 172 USBSTOR_QueueTerminateRequest(Context->PDODeviceExtension->LowerDeviceObject, Context->Irp); in USBSTOR_HandleTransferError() 178 USBSTOR_QueueNextRequest(Context->PDODeviceExtension->LowerDeviceObject); in USBSTOR_HandleTransferError() 192 DPRINT1("Retrying Count %lu %p\n", Context->RetryCount, Context->PDODeviceExtension->Self); in USBSTOR_HandleTransferError() 197 …USBSTOR_HandleExecuteSCSI(Context->PDODeviceExtension->Self, Context->Irp, Context->RetryCount + 1… in USBSTOR_HandleTransferError()
|
H A D | queue.c | 548 PPDO_DEVICE_EXTENSION PDODeviceExtension; in USBSTOR_StartIo() local 640 PDODeviceExtension = (PPDO_DEVICE_EXTENSION)IoStack->DeviceObject->DeviceExtension; in USBSTOR_StartIo() 645 ASSERT(PDODeviceExtension->Common.IsFDO == FALSE); in USBSTOR_StartIo()
|
H A D | usbstor.h | 329 PPDO_DEVICE_EXTENSION PDODeviceExtension; member
|
/reactos/drivers/storage/port/scsiport/ |
H A D | pdo.c | 350 PSCSI_PORT_LUN_EXTENSION PDODeviceExtension = DeviceObject->DeviceExtension; in PdoHandleQueryHardwareId() local 358 InquiryData = &PDODeviceExtension->InquiryData; in PdoHandleQueryHardwareId() 461 PSCSI_PORT_LUN_EXTENSION PDODeviceExtension = DeviceObject->DeviceExtension; in PdoHandleQueryCompatibleId() local 467 DeviceType = GetDeviceType(&PDODeviceExtension->InquiryData); in PdoHandleQueryCompatibleId()
|