Lines Matching refs:arg
232 union acpi_parse_object *arg, u8 possible_method_call) in acpi_ps_get_next_namepath() argument
244 acpi_ps_init_op(arg, AML_INT_NAMEPATH_OP); in acpi_ps_get_next_namepath()
249 arg->common.value.name = path; in acpi_ps_get_next_namepath()
279 acpi_ps_init_op(arg, AML_INT_METHODCALL_OP); in acpi_ps_get_next_namepath()
297 acpi_ps_init_op(arg, AML_INT_METHODCALL_OP); in acpi_ps_get_next_namepath()
303 acpi_ps_append_arg(arg, name_op); in acpi_ps_get_next_namepath()
347 else if ((arg->common.parent) && in acpi_ps_get_next_namepath()
348 ((arg->common.parent->common.aml_opcode == in acpi_ps_get_next_namepath()
350 || (arg->common.parent->common.aml_opcode == in acpi_ps_get_next_namepath()
372 arg->common.value.name = path; in acpi_ps_get_next_namepath()
392 u32 arg_type, union acpi_parse_object *arg) in acpi_ps_get_next_simple_arg() argument
406 arg->common.value.integer = (u64) *aml; in acpi_ps_get_next_simple_arg()
415 ACPI_MOVE_16_TO_64(&arg->common.value.integer, aml); in acpi_ps_get_next_simple_arg()
424 ACPI_MOVE_32_TO_64(&arg->common.value.integer, aml); in acpi_ps_get_next_simple_arg()
433 ACPI_MOVE_64_TO_64(&arg->common.value.integer, aml); in acpi_ps_get_next_simple_arg()
442 arg->common.value.string = ACPI_CAST_PTR(char, aml); in acpi_ps_get_next_simple_arg()
456 acpi_ps_init_op(arg, AML_INT_NAMEPATH_OP); in acpi_ps_get_next_simple_arg()
457 arg->common.value.name = in acpi_ps_get_next_simple_arg()
467 acpi_ps_init_op(arg, opcode); in acpi_ps_get_next_simple_arg()
489 union acpi_parse_object *arg = NULL; in acpi_ps_get_next_field() local
617 arg = in acpi_ps_get_next_field()
619 if (!arg) { in acpi_ps_get_next_field()
659 arg->named.value.size = buffer_length; in acpi_ps_get_next_field()
660 arg->named.data = parser_state->aml; in acpi_ps_get_next_field()
667 arg = acpi_ps_alloc_op(AML_INT_NAMEPATH_OP, aml); in acpi_ps_get_next_field()
668 if (!arg) { in acpi_ps_get_next_field()
675 arg->common.value.name = in acpi_ps_get_next_field()
681 acpi_ps_append_arg(field, arg); in acpi_ps_get_next_field()
714 union acpi_parse_object *arg = NULL; in acpi_ps_get_next_arg() local
732 arg = acpi_ps_alloc_op(AML_BYTE_OP, parser_state->aml); in acpi_ps_get_next_arg()
733 if (!arg) { in acpi_ps_get_next_arg()
736 acpi_ps_get_next_simple_arg(parser_state, arg_type, arg); in acpi_ps_get_next_arg()
762 arg = field; in acpi_ps_get_next_arg()
779 arg = acpi_ps_alloc_op(AML_INT_BYTELIST_OP, in acpi_ps_get_next_arg()
781 if (!arg) { in acpi_ps_get_next_arg()
787 arg->common.value.size = (u32) in acpi_ps_get_next_arg()
790 arg->named.data = parser_state->aml; in acpi_ps_get_next_arg()
810 arg = in acpi_ps_get_next_arg()
813 if (!arg) { in acpi_ps_get_next_arg()
822 parser_state, arg, in acpi_ps_get_next_arg()
829 if (arg->common.aml_opcode == in acpi_ps_get_next_arg()
831 acpi_ps_free_op(arg); in acpi_ps_get_next_arg()
832 arg = NULL; in acpi_ps_get_next_arg()
837 parser_state, arg, in acpi_ps_get_next_arg()
874 *return_arg = arg; in acpi_ps_get_next_arg()