/linux-4.1.27/arch/ia64/sn/kernel/sn2/ |
H A D | sn_hwperf.c | 592 struct sn_hwperf_op_info *op_info = info; sn_hwperf_call_sal() local 595 r = ia64_sn_hwperf_op(sn_hwperf_master_nasid, op_info->op, sn_hwperf_call_sal() 596 op_info->a->arg, op_info->a->sz, sn_hwperf_call_sal() 597 (u64) op_info->p, 0, 0, op_info->v0); sn_hwperf_call_sal() 598 op_info->ret = r; sn_hwperf_call_sal() 601 static int sn_hwperf_op_cpu(struct sn_hwperf_op_info *op_info) sn_hwperf_op_cpu() argument 608 cpu = (op_info->a->arg & SN_HWPERF_ARG_CPU_MASK) >> 32; sn_hwperf_op_cpu() 609 use_ipi = op_info->a->arg & SN_HWPERF_ARG_USE_IPI_MASK; sn_hwperf_op_cpu() 610 op_info->a->arg &= SN_HWPERF_ARG_OBJID_MASK; sn_hwperf_op_cpu() 621 sn_hwperf_call_sal(op_info); sn_hwperf_op_cpu() 624 sn_hwperf_call_sal(op_info); sn_hwperf_op_cpu() 631 op_info, 1); sn_hwperf_op_cpu() 637 sn_hwperf_call_sal(op_info); sn_hwperf_op_cpu() 641 r = op_info->ret; sn_hwperf_op_cpu() 695 struct sn_hwperf_op_info op_info; sn_hwperf_ioctl() local 828 op_info.p = p; 829 op_info.a = &a; 830 op_info.v0 = &v0; 831 op_info.op = op; 832 r = sn_hwperf_op_cpu(&op_info);
|
/linux-4.1.27/drivers/acpi/acpica/ |
H A D | pstree.c | 73 const struct acpi_opcode_info *op_info; acpi_ps_get_arg() local 85 op_info = acpi_ps_get_opcode_info(op->common.aml_opcode); acpi_ps_get_arg() 86 if (op_info->class == AML_CLASS_UNKNOWN) { acpi_ps_get_arg() 95 if (!(op_info->flags & AML_HAS_ARGS)) { acpi_ps_get_arg() 130 const struct acpi_opcode_info *op_info; acpi_ps_append_arg() local 140 op_info = acpi_ps_get_opcode_info(op->common.aml_opcode); acpi_ps_append_arg() 141 if (op_info->class == AML_CLASS_UNKNOWN) { acpi_ps_append_arg() 152 if (!(op_info->flags & AML_HAS_ARGS)) { acpi_ps_append_arg()
|
H A D | psobject.c | 83 walk_state->op_info = acpi_ps_get_opcode_info(walk_state->opcode); acpi_ps_get_aml_opcode() 85 switch (walk_state->op_info->class) { acpi_ps_get_aml_opcode() 147 walk_state->arg_types = walk_state->op_info->parse_args; acpi_ps_get_aml_opcode() 285 const struct acpi_opcode_info *op_info; acpi_ps_create_op() local 296 walk_state->op_info = acpi_ps_get_opcode_info(walk_state->opcode); acpi_ps_create_op() 302 if (walk_state->op_info->flags & AML_NAMED) { acpi_ps_create_op() 317 if (walk_state->op_info->flags & AML_CREATE) { acpi_ps_create_op() 339 op_info = acpi_ps_create_op() 341 if (op_info->flags & AML_HAS_TARGET) { acpi_ps_create_op() 343 acpi_ps_get_argument_count(op_info->type); acpi_ps_create_op() 427 walk_state->op_info = acpi_ps_complete_op() 458 walk_state->op_info = acpi_ps_complete_op() 578 walk_state->op_info = acpi_ps_complete_final_op()
|
H A D | psutils.c | 119 const struct acpi_opcode_info *op_info; acpi_ps_alloc_op() local 124 op_info = acpi_ps_get_opcode_info(opcode); acpi_ps_alloc_op() 128 if (op_info->flags & AML_DEFER) { acpi_ps_alloc_op() 130 } else if (op_info->flags & AML_NAMED) { acpi_ps_alloc_op()
|
H A D | psloop.c | 90 const struct acpi_opcode_info *op_info; acpi_ps_get_arguments() local 208 op_info = acpi_ps_get_arguments() 211 if ((op_info->class == acpi_ps_get_arguments() 499 if (walk_state->op_info) { acpi_ps_parse_loop() 503 walk_state->op_info->name, op, acpi_ps_parse_loop() 564 walk_state->op_info = acpi_ps_parse_loop() 566 if (walk_state->op_info->flags & AML_NAMED) { acpi_ps_parse_loop() 582 if (walk_state->op_info->flags & AML_CREATE) { acpi_ps_parse_loop()
|
H A D | dswload2.c | 98 if ((!(walk_state->op_info->flags & AML_NSOPCODE) && acpi_ds_load2_begin_op() 100 (!(walk_state->op_info->flags & AML_NAMED))) { acpi_ds_load2_begin_op() 131 object_type = walk_state->op_info->object_type; acpi_ds_load2_begin_op() 389 walk_state->op_info->name, op, walk_state)); acpi_ds_load2_end_op() 393 if (!(walk_state->op_info->flags & AML_NSOBJECT)) { acpi_ds_load2_end_op() 403 object_type = walk_state->op_info->object_type; acpi_ds_load2_end_op() 469 switch (walk_state->op_info->type) { acpi_ds_load2_end_op()
|
H A D | dsutils.c | 470 const struct acpi_opcode_info *op_info; acpi_ds_create_operand() local 522 op_info = acpi_ds_create_operand() 525 if ((op_info->flags & AML_NSNODE) acpi_ds_create_operand() 631 op_info = acpi_ps_get_opcode_info(opcode); acpi_ds_create_operand() 632 if (op_info->object_type == ACPI_TYPE_INVALID) { acpi_ds_create_operand() 636 if ((op_info->flags & AML_HAS_RETVAL) acpi_ds_create_operand() 664 acpi_ut_create_internal_object(op_info-> acpi_ds_create_operand() 814 /* TBD: Should we specify this feature as a bit of op_info->Flags of these opcodes? */ acpi_ds_evaluate_name_path()
|
H A D | dswload.c | 159 if (!(walk_state->op_info->flags & AML_NAMED)) { acpi_ds_load1_begin_op() 176 object_type = walk_state->op_info->object_type; acpi_ds_load1_begin_op() 436 if (!(walk_state->op_info->flags & (AML_NAMED | AML_FIELD))) { acpi_ds_load1_end_op() 442 object_type = walk_state->op_info->object_type; acpi_ds_load1_end_op() 445 if (walk_state->op_info->flags & AML_FIELD) { acpi_ds_load1_end_op()
|
H A D | exresop.c | 141 const struct acpi_opcode_info *op_info; acpi_ex_resolve_operands() local 148 op_info = acpi_ps_get_opcode_info(opcode); acpi_ex_resolve_operands() 149 if (op_info->class == AML_CLASS_UNKNOWN) { acpi_ex_resolve_operands() 153 arg_types = op_info->runtime_args; acpi_ex_resolve_operands() 162 opcode, op_info->name, arg_types)); acpi_ex_resolve_operands()
|
H A D | dswexec.c | 232 walk_state->op_info = acpi_ds_exec_begin_op() 235 if (acpi_ns_opens_scope(walk_state->op_info->object_type)) { acpi_ds_exec_begin_op() 239 op_info-> acpi_ds_exec_begin_op() 278 opcode_class = walk_state->op_info->class; acpi_ds_exec_begin_op() 369 op_type = walk_state->op_info->type; acpi_ds_exec_end_op() 370 op_class = walk_state->op_info->class; acpi_ds_exec_end_op() 421 if (!(walk_state->op_info->flags & AML_NO_OPERAND_RESOLVE)) { acpi_ds_exec_end_op()
|
H A D | dsobject.c | 632 const struct acpi_opcode_info *op_info; acpi_ds_init_object_from_op() local 639 op_info = acpi_ps_get_opcode_info(opcode); acpi_ds_init_object_from_op() 640 if (op_info->class == AML_CLASS_UNKNOWN) { acpi_ds_init_object_from_op() 674 switch (op_info->type) { acpi_ds_init_object_from_op() 744 op_info->type)); acpi_ds_init_object_from_op() 768 switch (op_info->type) { acpi_ds_init_object_from_op()
|
H A D | exoparg2.c | 267 if (walk_state->op_info->flags & AML_MATH) { acpi_ex_opcode_2A_1T_1R() 509 if (walk_state->op_info->flags & AML_LOGICAL_NUMERIC) { acpi_ex_opcode_2A_0T_1R() 519 } else if (walk_state->op_info->flags & AML_LOGICAL) { acpi_ex_opcode_2A_0T_1R()
|
H A D | exconvrt.c | 593 switch (GET_CURRENT_ARG_TYPE(walk_state->op_info->runtime_args)) { acpi_ex_convert_to_target_type() 676 GET_CURRENT_ARG_TYPE(walk_state->op_info-> acpi_ex_convert_to_target_type()
|
H A D | acstruct.h | 112 const struct acpi_opcode_info *op_info; /* Info on current opcode */ member in struct:acpi_walk_state
|
H A D | dsmethod.c | 169 (walk_state->op_info-> acpi_ds_detect_named_opcodes() 191 walk_state->method_node, walk_state->op_info->name, acpi_ds_detect_named_opcodes()
|
H A D | psparse.c | 154 || (walk_state->op_info->class == AML_CLASS_ARGUMENT)) { acpi_ps_complete_this_op()
|