Lines Matching defs:info

21  * PARAMETERS:  info            - Evaluation info block, contains these fields
42 acpi_status acpi_ns_evaluate(struct acpi_evaluate_info *info)
48 if (!info) {
52 if (!info->node) {
62 acpi_ns_get_node(info->prefix_node, info->relative_pathname,
63 ACPI_NS_NO_UPSEARCH, &info->node);
73 if (acpi_ns_get_type(info->node) == ACPI_TYPE_LOCAL_METHOD_ALIAS) {
74 info->node =
76 info->node->object);
79 /* Complete the info block initialization */
81 info->return_object = NULL;
82 info->node_flags = info->node->flags;
83 info->obj_desc = acpi_ns_get_attached_object(info->node);
86 info->relative_pathname, info->node,
87 acpi_ns_get_attached_object(info->node)));
89 /* Get info if we have a predefined name (_HID, etc.) */
91 info->predefined =
92 acpi_ut_match_predefined_method(info->node->name.ascii);
96 info->full_pathname = acpi_ns_get_normalized_pathname(info->node, TRUE);
97 if (!info->full_pathname) {
105 &info->full_pathname[1],
106 acpi_ut_get_type_name(info->node->type)));
110 info->param_count = 0;
111 if (info->parameters) {
112 while (info->parameters[info->param_count]) {
113 info->param_count++;
118 if (info->param_count > ACPI_METHOD_NUM_ARGS) {
119 ACPI_WARN_PREDEFINED((AE_INFO, info->full_pathname,
122 info->param_count,
125 info->param_count = ACPI_METHOD_NUM_ARGS;
133 acpi_ns_check_acpi_compliance(info->full_pathname, info->node,
134 info->predefined);
140 acpi_ns_check_argument_count(info->full_pathname, info->node,
141 info->param_count, info->predefined);
145 acpi_ns_check_argument_types(info);
154 switch (acpi_ns_get_type(info->node)) {
169 info->full_pathname,
170 acpi_ut_get_type_name(info->node->type)));
182 if (!info->obj_desc) {
185 info->full_pathname));
192 info->full_pathname,
193 info->obj_desc->method.aml_start + 1,
194 info->obj_desc->method.aml_length - 1));
205 status = acpi_ps_execute_method(info);
234 info->return_object =
235 ACPI_CAST_PTR(union acpi_operand_object, info->node);
240 &info->return_object), NULL);
244 info->return_object = NULL;
249 info->return_object,
250 acpi_ut_get_object_type_name(info->
261 (void)acpi_ns_check_return_value(info->node, info, info->param_count,
262 status, &info->return_object);
270 if (info->flags & ACPI_IGNORE_RETURN_VALUE) {
271 acpi_ut_remove_reference(info->return_object);
272 info->return_object = NULL;
282 if (info->return_object) {
283 acpi_ut_remove_reference(info->return_object);
284 info->return_object = NULL;
290 info->relative_pathname));
297 &info->full_pathname[1]));
303 ACPI_FREE(info->full_pathname);
304 info->full_pathname = NULL;