/titanic_41/usr/src/uts/intel/io/acpica/utilities/ |
H A D | utxfinit.c | 79 ACPI_STATUS Status; in AcpiInitializeSubsystem() local 90 Status = AcpiOsInitialize (); in AcpiInitializeSubsystem() 91 if (ACPI_FAILURE (Status)) in AcpiInitializeSubsystem() 93 ACPI_EXCEPTION ((AE_INFO, Status, "During OSL initialization")); in AcpiInitializeSubsystem() 94 return_ACPI_STATUS (Status); in AcpiInitializeSubsystem() 99 Status = AcpiUtInitGlobals (); in AcpiInitializeSubsystem() 100 if (ACPI_FAILURE (Status)) in AcpiInitializeSubsystem() 102 ACPI_EXCEPTION ((AE_INFO, Status, "During initialization of globals")); in AcpiInitializeSubsystem() 103 return_ACPI_STATUS (Status); in AcpiInitializeSubsystem() 108 Status = AcpiUtMutexInitialize (); in AcpiInitializeSubsystem() [all …]
|
H A D | utmutex.c | 79 ACPI_STATUS Status; in AcpiUtMutexInitialize() local 89 Status = AcpiUtCreateMutex (i); in AcpiUtMutexInitialize() 90 if (ACPI_FAILURE (Status)) in AcpiUtMutexInitialize() 92 return_ACPI_STATUS (Status); in AcpiUtMutexInitialize() 98 Status = AcpiOsCreateLock (&AcpiGbl_GpeLock); in AcpiUtMutexInitialize() 99 if (ACPI_FAILURE (Status)) in AcpiUtMutexInitialize() 101 return_ACPI_STATUS (Status); in AcpiUtMutexInitialize() 104 Status = AcpiOsCreateLock (&AcpiGbl_HardwareLock); in AcpiUtMutexInitialize() 105 if (ACPI_FAILURE (Status)) in AcpiUtMutexInitialize() 107 return_ACPI_STATUS (Status); in AcpiUtMutexInitialize() [all …]
|
/titanic_41/usr/src/uts/intel/io/acpica/events/ |
H A D | evxfgpe.c | 82 ACPI_STATUS Status; in AcpiUpdateAllGpes() local 88 Status = AcpiUtAcquireMutex (ACPI_MTX_EVENTS); in AcpiUpdateAllGpes() 89 if (ACPI_FAILURE (Status)) in AcpiUpdateAllGpes() 91 return_ACPI_STATUS (Status); in AcpiUpdateAllGpes() 99 Status = AcpiEvWalkGpeList (AcpiEvInitializeGpeBlock, NULL); in AcpiUpdateAllGpes() 100 if (ACPI_SUCCESS (Status)) in AcpiUpdateAllGpes() 107 return_ACPI_STATUS (Status); in AcpiUpdateAllGpes() 132 ACPI_STATUS Status = AE_BAD_PARAMETER; in ACPI_EXPORT_SYMBOL() local 153 Status = AcpiEvAddGpeReference (GpeEventInfo); in ACPI_EXPORT_SYMBOL() 157 Status = AE_NO_HANDLER; in ACPI_EXPORT_SYMBOL() [all …]
|
H A D | evxfevnt.c | 71 ACPI_STATUS Status = AE_OK; in AcpiEnable() local 102 Status = AcpiHwSetMode (ACPI_SYS_MODE_ACPI); in AcpiEnable() 103 if (ACPI_FAILURE (Status)) in AcpiEnable() 106 return_ACPI_STATUS (Status); in AcpiEnable() 113 return_ACPI_STATUS (Status); in AcpiEnable() 135 ACPI_STATUS Status = AE_OK; in ACPI_EXPORT_SYMBOL() local 157 Status = AcpiHwSetMode (ACPI_SYS_MODE_LEGACY); in ACPI_EXPORT_SYMBOL() 159 if (ACPI_FAILURE (Status)) in ACPI_EXPORT_SYMBOL() 163 return_ACPI_STATUS (Status); in ACPI_EXPORT_SYMBOL() 170 return_ACPI_STATUS (Status); in ACPI_EXPORT_SYMBOL() [all …]
|
H A D | evxface.c | 105 ACPI_STATUS Status; in AcpiInstallNotifyHandler() local 120 Status = AcpiUtAcquireMutex (ACPI_MTX_NAMESPACE); in AcpiInstallNotifyHandler() 121 if (ACPI_FAILURE (Status)) in AcpiInstallNotifyHandler() 123 return_ACPI_STATUS (Status); in AcpiInstallNotifyHandler() 141 Status = AE_ALREADY_EXISTS; in AcpiInstallNotifyHandler() 164 Status = AE_TYPE; in AcpiInstallNotifyHandler() 178 Status = AE_NO_MEMORY; in AcpiInstallNotifyHandler() 184 Status = AcpiNsAttachObject (Device, ObjDesc, Node->Type); in AcpiInstallNotifyHandler() 186 if (ACPI_FAILURE (Status)) in AcpiInstallNotifyHandler() 203 Status = AE_ALREADY_EXISTS; in AcpiInstallNotifyHandler() [all …]
|
/titanic_41/usr/src/uts/intel/io/acpica/hardware/ |
H A D | hwsleep.c | 75 ACPI_STATUS Status; in AcpiHwLegacySleep() local 86 Status = AcpiWriteBitRegister (ACPI_BITREG_WAKE_STATUS, in AcpiHwLegacySleep() 88 if (ACPI_FAILURE (Status)) in AcpiHwLegacySleep() 90 return_ACPI_STATUS (Status); in AcpiHwLegacySleep() 95 Status = AcpiHwClearAcpiStatus (); in AcpiHwLegacySleep() 96 if (ACPI_FAILURE (Status)) in AcpiHwLegacySleep() 98 return_ACPI_STATUS (Status); in AcpiHwLegacySleep() 105 Status = AcpiHwDisableAllGpes (); in AcpiHwLegacySleep() 106 if (ACPI_FAILURE (Status)) in AcpiHwLegacySleep() 108 return_ACPI_STATUS (Status); in AcpiHwLegacySleep() [all …]
|
H A D | hwregs.c | 175 ACPI_STATUS Status; in AcpiHwRead() local 183 Status = AcpiHwValidateRegister (Reg, 32, &Address); in AcpiHwRead() 184 if (ACPI_FAILURE (Status)) in AcpiHwRead() 186 return (Status); in AcpiHwRead() 199 Status = AcpiOsReadMemory ((ACPI_PHYSICAL_ADDRESS) in AcpiHwRead() 206 Status = AcpiHwReadPort ((ACPI_IO_ADDRESS) in AcpiHwRead() 215 return (Status); in AcpiHwRead() 240 ACPI_STATUS Status; in AcpiHwWrite() local 248 Status = AcpiHwValidateRegister (Reg, 32, &Address); in AcpiHwWrite() 249 if (ACPI_FAILURE (Status)) in AcpiHwWrite() [all …]
|
H A D | hwxface.c | 73 ACPI_STATUS Status; in AcpiReset() local 102 Status = AcpiOsWritePort ((ACPI_IO_ADDRESS) ResetReg->Address, in AcpiReset() 109 Status = AcpiHwWrite (AcpiGbl_FADT.ResetValue, ResetReg); in AcpiReset() 112 return_ACPI_STATUS (Status); in AcpiReset() 146 ACPI_STATUS Status; in ACPI_EXPORT_SYMBOL() local 159 Status = AcpiHwValidateRegister (Reg, 64, &Address); in ACPI_EXPORT_SYMBOL() 160 if (ACPI_FAILURE (Status)) in ACPI_EXPORT_SYMBOL() 162 return (Status); in ACPI_EXPORT_SYMBOL() 171 Status = AcpiOsReadMemory ((ACPI_PHYSICAL_ADDRESS) in ACPI_EXPORT_SYMBOL() 173 if (ACPI_FAILURE (Status)) in ACPI_EXPORT_SYMBOL() [all …]
|
H A D | hwxfsleep.c | 202 ACPI_STATUS Status; in ACPI_EXPORT_SYMBOL() local 210 Status = AcpiWriteBitRegister (ACPI_BITREG_WAKE_STATUS, ACPI_CLEAR_STATUS); in ACPI_EXPORT_SYMBOL() 211 if (ACPI_FAILURE (Status)) in ACPI_EXPORT_SYMBOL() 213 return_ACPI_STATUS (Status); in ACPI_EXPORT_SYMBOL() 216 Status = AcpiHwClearAcpiStatus (); in ACPI_EXPORT_SYMBOL() 217 if (ACPI_FAILURE (Status)) in ACPI_EXPORT_SYMBOL() 219 return_ACPI_STATUS (Status); in ACPI_EXPORT_SYMBOL() 226 Status = AcpiHwDisableAllGpes (); in ACPI_EXPORT_SYMBOL() 227 if (ACPI_FAILURE (Status)) in ACPI_EXPORT_SYMBOL() 229 return_ACPI_STATUS (Status); in ACPI_EXPORT_SYMBOL() [all …]
|
H A D | hwgpe.c | 111 ACPI_STATUS Status; in AcpiHwLowSetGpe() local 129 Status = AcpiHwRead (&EnableMask, &GpeRegisterInfo->EnableAddress); in AcpiHwLowSetGpe() 130 if (ACPI_FAILURE (Status)) in AcpiHwLowSetGpe() 132 return (Status); in AcpiHwLowSetGpe() 169 Status = AcpiHwWrite (EnableMask, &GpeRegisterInfo->EnableAddress); in AcpiHwLowSetGpe() 170 return (Status); in AcpiHwLowSetGpe() 191 ACPI_STATUS Status; in AcpiHwClearGpe() local 211 Status = AcpiHwWrite (RegisterBit, &GpeRegisterInfo->StatusAddress); in AcpiHwClearGpe() 212 return (Status); in AcpiHwClearGpe() 238 ACPI_STATUS Status; in AcpiHwGetGpeStatus() local [all …]
|
/titanic_41/usr/src/uts/intel/io/acpica/namespace/ |
H A D | nsxfeval.c | 92 ACPI_STATUS Status; in AcpiEvaluateObjectTyped() local 113 Status = AcpiEvaluateObject (Handle, Pathname, in AcpiEvaluateObjectTyped() 115 if (ACPI_FAILURE (Status)) in AcpiEvaluateObjectTyped() 117 return_ACPI_STATUS (Status); in AcpiEvaluateObjectTyped() 196 ACPI_STATUS Status; in ACPI_EXPORT_SYMBOL() local 218 Status = AE_BAD_PARAMETER; in ACPI_EXPORT_SYMBOL() 255 Status = AE_BAD_PARAMETER; in ACPI_EXPORT_SYMBOL() 288 Status = AE_NO_MEMORY; in ACPI_EXPORT_SYMBOL() 296 Status = AcpiUtCopyEobjectToIobject ( in ACPI_EXPORT_SYMBOL() 298 if (ACPI_FAILURE (Status)) in ACPI_EXPORT_SYMBOL() [all …]
|
H A D | nsprepkg.c | 103 ACPI_STATUS Status = AE_OK; in AcpiNsCheckPackage() local 159 Status = AcpiNsCustomPackage (Info, Elements, Count); in AcpiNsCheckPackage() 184 Status = AcpiNsCheckPackageElements (Info, Elements, in AcpiNsCheckPackage() 196 Status = AcpiNsCheckObjectType (Info, Elements, in AcpiNsCheckPackage() 198 if (ACPI_FAILURE (Status)) in AcpiNsCheckPackage() 200 return (Status); in AcpiNsCheckPackage() 229 Status = AcpiNsCheckObjectType (Info, Elements, in AcpiNsCheckPackage() 231 if (ACPI_FAILURE (Status)) in AcpiNsCheckPackage() 233 return (Status); in AcpiNsCheckPackage() 240 Status = AcpiNsCheckObjectType (Info, Elements, in AcpiNsCheckPackage() [all …]
|
H A D | nsload.c | 86 ACPI_STATUS Status; in AcpiNsLoadTable() local 101 Status = AcpiUtAcquireMutex (ACPI_MTX_NAMESPACE); in AcpiNsLoadTable() 102 if (ACPI_FAILURE (Status)) in AcpiNsLoadTable() 104 return_ACPI_STATUS (Status); in AcpiNsLoadTable() 111 Status = AE_ALREADY_EXISTS; in AcpiNsLoadTable() 118 Status = AcpiTbAllocateOwnerId (TableIndex); in AcpiNsLoadTable() 119 if (ACPI_FAILURE (Status)) in AcpiNsLoadTable() 124 Status = AcpiNsParseTable (TableIndex, Node); in AcpiNsLoadTable() 125 if (ACPI_SUCCESS (Status)) in AcpiNsLoadTable() 145 return_ACPI_STATUS (Status); in AcpiNsLoadTable() [all …]
|
H A D | nsxfname.c | 90 ACPI_STATUS Status; in AcpiGetHandle() local 144 Status = AcpiNsGetNode (PrefixNode, Pathname, ACPI_NS_NO_UPSEARCH, &Node); in AcpiGetHandle() 145 if (ACPI_SUCCESS (Status)) in AcpiGetHandle() 150 return (Status); in AcpiGetHandle() 178 ACPI_STATUS Status; in ACPI_EXPORT_SYMBOL() local 190 Status = AcpiUtValidateBuffer (Buffer); in ACPI_EXPORT_SYMBOL() 191 if (ACPI_FAILURE (Status)) in ACPI_EXPORT_SYMBOL() 193 return (Status); in ACPI_EXPORT_SYMBOL() 201 Status = AcpiNsHandleToPathname (Handle, Buffer, in ACPI_EXPORT_SYMBOL() 203 return (Status); in ACPI_EXPORT_SYMBOL() [all …]
|
/titanic_41/usr/src/uts/intel/io/acpica/dispatcher/ |
H A D | dswexec.c | 96 ACPI_STATUS Status = AE_OK; in AcpiDsGetPredicateValue() local 108 Status = AcpiDsResultPop (&ObjDesc, WalkState); in AcpiDsGetPredicateValue() 109 if (ACPI_FAILURE (Status)) in AcpiDsGetPredicateValue() 111 ACPI_EXCEPTION ((AE_INFO, Status, in AcpiDsGetPredicateValue() 114 return_ACPI_STATUS (Status); in AcpiDsGetPredicateValue() 119 Status = AcpiDsCreateOperand (WalkState, WalkState->Op, 0); in AcpiDsGetPredicateValue() 120 if (ACPI_FAILURE (Status)) in AcpiDsGetPredicateValue() 122 return_ACPI_STATUS (Status); in AcpiDsGetPredicateValue() 125 Status = AcpiExResolveToValue (&WalkState->Operands [0], WalkState); in AcpiDsGetPredicateValue() 126 if (ACPI_FAILURE (Status)) in AcpiDsGetPredicateValue() [all …]
|
H A D | dswload2.c | 77 ACPI_STATUS Status; in AcpiDsLoad2BeginOp() local 97 Status = AcpiDsExecBeginOp (WalkState, OutOp); in AcpiDsLoad2BeginOp() 98 return_ACPI_STATUS (Status); in AcpiDsLoad2BeginOp() 152 Status = AE_OK; in AcpiDsLoad2BeginOp() 161 Status = AcpiNsLookup (WalkState->ScopeInfo, BufferPtr, ObjectType, in AcpiDsLoad2BeginOp() 174 Status = AcpiDsScopeStackPush (Node, ObjectType, WalkState); in AcpiDsLoad2BeginOp() 175 if (ACPI_FAILURE (Status)) in AcpiDsLoad2BeginOp() 177 return_ACPI_STATUS (Status); in AcpiDsLoad2BeginOp() 187 Status = AcpiNsLookup (WalkState->ScopeInfo, BufferPtr, ObjectType, in AcpiDsLoad2BeginOp() 190 if (ACPI_FAILURE (Status)) in AcpiDsLoad2BeginOp() [all …]
|
H A D | dsopcode.c | 86 ACPI_STATUS Status; in AcpiDsInitializeRegion() local 93 Status = AcpiEvInitializeRegion (ObjDesc, FALSE); in AcpiDsInitializeRegion() 94 return (Status); in AcpiDsInitializeRegion() 128 ACPI_STATUS Status; in AcpiDsInitBufferField() local 142 Status = AE_AML_OPERAND_TYPE; in AcpiDsInitBufferField() 158 Status = AE_AML_OPERAND_TYPE; in AcpiDsInitBufferField() 183 Status = AE_AML_OPERAND_VALUE; in AcpiDsInitBufferField() 238 Status = AE_AML_BAD_OPCODE; in AcpiDsInitBufferField() 253 Status = AE_AML_BUFFER_LIMIT; in AcpiDsInitBufferField() 262 Status = AcpiExPrepCommonFieldObject ( in AcpiDsInitBufferField() [all …]
|
H A D | dsfield.c | 103 ACPI_STATUS Status; in AcpiDsCreateExternalRegion() local 119 Status = AcpiNsLookup (WalkState->ScopeInfo, Path, ACPI_TYPE_REGION, in AcpiDsCreateExternalRegion() 121 if (ACPI_FAILURE (Status)) in AcpiDsCreateExternalRegion() 123 return (Status); in AcpiDsCreateExternalRegion() 135 Status = AcpiNsAttachObject (*Node, ObjDesc, ACPI_TYPE_REGION); in AcpiDsCreateExternalRegion() 136 return (Status); in AcpiDsCreateExternalRegion() 167 ACPI_STATUS Status; in AcpiDsCreateBufferField() local 200 Status = AE_OK; in AcpiDsCreateBufferField() 228 Status = AcpiNsLookup (WalkState->ScopeInfo, in AcpiDsCreateBufferField() 231 if (ACPI_FAILURE (Status)) in AcpiDsCreateBufferField() [all …]
|
/titanic_41/usr/src/uts/intel/io/acpica/tables/ |
H A D | tbxfload.c | 72 ACPI_STATUS Status; in AcpiLoadTables() local 90 Status = AcpiEvInstallRegionHandlers (); in AcpiLoadTables() 91 if (ACPI_FAILURE (Status)) in AcpiLoadTables() 93 ACPI_EXCEPTION ((AE_INFO, Status, "During Region initialization")); in AcpiLoadTables() 94 return_ACPI_STATUS (Status); in AcpiLoadTables() 99 Status = AcpiTbLoadNamespace (); in AcpiLoadTables() 103 if (Status == AE_CTRL_TERMINATE) in AcpiLoadTables() 105 Status = AE_OK; in AcpiLoadTables() 108 if (ACPI_FAILURE (Status)) in AcpiLoadTables() 110 ACPI_EXCEPTION ((AE_INFO, Status, in AcpiLoadTables() [all …]
|
/titanic_41/usr/src/uts/intel/io/acpica/executer/ |
H A D | exconfig.c | 94 ACPI_STATUS Status; in AcpiExAddTable() local 121 Status = AcpiNsLoadTable (TableIndex, ParentNode); in AcpiExAddTable() 122 if (ACPI_FAILURE (Status)) in AcpiExAddTable() 126 return_ACPI_STATUS (Status); in AcpiExAddTable() 143 Status = AcpiTbGetOwnerId (TableIndex, &OwnerId); in AcpiExAddTable() 144 if (ACPI_SUCCESS (Status)) in AcpiExAddTable() 171 ACPI_STATUS Status; in AcpiExLoadTableOp() local 186 Status = AcpiTbFindTable ( in AcpiExLoadTableOp() 190 if (ACPI_FAILURE (Status)) in AcpiExLoadTableOp() 192 if (Status != AE_NOT_FOUND) in AcpiExLoadTableOp() [all …]
|
H A D | exsystem.c | 72 ACPI_STATUS Status; in AcpiExSystemWaitSemaphore() local 78 Status = AcpiOsWaitSemaphore (Semaphore, 1, ACPI_DO_NOT_WAIT); in AcpiExSystemWaitSemaphore() 79 if (ACPI_SUCCESS (Status)) in AcpiExSystemWaitSemaphore() 81 return_ACPI_STATUS (Status); in AcpiExSystemWaitSemaphore() 84 if (Status == AE_TIME) in AcpiExSystemWaitSemaphore() 89 Status = AcpiOsWaitSemaphore (Semaphore, 1, Timeout); in AcpiExSystemWaitSemaphore() 93 AcpiFormatException (Status))); in AcpiExSystemWaitSemaphore() 100 return_ACPI_STATUS (Status); in AcpiExSystemWaitSemaphore() 124 ACPI_STATUS Status; in AcpiExSystemWaitMutex() local 130 Status = AcpiOsAcquireMutex (Mutex, ACPI_DO_NOT_WAIT); in AcpiExSystemWaitMutex() [all …]
|
H A D | exoparg1.c | 95 ACPI_STATUS Status = AE_OK; in AcpiExOpcode_0A_0T_1R() local 114 Status = AE_NO_MEMORY; in AcpiExOpcode_0A_0T_1R() 123 Status = AE_AML_BAD_OPCODE; in AcpiExOpcode_0A_0T_1R() 131 if ((ACPI_FAILURE (Status)) || WalkState->ResultObj) in AcpiExOpcode_0A_0T_1R() 143 return_ACPI_STATUS (Status); in AcpiExOpcode_0A_0T_1R() 165 ACPI_STATUS Status = AE_OK; in AcpiExOpcode_1A_0T_0R() local 178 Status = AcpiExReleaseMutex (Operand[0], WalkState); in AcpiExOpcode_1A_0T_0R() 183 Status = AcpiExSystemResetEvent (Operand[0]); in AcpiExOpcode_1A_0T_0R() 188 Status = AcpiExSystemSignalEvent (Operand[0]); in AcpiExOpcode_1A_0T_0R() 193 Status = AcpiExSystemDoSleep (Operand[0]->Integer.Value); in AcpiExOpcode_1A_0T_0R() [all …]
|
H A D | exoparg2.c | 101 ACPI_STATUS Status = AE_OK; in AcpiExOpcode_2A_0T_0R() local 130 Status = AE_AML_OPERAND_TYPE; in AcpiExOpcode_2A_0T_0R() 141 Status = AcpiEvQueueNotifyRequest (Node, Value); in AcpiExOpcode_2A_0T_0R() 148 Status = AE_AML_BAD_OPCODE; in AcpiExOpcode_2A_0T_0R() 151 return_ACPI_STATUS (Status); in AcpiExOpcode_2A_0T_0R() 175 ACPI_STATUS Status; in AcpiExOpcode_2A_2T_1R() local 193 Status = AE_NO_MEMORY; in AcpiExOpcode_2A_2T_1R() 200 Status = AE_NO_MEMORY; in AcpiExOpcode_2A_2T_1R() 206 Status = AcpiUtDivide ( in AcpiExOpcode_2A_2T_1R() 211 if (ACPI_FAILURE (Status)) in AcpiExOpcode_2A_2T_1R() [all …]
|
/titanic_41/usr/src/uts/intel/io/acpica/resources/ |
H A D | rsxface.c | 106 ACPI_STATUS Status; in AcpiRsValidateParameters() local 139 Status = AcpiUtValidateBuffer (Buffer); in AcpiRsValidateParameters() 140 if (ACPI_FAILURE (Status)) in AcpiRsValidateParameters() 142 return_ACPI_STATUS (Status); in AcpiRsValidateParameters() 178 ACPI_STATUS Status; in AcpiGetIrqRoutingTable() local 187 Status = AcpiRsValidateParameters (DeviceHandle, RetBuffer, &Node); in AcpiGetIrqRoutingTable() 188 if (ACPI_FAILURE (Status)) in AcpiGetIrqRoutingTable() 190 return_ACPI_STATUS (Status); in AcpiGetIrqRoutingTable() 193 Status = AcpiRsGetPrtMethodData (Node, RetBuffer); in AcpiGetIrqRoutingTable() 194 return_ACPI_STATUS (Status); in AcpiGetIrqRoutingTable() [all …]
|
H A D | rscreate.c | 73 ACPI_STATUS Status; in AcpiBufferToResource() local 89 Status = AcpiRsGetListLength ( in AcpiBufferToResource() 91 if (Status == AE_AML_NO_RESOURCE_END_TAG) in AcpiBufferToResource() 93 Status = AE_OK; in AcpiBufferToResource() 95 if (ACPI_FAILURE (Status)) in AcpiBufferToResource() 97 return_ACPI_STATUS (Status); in AcpiBufferToResource() 111 Status = AcpiUtWalkAmlResources (NULL, AmlBuffer, AmlBufferLength, in AcpiBufferToResource() 113 if (Status == AE_AML_NO_RESOURCE_END_TAG) in AcpiBufferToResource() 115 Status = AE_OK; in AcpiBufferToResource() 117 if (ACPI_FAILURE (Status)) in AcpiBufferToResource() [all …]
|