Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions | Variables
acutils.h File Reference

Go to the source code of this file.

Data Structures

struct  acpi_pkg_info
 

Macros

#define ACPI_INVALID_RESOURCE   0
 
#define ACPI_FIXED_LENGTH   1
 
#define ACPI_VARIABLE_LENGTH   2
 
#define ACPI_SMALL_VARIABLE_LENGTH   3
 
#define REF_INCREMENT   (u16) 0
 
#define REF_DECREMENT   (u16) 1
 
#define REF_FORCE_DELETE   (u16) 2
 
#define DB_BYTE_DISPLAY   1
 
#define DB_WORD_DISPLAY   2
 
#define DB_DWORD_DISPLAY   4
 
#define DB_QWORD_DISPLAY   8
 
#define _ACPI_XA   0x00 /* extra alphabetic - not supported */
 
#define _ACPI_XS   0x40 /* extra space */
 
#define _ACPI_BB   0x00 /* BEL, BS, etc. - not supported */
 
#define _ACPI_CN   0x20 /* CR, FF, HT, NL, VT */
 
#define _ACPI_DI   0x04 /* '0'-'9' */
 
#define _ACPI_LO   0x02 /* 'a'-'z' */
 
#define _ACPI_PU   0x10 /* punctuation */
 
#define _ACPI_SP   0x08 /* space */
 
#define _ACPI_UP   0x01 /* 'A'-'Z' */
 
#define _ACPI_XD   0x80 /* '0'-'9', 'A'-'F', 'a'-'f' */
 
#define ACPI_IS_DIGIT(c)   (_acpi_ctype[(unsigned char)(c)] & (_ACPI_DI))
 
#define ACPI_IS_SPACE(c)   (_acpi_ctype[(unsigned char)(c)] & (_ACPI_SP))
 
#define ACPI_IS_XDIGIT(c)   (_acpi_ctype[(unsigned char)(c)] & (_ACPI_XD))
 
#define ACPI_IS_UPPER(c)   (_acpi_ctype[(unsigned char)(c)] & (_ACPI_UP))
 
#define ACPI_IS_LOWER(c)   (_acpi_ctype[(unsigned char)(c)] & (_ACPI_LO))
 
#define ACPI_IS_PRINT(c)   (_acpi_ctype[(unsigned char)(c)] & (_ACPI_LO | _ACPI_UP | _ACPI_DI | _ACPI_SP | _ACPI_PU))
 
#define ACPI_IS_ALPHA(c)   (_acpi_ctype[(unsigned char)(c)] & (_ACPI_LO | _ACPI_UP))
 
#define acpi_ut_create_internal_object(t)   acpi_ut_create_internal_object_dbg (_acpi_module_name,__LINE__,_COMPONENT,t)
 
#define acpi_ut_allocate_object_desc()   acpi_ut_allocate_object_desc_dbg (_acpi_module_name,__LINE__,_COMPONENT)
 
#define ACPI_ANY_BASE   0
 

Typedefs

typedef acpi_status(* acpi_walk_aml_callback )(u8 *aml, u32 length, u32 offset, u8 resource_index, void **context)
 
typedef acpi_status(* acpi_pkg_callback )(u8 object_type, union acpi_operand_object *source_object, union acpi_generic_state *state, void *context)
 

Functions

acpi_status acpi_ut_init_globals (void)
 
characpi_ut_get_type_name (acpi_object_type type)
 
characpi_ut_get_node_name (void *object)
 
characpi_ut_get_descriptor_name (void *object)
 
const characpi_ut_get_reference_name (union acpi_operand_object *object)
 
characpi_ut_get_object_type_name (union acpi_operand_object *obj_desc)
 
characpi_ut_get_region_name (u8 space_id)
 
characpi_ut_get_event_name (u32 event_id)
 
char acpi_ut_hex_to_ascii_char (u64 integer, u32 position)
 
u8 acpi_ut_valid_object_type (acpi_object_type type)
 
acpi_status acpi_ut_hardware_initialize (void)
 
void acpi_ut_subsystem_shutdown (void)
 
acpi_size acpi_ut_strlen (const char *string)
 
characpi_ut_strcpy (char *dst_string, const char *src_string)
 
characpi_ut_strncpy (char *dst_string, const char *src_string, acpi_size count)
 
int acpi_ut_memcmp (const char *buffer1, const char *buffer2, acpi_size count)
 
int acpi_ut_strncmp (const char *string1, const char *string2, acpi_size count)
 
int acpi_ut_strcmp (const char *string1, const char *string2)
 
characpi_ut_strcat (char *dst_string, const char *src_string)
 
characpi_ut_strncat (char *dst_string, const char *src_string, acpi_size count)
 
