Lines Matching refs:index
131 u32 index; in acpi_ds_method_data_delete_all() local
139 for (index = 0; index < ACPI_METHOD_NUM_LOCALS; index++) { in acpi_ds_method_data_delete_all()
140 if (walk_state->local_variables[index].object) { in acpi_ds_method_data_delete_all()
142 index, walk_state->local_variables[index].object)); in acpi_ds_method_data_delete_all()
146 acpi_ns_detach_object (&walk_state->local_variables[index]); in acpi_ds_method_data_delete_all()
152 for (index = 0; index < ACPI_METHOD_NUM_ARGS; index++) { in acpi_ds_method_data_delete_all()
153 if (walk_state->arguments[index].object) { in acpi_ds_method_data_delete_all()
155 index, walk_state->arguments[index].object)); in acpi_ds_method_data_delete_all()
159 acpi_ns_detach_object (&walk_state->arguments[index]); in acpi_ds_method_data_delete_all()
190 u32 index = 0; in acpi_ds_method_data_init_args() local
203 while ((index < ACPI_METHOD_NUM_ARGS) && (index < max_param_count) && params[index]) { in acpi_ds_method_data_init_args()
209 status = acpi_ds_method_data_set_value (AML_ARG_OP, index, params[index], walk_state); in acpi_ds_method_data_init_args()
214 index++; in acpi_ds_method_data_init_args()
217 ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "%d args passed to method\n", index)); in acpi_ds_method_data_init_args()
238 u32 index, in acpi_ds_method_data_get_node() argument
251 if (index > ACPI_METHOD_MAX_LOCAL) { in acpi_ds_method_data_get_node()
253 index, ACPI_METHOD_MAX_LOCAL)); in acpi_ds_method_data_get_node()
259 *node = &walk_state->local_variables[index]; in acpi_ds_method_data_get_node()
264 if (index > ACPI_METHOD_MAX_ARG) { in acpi_ds_method_data_get_node()
266 index, ACPI_METHOD_MAX_ARG)); in acpi_ds_method_data_get_node()
272 *node = &walk_state->arguments[index]; in acpi_ds_method_data_get_node()
303 u32 index, in acpi_ds_method_data_set_value() argument
321 status = acpi_ds_method_data_get_node (opcode, index, walk_state, &node); in acpi_ds_method_data_set_value()
357 u32 index, in acpi_ds_method_data_get_type() argument
370 status = acpi_ds_method_data_get_node (opcode, index, walk_state, &node); in acpi_ds_method_data_get_type()
411 u32 index, in acpi_ds_method_data_get_value() argument
432 status = acpi_ds_method_data_get_node (opcode, index, walk_state, &node); in acpi_ds_method_data_get_value()
455 index, node)); in acpi_ds_method_data_get_value()
462 index, node)); in acpi_ds_method_data_get_value()
501 u32 index, in acpi_ds_method_data_delete_value() argument
514 status = acpi_ds_method_data_get_node (opcode, index, walk_state, &node); in acpi_ds_method_data_delete_value()
564 u32 index, in acpi_ds_store_object_to_local() argument
576 opcode, index, obj_desc)); in acpi_ds_store_object_to_local()
586 status = acpi_ds_method_data_get_node (opcode, index, walk_state, &node); in acpi_ds_store_object_to_local()
678 acpi_ds_method_data_delete_value (opcode, index, walk_state); in acpi_ds_store_object_to_local()
686 status = acpi_ds_method_data_set_value (opcode, index, new_obj_desc, walk_state); in acpi_ds_store_object_to_local()