44 #include <linux/export.h>
49 #define _COMPONENT ACPI_UTILITIES
106 static const char acpi_gbl_hex_to_ascii[] = {
107 '0',
'1',
'2',
'3',
'4',
'5',
'6',
'7',
108 '8',
'9',
'A',
'B',
'C',
'D',
'E',
'F'
114 return (acpi_gbl_hex_to_ascii[(integer >> position) & 0xF]);
149 return (
"UserDefinedRegion");
151 return (
"DataTable");
153 return (
"FunctionalFixedHW");
155 return (
"InvalidSpaceId");
187 return (
"InvalidEventID");
190 return (
ACPI_CAST_PTR(
char, acpi_gbl_event_types[event_id]));
213 static const char acpi_gbl_bad_type[] =
"UNDEFINED";
217 static const char *acpi_gbl_ns_type_names[] = {
265 return (
"[NULL Object Descriptor]");
330 static const char *acpi_gbl_desc_type_names[] = {
337 "State-RootParseScope",
353 return (
"NULL OBJECT");
357 return (
"Not a Descriptor");
380 static const char *acpi_gbl_ref_class_names[] = {
394 return (
"NULL Object");
398 return (
"Not an Operand object");
402 return (
"Not a Reference object");
406 return (
"Unknown Reference class");
409 return (acpi_gbl_ref_class_names[object->
reference.class]);
412 #if defined(ACPI_DEBUG_OUTPUT) || defined(ACPI_DEBUGGER)
432 "ACPI_MTX_Interpreter",
433 "ACPI_MTX_Namespace",
438 "ACPI_MTX_CommandComplete",
439 "ACPI_MTX_CommandReady"
442 char *acpi_ut_get_mutex_name(
u32 mutex_id)
446 return (
"Invalid Mutex ID");
449 return (acpi_gbl_mutex_names[mutex_id]);
466 static const char *acpi_gbl_notify_value_names[
ACPI_NOTIFY_MAX + 1] = {
471 "Device Check Light",
472 "Frequency Mismatch",
475 "Capabilities Check",
478 "System Locality Update",
482 const char *acpi_ut_get_notify_name(
u32 notify_value)
486 return (acpi_gbl_notify_value_names[notify_value]);
490 return (
"Device Specific");
492 return (
"Hardware Specific");