Home
last modified time | relevance | path

Searched refs:arg_count (Results 1 – 14 of 14) sorted by relevance

/drivers/acpi/acpica/
Dutpredef.c235 u32 arg_count; in acpi_ut_display_predefined_method() local
241 arg_count = acpi_ut_get_argument_types(buffer, in acpi_ut_display_predefined_method()
251 "(at least) " : "", arg_count, arg_count != 1 ? "s" : ""); in acpi_ut_display_predefined_method()
255 if (arg_count > 0) { in acpi_ut_display_predefined_method()
294 u16 arg_count; in acpi_ut_get_argument_types() local
302 arg_count = METHOD_GET_ARG_COUNT(argument_types); in acpi_ut_get_argument_types()
303 if (arg_count > METHOD_PREDEF_ARGS_MAX) { in acpi_ut_get_argument_types()
305 "in predefined info structure\n", arg_count); in acpi_ut_get_argument_types()
306 return (arg_count); in acpi_ut_get_argument_types()
311 for (i = 0; i < arg_count; i++) { in acpi_ut_get_argument_types()
[all …]
Dpsscope.c54 || !parser_state->scope->parse_scope.arg_count))); in acpi_ps_has_completed_scope()
85 scope->parse_scope.arg_count = ACPI_VAR_ARGS; in acpi_ps_init_scope()
113 u32 remaining_args, u32 arg_count) in acpi_ps_push_scope() argument
127 scope->parse_scope.arg_count = arg_count; in acpi_ps_push_scope()
134 if (arg_count == ACPI_VAR_ARGS) { in acpi_ps_push_scope()
166 union acpi_parse_object **op, u32 * arg_list, u32 * arg_count) in acpi_ps_pop_scope() argument
181 *arg_count = scope->parse_scope.arg_count; in acpi_ps_pop_scope()
192 *arg_count = 0; in acpi_ps_pop_scope()
196 "Popped Op %p Args %X\n", *op, *arg_count)); in acpi_ps_pop_scope()
Dpsloop.c95 !walk_state->arg_count) { in acpi_ps_get_arguments()
131 walk_state->arg_count, in acpi_ps_get_arguments()
153 walk_state->arg_count = 0; in acpi_ps_get_arguments()
183 walk_state->arg_count = 0; in acpi_ps_get_arguments()
285 &walk_state->arg_count); in acpi_ps_parse_loop()
378 walk_state->arg_count = 0; in acpi_ps_parse_loop()
451 walk_state->arg_count)); in acpi_ps_parse_loop()
453 if (walk_state->arg_count) { in acpi_ps_parse_loop()
460 walk_state->arg_count); in acpi_ps_parse_loop()
Dpsobject.c447 walk_state->parser_state.scope->parse_scope.arg_count--; in acpi_ps_complete_op()
475 &walk_state->arg_count); in acpi_ps_complete_op()
502 &walk_state->arg_count); in acpi_ps_complete_op()
540 &walk_state->arg_count); in acpi_ps_complete_op()
574 &walk_state->arg_count); in acpi_ps_complete_op()
585 &walk_state->arg_count); in acpi_ps_complete_op()
611 &walk_state->arg_count); in acpi_ps_complete_op()
697 arg_count); in acpi_ps_complete_final_op()
723 &walk_state->arg_count); in acpi_ps_complete_final_op()
Dpsargs.c250 walk_state->arg_count = 1; in acpi_ps_get_next_namepath()
289 walk_state->arg_count = method_desc->method.param_count; in acpi_ps_get_next_namepath()
826 walk_state->arg_count = 1; in acpi_ps_get_next_arg()
865 walk_state->arg_count = 1; in acpi_ps_get_next_arg()
870 walk_state->arg_count = 1; in acpi_ps_get_next_arg()
884 walk_state->arg_count = 1; in acpi_ps_get_next_arg()
895 walk_state->arg_count = ACPI_VAR_ARGS; in acpi_ps_get_next_arg()
Ddsutils.c669 u32 arg_count = 0; in acpi_ds_create_operands() local
689 arg_count++; in acpi_ds_create_operands()
695 walk_state->num_operands, arg_count, index)); in acpi_ds_create_operands()
700 for (i = 0; i < arg_count; i++) { in acpi_ds_create_operands()
711 index, arg, arg_count)); in acpi_ds_create_operands()
723 acpi_ds_obj_stack_pop_and_delete(arg_count, walk_state); in acpi_ds_create_operands()
Dnsarguments.c33 u8 arg_count; in acpi_ns_check_argument_types() local
50 arg_count = METHOD_GET_ARG_COUNT(arg_type_list); in acpi_ns_check_argument_types()
54 for (i = 0; ((i < arg_count) && (i < info->param_count)); i++) { in acpi_ns_check_argument_types()
Dacparser.h151 union acpi_parse_object **op, u32 *arg_list, u32 *arg_count);
156 u32 remaining_args, u32 arg_count);
Ddbtest.c988 u8 arg_count; in acpi_db_evaluate_one_predefined_name() local
1024 arg_count = METHOD_GET_ARG_COUNT(arg_type_list); in acpi_db_evaluate_one_predefined_name()
1032 for (i = 0; i < arg_count; i++) { in acpi_db_evaluate_one_predefined_name()
1073 param_objects.count = arg_count; in acpi_db_evaluate_one_predefined_name()
Dacstruct.h62 u32 arg_count; /* push for fixed or var args */ member
Daclocal.h153 u8 arg_count; member
609 ACPI_STATE_COMMON u32 arg_count; /* Number of fixed arguments */ member
/drivers/mfd/
Dsyscon.c237 int arg_count, in syscon_regmap_lookup_by_phandle_args() argument
246 rc = of_parse_phandle_with_fixed_args(np, property, arg_count, in syscon_regmap_lookup_by_phandle_args()
256 for (index = 0; index < arg_count; index++) in syscon_regmap_lookup_by_phandle_args()
/drivers/md/
Ddm-integrity.c3243 unsigned arg_count; in dm_integrity_status() local
3261 arg_count = 3; in dm_integrity_status()
3262 arg_count += !!ic->meta_dev; in dm_integrity_status()
3263 arg_count += ic->sectors_per_block != 1; in dm_integrity_status()
3264 arg_count += !!(ic->sb->flags & cpu_to_le32(SB_FLAG_RECALCULATING)); in dm_integrity_status()
3265 arg_count += ic->reset_recalculate_flag; in dm_integrity_status()
3266 arg_count += ic->discard; in dm_integrity_status()
3267 arg_count += ic->mode == 'J'; in dm_integrity_status()
3268 arg_count += ic->mode == 'J'; in dm_integrity_status()
3269 arg_count += ic->mode == 'B'; in dm_integrity_status()
[all …]
/drivers/misc/altera-stapl/
Daltera.c244 u32 arg_count; in altera_execute() local
517 arg_count = (opcode >> 6) & 3; in altera_execute()
518 for (i = 0; i < arg_count; ++i) { in altera_execute()