u32 acpi_ut_strtoul (const char *string, char **terminator, u32 base)
 
characpi_ut_strstr (char *string1, char *string2)
 
voidacpi_ut_memcpy (void *dest, const void *src, acpi_size count)
 
voidacpi_ut_memset (void *dest, u8 value, acpi_size count)
 
int acpi_ut_to_upper (int c)
 
int acpi_ut_to_lower (int c)
 
acpi_status acpi_ut_build_simple_object (union acpi_operand_object *obj, union acpi_object *user_obj, u8 *data_space, u32 *buffer_space_used)
 
acpi_status acpi_ut_build_package_object (union acpi_operand_object *obj, u8 *buffer, u32 *space_used)
 
acpi_status acpi_ut_copy_iobject_to_eobject (union acpi_operand_object *obj, struct acpi_buffer *ret_buffer)
 
acpi_status acpi_ut_copy_eobject_to_iobject (union acpi_object *obj, union acpi_operand_object **internal_obj)
 
acpi_status acpi_ut_copy_isimple_to_isimple (union acpi_operand_object *source_obj, union acpi_operand_object *dest_obj)
 
acpi_status acpi_ut_copy_iobject_to_iobject (union acpi_operand_object *source_desc, union acpi_operand_object **dest_desc, struct acpi_walk_state *walk_state)
 
acpi_status acpi_ut_update_object_reference (union acpi_operand_object *object, u16 action)
 
void acpi_ut_init_stack_ptr_trace (void)
 
void acpi_ut_track_stack_ptr (void)
 
void acpi_ut_trace (u32 line_number, const char *function_name, const char *module_name, u32 component_id)
 
void acpi_ut_trace_ptr (u32 line_number, const char *function_name, const char *module_name, u32 component_id, void *pointer)
 
void acpi_ut_trace_u32 (u32 line_number, const char *function_name, const char *module_name, u32 component_id, u32 integer)
 
void acpi_ut_trace_str (u32 line_number, const char *function_name, const char *module_name, u32 component_id, char *string)
 
void acpi_ut_exit (u32 line_number, const char *function_name, const char *module_name, u32 component_id)
 
void acpi_ut_status_exit (u32 line_number, const char *function_name, const char *module_name, u32 component_id, acpi_status status)
 
void acpi_ut_value_exit (u32 line_number, const char *function_name, const char *module_name, u32 component_id, u64 value)
 
void acpi_ut_ptr_exit (u32 line_number, const char *function_name, const char *module_name, u32 component_id, u8 *ptr)
 
void acpi_ut_dump_buffer (u8 *buffer, u32 count, u32 display, u32 component_id)
 
void acpi_ut_dump_buffer2 (u8 *buffer, u32 count, u32 display)
 
void acpi_ut_report_error (char *module_name, u32 line_number)
 
void acpi_ut_report_info (char *module_name, u32 line_number)
 
void acpi_ut_report_warning (char *module_name, u32 line_number)
 
void acpi_ut_add_reference (union acpi_operand_object *object)
 
void acpi_ut_remove_reference (union acpi_operand_object *object)
 
void acpi_ut_delete_internal_package_object (union acpi_operand_object *object)
 
void acpi_ut_delete_internal_simple_object (union acpi_operand_object *object)
 
void acpi_ut_delete_internal_object_list (union acpi_operand_object **obj_list)
 
acpi_status acpi_ut_evaluate_object (struct acpi_namespace_node *prefix_node, char *path, u32 expected_return_btypes, union acpi_operand_object **return_desc)
 
acpi_status acpi_ut_evaluate_numeric_object (char *object_name, struct acpi_namespace_node *device_node, u64 *value)
 
acpi_status acpi_ut_execute_STA (struct acpi_namespace_node *device_node, u32 *status_flags)
 
acpi_status acpi_ut_execute_power_methods (struct acpi_namespace_node *device_node, const char **method_names, u8 method_count, u8 *out_values)
 
acpi_status acpi_ut_execute_HID (struct acpi_namespace_node *device_node, struct acpica_device_id **return_id)
 
acpi_status acpi_ut_execute_UID (struct acpi_namespace_node *device_node, struct acpica_device_id **return_id)
 
acpi_status acpi_ut_execute_CID (struct acpi_namespace_node *device_node, struct acpica_device_id_list **return_cid_list)
 
acpi_status acpi_ut_create_rw_lock (struct acpi_rw_lock *lock)
 
void acpi_ut_delete_rw_lock (struct acpi_rw_lock *lock)
 
acpi_status acpi_ut_acquire_read_lock (struct acpi_rw_lock *lock)
 
acpi_status acpi_ut_release_read_lock (struct acpi_rw_lock *lock)
 
acpi_status acpi_ut_acquire_write_lock (struct acpi_rw_lock *lock)
 
