/reactos/drivers/wdm/audio/drivers/sb16/ |
H A D | main.cpp | 82 IN PRESOURCELIST ResourceList, in DetectFeatures() argument 93 ULONG IoCount = ResourceList->NumberOfPorts(); in DetectFeatures() 94 ULONG IrqCount = ResourceList->NumberOfInterrupts(); in DetectFeatures() 95 ULONG DmaCount = ResourceList->NumberOfDmas(); in DetectFeatures() 185 IN PRESOURCELIST ResourceList, in AssignResources() argument 209 ResourceList, in AssignResources() 210 ResourceList->NumberOfDmas() + in AssignResources() 223 for ( i = 0; i < ResourceList->NumberOfDmas(); i ++ ) in AssignResources() 266 ResourceList, in AssignResources() 310 IN PRESOURCELIST ResourceList) in StartDevice() argument [all …]
|
/reactos/modules/rostests/unittests/isapnp/ |
H A D | res_card.c | 334 ok_eq_pointer(ResourceList, NULL); in DrvTestCard1Dev1QueryResources() 574 ok_eq_pointer(ResourceList, NULL); in DrvTestCard1Dev2QueryResources() 674 ok_eq_pointer(ResourceList, NULL); in DrvTestCard1Dev3QueryResources() 860 if (ResourceList == NULL) in DrvTestCard1Dev5QueryResources() 885 ok_eq_size(GetPoolAllocSize(ResourceList), (ULONG_PTR)Descriptor - (ULONG_PTR)ResourceList); in DrvTestCard1Dev5QueryResources() 994 if (ResourceList == NULL) in DrvTestCard1Dev6QueryResources() 1033 ok_eq_size(GetPoolAllocSize(ResourceList), (ULONG_PTR)Descriptor - (ULONG_PTR)ResourceList); in DrvTestCard1Dev6QueryResources() 1262 PCM_RESOURCE_LIST ResourceList; in DrvTestCard1Dev6CreateConfigurationResources() local 1282 if (ResourceList == NULL) in DrvTestCard1Dev6CreateConfigurationResources() 1284 ResourceList->Count = 1; in DrvTestCard1Dev6CreateConfigurationResources() [all …]
|
H A D | tests.c | 125 PCM_RESOURCE_LIST ResourceList; in DrvTestResources() local 135 ResourceList = PdoExt.ResourceList; in DrvTestResources() 142 DrvTestCard1Dev1Resources(ResourceList, ReqList); in DrvTestResources() 150 DrvTestCard1Dev2Resources(ResourceList, ReqList); in DrvTestResources() 201 if (ResourceList == NULL) in DrvTestResources() 255 PCM_RESOURCE_LIST ResourceList; in DrvTestReadDataPortQueryResources() local 259 ResourceList = IsaPnpCreateReadPortDOResources(); in DrvTestReadDataPortQueryResources() 261 ok(ResourceList != NULL, "ResourceList is NULL\n"); in DrvTestReadDataPortQueryResources() 262 if (ResourceList == NULL) in DrvTestReadDataPortQueryResources() 267 expect_resource_list_header(ResourceList, Internal, 2UL); in DrvTestReadDataPortQueryResources() [all …]
|
H A D | precomp.h | 94 PCM_RESOURCE_LIST ResourceList; member 157 _In_ PCM_RESOURCE_LIST ResourceList, 162 _In_ PCM_RESOURCE_LIST ResourceList, 167 _In_ PCM_RESOURCE_LIST ResourceList, 172 _In_ PCM_RESOURCE_LIST ResourceList, 177 _In_ PCM_RESOURCE_LIST ResourceList, 182 _In_ PCM_RESOURCE_LIST ResourceList, 187 _In_ PCM_RESOURCE_LIST ResourceList, 201 #define expect_resource_list_header(ResourceList, ExpectedIface, ExpectedCount) \ argument 203 ok_eq_int((ResourceList)->List[0].InterfaceType, (ExpectedIface)); \ [all …]
|
/reactos/ntoskrnl/io/pnpmgr/ |
H A D | pnpres.c | 20 ASSERT((ResourceList->Count > 0) && (ResourceList->Count < 1000)); in IopGetNextResourceList() 22 &ResourceList->Descriptors[ResourceList->Count]); in IopGetNextResourceList() 228 if (*ResourceList != NULL) in IopFixupResourceListWithRequirements() 243 *ResourceList = NULL; in IopFixupResourceListWithRequirements() 258 RtlCopyMemory(NewList, *ResourceList, PnpDetermineResourceListSize(*ResourceList)); in IopFixupResourceListWithRequirements() 547 if (*ResourceList) in IopFixupResourceListWithRequirements() 549 ExFreePool(*ResourceList); in IopFixupResourceListWithRequirements() 550 *ResourceList = NULL; in IopFixupResourceListWithRequirements() 864 if (DeviceNode->ResourceList) in IopUpdateResourceMap() 978 if (!DeviceNode->ResourceList) in IopTranslateDeviceResources() [all …]
|
/reactos/sdk/include/wdf/kmdf/1.17/ |
H A D | wdfresource.h | 308 WDFIORESLIST* ResourceList 321 WDFIORESLIST* ResourceList in _IRQL_requires_max_() 339 WDFIORESLIST ResourceList, 350 WDFIORESLIST ResourceList, in _IRQL_requires_max_() 370 WDFIORESLIST ResourceList, 383 WDFIORESLIST ResourceList, in _IRQL_requires_max_() 404 WDFIORESLIST ResourceList, 416 WDFIORESLIST ResourceList, in _IRQL_requires_max_() 437 WDFIORESLIST ResourceList 445 WDFIORESLIST ResourceList in _IRQL_requires_max_() [all …]
|
/reactos/drivers/wdm/audio/drivers/CMIDriver/ |
H A D | adapter.cpp | 83 ProcessResources(PRESOURCELIST ResourceList, PRESOURCELIST* UartResourceList) in ProcessResources() argument 86 ASSERT(ResourceList); in ProcessResources() 89 …OfInterrupts: %d, NumberOfDmas: %d", ResourceList->NumberOfPorts(), ResourceList->NumberOfInterrup… in ProcessResources() 96 …if ((ResourceList->NumberOfPorts() == 0) || (ResourceList->NumberOfPorts() > 2) || (ResourceList->… in ProcessResources() 104 (*UartResourceList)->AddPortFromParent(ResourceList, 1); in ProcessResources() 105 (*UartResourceList)->AddInterruptFromParent(ResourceList, 0); in ProcessResources() 120 ASSERT(ResourceList); in StartDevice() 149 ntStatus = ProcessResources(ResourceList, &UartResourceList); in StartDevice() 170 ntStatus = pCMIAdapter->init(ResourceList, DeviceObject); in StartDevice() 194 for (int i=0;i<ResourceList->NumberOfPorts();i++) { in StartDevice() [all …]
|
/reactos/drivers/network/dd/e1000/ |
H A D | ndis.c | 61 PNDIS_RESOURCE_LIST ResourceList; in MiniportInitialize() local 81 ResourceList = NULL; in MiniportInitialize() 126 ResourceList, in MiniportInitialize() 136 Status = NdisAllocateMemoryWithTag((PVOID*)&ResourceList, in MiniportInitialize() 148 ResourceList, in MiniportInitialize() 157 ASSERT(ResourceList->Version == 1); in MiniportInitialize() 158 ASSERT(ResourceList->Revision == 1); in MiniportInitialize() 162 NdisFreeMemory(ResourceList, ResourceListSize, 0); in MiniportInitialize() 163 ResourceList = NULL; in MiniportInitialize() 242 if (ResourceList != NULL) in MiniportInitialize() [all …]
|
/reactos/drivers/wdm/audio/drivers/ac97/ |
H A D | adapter.cpp | 56 _In_opt_ PRESOURCELIST ResourceList, in InstallSubdevice() argument 121 ResourceList); in InstallSubdevice() 174 IN PRESOURCELIST ResourceList // All resources. in ValidateResources() argument 184 ULONG countIO = ResourceList->NumberOfPorts (); in ValidateResources() 185 ULONG countIRQ = ResourceList->NumberOfInterrupts (); in ValidateResources() 186 ULONG countDMA = ResourceList->NumberOfDmas (); in ValidateResources() 221 ASSERT (ResourceList); in StartDevice() 265 ntStatus = ValidateResources (ResourceList); in StartDevice() 366 ResourceList, in StartDevice() 386 ResourceList, in StartDevice() [all …]
|
H A D | rtminiport.cpp | 61 _In_ PRESOURCELIST ResourceList, in STDMETHODIMP_() 69 ResourceList, in STDMETHODIMP_() 83 IN PRESOURCELIST ResourceList in ProcessResources() argument 88 ASSERT (ResourceList); in ProcessResources() 94 ULONG countIRQ = ResourceList->NumberOfInterrupts (); in ProcessResources() 107 ResourceList, in ProcessResources()
|
/reactos/sdk/lib/drivers/wdf/shared/support/ |
H A D | fxresourceapi.cpp | 476 WDFIORESLIST* ResourceList in __drv_maxIRQL() 508 *ResourceList = NULL; in __drv_maxIRQL() 543 WDFIORESLIST ResourceList, in __drv_maxIRQL() 621 WDFIORESLIST ResourceList, in __drv_maxIRQL() 658 WDFIORESLIST ResourceList, in __drv_maxIRQL() 690 WDFIORESLIST ResourceList, in __drv_maxIRQL() 766 WDFIORESLIST ResourceList in __drv_maxIRQL() 786 ResourceList, in __drv_maxIRQL() 805 WDFIORESLIST ResourceList, in __drv_maxIRQL() 860 WDFIORESLIST ResourceList, in __drv_maxIRQL() [all …]
|
/reactos/drivers/bus/isapnp/ |
H A D | pdo.c | 475 PCM_RESOURCE_LIST ResourceList; in IsaPdoQueryResources() local 483 ResourceList = IsaPnpCreateReadPortDOResources(); in IsaPdoQueryResources() 484 if (!ResourceList) in IsaPdoQueryResources() 487 Irp->IoStatus.Information = (ULONG_PTR)ResourceList; in IsaPdoQueryResources() 491 if (!PdoExt->ResourceList) in IsaPdoQueryResources() 496 if (!ResourceList) in IsaPdoQueryResources() 499 RtlCopyMemory(ResourceList, PdoExt->ResourceList, ListSize); in IsaPdoQueryResources() 500 Irp->IoStatus.Information = (ULONG_PTR)ResourceList; in IsaPdoQueryResources() 549 _In_ PCM_RESOURCE_LIST ResourceList) in IsaPdoStartReadPort() argument 557 if (!ResourceList) in IsaPdoStartReadPort() [all …]
|
H A D | isapnp.c | 632 PCM_RESOURCE_LIST ResourceList; in IsaPnpCreateLogicalDeviceResources() local 683 if (!ResourceList) in IsaPnpCreateLogicalDeviceResources() 686 ResourceList->Count = 1; in IsaPnpCreateLogicalDeviceResources() 687 ResourceList->List[0].InterfaceType = Isa; in IsaPnpCreateLogicalDeviceResources() 807 PdoExt->ResourceList = ResourceList; in IsaPnpCreateLogicalDeviceResources() 815 ExFreePoolWithTag(ResourceList, TAG_ISAPNP); in IsaPnpCreateLogicalDeviceResources() 970 PCM_RESOURCE_LIST ResourceList; in IsaPnpCreateReadPortDOResources() local 978 if (!ResourceList) in IsaPnpCreateReadPortDOResources() 981 ResourceList->Count = 1; in IsaPnpCreateReadPortDOResources() 999 return ResourceList; in IsaPnpCreateReadPortDOResources() [all …]
|
/reactos/drivers/bus/acpi/acpica/resources/ |
H A D | rsdump.c | 139 ACPI_RESOURCE *ResourceList) in AcpiRsDumpResourceList() argument 164 Type = ResourceList->Type; in AcpiRsDumpResourceList() 169 ResourceList->Type); in AcpiRsDumpResourceList() 172 else if (!ResourceList->Type) in AcpiRsDumpResourceList() 180 if (!ResourceList->Length) in AcpiRsDumpResourceList() 191 AcpiRsDumpDescriptor (&ResourceList->Data, in AcpiRsDumpResourceList() 193 ResourceList->Data.CommonSerialBus.Type]); in AcpiRsDumpResourceList() 197 AcpiRsDumpDescriptor (&ResourceList->Data, in AcpiRsDumpResourceList() 203 ResourceList = ACPI_NEXT_RESOURCE (ResourceList); in AcpiRsDumpResourceList()
|
/reactos/hal/halx86/acpi/ |
H A D | halacpi.c | 552 PCM_PARTIAL_RESOURCE_LIST ResourceList; in HalpAcpiFindRsdtPhase0() local 602 ResourceList = ComponentEntry->ConfigurationData; in HalpAcpiFindRsdtPhase0() 603 NodeData = (PACPI_BIOS_MULTI_NODE)(ResourceList + 1); in HalpAcpiFindRsdtPhase0() 983 ASSERT(ResourceList != NULL); in HalpBuildAcpiResourceList() 986 ResourceList->BusNumber = -1; in HalpBuildAcpiResourceList() 987 ResourceList->AlternativeLists = 1; in HalpBuildAcpiResourceList() 988 ResourceList->InterfaceType = PNPBus; in HalpBuildAcpiResourceList() 989 ResourceList->List[0].Version = 1; in HalpBuildAcpiResourceList() 990 ResourceList->List[0].Revision = 1; in HalpBuildAcpiResourceList() 991 ResourceList->List[0].Count = 0; in HalpBuildAcpiResourceList() [all …]
|
H A D | halpnpdd.c | 362 PCM_RESOURCE_LIST ResourceList; in HalpQueryResources() local 379 ResourceList = ExAllocatePoolWithTag(PagedPool, in HalpQueryResources() 382 if (!ResourceList ) in HalpQueryResources() 391 RtlZeroMemory(ResourceList, sizeof(CM_RESOURCE_LIST)); in HalpQueryResources() 392 ResourceList->Count = 1; in HalpQueryResources() 395 ResourceList->List[0].BusNumber = -1; in HalpQueryResources() 396 ResourceList->List[0].InterfaceType = PNPBus; in HalpQueryResources() 397 ResourceList->List[0].PartialResourceList.Version = 1; in HalpQueryResources() 398 ResourceList->List[0].PartialResourceList.Revision = 1; in HalpQueryResources() 399 ResourceList->List[0].PartialResourceList.Count = 0; in HalpQueryResources() [all …]
|
/reactos/base/setup/usetup/ |
H A D | mui.c | 67 while (ResourceList[lngIndex].MuiPages != NULL) in FindLanguageIndex() 69 if (_wcsicmp(ResourceList[lngIndex].LanguageID, SelectedLanguageId) == 0) in FindLanguageIndex() 88 while (ResourceList[lngIndex].MuiPages != NULL) 90 if (_wcsicmp(ResourceList[lngIndex].LanguageID, LanguageId) == 0) 111 Pages = ResourceList[lngIndex].MuiPages; in FindMUIEntriesOfPage() 129 return ResourceList[lngIndex].MuiErrors; in FindMUIErrorEntries() 137 return ResourceList[lngIndex].MuiStrings; in FindMUIStringEntries() 544 while (ResourceList[lngIndex].MuiPages != NULL) in SetConsoleCodePage() 546 if (_wcsicmp(ResourceList[lngIndex].LanguageID, SelectedLanguageId) == 0) in SetConsoleCodePage() 548 wCodePage = ResourceList[lngIndex].OEMCPage; in SetConsoleCodePage()
|
/reactos/drivers/wdm/audio/drivers/mpu401/ |
H A D | adapter.cpp | 28 IN PRESOURCELIST ResourceList) in StartDevice() argument 36 if (!ResourceList) in StartDevice() 39 if (ResourceList->NumberOfEntries() == 0 ) in StartDevice() 64 Status = port->Init(pDeviceObject, pIrp, miniport, NULL, ResourceList); in StartDevice()
|
/reactos/drivers/bus/pci/ |
H A D | pdo.c | 484 if (ResourceList == NULL) in PdoQueryResourceRequirements() 490 RtlZeroMemory(ResourceList, ListSize); in PdoQueryResourceRequirements() 491 ResourceList->ListSize = ListSize; in PdoQueryResourceRequirements() 492 ResourceList->InterfaceType = PCIBus; in PdoQueryResourceRequirements() 495 ResourceList->AlternativeLists = 1; in PdoQueryResourceRequirements() 497 ResourceList->List[0].Version = 1; in PdoQueryResourceRequirements() 498 ResourceList->List[0].Revision = 1; in PdoQueryResourceRequirements() 683 ResourceList->BusNumber = in PdoQueryResourceRequirements() 709 PCM_RESOURCE_LIST ResourceList; in PdoQueryResources() local 807 if (ResourceList == NULL) in PdoQueryResources() [all …]
|
/reactos/drivers/serial/serial/ |
H A D | pnp.c | 138 IN PCM_RESOURCE_LIST ResourceList, in SerialPnpStartDevice() argument 165 if (!ResourceList) in SerialPnpStartDevice() 170 if (ResourceList->Count != 1) in SerialPnpStartDevice() 175 if (ResourceList->List[0].PartialResourceList.Version != 1 in SerialPnpStartDevice() 176 || ResourceList->List[0].PartialResourceList.Revision != 1 in SerialPnpStartDevice() 181 ResourceList->List[0].PartialResourceList.Version, in SerialPnpStartDevice() 182 ResourceList->List[0].PartialResourceList.Revision, in SerialPnpStartDevice() 191 for (i = 0; i < ResourceList->List[0].PartialResourceList.Count; i++) in SerialPnpStartDevice() 193 …PCM_PARTIAL_RESOURCE_DESCRIPTOR PartialDescriptor = &ResourceList->List[0].PartialResourceList.Par… in SerialPnpStartDevice()
|
/reactos/boot/freeldr/freeldr/arch/ |
H A D | archwsup.c | 126 _In_ PCM_PARTIAL_RESOURCE_LIST ResourceList, in FldrSetConfigurationData() argument 130 ComponentData->ConfigurationData = ResourceList; in FldrSetConfigurationData() 206 _In_ PCM_PARTIAL_RESOURCE_LIST ResourceList, in FldrCreateComponentKey() argument 238 if (ResourceList) in FldrCreateComponentKey() 239 FldrSetConfigurationData(ComponentData, ResourceList, Size); in FldrCreateComponentKey()
|
/reactos/hal/halx86/legacy/ |
H A D | halpnpdd.c | 339 PCM_RESOURCE_LIST ResourceList; in HalpQueryResources() local 358 ResourceList = ExAllocatePoolWithTag(PagedPool, in HalpQueryResources() 361 if (!ResourceList ) in HalpQueryResources() 370 RtlZeroMemory(ResourceList, sizeof(CM_RESOURCE_LIST)); in HalpQueryResources() 371 ResourceList->Count = 1; in HalpQueryResources() 374 ResourceList->List[0].BusNumber = 0; in HalpQueryResources() 375 ResourceList->List[0].InterfaceType = PCIBus; in HalpQueryResources() 376 ResourceList->List[0].PartialResourceList.Version = 1; in HalpQueryResources() 377 ResourceList->List[0].PartialResourceList.Revision = 1; in HalpQueryResources() 378 ResourceList->List[0].PartialResourceList.Count = 0; in HalpQueryResources() [all …]
|
/reactos/drivers/storage/floppy/fdc/ |
H A D | fdo.c | 38 IN PCM_RESOURCE_LIST ResourceList, in FdcFdoStartDevice() argument 52 if (ResourceList == NULL || in FdcFdoStartDevice() 59 if (ResourceList->Count != 1) in FdcFdoStartDevice() 65 if (ResourceList->List[0].PartialResourceList.Version != 1 || in FdcFdoStartDevice() 66 ResourceList->List[0].PartialResourceList.Revision != 1 || in FdcFdoStartDevice() 71 ResourceList->List[0].PartialResourceList.Version, in FdcFdoStartDevice() 72 ResourceList->List[0].PartialResourceList.Revision, in FdcFdoStartDevice() 78 for (i = 0; i < ResourceList->List[0].PartialResourceList.Count; i++) in FdcFdoStartDevice() 80 PartialDescriptor = &ResourceList->List[0].PartialResourceList.PartialDescriptors[i]; in FdcFdoStartDevice()
|
/reactos/drivers/parallel/parport/ |
H A D | fdo.c | 105 IN PCM_RESOURCE_LIST ResourceList, in FdoStartDevice() argument 123 if (!ResourceList) in FdoStartDevice() 129 if (ResourceList->Count != 1) in FdoStartDevice() 135 if ((ResourceList->List[0].PartialResourceList.Version != 1) || in FdoStartDevice() 136 (ResourceList->List[0].PartialResourceList.Revision != 1) || in FdoStartDevice() 141 ResourceList->List[0].PartialResourceList.Version, in FdoStartDevice() 142 ResourceList->List[0].PartialResourceList.Revision, in FdoStartDevice() 150 for (i = 0; i < ResourceList->List[0].PartialResourceList.Count; i++) in FdoStartDevice() 152 …PCM_PARTIAL_RESOURCE_DESCRIPTOR PartialDescriptor = &ResourceList->List[0].PartialResourceList.Par… in FdoStartDevice()
|
/reactos/drivers/bus/pcix/ |
H A D | enum.c | 69 ASSERT((ResourceList == NULL) || (ResourceList->Count == 1)); in PciComputeNewCurrentSettings() 77 if (!(ResourceList) || !(ResourceList->Count)) in PciComputeNewCurrentSettings() 84 PciDebugPrintCmResList(ResourceList); in PciComputeNewCurrentSettings() 90 FullList = ResourceList->List; in PciComputeNewCurrentSettings() 328 PCM_RESOURCE_LIST ResourceList; in PciAllocateCmResourceList() local 337 if (!ResourceList) return NULL; in PciAllocateCmResourceList() 340 RtlZeroMemory(ResourceList, Size); in PciAllocateCmResourceList() 341 ResourceList->Count = 1; in PciAllocateCmResourceList() 349 return ResourceList; in PciAllocateCmResourceList() 362 PCM_RESOURCE_LIST ResourceList; in PciQueryResources() local [all …]
|