• Home
  • Raw
  • Download

Lines Matching full:method

4  * Module Name: nseval - Object evaluation, includes control method execution
28 * prefix_node - Prefix or Method/Object Node to execute
29 * relative_path - Name of method to execute, If NULL, the
31 * parameters - List of parameters to pass to the method,
35 * return_object - Where to put method's return value (if
41 * DESCRIPTION: Execute a control method or return the current value of an
76 * For a method alias, we must grab the actual method node so that in acpi_ns_evaluate()
137 * this method/object matches the actual ASL/AML definition. in acpi_ns_evaluate()
150 * 2) The object is a control method -- execute it in acpi_ns_evaluate()
151 * 3) The object is not a method -- just return it's current value in acpi_ns_evaluate()
176 * 2) Object is a control method - execute it in acpi_ns_evaluate()
179 /* Verify that there is a method object associated with this node */ in acpi_ns_evaluate()
183 "%s: Method has no attached sub-object", in acpi_ns_evaluate()
190 "**** Execute method [%s] at AML address %p length %X\n", in acpi_ns_evaluate()
192 info->obj_desc->method.aml_start + 1, in acpi_ns_evaluate()
193 info->obj_desc->method.aml_length - 1)); in acpi_ns_evaluate()
200 * Execute the method via the interpreter. The interpreter is locked in acpi_ns_evaluate()
210 * 3) All other non-method objects -- get the current object value in acpi_ns_evaluate()
221 * the Node is guaranteed to not be a reference to either a method in acpi_ns_evaluate()
222 * local or a method argument (because this interface is never called in acpi_ns_evaluate()
223 * from a running method.) in acpi_ns_evaluate()
307 * RETURN: None. Exceptions during method execution are ignored, since
311 * Each element is executed as a single control method.
314 * code that is outside of any control method is wrapped with a temporary
315 * control method object and placed on a global list. The methods on this
352 /* Walk the list, executing each "method" */ in acpi_ns_exec_module_code_list()
356 next = next->method.mutex; in acpi_ns_exec_module_code_list()
358 /* Clear the link field and execute the method */ in acpi_ns_exec_module_code_list()
360 prev->method.mutex = NULL; in acpi_ns_exec_module_code_list()
364 /* Delete the (temporary) method object */ in acpi_ns_exec_module_code_list()
382 * info - Info block for method evaluation
384 * RETURN: None. Exceptions during method execution are ignored, since
387 * DESCRIPTION: Execute a control method containing a block of module-level
388 * executable AML code. The control method is temporarily
406 * of the method object descriptor. in acpi_ns_exec_module_code()
410 method_obj->method.next_object); in acpi_ns_exec_module_code()
414 * Get the region handler and save it in the method object. We may need in acpi_ns_exec_module_code()
415 * this if an operation region declaration causes a _REG method to be run. in acpi_ns_exec_module_code()
421 method_obj->method.dispatch.handler = in acpi_ns_exec_module_code()
427 method_obj->method.next_object = NULL; in acpi_ns_exec_module_code()
436 * because the ref count will be decreased when the method object in acpi_ns_exec_module_code()
444 /* Install the method (module-level code) in the parent node */ in acpi_ns_exec_module_code()
452 /* Execute the parent node as a control method */ in acpi_ns_exec_module_code()
458 method_obj->method.aml_start)); in acpi_ns_exec_module_code()
466 /* Detach the temporary method object */ in acpi_ns_exec_module_code()