Home
last modified time | relevance | path

Searched refs:source_desc (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/acpi/acpica/
Dexdebug.c40 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 …]
Dexresnte.c49 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 …]
Dexstore.c27 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 …]
Dexstoren.c38 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 …]
Dexstorob.c30 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 …]
Dexfield.c264 acpi_ex_write_data_to_field(union acpi_operand_object *source_desc, in acpi_ex_write_data_to_field() argument
277 if (!source_desc || !obj_desc) { in acpi_ex_write_data_to_field()
298 status = acpi_ex_write_gpio(source_desc, obj_desc, result_desc); in acpi_ex_write_data_to_field()
313 acpi_ex_write_serial_bus(source_desc, obj_desc, in acpi_ex_write_data_to_field()
331 source_desc->buffer.pointer, data_length); in acpi_ex_write_data_to_field()
353 switch (source_desc->common.type) { in acpi_ex_write_data_to_field()
356 buffer = &source_desc->integer.value; in acpi_ex_write_data_to_field()
357 buffer_length = sizeof(source_desc->integer.value); in acpi_ex_write_data_to_field()
362 buffer = source_desc->buffer.pointer; in acpi_ex_write_data_to_field()
363 buffer_length = source_desc->buffer.length; in acpi_ex_write_data_to_field()
[all …]
Dexserial.c78 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()
340 data_length = (buffer_length < source_desc->buffer.length ? in acpi_ex_write_serial_bus()
[all …]
Dutcopy.c43 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 …]
Dacinterp.h90 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 …]
Dexconvrt.c574 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()
Dacutils.h266 acpi_ut_copy_iobject_to_iobject(union acpi_operand_object *source_desc,