void acpi_ut_release_write_lock (struct acpi_rw_lock *lock)
 
union acpi_operand_objectacpi_ut_create_internal_object_dbg (const char *module_name, u32 line_number, u32 component_id, acpi_object_type type)
 
voidacpi_ut_allocate_object_desc_dbg (const char *module_name, u32 line_number, u32 component_id)
 
void acpi_ut_delete_object_desc (union acpi_operand_object *object)
 
u8 acpi_ut_valid_internal_object (void *object)
 
union acpi_operand_objectacpi_ut_create_package_object (u32 count)
 
union acpi_operand_objectacpi_ut_create_integer_object (u64 value)
 
union acpi_operand_objectacpi_ut_create_buffer_object (acpi_size buffer_size)
 
union acpi_operand_objectacpi_ut_create_string_object (acpi_size string_size)
 
acpi_status acpi_ut_get_object_size (union acpi_operand_object *obj, acpi_size *obj_length)
 
acpi_status acpi_ut_initialize_interfaces (void)
 
void acpi_ut_interface_terminate (void)
 
acpi_status acpi_ut_install_interface (acpi_string interface_name)
 
acpi_status acpi_ut_remove_interface (acpi_string interface_name)
 
struct acpi_interface_infoacpi_ut_get_interface (acpi_string interface_name)
 
acpi_status acpi_ut_osi_implementation (struct acpi_walk_state *walk_state)
 
void acpi_ut_push_generic_state (union acpi_generic_state **list_head, union acpi_generic_state *state)
 
union acpi_generic_stateacpi_ut_pop_generic_state (union acpi_generic_state **list_head)
 
union acpi_generic_stateacpi_ut_create_generic_state (void)
 
struct acpi_thread_stateacpi_ut_create_thread_state (void)
 
union acpi_generic_stateacpi_ut_create_update_state (union acpi_operand_object *object, u16 action)
 
union acpi_generic_stateacpi_ut_create_pkg_state (void *internal_object, void *external_object, u16 index)
 
acpi_status acpi_ut_create_update_state_and_push (union acpi_operand_object *object, u16 action, union acpi_generic_state **state_list)
 
union acpi_generic_stateacpi_ut_create_control_state (void)
 
void acpi_ut_delete_generic_state (union acpi_generic_state *state)
 
acpi_status acpi_ut_divide (u64 in_dividend, u64 in_divisor, u64 *out_quotient, u64 *out_remainder)
 
acpi_status acpi_ut_short_divide (u64 in_dividend, u32 divisor, u64 *out_quotient, u32 *out_remainder)
 
void ut_convert_backslashes (char *pathname)
 
const characpi_ut_validate_exception (acpi_status status)
 
u8 acpi_ut_is_pci_root_bridge (char *id)
 
u8 acpi_ut_is_aml_table (struct acpi_table_header *table)
 
acpi_status acpi_ut_allocate_owner_id (acpi_owner_id *owner_id)
 
void acpi_ut_release_owner_id (acpi_owner_id *owner_id)
 
acpi_status acpi_ut_walk_package_tree (union acpi_operand_object *source_object, void *target_object, acpi_pkg_callback walk_callback, void *context)
 
void acpi_ut_strupr (char *src_string)
 
void acpi_ut_print_string (char *string, u8 max_length)
 
u8 acpi_ut_valid_acpi_name (u32 name)
 
acpi_name acpi_ut_repair_name (char *name)
 
u8 acpi_ut_valid_acpi_char (char character, u32 position)
 
acpi_status acpi_ut_strtoul64 (char *string, u32 base, u64 *ret_integer)
 
u32 acpi_ut_dword_byte_swap (u32 value)
 
void acpi_ut_set_integer_width (u8 revision)
 
acpi_status acpi_ut_walk_aml_resources (u8 *aml, acpi_size aml_length, acpi_walk_aml_callback user_function, void **context)
 
acpi_status acpi_ut_validate_resource (void *aml, u8 *return_index)
 
u32 acpi_ut_get_descriptor_length (void *aml)
 
u16 acpi_ut_get_resource_length (void *aml)
 
u8 acpi_ut_get_resource_header_length (void *aml)
 
u8 acpi_ut_get_resource_type (void *aml)
 
acpi_status acpi_ut_get_resource_end_tag (union acpi_operand_object *obj_desc, u8 **end_tag)
 
acpi_status acpi_ut_mutex_initialize (void)
 
void acpi_ut_mutex_terminate (void)
 
acpi_status acpi_ut_acquire_mutex (acpi_mutex_handle mutex_id)
 
acpi_status acpi_ut_release_mutex (acpi_mutex_handle mutex_id)
 
