|
ReactOS 0.4.17-dev-1281-g065abb3
|

Go to the source code of this file.
Definition at line 20 of file portacpi.cpp.
| #define HUB_ACPI_RESULT_BYTES (sizeof(ACPI_EVAL_OUTPUT_BUFFER) + 1024) |
Definition at line 17 of file portacpi.cpp.
| #define HUB_DSD_ENTRY_MIN_BYTES 16 |
Definition at line 49 of file portacpi.cpp.
| #define HUB_DSM_DISABLE_U2 5 |
Definition at line 39 of file portacpi.cpp.
| #define HUB_DSM_INPUT_BYTES |
Definition at line 52 of file portacpi.cpp.
| #define HUB_DSM_INTERCONNECT_TYPE 2 |
Definition at line 36 of file portacpi.cpp.
| #define HUB_DSM_REVISION 0 |
Definition at line 35 of file portacpi.cpp.
| #define HUB_PLD_BYTES 16 |
Definition at line 29 of file portacpi.cpp.
| #define HUB_UPC_ELEMENTS 4 |
Definition at line 26 of file portacpi.cpp.
| #define HUB_UPC_TYPE_C_NO_SWITCH 0x0A |
Definition at line 23 of file portacpi.cpp.
| #define NDEBUG |
Definition at line 13 of file portacpi.cpp.
| _In_ PCANSI_STRING _In_reads_ | ( | 4 | ) |
| _IRQL_requires_ | ( | PASSIVE_LEVEL | ) |
Sends a synchronous IOCTL to the specified device object.
Evaluates a method without arguments into Output.
Definition at line 2121 of file class.c.
| C_ASSERT | ( | HUB_DSM_INPUT_BYTES | = =312 | ) |
| C_ASSERT | ( | sizeof(ACPI_ENUM_CHILDREN_INPUT_BUFFER) | = =16 | ) |
| C_ASSERT | ( | sizeof(ACPI_ENUM_CHILDREN_OUTPUT_BUFFER) | = =20 | ) |
| C_ASSERT | ( | sizeof(ACPI_EVAL_INPUT_BUFFER_COMPLEX_EX) | = =276 | ) |
|
static |
Zeroed nonpaged WDF memory owned by the hub FDO.
Definition at line 66 of file portacpi.cpp.
Definition at line 94 of file portacpi.cpp.
Referenced by if().
| HubAcpiFree | ( | InputMemory | ) |
|
static |
Fills the input header: "<Device>.<Method>" and the argument count.
Definition at line 168 of file portacpi.cpp.
First result argument when it is an integer.
Definition at line 348 of file portacpi.cpp.
| if | ( | ! | HubAcpiResultIntegerOutput, &Value | ) |
Definition at line 378 of file portacpi.cpp.
| if | ( | ! | NT_SUCCESSHubAcpiEvaluateDsm(Hub, Device, HUB_DSM_INTERCONNECT_TYPE, Output) | ) |
| if | ( | ! | NT_SUCCESSStatus) &&!(CheckResultOnNoDevice &&Status==STATUS_NO_SUCH_DEVICE | ) |
Definition at line 148 of file portacpi.cpp.
| if | ( | !NT_SUCCESS(Status) &&Status ! | = STATUS_BUFFER_OVERFLOW | ) |
| if | ( | ! | NT_SUCCESSStatus | ) |
Definition at line 242 of file portacpi.cpp.
| if | ( | Children->Signature ! | = ACPI_ENUM_CHILDREN_OUTPUT_BUFFER_SIGNATURE || Children->NumberOfChildren == 0 || Information != OutputBytes | ) |
Definition at line 331 of file portacpi.cpp.
| if | ( | NT_SUCCESS(Status) | ) |
Definition at line 211 of file portacpi.cpp.
| if | ( | OutputBytes | = = sizeof(ACPI_ENUM_CHILDREN_OUTPUT_BUFFER) | ) |
Definition at line 312 of file portacpi.cpp.
| if | ( | Result->Signature ! | = ACPI_EVAL_OUTPUT_BUFFER_SIGNATURE || Result->Count == 0 | ) |
Definition at line 155 of file portacpi.cpp.
| if | ( | Status | = =STATUS_NOT_SUPPORTED | ) |
Definition at line 174 of file userreq.cpp.
| RtlCopyMemory | ( | Argument-> | Data, |
| & | HubUsbDsmGuid, | ||
| sizeof(HubUsbDsmGuid) | |||
| ) |
| RtlZeroMemory | ( | WdfMemoryGetBuffer(Output, NULL) | , |
| HUB_ACPI_RESULT_BYTES | |||
| ) |
| return WdfIoTargetSendInternalIoctlSynchronously | ( | WdfDeviceGetIoTarget(Hub->m_Device) | , |
| NULL | , | ||
| IoControlCode | , | ||
| & | InputDescriptor, | ||
| & | OutputDescriptor, | ||
| NULL | , | ||
| Information | |||
| ) |
Referenced by GetSOFTplg(), and HDAGraphicsPowerInterfaceAdd().
Definition at line 233 of file portacpi.cpp.
Definition at line 140 of file portacpi.cpp.
Definition at line 250 of file portacpi.cpp.
Definition at line 198 of file portacpi.cpp.
Definition at line 297 of file portacpi.cpp.
| _In_ PCANSI_STRING _In_ ULONG Function |
Definition at line 229 of file portacpi.cpp.
Definition at line 42 of file portacpi.cpp.
Definition at line 46 of file portacpi.cpp.
Definition at line 32 of file portacpi.cpp.
Definition at line 111 of file portacpi.cpp.
Definition at line 109 of file portacpi.cpp.
Referenced by _In_reads_(), ApicInitializeIOApic(), ApicReadIORedirectionEntry(), ApicWriteIORedirectionEntry(), BasepDoTapeOperation(), XhciEndpoint::BuildEndpointConfigure(), ConDrvGetConsoleInput(), ConSrvTermReadStream(), CpiIsNekoProject(), DbgPrompt(), DebugPrompt(), DetectBiosDisks(), DetectBiosFloppyController(), DetectBiosFloppyPeripheral(), DetectKeyboardController(), DetectKeyboardPeripheral(), DetectPointerController(), DetectPointerPeripheral(), DetectPS2Mouse(), DetectSerialPointerPeripheral(), DetectSerialPorts(), EscapeString(), XhciController::EvaluateDsm(), XhciController::EvaluatePrmi(), HalEnableSystemInterrupt(), HalpFindIoApicInput(), HalpGetInputPolarity(), HalpQueryVectorInput(), HDA_WaitForTransfer(), HubAcpiPrepareInput(), i8042KbdCallIsrHook(), i8042MouCallIsrHook(), i8042MouHandlePs2pp(), XhciEndpoint::InputEndpointContext(), IntSwapModHKF(), IsNumber(), KdbpCmdRegs(), keybd_event(), KeyboardDeviceWorker(), MMixerSetGetMuteControlDetails(), MMixerSetGetVolumeControlDetails(), mouse_event(), OSK_Command(), OSK_ReleaseKey(), RamdiskCreateDiskDevice(), RamdiskCreateRamdisk(), SermouseDeviceWorker(), SHELL_DupSZZ(), SmpParseToken(), Test_tcstoul(), and XhciEvaluateAcpiMethod().
| WDF_MEMORY_DESCRIPTOR_INIT_BUFFER & InputDescriptor |
Definition at line 116 of file portacpi.cpp.
Referenced by XhciEvaluateAcpiMethod().
| WDFMEMORY InputMemory |
Definition at line 203 of file portacpi.cpp.
Referenced by if().
Definition at line 108 of file portacpi.cpp.
Definition at line 384 of file portacpi.cpp.
| PACPI_EVAL_INPUT_BUFFER_COMPLEX_EX Method = (PACPI_EVAL_INPUT_BUFFER_COMPLEX_EX)WdfMemoryGetBuffer(Input, NULL) |
Definition at line 143 of file portacpi.cpp.
Referenced by HubAcpiPrepareInput(), and if().
| Input NameLength = 0 |
Definition at line 298 of file portacpi.cpp.
Referenced by AccpLookupSidByName(), AcpiDsCreateOperand(), AddBitmap(), AddIndexAllocation(), AddIndexRoot(), BaseCreateVDMEnvironment(), BaseGetEnvNameType_U(), BasepGetComputerNameFromNtPath(), BindAdapterByName(), Call_QueryDosVolume_Path_Paths(), CdDissectName(), CheckMsOs20Registry(), CmpAddDriverToList(), CmpCompareCompressedName(), CmpCompareInIndex(), CmpConstructName(), CmpConvertLangId(), CmpQueryKeyData(), CmpQueryKeyDataFromCache(), CmpQueryNameInformation(), CmpValidateKey(), EnumerateSoundDevices(), EnumerateValueTest(), Ext2ProcessEntry(), FindAttribute(), GetLayoutName(), HubCustomPropertyValid(), HubIdGenerateContainerId(), HubWmiFirePortEvent(), HubWmiHubNameRequest(), if(), IniCacheAddKeyAorW(), IniCacheAddSectionAorW(), InitVolumeDeviceName(), IntDeleteRegFontEntries(), IntGdiLoadFontsFromMemory(), IoCreateDriver(), IoVolumeDeviceToDosName(), KspStartBusDevice(), LsapRegEnumerateValue(), MainLoop(), nfs41_GetConnectionInfoFromBuffer(), NormalizeArcDeviceName(), NpQueryFsAttributeInfo(), NpQueryFsVolumeInfo(), NpQueryNameInfo(), NpWaitForNamedPipe(), NpWaitPipe(), NtfsBuildRenamePath(), NtfsFindAttribute(), NtfsFindAttributeHelper(), NtfsFindAttributeHelperList(), NtfsMakeFCBFromDirEntry(), NtfsMakeRootFCB(), NtfsReadFCBAttribute(), NtfsSetRenameInformation(), NtQueryInformationAtom(), ODBC32_SQLDescribeCol(), ODBC32_SQLDescribeColW(), ODBC32_SQLGetCursorName(), ODBC32_SQLGetCursorNameW(), ODBC32_SQLSetCursorName(), ODBC32_SQLSetCursorNameW(), OpenDeviceReadWrite(), OpenLSAPolicyHandle(), PciBuildHackTable(), QueryDosDeviceW(), QuerySuggestedLinkName(), RegEnumKeyExA(), RegEnumKeyExW(), RegEnumValueA(), RegEnumValueW(), ResolveArcNameManually(), RtlQueryAtomInAtomTable(), RtlQueryEnvironmentVariable(), RxAllocateObject(), RxConjureOriginalName(), RxCreateSrvCall(), SampFillUserDisplayCache(), SampRegEnumerateValue(), SampRemoveUserFromDomainAliases(), SamrEnumerateAliasesInDomain(), SamrEnumerateGroupsInDomain(), SamrEnumerateUsersInDomain(), START_TEST(), test1(), test2(), test3(), test6(), test9(), test_token_attr(), TestAllInformation(), WaitNamedPipeW(), while(), WSAttemptAutodialAddr(), WSPGetPeerName(), and WSPGetSockName().
| _In_ HubPort _In_ PCANSI_STRING _In_ WDFMEMORY Output |
Definition at line 110 of file portacpi.cpp.
Referenced by HubAcpiResultInteger(), and if().
Definition at line 284 of file portacpi.cpp.
| WDF_MEMORY_DESCRIPTOR_INIT_HANDLE & OutputDescriptor |
Definition at line 114 of file portacpi.cpp.
Referenced by XhciEvaluateAcpiMethod().
Definition at line 369 of file portacpi.cpp.
Referenced by if().
| Input Signature = ACPI_ENUM_CHILDREN_INPUT_BUFFER_SIGNATURE |
Definition at line 296 of file portacpi.cpp.
| Status = HubAcpiSend(Hub, IOCTL_ACPI_EVAL_METHOD_EX, Input, Output, &Information) |
Definition at line 145 of file portacpi.cpp.
Referenced by HubAcpiAllocate(), and if().
| return STATUS_SUCCESS |
Definition at line 339 of file portacpi.cpp.
Referenced by HubAcpiAllocate(), and HubAcpiPrepareInput().
Definition at line 249 of file portacpi.cpp.