Home
last modified time | relevance | path

Searched refs:source_desc (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Dexdebug.c22 * PARAMETERS: source_desc - Object to be output to "Debug Object"
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) in acpi_ex_do_debug_object()
[all...]
H A Dexstore.c27 acpi_ex_store_direct_to_node(union acpi_operand_object *source_desc,
35 * PARAMETERS: *source_desc - Value to be stored
43 * DESCRIPTION: Store the value described by source_desc into the location
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()
193 acpi_ex_store_object_to_index(union acpi_operand_object *source_desc, union acpi_operand_object *index_desc, struct acpi_walk_state *walk_state) acpi_ex_store_object_to_index() argument
361 acpi_ex_store_object_to_node(union acpi_operand_object *source_desc, struct acpi_namespace_node *node, struct acpi_walk_state *walk_state, u8 implicit_conversion) acpi_ex_store_object_to_node() argument
560 acpi_ex_store_direct_to_node(union acpi_operand_object *source_desc, struct acpi_namespace_node *node, struct acpi_walk_state *walk_state) acpi_ex_store_direct_to_node() argument
[all...]
H A 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 in acpi_ex_resolve_node_to_value()
[all...]
H A 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()
125 * PARAMETERS: source_desc - Object to store
150 * Assumes parameters are already validated. NOTE: source_desc
157 acpi_ex_store_object_to_object(union acpi_operand_object *source_desc, union acpi_operand_object *dest_desc, union acpi_operand_object **new_desc, struct acpi_walk_state *walk_state) acpi_ex_store_object_to_object() argument
[all...]
H A Dexstorob.c21 * PARAMETERS: source_desc - Source object to copy
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()
44 /* We know that source_desc is a buffer by now */ 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()
117 * PARAMETERS: source_desc - Source object to copy
127 acpi_ex_store_string_to_string(union acpi_operand_object *source_desc, in acpi_ex_store_string_to_string() argument
[all...]
H A Dexserial.c65 * PARAMETERS: source_desc - Contains data to write. Expect to be
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()
229 * PARAMETERS: source_desc - Contains data to write
241 acpi_ex_write_serial_bus(union acpi_operand_object *source_desc, in acpi_ex_write_serial_bus() argument
272 if (source_desc in acpi_ex_write_serial_bus()
[all...]
H A Dexfield.c251 * PARAMETERS: source_desc - Contains data to write
262 acpi_ex_write_data_to_field(union acpi_operand_object *source_desc, in acpi_ex_write_data_to_field() argument
275 if (!source_desc || !obj_desc) { in acpi_ex_write_data_to_field()
296 status = acpi_ex_write_gpio(source_desc, obj_desc, result_desc); in acpi_ex_write_data_to_field()
309 acpi_ex_write_serial_bus(source_desc, obj_desc, in acpi_ex_write_data_to_field()
327 source_desc->buffer.pointer, data_length); in acpi_ex_write_data_to_field()
349 switch (source_desc->common.type) { in acpi_ex_write_data_to_field()
352 buffer = &source_desc->integer.value; in acpi_ex_write_data_to_field()
353 buffer_length = sizeof(source_desc->integer.value); in acpi_ex_write_data_to_field()
358 buffer = source_desc in acpi_ex_write_data_to_field()
[all...]
H A Dutcopy.c43 acpi_ut_copy_simple_object(union acpi_operand_object *source_desc,
629 * PARAMETERS: source_desc - The internal object to be copied
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 in acpi_ut_copy_simple_object()
937 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_ut_copy_iobject_to_iobject() argument
[all...]
H A 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...]
H A Dexconvrt.c562 * source_desc - Source object to be converted.
574 union acpi_operand_object *source_desc, in acpi_ex_convert_to_target_type()
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()
573 acpi_ex_convert_to_target_type(acpi_object_type destination_type, union acpi_operand_object *source_desc, union acpi_operand_object **result_desc, struct acpi_walk_state *walk_state) acpi_ex_convert_to_target_type() argument
H A Dacutils.h265 acpi_ut_copy_iobject_to_iobject(union acpi_operand_object *source_desc,
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Dexdebug.c22 * PARAMETERS: source_desc - Object to be output to "Debug Object"
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) in acpi_ex_do_debug_object()
[all...]
H A Dexstore.c27 acpi_ex_store_direct_to_node(union acpi_operand_object *source_desc,
35 * PARAMETERS: *source_desc - Value to be stored
43 * DESCRIPTION: Store the value described by source_desc into the location
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()
193 acpi_ex_store_object_to_index(union acpi_operand_object *source_desc, union acpi_operand_object *index_desc, struct acpi_walk_state *walk_state) acpi_ex_store_object_to_index() argument
361 acpi_ex_store_object_to_node(union acpi_operand_object *source_desc, struct acpi_namespace_node *node, struct acpi_walk_state *walk_state, u8 implicit_conversion) acpi_ex_store_object_to_node() argument
560 acpi_ex_store_direct_to_node(union acpi_operand_object *source_desc, struct acpi_namespace_node *node, struct acpi_walk_state *walk_state) acpi_ex_store_direct_to_node() argument
[all...]
H A 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 in acpi_ex_resolve_node_to_value()
[all...]
H A 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()
125 * PARAMETERS: source_desc - Object to store
150 * Assumes parameters are already validated. NOTE: source_desc
157 acpi_ex_store_object_to_object(union acpi_operand_object *source_desc, union acpi_operand_object *dest_desc, union acpi_operand_object **new_desc, struct acpi_walk_state *walk_state) acpi_ex_store_object_to_object() argument
[all...]
H A Dexstorob.c21 * PARAMETERS: source_desc - Source object to copy
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()
44 /* We know that source_desc is a buffer by now */ 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()
117 * PARAMETERS: source_desc - Source object to copy
127 acpi_ex_store_string_to_string(union acpi_operand_object *source_desc, in acpi_ex_store_string_to_string() argument
[all...]
H A Dexserial.c65 * PARAMETERS: source_desc - Contains data to write. Expect to be
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()
235 * PARAMETERS: source_desc - Contains data to write
247 acpi_ex_write_serial_bus(union acpi_operand_object *source_desc, in acpi_ex_write_serial_bus() argument
278 if (source_desc in acpi_ex_write_serial_bus()
[all...]
H A Dexfield.c255 * PARAMETERS: source_desc - Contains data to write
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 in acpi_ex_write_data_to_field()
[all...]
H A Dutcopy.c43 acpi_ut_copy_simple_object(union acpi_operand_object *source_desc,
629 * PARAMETERS: source_desc - The internal object to be copied
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 in acpi_ut_copy_simple_object()
937 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_ut_copy_iobject_to_iobject() argument
[all...]
H A 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...]
H A Dexconvrt.c562 * source_desc - Source object to be converted.
574 union acpi_operand_object *source_desc, in acpi_ex_convert_to_target_type()
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()
573 acpi_ex_convert_to_target_type(acpi_object_type destination_type, union acpi_operand_object *source_desc, union acpi_operand_object **result_desc, struct acpi_walk_state *walk_state) acpi_ex_convert_to_target_type() argument
H A Dacutils.h281 acpi_ut_copy_iobject_to_iobject(union acpi_operand_object *source_desc,

Completed in 10 milliseconds