acpi_status acpi_ut_create_caches (void)
 
acpi_status acpi_ut_delete_caches (void)
 
acpi_status acpi_ut_validate_buffer (struct acpi_buffer *buffer)
 
acpi_status acpi_ut_initialize_buffer (struct acpi_buffer *buffer, acpi_size required_length)
 
voidacpi_ut_allocate (acpi_size size, u32 component, const char *module, u32 line)
 
voidacpi_ut_allocate_zeroed (acpi_size size, u32 component, const char *module, u32 line)
 
acpi_status acpi_ut_add_address_range (acpi_adr_space_type space_id, acpi_physical_address address, u32 length, struct acpi_namespace_node *region_node)
 
void acpi_ut_remove_address_range (acpi_adr_space_type space_id, struct acpi_namespace_node *region_node)
 
u32 acpi_ut_check_address_range (acpi_adr_space_type space_id, acpi_physical_address address, u32 length, u8 warn)
 
void acpi_ut_delete_address_lists (void)
 
void ACPI_INTERNAL_VAR_XFACE acpi_ut_predefined_warning (const char *module_name, u32 line_number, char *pathname, u8 node_flags, const char *format,...)
 
void ACPI_INTERNAL_VAR_XFACE acpi_ut_predefined_info (const char *module_name, u32 line_number, char *pathname, u8 node_flags, const char *format,...)
 
void acpi_ut_namespace_error (const char *module_name, u32 line_number, const char *internal_name, acpi_status lookup_status)
 
void acpi_ut_method_error (const char *module_name, u32 line_number, const char *message, struct acpi_namespace_node *node, const char *path, acpi_status lookup_status)
 

Variables

const u8 acpi_gbl_resource_aml_sizes []
 
const u8 acpi_gbl_resource_aml_serial_bus_sizes []
 
const u8 _acpi_ctype []
 

Macro Definition Documentation

#define _ACPI_BB   0x00 /* BEL, BS, etc. - not supported */

Definition at line 188 of file acutils.h.

#define _ACPI_CN   0x20 /* CR, FF, HT, NL, VT */

Definition at line 189 of file acutils.h.

#define _ACPI_DI   0x04 /* '0'-'9' */

Definition at line 190 of file acutils.h.

#define _ACPI_LO   0x02 /* 'a'-'z' */

Definition at line 191 of file acutils.h.

#define _ACPI_PU   0x10 /* punctuation */

Definition at line 192 of file acutils.h.

#define _ACPI_SP   0x08 /* space */

Definition at line 193 of file acutils.h.

#define _ACPI_UP   0x01 /* 'A'-'Z' */

Definition at line 194 of file acutils.h.

#define _ACPI_XA   0x00 /* extra alphabetic - not supported */

Definition at line 186 of file acutils.h.

#define _ACPI_XD   0x80 /* '0'-'9', 'A'-'F', 'a'-'f' */

Definition at line 195 of file acutils.h.

#define _ACPI_XS   0x40 /* extra space */

Definition at line 187 of file acutils.h.

#define ACPI_ANY_BASE   0

Definition at line 494 of file acutils.h.

#define ACPI_FIXED_LENGTH   1

Definition at line 77 of file acutils.h.

#define ACPI_INVALID_RESOURCE   0

Definition at line 76 of file acutils.h.

#define ACPI_IS_ALPHA (   c)    (_acpi_ctype[(unsigned char)(c)] & (_ACPI_LO | _ACPI_UP))

Definition at line 203 of file acutils.h.

#define ACPI_IS_DIGIT (   c)    (_acpi_ctype[(unsigned char)(c)] & (_ACPI_DI))

Definition at line 197 of file acutils.h.

#define ACPI_IS_LOWER (   c)    (_acpi_ctype[(unsigned char)(c)] & (_ACPI_LO))

Definition at line 201 of file acutils.h.

#define ACPI_IS_PRINT (   c)    (_acpi_ctype[(unsigned char)(c)] & (_ACPI_LO | _ACPI_UP | _ACPI_DI | _ACPI_SP | _ACPI_PU))

Definition at line 202 of file acutils.h.

#define ACPI_IS_SPACE (   c)    (_acpi_ctype[(unsigned char)(c)] & (_ACPI_SP))

Definition at line 198 of file acutils.h.

#define ACPI_IS_UPPER (   c)    (_acpi_ctype[(unsigned char)(c)] & (_ACPI_UP))

Definition at line 200 of file acutils.h.

#define ACPI_IS_XDIGIT (   c)    (_acpi_ctype[(unsigned char)(c)] & (_ACPI_XD))

Definition at line 199 of file acutils.h.

#define ACPI_SMALL_VARIABLE_LENGTH   3

Definition at line 79 of file acutils.h.

