Lines Matching refs:arg
199 union acpi_parse_object *arg, u8 possible_method_call) in acpi_ps_get_next_namepath() argument
211 acpi_ps_init_op(arg, AML_INT_NAMEPATH_OP); in acpi_ps_get_next_namepath()
216 arg->common.value.name = path; in acpi_ps_get_next_namepath()
251 acpi_ps_init_op(arg, AML_INT_METHODCALL_OP); in acpi_ps_get_next_namepath()
268 acpi_ps_init_op(arg, AML_INT_METHODCALL_OP); in acpi_ps_get_next_namepath()
274 acpi_ps_append_arg(arg, name_op); in acpi_ps_get_next_namepath()
318 else if ((arg->common.parent) && in acpi_ps_get_next_namepath()
319 ((arg->common.parent->common.aml_opcode == in acpi_ps_get_next_namepath()
321 || (arg->common.parent->common.aml_opcode == in acpi_ps_get_next_namepath()
343 arg->common.value.name = path; in acpi_ps_get_next_namepath()
363 u32 arg_type, union acpi_parse_object *arg) in acpi_ps_get_next_simple_arg() argument
377 arg->common.value.integer = (u64) *aml; in acpi_ps_get_next_simple_arg()
386 ACPI_MOVE_16_TO_64(&arg->common.value.integer, aml); in acpi_ps_get_next_simple_arg()
395 ACPI_MOVE_32_TO_64(&arg->common.value.integer, aml); in acpi_ps_get_next_simple_arg()
404 ACPI_MOVE_64_TO_64(&arg->common.value.integer, aml); in acpi_ps_get_next_simple_arg()
413 arg->common.value.string = ACPI_CAST_PTR(char, aml); in acpi_ps_get_next_simple_arg()
427 acpi_ps_init_op(arg, AML_INT_NAMEPATH_OP); in acpi_ps_get_next_simple_arg()
428 arg->common.value.name = in acpi_ps_get_next_simple_arg()
438 acpi_ps_init_op(arg, opcode); in acpi_ps_get_next_simple_arg()
460 union acpi_parse_object *arg = NULL; in acpi_ps_get_next_field() local
608 arg = in acpi_ps_get_next_field()
610 if (!arg) { in acpi_ps_get_next_field()
652 arg->named.value.size = buffer_length; in acpi_ps_get_next_field()
653 arg->named.data = parser_state->aml; in acpi_ps_get_next_field()
660 arg = acpi_ps_alloc_op(AML_INT_NAMEPATH_OP, aml); in acpi_ps_get_next_field()
661 if (!arg) { in acpi_ps_get_next_field()
668 arg->common.value.name = in acpi_ps_get_next_field()
674 acpi_ps_append_arg(field, arg); in acpi_ps_get_next_field()
707 union acpi_parse_object *arg = NULL; in acpi_ps_get_next_arg() local
729 arg = acpi_ps_alloc_op(AML_BYTE_OP, parser_state->aml); in acpi_ps_get_next_arg()
730 if (!arg) { in acpi_ps_get_next_arg()
734 acpi_ps_get_next_simple_arg(parser_state, arg_type, arg); in acpi_ps_get_next_arg()
760 arg = field; in acpi_ps_get_next_arg()
777 arg = acpi_ps_alloc_op(AML_INT_BYTELIST_OP, in acpi_ps_get_next_arg()
779 if (!arg) { in acpi_ps_get_next_arg()
785 arg->common.value.size = (u32) in acpi_ps_get_next_arg()
788 arg->named.data = parser_state->aml; in acpi_ps_get_next_arg()
812 arg = in acpi_ps_get_next_arg()
815 if (!arg) { in acpi_ps_get_next_arg()
821 arg, in acpi_ps_get_next_arg()
846 arg = in acpi_ps_get_next_arg()
849 if (!arg) { in acpi_ps_get_next_arg()
855 arg, in acpi_ps_get_next_arg()
858 if (arg->common.aml_opcode == AML_INT_METHODCALL_OP) { in acpi_ps_get_next_arg()
862 acpi_ps_free_op(arg->common.value.arg); in acpi_ps_get_next_arg()
863 acpi_ps_free_op(arg); in acpi_ps_get_next_arg()
864 arg = NULL; in acpi_ps_get_next_arg()
906 *return_arg = arg; in acpi_ps_get_next_arg()