/freebsd/sys/contrib/dev/acpica/components/utilities/ |
H A D | utxfinit.c | 187 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 …]
|
/freebsd/sys/contrib/dev/acpica/compiler/ |
H A D | dttable1.c | 205 ACPI_STATUS Status; in DtCompileAest() local 215 Status = DtCompileTable (PFieldList, AcpiDmTableInfoAestHdr, in DtCompileAest() 217 if (ACPI_FAILURE (Status)) in DtCompileAest() 219 return (Status); in DtCompileAest() 276 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileAest() 277 if (ACPI_FAILURE (Status)) in DtCompileAest() 279 return (Status); in DtCompileAest() 328 Status = DtCompileTable (PFieldList, InfoTable, &Subtable); in DtCompileAest() 329 if (ACPI_FAILURE (Status)) in DtCompileAest() 331 return (Status); in DtCompileAest() [all …]
|
H A D | dttable2.c | 176 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 D | dttemplate.c | 239 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() 259 Status = DtCreateOneTemplateFile (ACPI_SIG_DSDT, 0); in DtCreateTemplates() 280 Status = AE_LIMIT; in DtCreateTemplates() 284 Status = DtCreateOneTemplateFile (ACPI_SIG_DSDT, TableCount); in DtCreateTemplates() 292 Status = DtCreateAllTemplates (); in DtCreateTemplates() 304 Status = DtCreateOneTemplateFile (Signature, 0); in DtCreateTemplates() 305 if (ACPI_FAILURE (Status)) in DtCreateTemplates() [all …]
|
/freebsd/sys/contrib/dev/acpica/components/events/ |
H A D | evxfgpe.c | 190 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, TRUE); in ACPI_EXPORT_SYMBOL() 271 if (ACPI_SUCCESS (Status) && in ACPI_EXPORT_SYMBOL() [all …]
|
H A D | evxface.c | 213 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 D | evxfevnt.c | 179 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 …]
|
/freebsd/sys/contrib/dev/acpica/components/hardware/ |
H A D | hwsleep.c | 183 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() 208 Status = AcpiHwClearAcpiStatus(); in AcpiHwLegacySleep() 209 if (ACPI_FAILURE(Status)) in AcpiHwLegacySleep() 211 return_ACPI_STATUS(Status); in AcpiHwLegacySleep() [all …]
|
H A D | hwxfsleep.c | 319 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 D | hwgpe.c | 219 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 …]
|
H A D | hwregs.c | 378 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 …]
|
/freebsd/sys/contrib/dev/acpica/common/ |
H A D | adisasm.c | 202 ACPI_STATUS Status, in AcpiDsMethodError() argument 205 return (Status); in AcpiDsMethodError() 226 ACPI_STATUS Status; in AdInitialize() local 231 Status = AcpiOsInitialize (); in AdInitialize() 232 if (ACPI_FAILURE (Status)) in AdInitialize() 235 AcpiFormatException (Status)); in AdInitialize() 237 return (Status); in AdInitialize() 240 Status = AcpiUtInitGlobals (); in AdInitialize() 241 if (ACPI_FAILURE (Status)) in AdInitialize() 244 AcpiFormatException (Status)); in AdInitialize() [all …]
|
H A D | dmtbdump2.c | 181 ACPI_STATUS Status; in AcpiDmDumpIort() local 199 Status = AcpiDmDumpTable (Table->Length, 0, Table, 0, AcpiDmTableInfoIort); in AcpiDmDumpIort() 200 if (ACPI_FAILURE (Status)) in AcpiDmDumpIort() 223 Status = AcpiDmDumpTable (Table->Length, Offset, Table, in AcpiDmDumpIort() 225 if (ACPI_FAILURE (Status)) in AcpiDmDumpIort() 242 Status = AcpiDmDumpTable (Table->Length, Offset, in AcpiDmDumpIort() 247 Status = AcpiDmDumpTable (Table->Length, Offset, in AcpiDmDumpIort() 251 if (ACPI_FAILURE (Status)) in AcpiDmDumpIort() 325 Status = AcpiDmDumpTable (Table->Length, Offset + NodeOffset, in AcpiDmDumpIort() 328 if (ACPI_FAILURE (Status)) in AcpiDmDumpIort() [all …]
|
/freebsd/sys/contrib/dev/acpica/components/dispatcher/ |
H A D | dswexec.c | 206 ACPI_STATUS Status = AE_OK; in AcpiDsGetPredicateValue() local 218 Status = AcpiDsResultPop (&ObjDesc, WalkState); in AcpiDsGetPredicateValue() 219 if (ACPI_FAILURE (Status)) in AcpiDsGetPredicateValue() 221 ACPI_EXCEPTION ((AE_INFO, Status, in AcpiDsGetPredicateValue() 224 return_ACPI_STATUS (Status); in AcpiDsGetPredicateValue() 229 Status = AcpiDsCreateOperand (WalkState, WalkState->Op, 0); in AcpiDsGetPredicateValue() 230 if (ACPI_FAILURE (Status)) in AcpiDsGetPredicateValue() 232 return_ACPI_STATUS (Status); in AcpiDsGetPredicateValue() 235 Status = AcpiExResolveToValue (&WalkState->Operands [0], WalkState); in AcpiDsGetPredicateValue() 236 if (ACPI_FAILURE (Status)) in AcpiDsGetPredicateValue() [all …]
|
H A D | dsopcode.c | 194 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() 355 Status = AE_AML_BUFFER_LIMIT; in AcpiDsInitBufferField() 356 ACPI_BIOS_EXCEPTION ((AE_INFO, Status, in AcpiDsInitBufferField() [all …]
|
H A D | dswload2.c | 188 ACPI_STATUS Status; in AcpiDsLoad2BeginOp() local 208 Status = AcpiDsExecBeginOp (WalkState, OutOp); in AcpiDsLoad2BeginOp() 209 return_ACPI_STATUS (Status); in AcpiDsLoad2BeginOp() 263 Status = AE_OK; in AcpiDsLoad2BeginOp() 272 Status = AcpiNsLookup (WalkState->ScopeInfo, BufferPtr, ObjectType, in AcpiDsLoad2BeginOp() 285 Status = AcpiDsScopeStackPush (Node, ObjectType, WalkState); in AcpiDsLoad2BeginOp() 286 if (ACPI_FAILURE (Status)) in AcpiDsLoad2BeginOp() 288 return_ACPI_STATUS (Status); in AcpiDsLoad2BeginOp() 298 Status = AcpiNsLookup (WalkState->ScopeInfo, BufferPtr, ObjectType, in AcpiDsLoad2BeginOp() 301 if (ACPI_FAILURE (Status)) in AcpiDsLoad2BeginOp() [all …]
|
/freebsd/sys/contrib/dev/acpica/components/namespace/ |
H A D | nsxfeval.c | 200 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 D | nsprepkg.c | 211 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_ACPI_STATUS (Status); in AcpiNsCheckPackage() 337 Status = AcpiNsCheckObjectType (Info, Elements, in AcpiNsCheckPackage() 339 if (ACPI_FAILURE (Status)) in AcpiNsCheckPackage() 341 return_ACPI_STATUS (Status); in AcpiNsCheckPackage() 348 Status = AcpiNsCheckObjectType (Info, Elements, in AcpiNsCheckPackage() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | mem_map_fuchsia.cpp | 23 static void NORETURN dieOnError(zx_status_t Status, const char *FnName, in dieOnError() argument 27 Size >> 10, _zx_status_get_string(Status)); in dieOnError() 35 zx_status_t Status = _zx_object_set_property(Vmo, ZX_PROP_NAME, Name, Len); in setVmoName() local 36 CHECK_EQ(Status, ZX_OK); in setVmoName() 46 zx_status_t Status = in getRootVmarBase() local 49 CHECK_EQ(Status, ZX_OK); in getRootVmarBase() 66 zx_status_t Status = _zx_vmo_create(0, 0, &Vmo); in getPlaceholderVmo() local 67 if (UNLIKELY(Status != ZX_OK)) in getPlaceholderVmo() 68 dieOnError(Status, "zx_vmo_create", 0); in getPlaceholderVmo() 77 Status = _zx_handle_close(Vmo); in getPlaceholderVmo() [all …]
|
/freebsd/sys/contrib/dev/acpica/components/parser/ |
H A D | psloop.c | 202 ACPI_STATUS Status = AE_OK; in AcpiPsGetArguments() local 228 Status = AcpiPsGetNextNamepath (WalkState, in AcpiPsGetArguments() 230 if (ACPI_FAILURE (Status)) in AcpiPsGetArguments() 232 return_ACPI_STATUS (Status); in AcpiPsGetArguments() 263 Status = AcpiPsGetNextArg (WalkState, &(WalkState->ParserState), in AcpiPsGetArguments() 265 if (ACPI_FAILURE (Status)) in AcpiPsGetArguments() 267 return_ACPI_STATUS (Status); in AcpiPsGetArguments() 370 ACPI_STATUS Status = AE_OK; in AcpiPsParseLoop() local 412 Status = AcpiDsGetPredicateValue (WalkState, ACPI_TO_POINTER (TRUE)); in AcpiPsParseLoop() 413 if (ACPI_FAILURE (Status) && !ACPI_CNTL_EXCEPTION (Status)) in AcpiPsParseLoop() [all …]
|
/freebsd/sys/contrib/dev/acpica/components/executer/ |
H A D | exoparg1.c | 203 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 D | exsystem.c | 180 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 D | exoparg2.c | 209 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 …]
|
/freebsd/sys/contrib/dev/acpica/components/resources/ |
H A D | rsxface.c | 214 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 …]
|
/freebsd/sys/contrib/dev/acpica/components/tables/ |
H A D | tbxfload.c | 180 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 …]
|