#define acpi_ut_allocate_object_desc ( )    acpi_ut_allocate_object_desc_dbg (_acpi_module_name,__LINE__,_COMPONENT)

Definition at line 379 of file acutils.h.

#define acpi_ut_create_internal_object (   t)    acpi_ut_create_internal_object_dbg (_acpi_module_name,__LINE__,_COMPONENT,t)

Definition at line 378 of file acutils.h.

#define ACPI_VARIABLE_LENGTH   2

Definition at line 78 of file acutils.h.

#define DB_BYTE_DISPLAY   1

Definition at line 106 of file acutils.h.

#define DB_DWORD_DISPLAY   4

Definition at line 108 of file acutils.h.

#define DB_QWORD_DISPLAY   8

Definition at line 109 of file acutils.h.

#define DB_WORD_DISPLAY   2

Definition at line 107 of file acutils.h.

#define REF_DECREMENT   (u16) 1

Definition at line 101 of file acutils.h.

#define REF_FORCE_DELETE   (u16) 2

Definition at line 102 of file acutils.h.

#define REF_INCREMENT   (u16) 0

Definition at line 100 of file acutils.h.

Typedef Documentation

typedef acpi_status(* acpi_pkg_callback)(u8 object_type, union acpi_operand_object *source_object, union acpi_generic_state *state, void *context)

Definition at line 88 of file acutils.h.

typedef acpi_status(* acpi_walk_aml_callback)(u8 *aml, u32 length, u32 offset, u8 resource_index, void **context)

Definition at line 82 of file acutils.h.

Function Documentation

acpi_status acpi_ut_acquire_mutex ( acpi_mutex_handle  mutex_id)

Definition at line 210 of file utmutex.c.

acpi_status acpi_ut_acquire_read_lock ( struct acpi_rw_lock lock)

Definition at line 105 of file utlock.c.

acpi_status acpi_ut_acquire_write_lock ( struct acpi_rw_lock lock)

Definition at line 163 of file utlock.c.

acpi_status acpi_ut_add_address_range ( acpi_adr_space_type  space_id,
acpi_physical_address  address,
u32  length,
struct acpi_namespace_node region_node 
)

Definition at line 75 of file utaddress.c.

void acpi_ut_add_reference ( union acpi_operand_object object)

Definition at line 652 of file utdelete.c.

void* acpi_ut_allocate ( acpi_size  size,
u32  component,
const char module,
u32  line 
)
void* acpi_ut_allocate_object_desc_dbg ( const char module_name,
u32  line_number,
u32  component_id 
)

Definition at line 380 of file utobject.c.

acpi_status acpi_ut_allocate_owner_id ( acpi_owner_id owner_id)

Definition at line 153 of file utmisc.c.

void* acpi_ut_allocate_zeroed ( acpi_size  size,
u32  component,
const char module,
u32  line 
)
acpi_status acpi_ut_build_package_object ( union acpi_operand_object obj,
u8 buffer,
u32 space_used 
)
acpi_status acpi_ut_build_simple_object ( union acpi_operand_object obj,
union acpi_object user_obj,
u8 data_space,
u32 buffer_space_used 
)
u32 acpi_ut_check_address_range ( acpi_adr_space_type  space_id,
acpi_physical_address  address,
u32  length,
u8  warn 
)

Definition at line 205 of file utaddress.c.

acpi_status acpi_ut_copy_eobject_to_iobject ( union acpi_object obj,
union acpi_operand_object **  internal_obj 
)

Definition at line 636 of file utcopy.c.

acpi_status acpi_ut_copy_iobject_to_eobject ( union acpi_operand_object obj,
struct acpi_buffer ret_buffer 
)

Definition at line 395 of file utcopy.c.

acpi_status acpi_ut_copy_iobject_to_iobject ( union acpi_operand_object source_desc,
union acpi_operand_object **  dest_desc,
struct acpi_walk_state walk_state 
)

Definition at line 976 of file utcopy.c.

acpi_status acpi_ut_copy_isimple_to_isimple ( union acpi_operand_object source_obj,
union acpi_operand_object dest_obj 
)
union acpi_operand_object* acpi_ut_create_buffer_object ( acpi_size  buffer_size)
write

Definition at line 232 of file utobject.c.

acpi_status acpi_ut_create_caches ( void  )

Definition at line 62 of file utalloc.c.

union acpi_generic_state* acpi_ut_create_control_state ( void  )
write

Definition at line 303 of file utstate.c.

union acpi_generic_state* acpi_ut_create_generic_state ( void  )
write

Definition at line 155 of file utstate.c.

union acpi_operand_object* acpi_ut_create_integer_object ( u64  value)
write

Definition at line 203 of file utobject.c.

