/linux-6.6.21/drivers/acpi/acpica/ |
D | exdebug.c | 40 acpi_ex_do_debug_object(union acpi_operand_object *source_desc, in acpi_ex_do_debug_object() argument 48 ACPI_FUNCTION_TRACE_PTR(ex_do_debug_object, source_desc); in acpi_ex_do_debug_object() 59 if (source_desc && in acpi_ex_do_debug_object() 60 (ACPI_GET_DESCRIPTOR_TYPE(source_desc) == ACPI_DESC_TYPE_OPERAND) && in acpi_ex_do_debug_object() 61 (source_desc->common.type == ACPI_TYPE_STRING)) { in acpi_ex_do_debug_object() 62 if ((source_desc->string.length == 1) && in acpi_ex_do_debug_object() 63 (*source_desc->string.pointer == '\n')) { in acpi_ex_do_debug_object() 98 if (!source_desc) { in acpi_ex_do_debug_object() 103 if (ACPI_GET_DESCRIPTOR_TYPE(source_desc) == ACPI_DESC_TYPE_OPERAND) { in acpi_ex_do_debug_object() 107 if ((source_desc->common.type != ACPI_TYPE_INTEGER) && in acpi_ex_do_debug_object() [all …]
|
D | exresnte.c | 49 union acpi_operand_object *source_desc; in acpi_ex_resolve_node_to_value() local 61 source_desc = acpi_ns_get_attached_object(node); in acpi_ex_resolve_node_to_value() 65 node, source_desc, in acpi_ex_resolve_node_to_value() 74 source_desc = acpi_ns_get_attached_object(node); in acpi_ex_resolve_node_to_value() 92 if (!source_desc) { in acpi_ex_resolve_node_to_value() 105 if (source_desc->common.type != ACPI_TYPE_PACKAGE) { in acpi_ex_resolve_node_to_value() 107 acpi_ut_get_object_type_name(source_desc))); in acpi_ex_resolve_node_to_value() 111 status = acpi_ds_get_package_arguments(source_desc); in acpi_ex_resolve_node_to_value() 116 obj_desc = source_desc; in acpi_ex_resolve_node_to_value() 123 if (source_desc->common.type != ACPI_TYPE_BUFFER) { in acpi_ex_resolve_node_to_value() [all …]
|
D | exstore.c | 27 acpi_ex_store_direct_to_node(union acpi_operand_object *source_desc, 52 acpi_ex_store(union acpi_operand_object *source_desc, in acpi_ex_store() argument 63 if (!source_desc || !dest_desc) { in acpi_ex_store() 75 status = acpi_ex_store_object_to_node(source_desc, in acpi_ex_store() 126 status = acpi_ex_store_object_to_node(source_desc, in acpi_ex_store() 137 acpi_ex_store_object_to_index(source_desc, ref_desc, in acpi_ex_store() 149 source_desc, walk_state); in acpi_ex_store() 159 source_desc, in acpi_ex_store() 160 acpi_ut_get_object_type_name(source_desc))); in acpi_ex_store() 162 ACPI_DEBUG_OBJECT(source_desc, 0, 0); in acpi_ex_store() [all …]
|
D | exstoren.c | 38 union acpi_operand_object *source_desc = *source_desc_ptr; in acpi_ex_resolve_object() local 62 if (source_desc->common.type == ACPI_TYPE_LOCAL_REFERENCE) { in acpi_ex_resolve_object() 82 if ((source_desc->common.type != ACPI_TYPE_INTEGER) && in acpi_ex_resolve_object() 83 (source_desc->common.type != ACPI_TYPE_BUFFER) && in acpi_ex_resolve_object() 84 (source_desc->common.type != ACPI_TYPE_STRING) && in acpi_ex_resolve_object() 85 !((source_desc->common.type == ACPI_TYPE_LOCAL_REFERENCE) && in acpi_ex_resolve_object() 86 (source_desc->reference.class == ACPI_REFCLASS_TABLE))) { in acpi_ex_resolve_object() 92 acpi_ut_get_object_type_name(source_desc), in acpi_ex_resolve_object() 157 acpi_ex_store_object_to_object(union acpi_operand_object *source_desc, in acpi_ex_store_object_to_object() argument 165 ACPI_FUNCTION_TRACE_PTR(ex_store_object_to_object, source_desc); in acpi_ex_store_object_to_object() [all …]
|
D | exstorob.c | 30 acpi_ex_store_buffer_to_buffer(union acpi_operand_object *source_desc, in acpi_ex_store_buffer_to_buffer() argument 36 ACPI_FUNCTION_TRACE_PTR(ex_store_buffer_to_buffer, source_desc); in acpi_ex_store_buffer_to_buffer() 40 if (source_desc == target_desc) { in acpi_ex_store_buffer_to_buffer() 46 buffer = ACPI_CAST_PTR(u8, source_desc->buffer.pointer); in acpi_ex_store_buffer_to_buffer() 47 length = source_desc->buffer.length; in acpi_ex_store_buffer_to_buffer() 108 target_desc->buffer.flags = source_desc->buffer.flags; in acpi_ex_store_buffer_to_buffer() 127 acpi_ex_store_string_to_string(union acpi_operand_object *source_desc, in acpi_ex_store_string_to_string() argument 133 ACPI_FUNCTION_TRACE_PTR(ex_store_string_to_string, source_desc); in acpi_ex_store_string_to_string() 137 if (source_desc == target_desc) { in acpi_ex_store_string_to_string() 143 buffer = ACPI_CAST_PTR(u8, source_desc->string.pointer); in acpi_ex_store_string_to_string() [all …]
|
D | exfield.c | 266 acpi_ex_write_data_to_field(union acpi_operand_object *source_desc, in acpi_ex_write_data_to_field() argument 279 if (!source_desc || !obj_desc) { in acpi_ex_write_data_to_field() 300 status = acpi_ex_write_gpio(source_desc, obj_desc, result_desc); in acpi_ex_write_data_to_field() 317 acpi_ex_write_serial_bus(source_desc, obj_desc, in acpi_ex_write_data_to_field() 335 source_desc->buffer.pointer, data_length); in acpi_ex_write_data_to_field() 357 switch (source_desc->common.type) { in acpi_ex_write_data_to_field() 360 buffer = &source_desc->integer.value; in acpi_ex_write_data_to_field() 361 buffer_length = sizeof(source_desc->integer.value); in acpi_ex_write_data_to_field() 366 buffer = source_desc->buffer.pointer; in acpi_ex_write_data_to_field() 367 buffer_length = source_desc->buffer.length; in acpi_ex_write_data_to_field() [all …]
|
D | exserial.c | 78 acpi_ex_write_gpio(union acpi_operand_object *source_desc, in acpi_ex_write_gpio() argument 95 if (source_desc->common.type != ACPI_TYPE_INTEGER) { in acpi_ex_write_gpio() 101 acpi_ut_get_type_name(source_desc->common.type), in acpi_ex_write_gpio() 102 source_desc->common.type, in acpi_ex_write_gpio() 103 (u32)source_desc->integer.value, in acpi_ex_write_gpio() 107 buffer = &source_desc->integer.value; in acpi_ex_write_gpio() 247 acpi_ex_write_serial_bus(union acpi_operand_object *source_desc, in acpi_ex_write_serial_bus() argument 278 if (source_desc->common.type != ACPI_TYPE_BUFFER) { in acpi_ex_write_serial_bus() 282 acpi_ut_get_object_type_name(source_desc))); in acpi_ex_write_serial_bus() 346 data_length = ACPI_MIN(buffer_length, source_desc->buffer.length); in acpi_ex_write_serial_bus() [all …]
|
D | utcopy.c | 43 acpi_ut_copy_simple_object(union acpi_operand_object *source_desc, 640 acpi_ut_copy_simple_object(union acpi_operand_object *source_desc, in acpi_ut_copy_simple_object() argument 658 if (ACPI_GET_DESCRIPTOR_TYPE(source_desc) == ACPI_DESC_TYPE_NAMED) { in acpi_ut_copy_simple_object() 663 ACPI_CAST_PTR(char, source_desc), copy_size); in acpi_ut_copy_simple_object() 683 if ((source_desc->buffer.pointer) && in acpi_ut_copy_simple_object() 684 (source_desc->buffer.length)) { in acpi_ut_copy_simple_object() 686 ACPI_ALLOCATE(source_desc->buffer.length); in acpi_ut_copy_simple_object() 694 source_desc->buffer.pointer, in acpi_ut_copy_simple_object() 695 source_desc->buffer.length); in acpi_ut_copy_simple_object() 705 if (source_desc->string.pointer) { in acpi_ut_copy_simple_object() [all …]
|
D | acinterp.h | 90 union acpi_operand_object *source_desc, 98 acpi_ex_do_debug_object(union acpi_operand_object *source_desc, 156 acpi_ex_write_data_to_field(union acpi_operand_object *source_desc, 281 acpi_ex_write_serial_bus(union acpi_operand_object *source_desc, 289 acpi_ex_write_gpio(union acpi_operand_object *source_desc, 412 acpi_ex_store_object_to_node(union acpi_operand_object *source_desc, 426 acpi_ex_store_object_to_object(union acpi_operand_object *source_desc, 435 acpi_ex_store_buffer_to_buffer(union acpi_operand_object *source_desc, 439 acpi_ex_store_string_to_string(union acpi_operand_object *source_desc, 446 acpi_ex_copy_integer_to_index_field(union acpi_operand_object *source_desc, [all …]
|
D | exconvrt.c | 574 union acpi_operand_object *source_desc, in acpi_ex_convert_to_target_type() argument 584 *result_desc = source_desc; in acpi_ex_convert_to_target_type() 606 if (destination_type != source_desc->common.type) { in acpi_ex_convert_to_target_type() 610 (source_desc), in acpi_ex_convert_to_target_type() 631 acpi_ex_convert_to_integer(source_desc, result_desc, in acpi_ex_convert_to_target_type() 641 acpi_ex_convert_to_string(source_desc, result_desc, in acpi_ex_convert_to_target_type() 651 acpi_ex_convert_to_buffer(source_desc, result_desc); in acpi_ex_convert_to_target_type()
|
D | acutils.h | 281 acpi_ut_copy_iobject_to_iobject(union acpi_operand_object *source_desc,
|