Home
last modified time | relevance | path

Searched refs:Status (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/illumos-gate/usr/src/common/acpica/utilities/
H A Dutxfinit.c187 ACPI_STATUS Status; in AcpiInitializeSubsystem() local
198 Status = AcpiOsInitialize (); in AcpiInitializeSubsystem()
199 if (ACPI_FAILURE (Status)) in AcpiInitializeSubsystem()
201 ACPI_EXCEPTION ((AE_INFO, Status, "During OSL initialization")); in AcpiInitializeSubsystem()
202 return_ACPI_STATUS (Status); in AcpiInitializeSubsystem()
207 Status = AcpiUtInitGlobals (); in AcpiInitializeSubsystem()
208 if (ACPI_FAILURE (Status)) in AcpiInitializeSubsystem()
210 ACPI_EXCEPTION ((AE_INFO, Status, "During initialization of globals")); in AcpiInitializeSubsystem()
211 return_ACPI_STATUS (Status); in AcpiInitializeSubsystem()
216 Status = AcpiUtMutexInitialize (); in AcpiInitializeSubsystem()
[all …]
/illumos-gate/usr/src/cmd/acpi/iasl/
H A Ddttable2.c176 ACPI_STATUS Status; in DtCompileLpit() local
193 Status = DtCompileTable (PFieldList, AcpiDmTableInfoLpitHdr, in DtCompileLpit()
195 if (ACPI_FAILURE (Status)) in DtCompileLpit()
197 return (Status); in DtCompileLpit()
221 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileLpit()
222 if (ACPI_FAILURE (Status)) in DtCompileLpit()
224 return (Status); in DtCompileLpit()
252 ACPI_STATUS Status; in DtCompileMadt() local
261 Status = DtCompileTable (PFieldList, AcpiDmTableInfoMadt, in DtCompileMadt()
263 if (ACPI_FAILURE (Status)) in DtCompileMadt()
[all …]
H A Ddttable1.c195 ACPI_STATUS Status; in DtCompileAsf() local
204 Status = DtCompileTable (PFieldList, AcpiDmTableInfoAsfHdr, in DtCompileAsf()
206 if (ACPI_FAILURE (Status)) in DtCompileAsf()
208 return (Status); in DtCompileAsf()
250 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileAsf()
251 if (ACPI_FAILURE (Status)) in DtCompileAsf()
253 return (Status); in DtCompileAsf()
309 Status = DtCompileTable (PFieldList, DataInfoTable, in DtCompileAsf()
311 if (ACPI_FAILURE (Status)) in DtCompileAsf()
313 return (Status); in DtCompileAsf()
[all …]
H A Daslstartup.c266 ACPI_STATUS Status; in AslDetectSourceFileType() local
271 Status = FlIsFileAsciiSource (Info->Filename, FALSE); in AslDetectSourceFileType()
272 if (ACPI_SUCCESS (Status)) in AslDetectSourceFileType()
310 Status = AcValidateTableHeader (Info->Handle, 0); in AslDetectSourceFileType()
311 if (ACPI_SUCCESS (Status)) in AslDetectSourceFileType()
354 ACPI_STATUS Status; in AslDoDisassembly() local
359 Status = AdInitialize (); in AslDoDisassembly()
360 if (ACPI_FAILURE (Status)) in AslDoDisassembly()
362 return (Status); in AslDoDisassembly()
365 Status = AcpiAllocateRootTable (4); in AslDoDisassembly()
[all …]
H A Ddttemplate.c239 ACPI_STATUS Status = AE_OK; in DtCreateTemplates() local
244 Status = AdInitialize (); in DtCreateTemplates()
245 if (ACPI_FAILURE (Status)) in DtCreateTemplates()
247 return (Status); in DtCreateTemplates()
258 Status = DtCreateOneTemplateFile (ACPI_SIG_DSDT, 0); in DtCreateTemplates()
279 Status = AE_LIMIT; in DtCreateTemplates()
283 Status = DtCreateOneTemplateFile (ACPI_SIG_DSDT, TableCount); in DtCreateTemplates()
291 Status = DtCreateAllTemplates (); in DtCreateTemplates()
303 Status = DtCreateOneTemplateFile (Signature, 0); in DtCreateTemplates()
304 if (ACPI_FAILURE (Status)) in DtCreateTemplates()
[all …]
H A Ddtcompile.c196 ACPI_STATUS Status; in DtDoCompile() local
203 Status = DtInitialize (); in DtDoCompile()
204 if (ACPI_FAILURE (Status)) in DtDoCompile()
206 printf ("Error during compiler initialization, 0x%X\n", Status); in DtDoCompile()
207 return (Status); in DtDoCompile()
243 Status = AE_ERROR; in DtDoCompile()
252 Status = DtCompileDataTable (&FieldList); in DtDoCompile()
255 if (ACPI_FAILURE (Status)) in DtDoCompile()
268 Status = FlOpenAmlOutputFile (Gbl_OutputFilenamePrefix); in DtDoCompile()
269 if (ACPI_FAILURE (Status)) in DtDoCompile()
[all …]
/illumos-gate/usr/src/common/acpica/hardware/
H A Dhwsleep.c183 ACPI_STATUS Status; in AcpiHwLegacySleep() local
194 Status = AcpiWriteBitRegister (ACPI_BITREG_WAKE_STATUS, in AcpiHwLegacySleep()
196 if (ACPI_FAILURE (Status)) in AcpiHwLegacySleep()
198 return_ACPI_STATUS (Status); in AcpiHwLegacySleep()
203 Status = AcpiHwDisableAllGpes (); in AcpiHwLegacySleep()
204 if (ACPI_FAILURE (Status)) in AcpiHwLegacySleep()
206 return_ACPI_STATUS (Status); in AcpiHwLegacySleep()
213 Status = AcpiHwClearAcpiStatus(); in AcpiHwLegacySleep()
214 if (ACPI_FAILURE (Status)) in AcpiHwLegacySleep()
216 return_ACPI_STATUS (Status); in AcpiHwLegacySleep()
[all …]
H A Dhwxfsleep.c319 ACPI_STATUS Status; in ACPI_EXPORT_SYMBOL() local
327 Status = AcpiWriteBitRegister (ACPI_BITREG_WAKE_STATUS, ACPI_CLEAR_STATUS); in ACPI_EXPORT_SYMBOL()
328 if (ACPI_FAILURE (Status)) in ACPI_EXPORT_SYMBOL()
330 return_ACPI_STATUS (Status); in ACPI_EXPORT_SYMBOL()
333 Status = AcpiHwClearAcpiStatus (); in ACPI_EXPORT_SYMBOL()
334 if (ACPI_FAILURE (Status)) in ACPI_EXPORT_SYMBOL()
336 return_ACPI_STATUS (Status); in ACPI_EXPORT_SYMBOL()
343 Status = AcpiHwDisableAllGpes (); in ACPI_EXPORT_SYMBOL()
344 if (ACPI_FAILURE (Status)) in ACPI_EXPORT_SYMBOL()
346 return_ACPI_STATUS (Status); in ACPI_EXPORT_SYMBOL()
[all …]
H A Dhwregs.c378 ACPI_STATUS Status; in AcpiHwRead() local
386 Status = AcpiHwValidateRegister (Reg, 64, &Address); in AcpiHwRead()
387 if (ACPI_FAILURE (Status)) in AcpiHwRead()
389 return (Status); in AcpiHwRead()
417 Status = AcpiOsReadMemory ((ACPI_PHYSICAL_ADDRESS) in AcpiHwRead()
423 Status = AcpiHwReadPort ((ACPI_IO_ADDRESS) in AcpiHwRead()
446 return (Status); in AcpiHwRead()
475 ACPI_STATUS Status; in AcpiHwWrite() local
483 Status = AcpiHwValidateRegister (Reg, 64, &Address); in AcpiHwWrite()
484 if (ACPI_FAILURE (Status)) in AcpiHwWrite()
[all …]
H A Dhwgpe.c219 ACPI_STATUS Status = AE_OK; in AcpiHwLowSetGpe() local
237 Status = AcpiHwRead (&EnableMask, &GpeRegisterInfo->EnableAddress); in AcpiHwLowSetGpe()
238 if (ACPI_FAILURE (Status)) in AcpiHwLowSetGpe()
240 return (Status); in AcpiHwLowSetGpe()
279 Status = AcpiHwWrite (EnableMask, &GpeRegisterInfo->EnableAddress); in AcpiHwLowSetGpe()
281 return (Status); in AcpiHwLowSetGpe()
302 ACPI_STATUS Status; in AcpiHwClearGpe() local
322 Status = AcpiHwWrite (RegisterBit, &GpeRegisterInfo->StatusAddress); in AcpiHwClearGpe()
323 return (Status); in AcpiHwClearGpe()
349 ACPI_STATUS Status; in AcpiHwGetGpeStatus() local
[all …]
/illumos-gate/usr/src/common/acpica/events/
H A Devxfgpe.c190 ACPI_STATUS Status; in AcpiUpdateAllGpes() local
197 Status = AcpiUtAcquireMutex (ACPI_MTX_EVENTS); in AcpiUpdateAllGpes()
198 if (ACPI_FAILURE (Status)) in AcpiUpdateAllGpes()
200 return_ACPI_STATUS (Status); in AcpiUpdateAllGpes()
208 Status = AcpiEvWalkGpeList (AcpiEvInitializeGpeBlock, in AcpiUpdateAllGpes()
210 if (ACPI_SUCCESS (Status)) in AcpiUpdateAllGpes()
224 return_ACPI_STATUS (Status); in AcpiUpdateAllGpes()
249 ACPI_STATUS Status = AE_BAD_PARAMETER; in ACPI_EXPORT_SYMBOL() local
270 Status = AcpiEvAddGpeReference (GpeEventInfo); in ACPI_EXPORT_SYMBOL()
271 if (ACPI_SUCCESS (Status) && in ACPI_EXPORT_SYMBOL()
[all …]
H A Devxface.c213 ACPI_STATUS Status; in AcpiInstallNotifyHandler() local
228 Status = AcpiUtAcquireMutex (ACPI_MTX_NAMESPACE); in AcpiInstallNotifyHandler()
229 if (ACPI_FAILURE (Status)) in AcpiInstallNotifyHandler()
231 return_ACPI_STATUS (Status); in AcpiInstallNotifyHandler()
249 Status = AE_ALREADY_EXISTS; in AcpiInstallNotifyHandler()
272 Status = AE_TYPE; in AcpiInstallNotifyHandler()
286 Status = AE_NO_MEMORY; in AcpiInstallNotifyHandler()
292 Status = AcpiNsAttachObject (Device, ObjDesc, Node->Type); in AcpiInstallNotifyHandler()
294 if (ACPI_FAILURE (Status)) in AcpiInstallNotifyHandler()
311 Status = AE_ALREADY_EXISTS; in AcpiInstallNotifyHandler()
[all …]
H A Devxfevnt.c179 ACPI_STATUS Status = AE_OK; in AcpiEnable() local
210 Status = AcpiHwSetMode (ACPI_SYS_MODE_ACPI); in AcpiEnable()
211 if (ACPI_FAILURE (Status)) in AcpiEnable()
214 return_ACPI_STATUS (Status); in AcpiEnable()
221 return_ACPI_STATUS (Status); in AcpiEnable()
243 ACPI_STATUS Status = AE_OK; in ACPI_EXPORT_SYMBOL() local
265 Status = AcpiHwSetMode (ACPI_SYS_MODE_LEGACY); in ACPI_EXPORT_SYMBOL()
267 if (ACPI_FAILURE (Status)) in ACPI_EXPORT_SYMBOL()
271 return_ACPI_STATUS (Status); in ACPI_EXPORT_SYMBOL()
278 return_ACPI_STATUS (Status); in ACPI_EXPORT_SYMBOL()
[all …]
/illumos-gate/usr/src/cmd/acpi/common/
H A Dadisasm.c201 ACPI_STATUS Status, in AcpiDsMethodError() argument
204 return (Status); in AcpiDsMethodError()
225 ACPI_STATUS Status; in AdInitialize() local
230 Status = AcpiOsInitialize (); in AdInitialize()
231 if (ACPI_FAILURE (Status)) in AdInitialize()
234 AcpiFormatException (Status)); in AdInitialize()
236 return (Status); in AdInitialize()
239 Status = AcpiUtInitGlobals (); in AdInitialize()
240 if (ACPI_FAILURE (Status)) in AdInitialize()
243 AcpiFormatException (Status)); in AdInitialize()
[all …]
H A Ddmtbdump2.c179 ACPI_STATUS Status; in AcpiDmDumpIort() local
194 Status = AcpiDmDumpTable (Table->Length, 0, Table, 0, AcpiDmTableInfoIort); in AcpiDmDumpIort()
195 if (ACPI_FAILURE (Status)) in AcpiDmDumpIort()
207 Status = AcpiDmDumpTable (Table->Length, Offset, Table, in AcpiDmDumpIort()
209 if (ACPI_FAILURE (Status)) in AcpiDmDumpIort()
223 Status = AcpiDmDumpTable (Table->Length, Offset, in AcpiDmDumpIort()
225 if (ACPI_FAILURE (Status)) in AcpiDmDumpIort()
292 Status = AcpiDmDumpTable (Table->Length, Offset + NodeOffset, in AcpiDmDumpIort()
295 if (ACPI_FAILURE (Status)) in AcpiDmDumpIort()
314 Status = AcpiDmDumpTable (Table->Length, Offset + NodeOffset, in AcpiDmDumpIort()
[all …]
/illumos-gate/usr/src/common/acpica/namespace/
H A Dnsxfeval.c200 ACPI_STATUS Status; in AcpiEvaluateObjectTyped() local
226 Status = AcpiGetHandle (Handle, Pathname, &TargetHandle); in AcpiEvaluateObjectTyped()
227 if (ACPI_FAILURE (Status)) in AcpiEvaluateObjectTyped()
229 return_ACPI_STATUS (Status); in AcpiEvaluateObjectTyped()
241 Status = AcpiEvaluateObject (TargetHandle, NULL, ExternalParams, in AcpiEvaluateObjectTyped()
243 if (ACPI_FAILURE (Status)) in AcpiEvaluateObjectTyped()
261 Status = AE_NULL_OBJECT; in AcpiEvaluateObjectTyped()
294 Status = AE_TYPE; in AcpiEvaluateObjectTyped()
298 return_ACPI_STATUS (Status); in AcpiEvaluateObjectTyped()
331 ACPI_STATUS Status; in ACPI_EXPORT_SYMBOL() local
[all …]
H A Dnsprepkg.c211 ACPI_STATUS Status = AE_OK; in AcpiNsCheckPackage() local
267 Status = AcpiNsCustomPackage (Info, Elements, Count); in AcpiNsCheckPackage()
292 Status = AcpiNsCheckPackageElements (Info, Elements, in AcpiNsCheckPackage()
304 Status = AcpiNsCheckObjectType (Info, Elements, in AcpiNsCheckPackage()
306 if (ACPI_FAILURE (Status)) in AcpiNsCheckPackage()
308 return (Status); in AcpiNsCheckPackage()
337 Status = AcpiNsCheckObjectType (Info, Elements, in AcpiNsCheckPackage()
339 if (ACPI_FAILURE (Status)) in AcpiNsCheckPackage()
341 return (Status); in AcpiNsCheckPackage()
348 Status = AcpiNsCheckObjectType (Info, Elements, in AcpiNsCheckPackage()
[all …]
/illumos-gate/usr/src/common/acpica/dispatcher/
H A Ddswexec.c204 ACPI_STATUS Status = AE_OK; in AcpiDsGetPredicateValue() local
216 Status = AcpiDsResultPop (&ObjDesc, WalkState); in AcpiDsGetPredicateValue()
217 if (ACPI_FAILURE (Status)) in AcpiDsGetPredicateValue()
219 ACPI_EXCEPTION ((AE_INFO, Status, in AcpiDsGetPredicateValue()
222 return_ACPI_STATUS (Status); in AcpiDsGetPredicateValue()
227 Status = AcpiDsCreateOperand (WalkState, WalkState->Op, 0); in AcpiDsGetPredicateValue()
228 if (ACPI_FAILURE (Status)) in AcpiDsGetPredicateValue()
230 return_ACPI_STATUS (Status); in AcpiDsGetPredicateValue()
233 Status = AcpiExResolveToValue (&WalkState->Operands [0], WalkState); in AcpiDsGetPredicateValue()
234 if (ACPI_FAILURE (Status)) in AcpiDsGetPredicateValue()
[all …]
H A Ddsopcode.c194 ACPI_STATUS Status; in AcpiDsInitializeRegion() local
201 Status = AcpiEvInitializeRegion (ObjDesc); in AcpiDsInitializeRegion()
202 return (Status); in AcpiDsInitializeRegion()
236 ACPI_STATUS Status; in AcpiDsInitBufferField() local
250 Status = AE_AML_OPERAND_TYPE; in AcpiDsInitBufferField()
266 Status = AE_AML_OPERAND_TYPE; in AcpiDsInitBufferField()
291 Status = AE_AML_OPERAND_VALUE; in AcpiDsInitBufferField()
346 Status = AE_AML_BAD_OPCODE; in AcpiDsInitBufferField()
360 Status = AE_AML_BUFFER_LIMIT; in AcpiDsInitBufferField()
369 Status = AcpiExPrepCommonFieldObject ( in AcpiDsInitBufferField()
[all …]
/illumos-gate/usr/src/common/acpica/executer/
H A Dexconfig.c242 ACPI_STATUS Status; in AcpiExLoadTableOp() local
257 Status = AcpiTbFindTable ( in AcpiExLoadTableOp()
262 if (ACPI_FAILURE (Status)) in AcpiExLoadTableOp()
264 if (Status != AE_NOT_FOUND) in AcpiExLoadTableOp()
266 return_ACPI_STATUS (Status); in AcpiExLoadTableOp()
294 Status = AcpiNsGetNodeUnlocked (StartNode, in AcpiExLoadTableOp()
297 if (ACPI_FAILURE (Status)) in AcpiExLoadTableOp()
299 return_ACPI_STATUS (Status); in AcpiExLoadTableOp()
319 Status = AcpiNsGetNodeUnlocked (StartNode, in AcpiExLoadTableOp()
322 if (ACPI_FAILURE (Status)) in AcpiExLoadTableOp()
[all …]
H A Dexsystem.c180 ACPI_STATUS Status; in AcpiExSystemWaitSemaphore() local
186 Status = AcpiOsWaitSemaphore (Semaphore, 1, ACPI_DO_NOT_WAIT); in AcpiExSystemWaitSemaphore()
187 if (ACPI_SUCCESS (Status)) in AcpiExSystemWaitSemaphore()
189 return_ACPI_STATUS (Status); in AcpiExSystemWaitSemaphore()
192 if (Status == AE_TIME) in AcpiExSystemWaitSemaphore()
197 Status = AcpiOsWaitSemaphore (Semaphore, 1, Timeout); in AcpiExSystemWaitSemaphore()
201 AcpiFormatException (Status))); in AcpiExSystemWaitSemaphore()
208 return_ACPI_STATUS (Status); in AcpiExSystemWaitSemaphore()
232 ACPI_STATUS Status; in AcpiExSystemWaitMutex() local
238 Status = AcpiOsAcquireMutex (Mutex, ACPI_DO_NOT_WAIT); in AcpiExSystemWaitMutex()
[all …]
H A Dexoparg1.c203 ACPI_STATUS Status = AE_OK; in AcpiExOpcode_0A_0T_1R() local
222 Status = AE_NO_MEMORY; in AcpiExOpcode_0A_0T_1R()
231 Status = AE_AML_BAD_OPCODE; in AcpiExOpcode_0A_0T_1R()
239 if ((ACPI_FAILURE (Status)) || WalkState->ResultObj) in AcpiExOpcode_0A_0T_1R()
251 return_ACPI_STATUS (Status); in AcpiExOpcode_0A_0T_1R()
273 ACPI_STATUS Status = AE_OK; in AcpiExOpcode_1A_0T_0R() local
286 Status = AcpiExReleaseMutex (Operand[0], WalkState); in AcpiExOpcode_1A_0T_0R()
291 Status = AcpiExSystemResetEvent (Operand[0]); in AcpiExOpcode_1A_0T_0R()
296 Status = AcpiExSystemSignalEvent (Operand[0]); in AcpiExOpcode_1A_0T_0R()
301 Status = AcpiExSystemDoSleep (Operand[0]->Integer.Value); in AcpiExOpcode_1A_0T_0R()
[all …]
H A Dexoparg2.c209 ACPI_STATUS Status = AE_OK; in AcpiExOpcode_2A_0T_0R() local
238 Status = AE_AML_OPERAND_TYPE; in AcpiExOpcode_2A_0T_0R()
249 Status = AcpiEvQueueNotifyRequest (Node, Value); in AcpiExOpcode_2A_0T_0R()
256 Status = AE_AML_BAD_OPCODE; in AcpiExOpcode_2A_0T_0R()
259 return_ACPI_STATUS (Status); in AcpiExOpcode_2A_0T_0R()
283 ACPI_STATUS Status; in AcpiExOpcode_2A_2T_1R() local
301 Status = AE_NO_MEMORY; in AcpiExOpcode_2A_2T_1R()
308 Status = AE_NO_MEMORY; in AcpiExOpcode_2A_2T_1R()
314 Status = AcpiUtDivide ( in AcpiExOpcode_2A_2T_1R()
319 if (ACPI_FAILURE (Status)) in AcpiExOpcode_2A_2T_1R()
[all …]
/illumos-gate/usr/src/common/acpica/resources/
H A Drsxface.c214 ACPI_STATUS Status; in AcpiRsValidateParameters() local
247 Status = AcpiUtValidateBuffer (Buffer); in AcpiRsValidateParameters()
248 if (ACPI_FAILURE (Status)) in AcpiRsValidateParameters()
250 return_ACPI_STATUS (Status); in AcpiRsValidateParameters()
286 ACPI_STATUS Status; in AcpiGetIrqRoutingTable() local
295 Status = AcpiRsValidateParameters (DeviceHandle, RetBuffer, &Node); in AcpiGetIrqRoutingTable()
296 if (ACPI_FAILURE (Status)) in AcpiGetIrqRoutingTable()
298 return_ACPI_STATUS (Status); in AcpiGetIrqRoutingTable()
301 Status = AcpiRsGetPrtMethodData (Node, RetBuffer); in AcpiGetIrqRoutingTable()
302 return_ACPI_STATUS (Status); in AcpiGetIrqRoutingTable()
[all …]
/illumos-gate/usr/src/common/acpica/tables/
H A Dtbxfload.c180 ACPI_STATUS Status; in AcpiLoadTables() local
198 Status = AcpiEvInstallRegionHandlers (); in AcpiLoadTables()
199 if (ACPI_FAILURE (Status)) in AcpiLoadTables()
201 ACPI_EXCEPTION ((AE_INFO, Status, "During Region initialization")); in AcpiLoadTables()
202 return_ACPI_STATUS (Status); in AcpiLoadTables()
207 Status = AcpiTbLoadNamespace (); in AcpiLoadTables()
211 if (Status == AE_CTRL_TERMINATE) in AcpiLoadTables()
213 Status = AE_OK; in AcpiLoadTables()
216 if (ACPI_FAILURE (Status)) in AcpiLoadTables()
218 ACPI_EXCEPTION ((AE_INFO, Status, in AcpiLoadTables()
[all …]

12345678910>>...12