union acpi_operand_object* acpi_ut_create_internal_object_dbg ( const char module_name,
u32  line_number,
u32  component_id,
acpi_object_type  type 
)
write

Definition at line 86 of file utobject.c.

union acpi_operand_object* acpi_ut_create_package_object ( u32  count)
write

Definition at line 161 of file utobject.c.

union acpi_generic_state* acpi_ut_create_pkg_state ( void internal_object,
void external_object,
u16  index 
)
write

Definition at line 264 of file utstate.c.

acpi_status acpi_ut_create_rw_lock ( struct acpi_rw_lock lock)

Definition at line 62 of file utlock.c.

union acpi_operand_object* acpi_ut_create_string_object ( acpi_size  string_size)
write

Definition at line 286 of file utobject.c.

struct acpi_thread_state* acpi_ut_create_thread_state ( void  )
read

Definition at line 185 of file utstate.c.

union acpi_generic_state* acpi_ut_create_update_state ( union acpi_operand_object object,
u16  action 
)
write

Definition at line 228 of file utstate.c.

acpi_status acpi_ut_create_update_state_and_push ( union acpi_operand_object object,
u16  action,
union acpi_generic_state **  state_list 
)

Definition at line 854 of file utmisc.c.

void acpi_ut_delete_address_lists ( void  )

Definition at line 275 of file utaddress.c.

acpi_status acpi_ut_delete_caches ( void  )

Definition at line 144 of file utalloc.c.

void acpi_ut_delete_generic_state ( union acpi_generic_state state)

Definition at line 337 of file utstate.c.

void acpi_ut_delete_internal_object_list ( union acpi_operand_object **  obj_list)

Definition at line 339 of file utdelete.c.

void acpi_ut_delete_internal_package_object ( union acpi_operand_object object)
void acpi_ut_delete_internal_simple_object ( union acpi_operand_object object)
void acpi_ut_delete_object_desc ( union acpi_operand_object object)

Definition at line 418 of file utobject.c.

void acpi_ut_delete_rw_lock ( struct acpi_rw_lock lock)

Definition at line 76 of file utlock.c.

acpi_status acpi_ut_divide ( u64  in_dividend,
u64  in_divisor,
u64 out_quotient,
u64 out_remainder 
)

Definition at line 145 of file utmath.c.

void acpi_ut_dump_buffer ( u8 buffer,
u32  count,
u32  display,
u32  component_id 
)

Definition at line 639 of file utdebug.c.

void acpi_ut_dump_buffer2 ( u8 buffer,
u32  count,
u32  display 
)

Definition at line 522 of file utdebug.c.

u32 acpi_ut_dword_byte_swap ( u32  value)

Definition at line 440 of file utmisc.c.

acpi_status acpi_ut_evaluate_numeric_object ( char object_name,
struct acpi_namespace_node device_node,
u64 value 
)

Definition at line 202 of file uteval.c.

acpi_status acpi_ut_evaluate_object ( struct acpi_namespace_node prefix_node,
char path,
u32  expected_return_btypes,
union acpi_operand_object **  return_desc 
)

Definition at line 71 of file uteval.c.

acpi_status acpi_ut_execute_CID ( struct acpi_namespace_node device_node,
struct acpica_device_id_list **  return_cid_list 
)

Definition at line 228 of file utids.c.

acpi_status acpi_ut_execute_HID ( struct acpi_namespace_node device_node,
struct acpica_device_id **  return_id 
)

Definition at line 69 of file utids.c.

acpi_status acpi_ut_execute_power_methods ( struct acpi_namespace_node device_node,
const char **  method_names,
u8  method_count,
u8 out_values 
)

Definition at line 295 of file uteval.c.

acpi_status acpi_ut_execute_STA ( struct acpi_namespace_node device_node,
u32 status_flags 
)

Definition at line 244 of file uteval.c.

acpi_status acpi_ut_execute_UID ( struct acpi_namespace_node device_node,
struct acpica_device_id **  return_id 
)

Definition at line 146 of file utids.c.

void acpi_ut_exit ( u32  line_number,
const char function_name,
const char module_name,
u32  component_id 
)
u32 acpi_ut_get_descriptor_length ( void aml)

Definition at line 776 of file utresrc.c.

char* acpi_ut_get_descriptor_name ( void object)

Definition at line 349 of file utdecode.c.

char* acpi_ut_get_event_name ( u32  event_id)

Definition at line 183 of file utdecode.c.

struct acpi_interface_info* acpi_ut_get_interface ( acpi_string  interface_name)
read

Definition at line 282 of file utosi.c.

char* acpi_ut_get_node_name ( void object)

Definition at line 283 of file utdecode.c.

acpi_status acpi_ut_get_object_size ( union acpi_operand_object obj,
acpi_size *  obj_length 
)

