Home
last modified time | relevance | path

Searched refs:return_desc (Results 1 - 25 of 42) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Dexoparg1.c56 union acpi_operand_object *return_desc = NULL; in acpi_ex_opcode_0A_0T_1R() local
68 return_desc = in acpi_ex_opcode_0A_0T_1R()
70 if (!return_desc) { in acpi_ex_opcode_0A_0T_1R()
89 acpi_ut_remove_reference(return_desc); in acpi_ex_opcode_0A_0T_1R()
94 walk_state->result_obj = return_desc; in acpi_ex_opcode_0A_0T_1R()
231 union acpi_operand_object *return_desc = NULL; in acpi_ex_opcode_1A_1T_1R() local
254 return_desc = acpi_ut_create_internal_object(ACPI_TYPE_INTEGER); in acpi_ex_opcode_1A_1T_1R()
255 if (!return_desc) { in acpi_ex_opcode_1A_1T_1R()
263 return_desc->integer.value = ~operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
268 return_desc in acpi_ex_opcode_1A_1T_1R()
582 union acpi_operand_object *return_desc = NULL; acpi_ex_opcode_1A_0T_1R() local
[all...]
H A Dexoparg2.c224 union acpi_operand_object *return_desc = NULL; in acpi_ex_opcode_2A_1T_1R() local
238 return_desc = acpi_ut_create_internal_object(ACPI_TYPE_INTEGER); in acpi_ex_opcode_2A_1T_1R()
239 if (!return_desc) { in acpi_ex_opcode_2A_1T_1R()
244 return_desc->integer.value = in acpi_ex_opcode_2A_1T_1R()
254 return_desc = acpi_ut_create_internal_object(ACPI_TYPE_INTEGER); in acpi_ex_opcode_2A_1T_1R()
255 if (!return_desc) { in acpi_ex_opcode_2A_1T_1R()
260 /* return_desc will contain the remainder */ in acpi_ex_opcode_2A_1T_1R()
264 NULL, &return_desc->integer.value); in acpi_ex_opcode_2A_1T_1R()
270 acpi_ex_do_concatenate(operand[0], operand[1], &return_desc, in acpi_ex_opcode_2A_1T_1R()
298 return_desc in acpi_ex_opcode_2A_1T_1R()
468 union acpi_operand_object *return_desc = NULL; acpi_ex_opcode_2A_0T_1R() local
[all...]
H A Dexconcat.c55 union acpi_operand_object *return_desc; in acpi_ex_do_concatenate() local
192 return_desc = acpi_ut_create_buffer_object((acpi_size) in acpi_ex_do_concatenate()
195 if (!return_desc) { in acpi_ex_do_concatenate()
200 buffer = (char *)return_desc->buffer.pointer; in acpi_ex_do_concatenate()
218 return_desc = acpi_ut_create_string_object(((acpi_size) in acpi_ex_do_concatenate()
223 if (!return_desc) { in acpi_ex_do_concatenate()
228 buffer = return_desc->string.pointer; in acpi_ex_do_concatenate()
240 return_desc = acpi_ut_create_buffer_object(((acpi_size) in acpi_ex_do_concatenate()
245 if (!return_desc) { in acpi_ex_do_concatenate()
250 buffer = (char *)return_desc in acpi_ex_do_concatenate()
304 union acpi_operand_object *return_desc; acpi_ex_convert_to_object_type_string() local
344 union acpi_operand_object *return_desc; acpi_ex_concat_template() local
[all...]
H A Dexconvrt.c42 union acpi_operand_object *return_desc; in acpi_ex_convert_to_integer() local
144 return_desc = acpi_ut_create_integer_object(result); in acpi_ex_convert_to_integer()
145 if (!return_desc) { in acpi_ex_convert_to_integer()
154 (void)acpi_ex_truncate_for32bit_table(return_desc); in acpi_ex_convert_to_integer()
155 *result_desc = return_desc; in acpi_ex_convert_to_integer()
177 union acpi_operand_object *return_desc; in acpi_ex_convert_to_buffer() local
195 return_desc = in acpi_ex_convert_to_buffer()
197 if (!return_desc) { in acpi_ex_convert_to_buffer()
203 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_buffer()
218 return_desc in acpi_ex_convert_to_buffer()
376 union acpi_operand_object *return_desc; acpi_ex_convert_to_string() local
[all...]
H A Dexoparg3.c128 union acpi_operand_object *return_desc = NULL; in acpi_ex_opcode_3A_1T_1R() local
143 return_desc = acpi_ut_create_internal_object((operand[0])-> in acpi_ex_opcode_3A_1T_1R()
145 if (!return_desc) { in acpi_ex_opcode_3A_1T_1R()
217 return_desc->string.pointer = buffer; in acpi_ex_opcode_3A_1T_1R()
218 return_desc->string.length = (u32) length; in acpi_ex_opcode_3A_1T_1R()
222 return_desc->buffer.flags |= AOPOBJ_DATA_VALID; in acpi_ex_opcode_3A_1T_1R()
236 status = acpi_ex_store(return_desc, operand[3], walk_state); in acpi_ex_opcode_3A_1T_1R()
243 acpi_ut_remove_reference(return_desc); in acpi_ex_opcode_3A_1T_1R()
248 walk_state->result_obj = return_desc; in acpi_ex_opcode_3A_1T_1R()
H A Dexoparg6.c179 union acpi_operand_object *return_desc = NULL; in acpi_ex_opcode_6A_0T_1R() local
218 return_desc = acpi_ut_create_integer_object(ACPI_UINT64_MAX); in acpi_ex_opcode_6A_0T_1R()
219 if (!return_desc) { in acpi_ex_opcode_6A_0T_1R()
265 return_desc->integer.value = index; in acpi_ex_opcode_6A_0T_1R()
272 status = acpi_ex_load_table_op(walk_state, &return_desc); in acpi_ex_opcode_6A_0T_1R()
289 acpi_ut_remove_reference(return_desc); in acpi_ex_opcode_6A_0T_1R()
295 walk_state->result_obj = return_desc; in acpi_ex_opcode_6A_0T_1R()
H A Dutosi.c388 union acpi_operand_object *return_desc; in acpi_ut_osi_implementation() local
405 return_desc = acpi_ut_create_internal_object(ACPI_TYPE_INTEGER); in acpi_ut_osi_implementation()
406 if (!return_desc) { in acpi_ut_osi_implementation()
415 acpi_ut_remove_reference(return_desc); in acpi_ut_osi_implementation()
457 return_desc->integer.value = return_value; in acpi_ut_osi_implementation()
458 walk_state->return_desc = return_desc; in acpi_ut_osi_implementation()
H A Ddsmethod.c599 * return_desc - Return value from the called method
610 union acpi_operand_object *return_desc) in acpi_ds_restart_control_method()
620 walk_state->method_call_op, return_desc)); in acpi_ds_restart_control_method()
629 if (return_desc) { in acpi_ds_restart_control_method()
634 (walk_state->implicit_return_obj == return_desc); in acpi_ds_restart_control_method()
642 status = acpi_ds_result_push(return_desc, walk_state); in acpi_ds_restart_control_method()
644 acpi_ut_remove_reference(return_desc); in acpi_ds_restart_control_method()
652 walk_state->return_desc = return_desc; in acpi_ds_restart_control_method()
667 (return_desc, walk_stat in acpi_ds_restart_control_method()
609 acpi_ds_restart_control_method(struct acpi_walk_state *walk_state, union acpi_operand_object *return_desc) acpi_ds_restart_control_method() argument
[all...]
H A Dpsparse.c580 walk_state->return_desc, in acpi_ps_parse_aml()
593 if (!previous_walk_state->return_desc) { in acpi_ps_parse_aml()
630 previous_walk_state->return_desc); in acpi_ps_parse_aml()
640 return_desc); in acpi_ps_parse_aml()
658 previous_walk_state->return_desc; in acpi_ps_parse_aml()
661 if (previous_walk_state->return_desc) { in acpi_ps_parse_aml()
666 return_desc); in acpi_ps_parse_aml()
H A Ddscontrol.c251 * value. This is the only place where walk_state->return_desc in acpi_ds_exec_end_control_op()
254 walk_state->return_desc = walk_state->operands[0]; in acpi_ds_exec_end_control_op()
288 walk_state->return_desc = in acpi_ds_exec_end_control_op()
300 walk_state->return_desc = NULL; in acpi_ds_exec_end_control_op()
305 walk_state, walk_state->return_desc)); in acpi_ds_exec_end_control_op()
H A Dexmisc.c23 * return_desc - Where to store the reference
34 union acpi_operand_object **return_desc, in acpi_ex_get_object_reference()
42 *return_desc = NULL; in acpi_ex_get_object_reference()
96 *return_desc = reference_obj; in acpi_ex_get_object_reference()
101 *return_desc)); in acpi_ex_get_object_reference()
33 acpi_ex_get_object_reference(union acpi_operand_object *obj_desc, union acpi_operand_object **return_desc, struct acpi_walk_state *walk_state) acpi_ex_get_object_reference() argument
H A Dexresolv.c292 * return_desc - Where the resolved object is returned
305 union acpi_operand_object **return_desc) in acpi_ex_resolve_multiple()
451 if (return_desc) { in acpi_ex_resolve_multiple()
535 if (return_desc) { in acpi_ex_resolve_multiple()
536 *return_desc = obj_desc; in acpi_ex_resolve_multiple()
302 acpi_ex_resolve_multiple(struct acpi_walk_state *walk_state, union acpi_operand_object *operand, acpi_object_type *return_type, union acpi_operand_object **return_desc) acpi_ex_resolve_multiple() argument
/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Dexoparg1.c56 union acpi_operand_object *return_desc = NULL; in acpi_ex_opcode_0A_0T_1R() local
68 return_desc = in acpi_ex_opcode_0A_0T_1R()
70 if (!return_desc) { in acpi_ex_opcode_0A_0T_1R()
89 acpi_ut_remove_reference(return_desc); in acpi_ex_opcode_0A_0T_1R()
94 walk_state->result_obj = return_desc; in acpi_ex_opcode_0A_0T_1R()
225 union acpi_operand_object *return_desc = NULL; in acpi_ex_opcode_1A_1T_1R() local
247 return_desc = acpi_ut_create_internal_object(ACPI_TYPE_INTEGER); in acpi_ex_opcode_1A_1T_1R()
248 if (!return_desc) { in acpi_ex_opcode_1A_1T_1R()
256 return_desc->integer.value = ~operand[0]->integer.value; in acpi_ex_opcode_1A_1T_1R()
261 return_desc in acpi_ex_opcode_1A_1T_1R()
561 union acpi_operand_object *return_desc = NULL; acpi_ex_opcode_1A_0T_1R() local
[all...]
H A Dexoparg2.c224 union acpi_operand_object *return_desc = NULL; in acpi_ex_opcode_2A_1T_1R() local
238 return_desc = acpi_ut_create_internal_object(ACPI_TYPE_INTEGER); in acpi_ex_opcode_2A_1T_1R()
239 if (!return_desc) { in acpi_ex_opcode_2A_1T_1R()
244 return_desc->integer.value = in acpi_ex_opcode_2A_1T_1R()
254 return_desc = acpi_ut_create_internal_object(ACPI_TYPE_INTEGER); in acpi_ex_opcode_2A_1T_1R()
255 if (!return_desc) { in acpi_ex_opcode_2A_1T_1R()
260 /* return_desc will contain the remainder */ in acpi_ex_opcode_2A_1T_1R()
264 NULL, &return_desc->integer.value); in acpi_ex_opcode_2A_1T_1R()
270 acpi_ex_do_concatenate(operand[0], operand[1], &return_desc, in acpi_ex_opcode_2A_1T_1R()
298 return_desc in acpi_ex_opcode_2A_1T_1R()
468 union acpi_operand_object *return_desc = NULL; acpi_ex_opcode_2A_0T_1R() local
[all...]
H A Dexconcat.c55 union acpi_operand_object *return_desc; in acpi_ex_do_concatenate() local
192 return_desc = acpi_ut_create_buffer_object((acpi_size) in acpi_ex_do_concatenate()
195 if (!return_desc) { in acpi_ex_do_concatenate()
200 buffer = (char *)return_desc->buffer.pointer; in acpi_ex_do_concatenate()
218 return_desc = acpi_ut_create_string_object(((acpi_size) in acpi_ex_do_concatenate()
223 if (!return_desc) { in acpi_ex_do_concatenate()
228 buffer = return_desc->string.pointer; in acpi_ex_do_concatenate()
240 return_desc = acpi_ut_create_buffer_object(((acpi_size) in acpi_ex_do_concatenate()
245 if (!return_desc) { in acpi_ex_do_concatenate()
250 buffer = (char *)return_desc in acpi_ex_do_concatenate()
304 union acpi_operand_object *return_desc; acpi_ex_convert_to_object_type_string() local
344 union acpi_operand_object *return_desc; acpi_ex_concat_template() local
[all...]
H A Dexconvrt.c42 union acpi_operand_object *return_desc; in acpi_ex_convert_to_integer() local
144 return_desc = acpi_ut_create_integer_object(result); in acpi_ex_convert_to_integer()
145 if (!return_desc) { in acpi_ex_convert_to_integer()
154 (void)acpi_ex_truncate_for32bit_table(return_desc); in acpi_ex_convert_to_integer()
155 *result_desc = return_desc; in acpi_ex_convert_to_integer()
177 union acpi_operand_object *return_desc; in acpi_ex_convert_to_buffer() local
195 return_desc = in acpi_ex_convert_to_buffer()
197 if (!return_desc) { in acpi_ex_convert_to_buffer()
203 new_buf = return_desc->buffer.pointer; in acpi_ex_convert_to_buffer()
218 return_desc in acpi_ex_convert_to_buffer()
376 union acpi_operand_object *return_desc; acpi_ex_convert_to_string() local
[all...]
H A Dexoparg3.c128 union acpi_operand_object *return_desc = NULL; in acpi_ex_opcode_3A_1T_1R() local
143 return_desc = acpi_ut_create_internal_object((operand[0])-> in acpi_ex_opcode_3A_1T_1R()
145 if (!return_desc) { in acpi_ex_opcode_3A_1T_1R()
217 return_desc->string.pointer = buffer; in acpi_ex_opcode_3A_1T_1R()
218 return_desc->string.length = (u32) length; in acpi_ex_opcode_3A_1T_1R()
222 return_desc->buffer.flags |= AOPOBJ_DATA_VALID; in acpi_ex_opcode_3A_1T_1R()
236 status = acpi_ex_store(return_desc, operand[3], walk_state); in acpi_ex_opcode_3A_1T_1R()
243 acpi_ut_remove_reference(return_desc); in acpi_ex_opcode_3A_1T_1R()
248 walk_state->result_obj = return_desc; in acpi_ex_opcode_3A_1T_1R()
H A Dexoparg6.c179 union acpi_operand_object *return_desc = NULL; in acpi_ex_opcode_6A_0T_1R() local
218 return_desc = acpi_ut_create_integer_object(ACPI_UINT64_MAX); in acpi_ex_opcode_6A_0T_1R()
219 if (!return_desc) { in acpi_ex_opcode_6A_0T_1R()
265 return_desc->integer.value = index; in acpi_ex_opcode_6A_0T_1R()
272 status = acpi_ex_load_table_op(walk_state, &return_desc); in acpi_ex_opcode_6A_0T_1R()
289 acpi_ut_remove_reference(return_desc); in acpi_ex_opcode_6A_0T_1R()
295 walk_state->result_obj = return_desc; in acpi_ex_opcode_6A_0T_1R()
H A Dutosi.c386 union acpi_operand_object *return_desc; in acpi_ut_osi_implementation() local
403 return_desc = acpi_ut_create_internal_object(ACPI_TYPE_INTEGER); in acpi_ut_osi_implementation()
404 if (!return_desc) { in acpi_ut_osi_implementation()
413 acpi_ut_remove_reference(return_desc); in acpi_ut_osi_implementation()
455 return_desc->integer.value = return_value; in acpi_ut_osi_implementation()
456 walk_state->return_desc = return_desc; in acpi_ut_osi_implementation()
H A Ddsmethod.c599 * return_desc - Return value from the called method
610 union acpi_operand_object *return_desc) in acpi_ds_restart_control_method()
620 walk_state->method_call_op, return_desc)); in acpi_ds_restart_control_method()
629 if (return_desc) { in acpi_ds_restart_control_method()
634 (walk_state->implicit_return_obj == return_desc); in acpi_ds_restart_control_method()
642 status = acpi_ds_result_push(return_desc, walk_state); in acpi_ds_restart_control_method()
644 acpi_ut_remove_reference(return_desc); in acpi_ds_restart_control_method()
652 walk_state->return_desc = return_desc; in acpi_ds_restart_control_method()
667 (return_desc, walk_stat in acpi_ds_restart_control_method()
609 acpi_ds_restart_control_method(struct acpi_walk_state *walk_state, union acpi_operand_object *return_desc) acpi_ds_restart_control_method() argument
[all...]
H A Dpsparse.c580 walk_state->return_desc, in acpi_ps_parse_aml()
593 if (!previous_walk_state->return_desc) { in acpi_ps_parse_aml()
630 previous_walk_state->return_desc); in acpi_ps_parse_aml()
640 return_desc); in acpi_ps_parse_aml()
658 previous_walk_state->return_desc; in acpi_ps_parse_aml()
661 if (previous_walk_state->return_desc) { in acpi_ps_parse_aml()
666 return_desc); in acpi_ps_parse_aml()
H A Ddscontrol.c251 * value. This is the only place where walk_state->return_desc in acpi_ds_exec_end_control_op()
254 walk_state->return_desc = walk_state->operands[0]; in acpi_ds_exec_end_control_op()
288 walk_state->return_desc = in acpi_ds_exec_end_control_op()
300 walk_state->return_desc = NULL; in acpi_ds_exec_end_control_op()
305 walk_state, walk_state->return_desc)); in acpi_ds_exec_end_control_op()
H A Dexmisc.c23 * return_desc - Where to store the reference
34 union acpi_operand_object **return_desc, in acpi_ex_get_object_reference()
42 *return_desc = NULL; in acpi_ex_get_object_reference()
96 *return_desc = reference_obj; in acpi_ex_get_object_reference()
101 *return_desc)); in acpi_ex_get_object_reference()
33 acpi_ex_get_object_reference(union acpi_operand_object *obj_desc, union acpi_operand_object **return_desc, struct acpi_walk_state *walk_state) acpi_ex_get_object_reference() argument
H A Dexresolv.c292 * return_desc - Where the resolved object is returned
305 union acpi_operand_object **return_desc) in acpi_ex_resolve_multiple()
451 if (return_desc) { in acpi_ex_resolve_multiple()
535 if (return_desc) { in acpi_ex_resolve_multiple()
536 *return_desc = obj_desc; in acpi_ex_resolve_multiple()
302 acpi_ex_resolve_multiple(struct acpi_walk_state *walk_state, union acpi_operand_object *operand, acpi_object_type *return_type, union acpi_operand_object **return_desc) acpi_ex_resolve_multiple() argument
H A Ddsutils.c64 * PARAMETERS: return_desc - The return value
79 acpi_ds_do_implicit_return(union acpi_operand_object *return_desc, in acpi_ds_do_implicit_return() argument
88 if ((!acpi_gbl_enable_interpreter_slack) || (!return_desc)) { in acpi_ds_do_implicit_return()
94 return_desc, walk_state->implicit_return_obj)); in acpi_ds_do_implicit_return()
100 * is the same as the return_desc. in acpi_ds_do_implicit_return()
103 if (walk_state->implicit_return_obj == return_desc) { in acpi_ds_do_implicit_return()
111 walk_state->implicit_return_obj = return_desc; in acpi_ds_do_implicit_return()
113 acpi_ut_add_reference(return_desc); in acpi_ds_do_implicit_return()

Completed in 14 milliseconds

12