Definition at line 686 of file utobject.c.

char* acpi_ut_get_object_type_name ( union acpi_operand_object obj_desc)

Definition at line 261 of file utdecode.c.

const char* acpi_ut_get_reference_name ( union acpi_operand_object object)

Definition at line 390 of file utdecode.c.

char* acpi_ut_get_region_name ( u8  space_id)

Definition at line 145 of file utdecode.c.

acpi_status acpi_ut_get_resource_end_tag ( union acpi_operand_object obj_desc,
u8 **  end_tag 
)

Definition at line 803 of file utresrc.c.

u8 acpi_ut_get_resource_header_length ( void aml)

Definition at line 749 of file utresrc.c.

u16 acpi_ut_get_resource_length ( void aml)

Definition at line 711 of file utresrc.c.

u8 acpi_ut_get_resource_type ( void aml)

Definition at line 677 of file utresrc.c.

char* acpi_ut_get_type_name ( acpi_object_type  type)

Definition at line 251 of file utdecode.c.

acpi_status acpi_ut_hardware_initialize ( void  )
char acpi_ut_hex_to_ascii_char ( u64  integer,
u32  position 
)

Definition at line 111 of file utdecode.c.

acpi_status acpi_ut_init_globals ( void  )

Definition at line 256 of file utglobal.c.

void acpi_ut_init_stack_ptr_trace ( void  )
acpi_status acpi_ut_initialize_buffer ( struct acpi_buffer buffer,
acpi_size  required_length 
)

Definition at line 241 of file utalloc.c.

acpi_status acpi_ut_initialize_interfaces ( void  )

Definition at line 109 of file utosi.c.

acpi_status acpi_ut_install_interface ( acpi_string  interface_name)

Definition at line 178 of file utosi.c.

void acpi_ut_interface_terminate ( void  )

Definition at line 142 of file utosi.c.

u8 acpi_ut_is_aml_table ( struct acpi_table_header table)

Definition at line 125 of file utmisc.c.

u8 acpi_ut_is_pci_root_bridge ( char id)

Definition at line 95 of file utmisc.c.

int acpi_ut_memcmp ( const char buffer1,
const char buffer2,
acpi_size  count 
)
void* acpi_ut_memcpy ( void dest,
const void src,
acpi_size  count 
)
void* acpi_ut_memset ( void dest,
u8  value,
acpi_size  count 
)
void acpi_ut_method_error ( const char module_name,
u32  line_number,
const char message,
struct acpi_namespace_node node,
const char path,
acpi_status  lookup_status 
)

Definition at line 456 of file utxferror.c.

acpi_status acpi_ut_mutex_initialize ( void  )

Definition at line 68 of file utmutex.c.

void acpi_ut_mutex_terminate ( void  )

Definition at line 121 of file utmutex.c.

void acpi_ut_namespace_error ( const char module_name,
u32  line_number,
const char internal_name,
acpi_status  lookup_status 
)

Definition at line 394 of file utxferror.c.

acpi_status acpi_ut_osi_implementation ( struct acpi_walk_state walk_state)

Definition at line 312 of file utosi.c.

union acpi_generic_state* acpi_ut_pop_generic_state ( union acpi_generic_state **  list_head)
write

Definition at line 122 of file utstate.c.

void ACPI_INTERNAL_VAR_XFACE acpi_ut_predefined_info ( const char module_name,
u32  line_number,
char pathname,
u8  node_flags,
const char format,
  ... 
)

Definition at line 356 of file utxferror.c.

void ACPI_INTERNAL_VAR_XFACE acpi_ut_predefined_warning ( const char module_name,
u32  line_number,
char pathname,
u8  node_flags,
const char format,
  ... 
)

Definition at line 313 of file utxferror.c.

void acpi_ut_print_string ( char string,
u8  max_length 
)

Definition at line 356 of file utmisc.c.

void acpi_ut_ptr_exit ( u32  line_number,
const char function_name,
const char module_name,
u32  component_id,
u8 ptr 
)
void acpi_ut_push_generic_state ( union acpi_generic_state **  list_head,
union acpi_generic_state state 
)

Definition at line 97 of file utstate.c.

acpi_status acpi_ut_release_mutex ( acpi_mutex_handle  mutex_id)

Definition at line 294 of file utmutex.c.

void acpi_ut_release_owner_id ( acpi_owner_id owner_id)

Definition at line 259 of file utmisc.c.

acpi_status acpi_ut_release_read_lock ( struct acpi_rw_lock lock)

Definition at line 127 of file utlock.c.

void acpi_ut_release_write_lock ( struct acpi_rw_lock lock)

Definition at line 171 of file utlock.c.

void acpi_ut_remove_address_range ( acpi_adr_space_type  space_id,
struct acpi_namespace_node region_node 
)

Definition at line 137 of file utaddress.c.

acpi_status acpi_ut_remove_interface ( acpi_string  interface_name)

Definition at line 220 of file utosi.c.

void acpi_ut_remove_reference ( union acpi_operand_object object)

Definition at line 685 of file utdelete.c.

acpi_name acpi_ut_repair_name ( char name)

Definition at line 645 of file utmisc.c.

void acpi_ut_report_error ( char module_name,
u32  line_number 
)
void acpi_ut_report_info ( char module_name,
u32  line_number 
)
void acpi_ut_report_warning ( char module_name,
u32  line_number 
)
void acpi_ut_set_integer_width ( u8  revision)

Definition at line 478 of file utmisc.c.

acpi_status acpi_ut_short_divide ( u64  in_dividend,
u32  divisor,
u64 out_quotient,
u32 out_remainder 
)

Definition at line 90 of file utmath.c.

void acpi_ut_status_exit ( u32  line_number,
const char function_name,
const char module_name,
u32  component_id,
acpi_status  status 
)
char* acpi_ut_strcat ( char dst_string,
const char src_string 
)
int acpi_ut_strcmp ( const char string1,
const char string2 
)
char* acpi_ut_strcpy ( char dst_string,
const char src_string 
)
acpi_size acpi_ut_strlen ( const char string)
char* acpi_ut_strncat ( char dst_string,
const char src_string,
acpi_size  count 
)
int acpi_ut_strncmp ( const char string1,
const char string2,
acpi_size  count 
)
char* acpi_ut_strncpy ( char dst_string,
const char src_string,
acpi_size  count 
)
char* acpi_ut_strstr ( char string1,
char string2 
)
u32 acpi_ut_strtoul ( const char string,
char **  terminator,
u32  base 
)
acpi_status acpi_ut_strtoul64 ( char string,
u32  base,
u64 ret_integer 
)

Definition at line 684 of file utmisc.c.

void acpi_ut_strupr ( char src_string)

Definition at line 323 of file utmisc.c.

void acpi_ut_subsystem_shutdown ( void  )

Definition at line 139 of file utinit.c.

int acpi_ut_to_lower ( int  c)
int acpi_ut_to_upper ( int  c)
void acpi_ut_trace ( u32  line_number,
const char function_name,
const char module_name,
u32  component_id 
)
void acpi_ut_trace_ptr ( u32  line_number,
const char function_name,
const char module_name,
u32  component_id,
void pointer 
)
void acpi_ut_trace_str ( u32  line_number,
const char function_name,
const char module_name,
u32  component_id,
char string 
)
void acpi_ut_trace_u32 ( u32  line_number,
const char function_name,
const char module_name,
u32  component_id,
u32  integer 
)
void acpi_ut_track_stack_ptr ( void  )
acpi_status acpi_ut_update_object_reference ( union acpi_operand_object object,
u16  action 
)

Definition at line 478 of file utdelete.c.

u8 acpi_ut_valid_acpi_char ( char  character,
u32  position 
)

Definition at line 583 of file utmisc.c.

u8 acpi_ut_valid_acpi_name ( u32  name)

Definition at line 616 of file utmisc.c.

u8 acpi_ut_valid_internal_object ( void object)

Definition at line 334 of file utobject.c.

u8 acpi_ut_valid_object_type ( acpi_object_type  type)

Definition at line 509 of file utdecode.c.

acpi_status acpi_ut_validate_buffer ( struct acpi_buffer buffer)

Definition at line 200 of file utalloc.c.

const char* acpi_ut_validate_exception ( acpi_status  status)

Definition at line 100 of file utexcep.c.

acpi_status acpi_ut_validate_resource ( void aml,
u8 return_index 
)

Definition at line 528 of file utresrc.c.

void acpi_ut_value_exit ( u32  line_number,
const char function_name,
const char module_name,
u32  component_id,
u64  value 
)
acpi_status acpi_ut_walk_aml_resources ( u8 aml,
acpi_size  aml_length,
acpi_walk_aml_callback  user_function,
void **  context 
)

Definition at line 415 of file utresrc.c.

acpi_status acpi_ut_walk_package_tree ( union acpi_operand_object source_object,
void target_object,
acpi_pkg_callback  walk_callback,
void context 
)

Definition at line 893 of file utmisc.c.

void ut_convert_backslashes ( char pathname)

Variable Documentation

const u8 _acpi_ctype[]
const u8 acpi_gbl_resource_aml_serial_bus_sizes[]

Definition at line 334 of file utresrc.c.

const u8 acpi_gbl_resource_aml_sizes[]

Definition at line 295 of file utresrc.c.