Home
last modified time | relevance | path

Searched refs:obj_desc (Results 1 – 77 of 77) sorted by relevance

/linux-4.4.14/drivers/acpi/acpica/
Dexmutex.c54 acpi_ex_link_mutex(union acpi_operand_object *obj_desc,
69 void acpi_ex_unlink_mutex(union acpi_operand_object *obj_desc) in acpi_ex_unlink_mutex() argument
71 struct acpi_thread_state *thread = obj_desc->mutex.owner_thread; in acpi_ex_unlink_mutex()
79 if (obj_desc->mutex.next) { in acpi_ex_unlink_mutex()
80 (obj_desc->mutex.next)->mutex.prev = obj_desc->mutex.prev; in acpi_ex_unlink_mutex()
83 if (obj_desc->mutex.prev) { in acpi_ex_unlink_mutex()
84 (obj_desc->mutex.prev)->mutex.next = obj_desc->mutex.next; in acpi_ex_unlink_mutex()
92 (obj_desc->mutex.prev)->mutex.original_sync_level = in acpi_ex_unlink_mutex()
93 obj_desc->mutex.original_sync_level; in acpi_ex_unlink_mutex()
95 thread->acquired_mutex_list = obj_desc->mutex.next; in acpi_ex_unlink_mutex()
[all …]
Ddbobject.c119 void acpi_db_decode_internal_object(union acpi_operand_object *obj_desc) in acpi_db_decode_internal_object() argument
123 if (!obj_desc) { in acpi_db_decode_internal_object()
128 if (ACPI_GET_DESCRIPTOR_TYPE(obj_desc) != ACPI_DESC_TYPE_OPERAND) { in acpi_db_decode_internal_object()
129 acpi_os_printf(" %p [%s]", obj_desc, in acpi_db_decode_internal_object()
130 acpi_ut_get_descriptor_name(obj_desc)); in acpi_db_decode_internal_object()
134 acpi_os_printf(" %s", acpi_ut_get_object_type_name(obj_desc)); in acpi_db_decode_internal_object()
136 switch (obj_desc->common.type) { in acpi_db_decode_internal_object()
140 ACPI_FORMAT_UINT64(obj_desc->integer.value)); in acpi_db_decode_internal_object()
146 obj_desc->string.length, in acpi_db_decode_internal_object()
147 obj_desc->string.pointer); in acpi_db_decode_internal_object()
[all …]
Dnsobject.c76 union acpi_operand_object *obj_desc; in acpi_ns_attach_object() local
124 obj_desc = NULL; in acpi_ns_attach_object()
138 obj_desc = ((struct acpi_namespace_node *)object)->object; in acpi_ns_attach_object()
147 obj_desc = (union acpi_operand_object *)object; in acpi_ns_attach_object()
155 obj_desc, node, acpi_ut_get_node_name(node))); in acpi_ns_attach_object()
163 if (obj_desc) { in acpi_ns_attach_object()
168 acpi_ut_add_reference(obj_desc); in acpi_ns_attach_object()
174 last_obj_desc = obj_desc; in acpi_ns_attach_object()
185 node->object = obj_desc; in acpi_ns_attach_object()
206 union acpi_operand_object *obj_desc; in acpi_ns_detach_object() local
[all …]
Dexfldio.c56 acpi_ex_field_datum_io(union acpi_operand_object *obj_desc,
60 acpi_ex_register_overflow(union acpi_operand_object *obj_desc, u64 value);
63 acpi_ex_setup_region(union acpi_operand_object *obj_desc,
83 acpi_ex_setup_region(union acpi_operand_object *obj_desc, in acpi_ex_setup_region() argument
92 rgn_desc = obj_desc->common_field.region_obj; in acpi_ex_setup_region()
143 if (!(obj_desc->common.flags & AOPOBJ_DATA_VALID)) { in acpi_ex_setup_region()
156 (obj_desc->common_field.base_byte_offset + field_datum_byte_offset + in acpi_ex_setup_region()
157 obj_desc->common_field.access_byte_width)) { in acpi_ex_setup_region()
165 obj_desc->common_field. in acpi_ex_setup_region()
167 ((acpi_size) obj_desc->common_field. in acpi_ex_setup_region()
[all …]
Dexfield.c130 union acpi_operand_object *obj_desc, in acpi_ex_read_data_from_field() argument
140 ACPI_FUNCTION_TRACE_PTR(ex_read_data_from_field, obj_desc); in acpi_ex_read_data_from_field()
144 if (!obj_desc) { in acpi_ex_read_data_from_field()
151 if (obj_desc->common.type == ACPI_TYPE_BUFFER_FIELD) { in acpi_ex_read_data_from_field()
156 if (!(obj_desc->common.flags & AOPOBJ_DATA_VALID)) { in acpi_ex_read_data_from_field()
157 status = acpi_ds_get_buffer_field_arguments(obj_desc); in acpi_ex_read_data_from_field()
162 } else if ((obj_desc->common.type == ACPI_TYPE_LOCAL_REGION_FIELD) && in acpi_ex_read_data_from_field()
163 (obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
165 || obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
167 || obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field()
[all …]
Dexprep.c56 acpi_ex_decode_field_access(union acpi_operand_object *obj_desc,
225 acpi_ex_decode_field_access(union acpi_operand_object *obj_desc, in acpi_ex_decode_field_access() argument
241 acpi_ex_generate_access(obj_desc->common_field. in acpi_ex_decode_field_access()
243 obj_desc->common_field.bit_length, in acpi_ex_decode_field_access()
287 if (obj_desc->common.type == ACPI_TYPE_BUFFER_FIELD) { in acpi_ex_decode_field_access()
322 acpi_ex_prep_common_field_object(union acpi_operand_object *obj_desc, in acpi_ex_prep_common_field_object() argument
338 obj_desc->common_field.field_flags = field_flags; in acpi_ex_prep_common_field_object()
339 obj_desc->common_field.attribute = field_attribute; in acpi_ex_prep_common_field_object()
340 obj_desc->common_field.bit_length = field_bit_length; in acpi_ex_prep_common_field_object()
357 access_bit_width = acpi_ex_decode_field_access(obj_desc, field_flags, in acpi_ex_prep_common_field_object()
[all …]
Ddsobject.c82 union acpi_operand_object *obj_desc; in acpi_ds_build_internal_object() local
162 obj_desc = in acpi_ds_build_internal_object()
170 &obj_desc), in acpi_ds_build_internal_object()
183 type = obj_desc->common.type; in acpi_ds_build_internal_object()
228 obj_desc = acpi_ut_create_internal_object((acpi_ps_get_opcode_info in acpi_ds_build_internal_object()
231 if (!obj_desc) { in acpi_ds_build_internal_object()
237 &obj_desc); in acpi_ds_build_internal_object()
239 acpi_ut_remove_reference(obj_desc); in acpi_ds_build_internal_object()
244 *obj_desc_ptr = obj_desc; in acpi_ds_build_internal_object()
271 union acpi_operand_object *obj_desc; in acpi_ds_build_internal_buffer_obj() local
[all …]
Dexresop.c137 union acpi_operand_object *obj_desc; in acpi_ex_resolve_operands() local
181 obj_desc = *stack_ptr; in acpi_ex_resolve_operands()
185 switch (ACPI_GET_DESCRIPTOR_TYPE(obj_desc)) { in acpi_ex_resolve_operands()
191 ((struct acpi_namespace_node *)obj_desc)->type; in acpi_ex_resolve_operands()
199 obj_desc = in acpi_ex_resolve_operands()
202 *)obj_desc); in acpi_ex_resolve_operands()
203 *stack_ptr = obj_desc; in acpi_ex_resolve_operands()
205 ((struct acpi_namespace_node *)obj_desc)-> in acpi_ex_resolve_operands()
214 object_type = obj_desc->common.type; in acpi_ex_resolve_operands()
230 switch (obj_desc->reference.class) { in acpi_ex_resolve_operands()
[all …]
Dnsdump.c174 union acpi_operand_object *obj_desc = NULL; in acpi_ns_dump_one_object() local
234 obj_desc = acpi_ns_get_attached_object(this_node); in acpi_ns_dump_one_object()
246 if (!obj_desc) { in acpi_ns_dump_one_object()
273 obj_desc->processor.proc_id, in acpi_ns_dump_one_object()
274 obj_desc->processor.length, in acpi_ns_dump_one_object()
275 ACPI_FORMAT_UINT64(obj_desc->processor. in acpi_ns_dump_one_object()
281 acpi_os_printf("Notify Object: %p\n", obj_desc); in acpi_ns_dump_one_object()
287 (u32) obj_desc->method.param_count, in acpi_ns_dump_one_object()
288 obj_desc->method.aml_length, in acpi_ns_dump_one_object()
289 obj_desc->method.aml_start); in acpi_ns_dump_one_object()
[all …]
Dexcreate.c170 union acpi_operand_object *obj_desc; in acpi_ex_create_event() local
174 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_EVENT); in acpi_ex_create_event()
175 if (!obj_desc) { in acpi_ex_create_event()
185 &obj_desc->event.os_semaphore); in acpi_ex_create_event()
194 operands[0], obj_desc, ACPI_TYPE_EVENT); in acpi_ex_create_event()
201 acpi_ut_remove_reference(obj_desc); in acpi_ex_create_event()
222 union acpi_operand_object *obj_desc; in acpi_ex_create_mutex() local
228 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_MUTEX); in acpi_ex_create_mutex()
229 if (!obj_desc) { in acpi_ex_create_mutex()
236 status = acpi_os_create_mutex(&obj_desc->mutex.os_mutex); in acpi_ex_create_mutex()
[all …]
Dexdump.c63 acpi_ex_dump_object(union acpi_operand_object *obj_desc,
66 static void acpi_ex_dump_reference_obj(union acpi_operand_object *obj_desc);
69 acpi_ex_dump_package_obj(union acpi_operand_object *obj_desc,
364 acpi_ex_dump_object(union acpi_operand_object *obj_desc, in acpi_ex_dump_object() argument
379 acpi_ut_get_object_type_name(obj_desc)); in acpi_ex_dump_object()
388 target = ACPI_ADD_PTR(u8, obj_desc, info->offset); in acpi_ex_dump_object()
399 obj_desc->common.type, in acpi_ex_dump_object()
400 acpi_ut_get_object_type_name(obj_desc)); in acpi_ex_dump_object()
435 acpi_ut_print_string(obj_desc->string.pointer, in acpi_ex_dump_object()
442 ACPI_DUMP_BUFFER(obj_desc->buffer.pointer, in acpi_ex_dump_object()
[all …]
Dexresolv.c142 union acpi_operand_object *obj_desc = NULL; in acpi_ex_resolve_object_to_value() local
167 &obj_desc); in acpi_ex_resolve_object_to_value()
175 obj_desc)); in acpi_ex_resolve_object_to_value()
182 *stack_ptr = obj_desc; in acpi_ex_resolve_object_to_value()
205 obj_desc = *stack_desc->reference.where; in acpi_ex_resolve_object_to_value()
206 if (obj_desc) { in acpi_ex_resolve_object_to_value()
212 acpi_ut_add_reference(obj_desc); in acpi_ex_resolve_object_to_value()
213 *stack_ptr = obj_desc; in acpi_ex_resolve_object_to_value()
301 &obj_desc); in acpi_ex_resolve_object_to_value()
306 *stack_ptr = (void *)obj_desc; in acpi_ex_resolve_object_to_value()
[all …]
Ddsargs.c180 acpi_ds_get_buffer_field_arguments(union acpi_operand_object *obj_desc) in acpi_ds_get_buffer_field_arguments() argument
186 ACPI_FUNCTION_TRACE_PTR(ds_get_buffer_field_arguments, obj_desc); in acpi_ds_get_buffer_field_arguments()
188 if (obj_desc->common.flags & AOPOBJ_DATA_VALID) { in acpi_ds_get_buffer_field_arguments()
194 extra_desc = acpi_ns_get_secondary_object(obj_desc); in acpi_ds_get_buffer_field_arguments()
195 node = obj_desc->buffer_field.node; in acpi_ds_get_buffer_field_arguments()
225 acpi_ds_get_bank_field_arguments(union acpi_operand_object *obj_desc) in acpi_ds_get_bank_field_arguments() argument
231 ACPI_FUNCTION_TRACE_PTR(ds_get_bank_field_arguments, obj_desc); in acpi_ds_get_bank_field_arguments()
233 if (obj_desc->common.flags & AOPOBJ_DATA_VALID) { in acpi_ds_get_bank_field_arguments()
239 extra_desc = acpi_ns_get_secondary_object(obj_desc); in acpi_ds_get_bank_field_arguments()
240 node = obj_desc->bank_field.node; in acpi_ds_get_bank_field_arguments()
[all …]
Dutids.c72 union acpi_operand_object *obj_desc; in acpi_ut_execute_HID() local
81 &obj_desc); in acpi_ut_execute_HID()
88 if (obj_desc->common.type == ACPI_TYPE_INTEGER) { in acpi_ut_execute_HID()
91 length = obj_desc->string.length + 1; in acpi_ut_execute_HID()
111 if (obj_desc->common.type == ACPI_TYPE_INTEGER) { in acpi_ut_execute_HID()
112 acpi_ex_eisa_id_to_string(hid->string, obj_desc->integer.value); in acpi_ut_execute_HID()
114 strcpy(hid->string, obj_desc->string.pointer); in acpi_ut_execute_HID()
124 acpi_ut_remove_reference(obj_desc); in acpi_ut_execute_HID()
149 union acpi_operand_object *obj_desc; in acpi_ut_execute_SUB() local
157 ACPI_BTYPE_STRING, &obj_desc); in acpi_ut_execute_SUB()
[all …]
Ddsmethod.c90 union acpi_operand_object *obj_desc) in acpi_ds_auto_serialize_method() argument
104 op = acpi_ps_alloc_op(AML_METHOD_OP, obj_desc->method.aml_start); in acpi_ds_auto_serialize_method()
123 obj_desc->method.aml_start, in acpi_ds_auto_serialize_method()
124 obj_desc->method.aml_length, NULL, 0); in acpi_ds_auto_serialize_method()
324 union acpi_operand_object *obj_desc, in acpi_ds_begin_method_execution() argument
335 acpi_ex_start_trace_method(method_node, obj_desc, walk_state); in acpi_ds_begin_method_execution()
339 if (obj_desc->method.thread_count == ACPI_UINT8_MAX) { in acpi_ds_begin_method_execution()
348 if (obj_desc->method.info_flags & ACPI_METHOD_SERIALIZED) { in acpi_ds_begin_method_execution()
354 if (!obj_desc->method.mutex) { in acpi_ds_begin_method_execution()
355 status = acpi_ds_create_method_mutex(obj_desc); in acpi_ds_begin_method_execution()
[all …]
Ddsopcode.c60 union acpi_operand_object *obj_desc,
80 union acpi_operand_object *obj_desc; in acpi_ds_initialize_region() local
83 obj_desc = acpi_ns_get_attached_object(obj_handle); in acpi_ds_initialize_region()
87 status = acpi_ev_initialize_region(obj_desc, FALSE); in acpi_ds_initialize_region()
110 union acpi_operand_object *obj_desc, in acpi_ds_init_buffer_field() argument
122 ACPI_FUNCTION_TRACE_PTR(ds_init_buffer_field, obj_desc); in acpi_ds_init_buffer_field()
246 status = acpi_ex_prep_common_field_object(obj_desc, field_flags, 0, in acpi_ds_init_buffer_field()
252 obj_desc->buffer_field.buffer_obj = buffer_desc; in acpi_ds_init_buffer_field()
258 obj_desc->common.reference_count); in acpi_ds_init_buffer_field()
278 obj_desc->buffer_field.flags |= AOPOBJ_DATA_VALID; in acpi_ds_init_buffer_field()
[all …]
Ddbmethod.c143 union acpi_operand_object *obj_desc; in acpi_db_set_method_data() local
168 obj_desc = node->object; in acpi_db_set_method_data()
169 obj_desc->integer.value = value; in acpi_db_set_method_data()
185 obj_desc = acpi_ut_create_integer_object((u64)value); in acpi_db_set_method_data()
186 if (!obj_desc) { in acpi_db_set_method_data()
205 index, obj_desc, in acpi_db_set_method_data()
211 obj_desc = walk_state->arguments[index].object; in acpi_db_set_method_data()
214 acpi_db_display_internal_object(obj_desc, walk_state); in acpi_db_set_method_data()
228 index, obj_desc, in acpi_db_set_method_data()
234 obj_desc = walk_state->local_variables[index].object; in acpi_db_set_method_data()
[all …]
Devhandler.c155 union acpi_operand_object *obj_desc; in acpi_ev_has_default_handler() local
160 obj_desc = acpi_ns_get_attached_object(node); in acpi_ev_has_default_handler()
161 if (obj_desc) { in acpi_ev_has_default_handler()
162 handler_obj = obj_desc->device.handler; in acpi_ev_has_default_handler()
204 union acpi_operand_object *obj_desc; in acpi_ev_install_handler() local
236 obj_desc = acpi_ns_get_attached_object(node); in acpi_ev_install_handler()
237 if (!obj_desc) { in acpi_ev_install_handler()
246 if (obj_desc->common.type == ACPI_TYPE_DEVICE) { in acpi_ev_install_handler()
250 next_handler_obj = obj_desc->device.handler; in acpi_ev_install_handler()
262 space_id), obj_desc, in acpi_ev_install_handler()
[all …]
Dexconvrt.c72 acpi_ex_convert_to_integer(union acpi_operand_object *obj_desc, in acpi_ex_convert_to_integer() argument
82 ACPI_FUNCTION_TRACE_PTR(ex_convert_to_integer, obj_desc); in acpi_ex_convert_to_integer()
84 switch (obj_desc->common.type) { in acpi_ex_convert_to_integer()
89 *result_desc = obj_desc; in acpi_ex_convert_to_integer()
97 pointer = obj_desc->buffer.pointer; in acpi_ex_convert_to_integer()
98 count = obj_desc->buffer.length; in acpi_ex_convert_to_integer()
119 switch (obj_desc->common.type) { in acpi_ex_convert_to_integer()
200 acpi_ex_convert_to_buffer(union acpi_operand_object *obj_desc, in acpi_ex_convert_to_buffer() argument
206 ACPI_FUNCTION_TRACE_PTR(ex_convert_to_buffer, obj_desc); in acpi_ex_convert_to_buffer()
208 switch (obj_desc->common.type) { in acpi_ex_convert_to_buffer()
[all …]
Drscreate.c220 union acpi_operand_object *obj_desc; in acpi_rs_create_pci_routing_table() local
297 obj_desc = sub_object_list[0]; in acpi_rs_create_pci_routing_table()
298 if (!obj_desc || obj_desc->common.type != ACPI_TYPE_INTEGER) { in acpi_rs_create_pci_routing_table()
302 acpi_ut_get_object_type_name(obj_desc))); in acpi_rs_create_pci_routing_table()
306 user_prt->address = obj_desc->integer.value; in acpi_rs_create_pci_routing_table()
310 obj_desc = sub_object_list[1]; in acpi_rs_create_pci_routing_table()
311 if (!obj_desc || obj_desc->common.type != ACPI_TYPE_INTEGER) { in acpi_rs_create_pci_routing_table()
315 acpi_ut_get_object_type_name(obj_desc))); in acpi_rs_create_pci_routing_table()
319 user_prt->pin = (u32) obj_desc->integer.value; in acpi_rs_create_pci_routing_table()
325 obj_desc = sub_object_list[2]; in acpi_rs_create_pci_routing_table()
[all …]
Dexresnte.c84 union acpi_operand_object *obj_desc = NULL; in acpi_ex_resolve_node_to_value() local
150 obj_desc = source_desc; in acpi_ex_resolve_node_to_value()
151 acpi_ut_add_reference(obj_desc); in acpi_ex_resolve_node_to_value()
168 obj_desc = source_desc; in acpi_ex_resolve_node_to_value()
169 acpi_ut_add_reference(obj_desc); in acpi_ex_resolve_node_to_value()
183 obj_desc = source_desc; in acpi_ex_resolve_node_to_value()
184 acpi_ut_add_reference(obj_desc); in acpi_ex_resolve_node_to_value()
197 obj_desc = source_desc; in acpi_ex_resolve_node_to_value()
198 acpi_ut_add_reference(obj_desc); in acpi_ex_resolve_node_to_value()
212 &obj_desc); in acpi_ex_resolve_node_to_value()
[all …]
Ddbstats.c55 static void acpi_db_enumerate_object(union acpi_operand_object *obj_desc);
160 static void acpi_db_enumerate_object(union acpi_operand_object *obj_desc) in acpi_db_enumerate_object() argument
164 if (!obj_desc) { in acpi_db_enumerate_object()
172 if (obj_desc->common.type > ACPI_TYPE_NS_NODE_MAX) { in acpi_db_enumerate_object()
175 acpi_gbl_obj_type_count[obj_desc->common.type]++; in acpi_db_enumerate_object()
180 switch (obj_desc->common.type) { in acpi_db_enumerate_object()
183 for (i = 0; i < obj_desc->package.count; i++) { in acpi_db_enumerate_object()
184 acpi_db_enumerate_object(obj_desc->package.elements[i]); in acpi_db_enumerate_object()
190 acpi_db_enumerate_object(obj_desc->device.notify_list[0]); in acpi_db_enumerate_object()
191 acpi_db_enumerate_object(obj_desc->device.notify_list[1]); in acpi_db_enumerate_object()
[all …]
Dnsaccess.c71 union acpi_operand_object *obj_desc; in acpi_ns_root_initialize() local
140 obj_desc = in acpi_ns_root_initialize()
142 if (!obj_desc) { in acpi_ns_root_initialize()
155 obj_desc->method.param_count = in acpi_ns_root_initialize()
157 obj_desc->common.flags |= AOPOBJ_DATA_VALID; in acpi_ns_root_initialize()
163 new_node->value = obj_desc->method.param_count; in acpi_ns_root_initialize()
167 obj_desc->method.info_flags = in acpi_ns_root_initialize()
169 obj_desc->method.dispatch.implementation = in acpi_ns_root_initialize()
176 obj_desc->integer.value = ACPI_TO_INTEGER(val); in acpi_ns_root_initialize()
183 obj_desc->string.length = (u32)strlen(val); in acpi_ns_root_initialize()
[all …]
Dexconfig.c63 acpi_ex_region_read(union acpi_operand_object *obj_desc,
86 union acpi_operand_object *obj_desc; in acpi_ex_add_table() local
94 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_LOCAL_REFERENCE); in acpi_ex_add_table()
95 if (!obj_desc) { in acpi_ex_add_table()
101 obj_desc->common.flags |= AOPOBJ_DATA_VALID; in acpi_ex_add_table()
102 obj_desc->reference.class = ACPI_REFCLASS_TABLE; in acpi_ex_add_table()
103 *ddb_handle = obj_desc; in acpi_ex_add_table()
107 obj_desc->reference.value = table_index; in acpi_ex_add_table()
113 acpi_ut_remove_reference(obj_desc); in acpi_ex_add_table()
286 acpi_ex_region_read(union acpi_operand_object *obj_desc, u32 length, u8 *buffer) in acpi_ex_region_read() argument
[all …]
Dacinterp.h103 acpi_ex_convert_to_integer(union acpi_operand_object *obj_desc,
107 acpi_ex_convert_to_buffer(union acpi_operand_object *obj_desc,
111 acpi_ex_convert_to_string(union acpi_operand_object *obj_desc,
136 union acpi_operand_object *obj_desc,
141 union acpi_operand_object *obj_desc,
160 acpi_ex_common_buffer_setup(union acpi_operand_object *obj_desc,
164 acpi_ex_write_with_update_rule(union acpi_operand_object *obj_desc,
182 union acpi_operand_object *obj_desc,
187 union acpi_operand_object *obj_desc,
194 acpi_ex_extract_from_field(union acpi_operand_object *obj_desc,
[all …]
Ddbutils.c135 void acpi_db_dump_external_object(union acpi_object *obj_desc, u32 level) in acpi_db_dump_external_object() argument
139 if (!obj_desc) { in acpi_db_dump_external_object()
148 switch (obj_desc->type) { in acpi_db_dump_external_object()
157 ACPI_FORMAT_UINT64(obj_desc->integer.value)); in acpi_db_dump_external_object()
163 obj_desc->string.length); in acpi_db_dump_external_object()
164 acpi_ut_print_string(obj_desc->string.pointer, ACPI_UINT8_MAX); in acpi_db_dump_external_object()
171 obj_desc->buffer.length); in acpi_db_dump_external_object()
172 if (obj_desc->buffer.length) { in acpi_db_dump_external_object()
173 if (obj_desc->buffer.length > 16) { in acpi_db_dump_external_object()
178 obj_desc->buffer.pointer), in acpi_db_dump_external_object()
[all …]
Drsutils.c472 union acpi_operand_object *obj_desc; in acpi_rs_get_prt_method_data() local
482 ACPI_BTYPE_PACKAGE, &obj_desc); in acpi_rs_get_prt_method_data()
491 status = acpi_rs_create_pci_routing_table(obj_desc, ret_buffer); in acpi_rs_get_prt_method_data()
495 acpi_ut_remove_reference(obj_desc); in acpi_rs_get_prt_method_data()
521 union acpi_operand_object *obj_desc; in acpi_rs_get_crs_method_data() local
531 ACPI_BTYPE_BUFFER, &obj_desc); in acpi_rs_get_crs_method_data()
541 status = acpi_rs_create_resource_list(obj_desc, ret_buffer); in acpi_rs_get_crs_method_data()
545 acpi_ut_remove_reference(obj_desc); in acpi_rs_get_crs_method_data()
571 union acpi_operand_object *obj_desc; in acpi_rs_get_prs_method_data() local
581 ACPI_BTYPE_BUFFER, &obj_desc); in acpi_rs_get_prs_method_data()
[all …]
Duteval.c211 union acpi_operand_object *obj_desc; in acpi_ut_evaluate_numeric_object() local
217 ACPI_BTYPE_INTEGER, &obj_desc); in acpi_ut_evaluate_numeric_object()
224 *value = obj_desc->integer.value; in acpi_ut_evaluate_numeric_object()
228 acpi_ut_remove_reference(obj_desc); in acpi_ut_evaluate_numeric_object()
252 union acpi_operand_object *obj_desc; in acpi_ut_execute_STA() local
258 ACPI_BTYPE_INTEGER, &obj_desc); in acpi_ut_execute_STA()
279 *flags = (u32) obj_desc->integer.value; in acpi_ut_execute_STA()
283 acpi_ut_remove_reference(obj_desc); in acpi_ut_execute_STA()
310 union acpi_operand_object *obj_desc; in acpi_ut_execute_power_methods() local
325 ACPI_BTYPE_INTEGER, &obj_desc); in acpi_ut_execute_power_methods()
[all …]
Ddbdisply.c178 union acpi_operand_object *obj_desc; in acpi_db_decode_and_display_object() local
326 obj_desc = acpi_ns_get_attached_object(node); in acpi_db_decode_and_display_object()
327 if (obj_desc) { in acpi_db_decode_and_display_object()
328 acpi_os_printf("\nAttached Object (%p):\n", obj_desc); in acpi_db_decode_and_display_object()
330 (obj_desc, sizeof(union acpi_operand_object))) { in acpi_db_decode_and_display_object()
333 obj_desc); in acpi_db_decode_and_display_object()
337 acpi_ut_debug_dump_buffer((void *)obj_desc, in acpi_db_decode_and_display_object()
340 acpi_ex_dump_object_descriptor(obj_desc, 1); in acpi_db_decode_and_display_object()
359 union acpi_operand_object *obj_desc; in acpi_db_display_method_info() local
378 obj_desc = walk_state->method_desc; in acpi_db_display_method_info()
[all …]
Dexsystem.c232 acpi_status acpi_ex_system_signal_event(union acpi_operand_object * obj_desc) in acpi_ex_system_signal_event() argument
238 if (obj_desc) { in acpi_ex_system_signal_event()
240 acpi_os_signal_semaphore(obj_desc->event.os_semaphore, 1); in acpi_ex_system_signal_event()
263 union acpi_operand_object *obj_desc) in acpi_ex_system_wait_event() argument
269 if (obj_desc) { in acpi_ex_system_wait_event()
271 acpi_ex_system_wait_semaphore(obj_desc->event.os_semaphore, in acpi_ex_system_wait_event()
291 acpi_status acpi_ex_system_reset_event(union acpi_operand_object *obj_desc) in acpi_ex_system_reset_event() argument
305 (void)acpi_os_delete_semaphore(obj_desc->event.os_semaphore); in acpi_ex_system_reset_event()
306 obj_desc->event.os_semaphore = temp_semaphore; in acpi_ex_system_reset_event()
Dnsrepair2.c119 acpi_ns_remove_element(union acpi_operand_object *obj_desc, u32 index);
447 union acpi_operand_object *obj_desc; in acpi_ns_repair_CST() local
472 obj_desc = (*outer_elements)->package.elements[1]; /* Index1 = Type */ in acpi_ns_repair_CST()
473 if ((u32)obj_desc->integer.value == 0) { in acpi_ns_repair_CST()
492 obj_desc = return_object->package.elements[0]; in acpi_ns_repair_CST()
493 obj_desc->integer.value = outer_element_count; in acpi_ns_repair_CST()
613 union acpi_operand_object *obj_desc; in acpi_ns_repair_PRT() local
641 obj_desc = sub_object_list[3]; in acpi_ns_repair_PRT()
642 if (!obj_desc || (obj_desc->common.type != ACPI_TYPE_INTEGER)) { in acpi_ns_repair_PRT()
644 sub_object_list[2] = obj_desc; in acpi_ns_repair_PRT()
[all …]
Dpsxface.c139 acpi_ds_begin_method_execution(info->node, info->obj_desc, NULL); in acpi_ps_execute_method()
154 info->node->name.ascii, info->node, info->obj_desc)); in acpi_ps_execute_method()
158 op = acpi_ps_create_scope_op(info->obj_desc->method.aml_start); in acpi_ps_execute_method()
168 acpi_ds_create_walk_state(info->obj_desc->method.owner_id, NULL, in acpi_ps_execute_method()
176 info->obj_desc->method.aml_start, in acpi_ps_execute_method()
177 info->obj_desc->method.aml_length, info, in acpi_ps_execute_method()
184 if (info->obj_desc->method.info_flags & ACPI_METHOD_MODULE_LEVEL) { in acpi_ps_execute_method()
190 if (info->obj_desc->method.info_flags & ACPI_METHOD_INTERNAL_ONLY) { in acpi_ps_execute_method()
192 info->obj_desc->method.dispatch.implementation(walk_state); in acpi_ps_execute_method()
Dutdecode.c233 char *acpi_ut_get_object_type_name(union acpi_operand_object *obj_desc) in acpi_ut_get_object_type_name() argument
237 if (!obj_desc) { in acpi_ut_get_object_type_name()
244 if ((ACPI_GET_DESCRIPTOR_TYPE(obj_desc) != ACPI_DESC_TYPE_OPERAND) && in acpi_ut_get_object_type_name()
245 (ACPI_GET_DESCRIPTOR_TYPE(obj_desc) != ACPI_DESC_TYPE_NAMED)) { in acpi_ut_get_object_type_name()
248 ACPI_GET_DESCRIPTOR_TYPE(obj_desc), in acpi_ut_get_object_type_name()
249 acpi_ut_get_descriptor_name(obj_desc), in acpi_ut_get_object_type_name()
250 obj_desc)); in acpi_ut_get_object_type_name()
255 return_PTR(acpi_ut_get_type_name(obj_desc->common.type)); in acpi_ut_get_object_type_name()
Devregion.c331 union acpi_operand_object *obj_desc; in acpi_ev_detach_region() local
359 obj_desc = handler_obj->address_space.region_list; in acpi_ev_detach_region()
360 start_desc = obj_desc; in acpi_ev_detach_region()
363 while (obj_desc) { in acpi_ev_detach_region()
367 if (obj_desc == region_obj) { in acpi_ev_detach_region()
374 *last_obj_ptr = obj_desc->region.next; in acpi_ev_detach_region()
375 obj_desc->region.next = NULL; /* Must clear field */ in acpi_ev_detach_region()
456 last_obj_ptr = &obj_desc->region.next; in acpi_ev_detach_region()
457 obj_desc = obj_desc->region.next; in acpi_ev_detach_region()
461 if (obj_desc == start_desc) { in acpi_ev_detach_region()
[all …]
Dnsalloc.c108 union acpi_operand_object *obj_desc; in acpi_ns_delete_node() local
123 obj_desc = node->object; in acpi_ns_delete_node()
124 while (obj_desc && (obj_desc->common.type == ACPI_TYPE_LOCAL_DATA)) { in acpi_ns_delete_node()
128 if (obj_desc->data.handler) { in acpi_ns_delete_node()
129 obj_desc->data.handler(node, obj_desc->data.pointer); in acpi_ns_delete_node()
132 next_desc = obj_desc->common.next_object; in acpi_ns_delete_node()
133 acpi_ut_remove_reference(obj_desc); in acpi_ns_delete_node()
134 obj_desc = next_desc; in acpi_ns_delete_node()
Ddsutils.c343 union acpi_operand_object *obj_desc; in acpi_ds_delete_result_if_not_used() local
361 status = acpi_ds_result_pop(&obj_desc, walk_state); in acpi_ds_delete_result_if_not_used()
466 union acpi_operand_object *obj_desc; in acpi_ds_create_operand() local
509 obj_desc = in acpi_ds_create_operand()
548 &obj_desc)); in acpi_ds_create_operand()
562 obj_desc = in acpi_ds_create_operand()
572 obj_desc = in acpi_ds_create_operand()
575 strncpy(obj_desc->string.pointer, in acpi_ds_create_operand()
604 status = acpi_ds_obj_stack_push(obj_desc, walk_state); in acpi_ds_create_operand()
609 (obj_desc, walk_state)); in acpi_ds_create_operand()
[all …]
Devxfregn.c176 union acpi_operand_object *obj_desc; in ACPI_EXPORT_SYMBOL() local
210 obj_desc = acpi_ns_get_attached_object(node); in ACPI_EXPORT_SYMBOL()
211 if (!obj_desc) { in ACPI_EXPORT_SYMBOL()
218 handler_obj = obj_desc->device.handler; in ACPI_EXPORT_SYMBOL()
219 last_obj_ptr = &obj_desc->device.handler; in ACPI_EXPORT_SYMBOL()
240 node, obj_desc)); in ACPI_EXPORT_SYMBOL()
286 node, obj_desc)); in ACPI_EXPORT_SYMBOL()
Dacdispat.h54 acpi_ds_get_buffer_field_arguments(union acpi_operand_object *obj_desc);
57 acpi_ds_get_bank_field_arguments(union acpi_operand_object *obj_desc);
61 acpi_status acpi_ds_get_buffer_arguments(union acpi_operand_object *obj_desc);
63 acpi_status acpi_ds_get_package_arguments(union acpi_operand_object *obj_desc);
94 union acpi_operand_object *obj_desc);
180 u8 acpi_ds_is_method_value(union acpi_operand_object *obj_desc);
206 union acpi_operand_object *obj_desc);
223 union acpi_operand_object *obj_desc,
249 union acpi_operand_object **obj_desc);
254 u16 opcode, union acpi_operand_object **obj_desc);
Ddsinit.c87 union acpi_operand_object *obj_desc; in acpi_ds_init_one_object() local
127 obj_desc = acpi_ns_get_attached_object(node); in acpi_ds_init_one_object()
128 if (!obj_desc) { in acpi_ds_init_one_object()
134 if (obj_desc->method.info_flags & ACPI_METHOD_SERIALIZED) { in acpi_ds_init_one_object()
143 acpi_ds_auto_serialize_method(node, obj_desc); in acpi_ds_init_one_object()
144 if (obj_desc->method. in acpi_ds_init_one_object()
Devxfgpe.c761 union acpi_operand_object *obj_desc; in ACPI_EXPORT_SYMBOL() local
808 obj_desc = acpi_ns_get_attached_object(node); in ACPI_EXPORT_SYMBOL()
809 if (!obj_desc) { in ACPI_EXPORT_SYMBOL()
815 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_DEVICE); in ACPI_EXPORT_SYMBOL()
816 if (!obj_desc) { in ACPI_EXPORT_SYMBOL()
822 acpi_ns_attach_object(node, obj_desc, ACPI_TYPE_DEVICE); in ACPI_EXPORT_SYMBOL()
826 acpi_ut_remove_reference(obj_desc); in ACPI_EXPORT_SYMBOL()
835 obj_desc->device.gpe_block = gpe_block; in ACPI_EXPORT_SYMBOL()
857 union acpi_operand_object *obj_desc; in ACPI_EXPORT_SYMBOL() local
887 obj_desc = acpi_ns_get_attached_object(node); in ACPI_EXPORT_SYMBOL()
[all …]
Dexmisc.c68 acpi_ex_get_object_reference(union acpi_operand_object *obj_desc, in acpi_ex_get_object_reference() argument
75 ACPI_FUNCTION_TRACE_PTR(ex_get_object_reference, obj_desc); in acpi_ex_get_object_reference()
79 switch (ACPI_GET_DESCRIPTOR_TYPE(obj_desc)) { in acpi_ex_get_object_reference()
82 if (obj_desc->common.type != ACPI_TYPE_LOCAL_REFERENCE) { in acpi_ex_get_object_reference()
89 switch (obj_desc->reference.class) { in acpi_ex_get_object_reference()
96 referenced_obj = obj_desc->reference.object; in acpi_ex_get_object_reference()
102 obj_desc->reference.class)); in acpi_ex_get_object_reference()
111 referenced_obj = obj_desc; in acpi_ex_get_object_reference()
117 ACPI_GET_DESCRIPTOR_TYPE(obj_desc))); in acpi_ex_get_object_reference()
135 obj_desc, acpi_ut_get_object_type_name(obj_desc), in acpi_ex_get_object_reference()
Ddsmthdat.c535 union acpi_operand_object *obj_desc, in acpi_ds_store_object_to_local() argument
545 type, index, obj_desc)); in acpi_ds_store_object_to_local()
549 if (!obj_desc) { in acpi_ds_store_object_to_local()
561 if (current_obj_desc == obj_desc) { in acpi_ds_store_object_to_local()
563 obj_desc)); in acpi_ds_store_object_to_local()
574 new_obj_desc = obj_desc; in acpi_ds_store_object_to_local()
575 if (obj_desc->common.reference_count > 1) { in acpi_ds_store_object_to_local()
577 acpi_ut_copy_iobject_to_iobject(obj_desc, &new_obj_desc, in acpi_ds_store_object_to_local()
638 if (new_obj_desc != obj_desc) { in acpi_ds_store_object_to_local()
661 if (new_obj_desc != obj_desc) { in acpi_ds_store_object_to_local()
Ddsfield.c97 union acpi_operand_object *obj_desc; in acpi_ds_create_external_region() local
118 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_REGION); in acpi_ds_create_external_region()
119 if (!obj_desc) { in acpi_ds_create_external_region()
123 obj_desc->region.node = *node; in acpi_ds_create_external_region()
124 status = acpi_ns_attach_object(*node, obj_desc, ACPI_TYPE_REGION); in acpi_ds_create_external_region()
155 union acpi_operand_object *obj_desc; in acpi_ds_create_buffer_field() local
228 obj_desc = acpi_ns_get_attached_object(node); in acpi_ds_create_buffer_field()
229 if (obj_desc) { in acpi_ds_create_buffer_field()
240 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_BUFFER_FIELD); in acpi_ds_create_buffer_field()
241 if (!obj_desc) { in acpi_ds_create_buffer_field()
[all …]
Dnsinit.c250 union acpi_operand_object *obj_desc; in acpi_ns_init_one_object() local
259 obj_desc = acpi_ns_get_attached_object(node); in acpi_ns_init_one_object()
260 if (!obj_desc) { in acpi_ns_init_one_object()
301 if (obj_desc->common.flags & AOPOBJ_DATA_VALID) { in acpi_ns_init_one_object()
317 status = acpi_ds_get_region_arguments(obj_desc); in acpi_ns_init_one_object()
323 status = acpi_ds_get_buffer_field_arguments(obj_desc); in acpi_ns_init_one_object()
329 status = acpi_ds_get_bank_field_arguments(obj_desc); in acpi_ns_init_one_object()
335 status = acpi_ds_get_buffer_arguments(obj_desc); in acpi_ns_init_one_object()
341 status = acpi_ds_get_package_arguments(obj_desc); in acpi_ns_init_one_object()
Dexutils.c152 u8 acpi_ex_truncate_for32bit_table(union acpi_operand_object *obj_desc) in acpi_ex_truncate_for32bit_table() argument
161 if ((!obj_desc) || in acpi_ex_truncate_for32bit_table()
162 (ACPI_GET_DESCRIPTOR_TYPE(obj_desc) != ACPI_DESC_TYPE_OPERAND) || in acpi_ex_truncate_for32bit_table()
163 (obj_desc->common.type != ACPI_TYPE_INTEGER)) { in acpi_ex_truncate_for32bit_table()
168 (obj_desc->integer.value > (u64)ACPI_UINT32_MAX)) { in acpi_ex_truncate_for32bit_table()
173 obj_desc->integer.value &= (u64)ACPI_UINT32_MAX; in acpi_ex_truncate_for32bit_table()
Dexstore.c232 union acpi_operand_object *obj_desc; in acpi_ex_store_object_to_index() local
254 obj_desc = *(index_desc->reference.where); in acpi_ex_store_object_to_index()
275 if (obj_desc) { in acpi_ex_store_object_to_index()
282 acpi_ut_remove_reference(obj_desc); in acpi_ex_store_object_to_index()
313 obj_desc = index_desc->reference.object; in acpi_ex_store_object_to_index()
314 if ((obj_desc->common.type != ACPI_TYPE_BUFFER) && in acpi_ex_store_object_to_index()
315 (obj_desc->common.type != ACPI_TYPE_STRING)) { in acpi_ex_store_object_to_index()
351 obj_desc->buffer.pointer[index_desc->reference.value] = value; in acpi_ex_store_object_to_index()
Dacdebug.h134 void acpi_db_dump_pld_buffer(union acpi_object *obj_desc);
186 acpi_db_display_result_object(union acpi_operand_object *obj_desc,
202 acpi_db_display_argument_object(union acpi_operand_object *obj_desc,
268 void acpi_db_decode_internal_object(union acpi_operand_object *obj_desc);
271 acpi_db_display_internal_object(union acpi_operand_object *obj_desc,
294 void acpi_db_dump_external_object(union acpi_object *obj_desc, u32 level);
Devrgnini.c506 union acpi_operand_object *obj_desc; in acpi_ev_initialize_region() local
562 obj_desc = acpi_ns_get_attached_object(node); in acpi_ev_initialize_region()
563 if (obj_desc) { in acpi_ev_initialize_region()
570 handler_obj = obj_desc->device.handler; in acpi_ev_initialize_region()
575 handler_obj = obj_desc->processor.handler; in acpi_ev_initialize_region()
580 handler_obj = obj_desc->thermal_zone.handler; in acpi_ev_initialize_region()
591 if (obj_desc->method. in acpi_ev_initialize_region()
594 obj_desc->method.dispatch.handler; in acpi_ev_initialize_region()
618 obj_desc)); in acpi_ev_initialize_region()
Devxface.c97 union acpi_operand_object *obj_desc; in acpi_install_notify_handler() local
155 obj_desc = acpi_ns_get_attached_object(node); in acpi_install_notify_handler()
156 if (!obj_desc) { in acpi_install_notify_handler()
160 obj_desc = acpi_ut_create_internal_object(node->type); in acpi_install_notify_handler()
161 if (!obj_desc) { in acpi_install_notify_handler()
168 status = acpi_ns_attach_object(device, obj_desc, node->type); in acpi_install_notify_handler()
169 acpi_ut_remove_reference(obj_desc); in acpi_install_notify_handler()
179 handler_obj = obj_desc->common_notify.notify_list[i]; in acpi_install_notify_handler()
209 obj_desc->common_notify.notify_list[i]; in acpi_install_notify_handler()
211 obj_desc->common_notify.notify_list[i] = handler_obj; in acpi_install_notify_handler()
[all …]
Dexdebug.c461 union acpi_operand_object *obj_desc, in acpi_ex_start_trace_method() argument
481 acpi_gbl_trace_method_object = obj_desc; in acpi_ex_start_trace_method()
499 obj_desc ? obj_desc->method.aml_start : NULL, in acpi_ex_start_trace_method()
524 union acpi_operand_object *obj_desc, in acpi_ex_stop_trace_method() argument
548 obj_desc ? obj_desc->method.aml_start : NULL, in acpi_ex_stop_trace_method()
559 if (acpi_gbl_trace_method_object == obj_desc) { in acpi_ex_stop_trace_method()
Dnsxfeval.c295 if (info->obj_desc->method.param_count > info->param_count) { in ACPI_EXPORT_SYMBOL()
299 info->obj_desc->method.param_count)); in ACPI_EXPORT_SYMBOL()
305 else if (info->obj_desc->method.param_count < info->param_count) { in ACPI_EXPORT_SYMBOL()
309 info->obj_desc->method.param_count)); in ACPI_EXPORT_SYMBOL()
313 info->param_count = info->obj_desc->method.param_count; in ACPI_EXPORT_SYMBOL()
487 union acpi_operand_object *obj_desc = NULL; in ACPI_EXPORT_SYMBOL() local
506 obj_desc = *(info->return_object->reference.where); in ACPI_EXPORT_SYMBOL()
513 obj_desc = node->object; in ACPI_EXPORT_SYMBOL()
524 if (obj_desc) { in ACPI_EXPORT_SYMBOL()
525 acpi_ut_add_reference(obj_desc); in ACPI_EXPORT_SYMBOL()
[all …]
Ddswexec.c93 union acpi_operand_object *obj_desc; in acpi_ds_get_predicate_value() local
101 status = acpi_ds_result_pop(&obj_desc, walk_state); in acpi_ds_get_predicate_value()
121 obj_desc = walk_state->operands[0]; in acpi_ds_get_predicate_value()
124 if (!obj_desc) { in acpi_ds_get_predicate_value()
127 obj_desc, walk_state)); in acpi_ds_get_predicate_value()
136 status = acpi_ex_convert_to_integer(obj_desc, &local_obj_desc, 16); in acpi_ds_get_predicate_value()
144 obj_desc, walk_state, obj_desc->common.type)); in acpi_ds_get_predicate_value()
188 if (local_obj_desc != obj_desc) { in acpi_ds_get_predicate_value()
191 acpi_ut_remove_reference(obj_desc); in acpi_ds_get_predicate_value()
Ddscontrol.c303 (walk_state->results->results.obj_desc[0]) == in acpi_ds_exec_end_control_op()
305 && ((walk_state->results->results.obj_desc[0])-> in acpi_ds_exec_end_control_op()
307 && ((walk_state->results->results.obj_desc[0])-> in acpi_ds_exec_end_control_op()
312 obj_desc[0], in acpi_ds_exec_end_control_op()
320 walk_state->results->results.obj_desc[0]; in acpi_ds_exec_end_control_op()
Devmisc.c104 union acpi_operand_object *obj_desc; in acpi_ev_queue_notify_request() local
128 obj_desc = acpi_ns_get_attached_object(node); in acpi_ev_queue_notify_request()
129 if (obj_desc) { in acpi_ev_queue_notify_request()
134 obj_desc->common_notify.notify_list[handler_list_id]; in acpi_ev_queue_notify_request()
Dutresrc.c810 acpi_ut_get_resource_end_tag(union acpi_operand_object *obj_desc, u8 **end_tag) in acpi_ut_get_resource_end_tag() argument
818 if (!obj_desc->buffer.length) { in acpi_ut_get_resource_end_tag()
819 *end_tag = obj_desc->buffer.pointer; in acpi_ut_get_resource_end_tag()
825 status = acpi_ut_walk_aml_resources(NULL, obj_desc->buffer.pointer, in acpi_ut_get_resource_end_tag()
826 obj_desc->buffer.length, NULL, in acpi_ut_get_resource_end_tag()
Ddbtest.c276 union acpi_operand_object *obj_desc; in acpi_db_test_one_object() local
284 obj_desc = node->object; in acpi_db_test_one_object()
302 byte_length = obj_desc->string.length; in acpi_db_test_one_object()
308 byte_length = obj_desc->buffer.length; in acpi_db_test_one_object()
319 if (obj_desc) { in acpi_db_test_one_object()
325 bit_length = obj_desc->common_field.bit_length; in acpi_db_test_one_object()
344 if (!obj_desc) { in acpi_db_test_one_object()
356 region_obj = obj_desc->field.region_obj; in acpi_db_test_one_object()
408 region_obj = obj_desc->field.region_obj; in acpi_db_test_one_object()
Ddswstate.c108 *object = state->results.obj_desc[index]; in acpi_ds_result_pop()
116 state->results.obj_desc[index] = NULL; in acpi_ds_result_pop()
191 state->results.obj_desc[index] = object; in acpi_ds_result_push()
406 union acpi_operand_object *obj_desc; in acpi_ds_obj_stack_pop_and_delete() local
422 obj_desc = walk_state->operands[i]; in acpi_ds_obj_stack_pop_and_delete()
423 if (obj_desc) { in acpi_ds_obj_stack_pop_and_delete()
Dnseval.c125 info->obj_desc = acpi_ns_get_attached_object(info->node); in acpi_ns_evaluate()
215 if (!info->obj_desc) { in acpi_ns_evaluate()
226 info->obj_desc->method.aml_start + 1, in acpi_ns_evaluate()
227 info->obj_desc->method.aml_length - 1)); in acpi_ns_evaluate()
Dnsrepair.c476 union acpi_operand_object *obj_desc) in acpi_ns_remove_null_elements() argument
509 count = obj_desc->package.count; in acpi_ns_remove_null_elements()
512 source = obj_desc->package.elements; in acpi_ns_remove_null_elements()
537 obj_desc->package.count = new_count; in acpi_ns_remove_null_elements()
Devgpe.c275 union acpi_operand_object *obj_desc; in acpi_ev_get_gpe_event_info() local
303 obj_desc = in acpi_ev_get_gpe_event_info()
306 if (!obj_desc || !obj_desc->device.gpe_block) { in acpi_ev_get_gpe_event_info()
311 (gpe_number, obj_desc->device.gpe_block)); in acpi_ev_get_gpe_event_info()
Ddbnames.c776 union acpi_operand_object *obj_desc = in acpi_db_walk_for_references() local
783 if (node == (void *)obj_desc) { in acpi_db_walk_for_references()
790 if (acpi_ns_get_attached_object(node) == obj_desc) { in acpi_db_walk_for_references()
812 union acpi_operand_object *obj_desc; in acpi_db_find_references() local
818 obj_desc = ACPI_TO_POINTER(address); in acpi_db_find_references()
824 NULL, (void *)obj_desc, NULL); in acpi_db_find_references()
Ddbconvert.c381 void acpi_db_dump_pld_buffer(union acpi_object *obj_desc) in acpi_db_dump_pld_buffer() argument
390 if (obj_desc->type != ACPI_TYPE_PACKAGE) { in acpi_db_dump_pld_buffer()
394 buffer_desc = &obj_desc->package.elements[0]; in acpi_db_dump_pld_buffer()
Ddbexec.c316 union acpi_operand_object *obj_desc; in acpi_db_execution_walk() local
322 obj_desc = acpi_ns_get_attached_object(node); in acpi_db_execution_walk()
323 if (obj_desc->method.param_count) { in acpi_db_execution_walk()
Dacnamesp.h309 *obj_desc);
347 union acpi_operand_object *obj_desc);
Dacstruct.h191 union acpi_operand_object *obj_desc; /* Object attached to the resolved node */ member
Dacutils.h200 char *acpi_ut_get_object_type_name(union acpi_operand_object *obj_desc);
574 acpi_ut_get_resource_end_tag(union acpi_operand_object *obj_desc, u8 **end_tag);
Daclocal.h647 union acpi_operand_object *obj_desc[ACPI_RESULTS_FRAME_OBJ_NUM]; member
/linux-4.4.14/drivers/staging/fsl-mc/bus/
Ddprc-driver.c35 struct dprc_obj_desc *obj_desc = &objs->child_array[i]; in __fsl_mc_device_remove_if_not_in_mc() local
37 if (strlen(obj_desc->type) != 0 && in __fsl_mc_device_remove_if_not_in_mc()
38 FSL_MC_DEVICE_MATCH(mc_dev, obj_desc)) in __fsl_mc_device_remove_if_not_in_mc()
95 struct dprc_obj_desc *obj_desc = data; in __fsl_mc_device_match() local
98 return FSL_MC_DEVICE_MATCH(mc_dev, obj_desc); in __fsl_mc_device_match()
102 *obj_desc, in fsl_mc_device_lookup()
108 dev = device_find_child(&mc_bus_dev->dev, obj_desc, in fsl_mc_device_lookup()
126 struct dprc_obj_desc *obj_desc) in check_plugged_state_change() argument
130 (obj_desc->state & DPRC_OBJ_STATE_PLUGGED); in check_plugged_state_change()
133 (mc_dev->obj_desc.state & DPRC_OBJ_STATE_PLUGGED)) { in check_plugged_state_change()
[all …]
Dmc-bus.c54 if ((mc_dev->obj_desc.state & DPRC_OBJ_STATE_PLUGGED) == 0 && in fsl_mc_bus_match()
63 if (id->vendor == mc_dev->obj_desc.vendor && in fsl_mc_bus_match()
64 strcmp(id->obj_type, mc_dev->obj_desc.type) == 0) { in fsl_mc_bus_match()
65 if (id->ver_major == mc_dev->obj_desc.ver_major) { in fsl_mc_bus_match()
67 if (id->ver_minor != mc_dev->obj_desc.ver_minor) in fsl_mc_bus_match()
81 mc_dev->obj_desc.ver_major, in fsl_mc_bus_match()
82 mc_dev->obj_desc.ver_minor); in fsl_mc_bus_match()
87 mc_dev->obj_desc.ver_major, in fsl_mc_bus_match()
88 mc_dev->obj_desc.ver_minor); in fsl_mc_bus_match()
324 struct dprc_obj_desc *obj_desc = &mc_dev->obj_desc; in fsl_mc_device_get_mmio_regions() local
[all …]
Ddprc.c927 struct dprc_obj_desc *obj_desc) in dprc_get_obj() argument
944 obj_desc->id = mc_dec(cmd.params[0], 32, 32); in dprc_get_obj()
945 obj_desc->vendor = mc_dec(cmd.params[1], 0, 16); in dprc_get_obj()
946 obj_desc->irq_count = mc_dec(cmd.params[1], 16, 8); in dprc_get_obj()
947 obj_desc->region_count = mc_dec(cmd.params[1], 24, 8); in dprc_get_obj()
948 obj_desc->state = mc_dec(cmd.params[1], 32, 32); in dprc_get_obj()
949 obj_desc->ver_major = mc_dec(cmd.params[2], 0, 16); in dprc_get_obj()
950 obj_desc->ver_minor = mc_dec(cmd.params[2], 16, 16); in dprc_get_obj()
951 obj_desc->type[0] = mc_dec(cmd.params[3], 0, 8); in dprc_get_obj()
952 obj_desc->type[1] = mc_dec(cmd.params[3], 8, 8); in dprc_get_obj()
[all …]
Dmc-allocator.c45 if (WARN_ON(!FSL_MC_IS_ALLOCATABLE(mc_dev->obj_desc.type))) in fsl_mc_resource_pool_add_device()
75 resource->id = mc_dev->obj_desc.id; in fsl_mc_resource_pool_add_device()
110 if (WARN_ON(!FSL_MC_IS_ALLOCATABLE(mc_dev->obj_desc.type))) in fsl_mc_resource_pool_remove_device()
311 if (WARN_ON(dpmcp_dev->obj_desc.region_count == 0)) in fsl_mc_portal_allocate()
479 if (WARN_ON(!FSL_MC_IS_ALLOCATABLE(mc_dev->obj_desc.type))) in fsl_mc_allocator_probe()
487 error = object_type_to_pool_type(mc_dev->obj_desc.type, &pool_type); in fsl_mc_allocator_probe()
508 if (WARN_ON(!FSL_MC_IS_ALLOCATABLE(mc_dev->obj_desc.type))) in fsl_mc_allocator_remove()
Dmc-sys.c171 dpmcp_dev->obj_desc.id, in fsl_mc_io_set_dpmcp()
/linux-4.4.14/drivers/staging/fsl-mc/include/
Dmc-private.h21 (strcmp((_mc_dev)->obj_desc.type, (_obj_desc)->type) == 0 && \
22 (_mc_dev)->obj_desc.id == (_obj_desc)->id)
93 int __must_check fsl_mc_device_add(struct dprc_obj_desc *obj_desc,
Ddprc.h383 struct dprc_obj_desc *obj_desc);
390 struct dprc_obj_desc *obj_desc);
Dmc.h156 struct dprc_obj_desc obj_desc; member
/linux-4.4.14/include/scsi/
Dosd_protocol.h578 } __packed obj_desc; member
597 } __packed obj_desc; member
/linux-4.4.14/drivers/scsi/osd/
Dosd_initiator.c2001 cap->od.obj_desc.policy_access_tag = 0; in osd_sec_init_nosec_doall_caps()
2002 cap->od.obj_desc.allowed_partition_id = cpu_to_be64(obj->partition); in osd_sec_init_nosec_doall_caps()
2003 cap->od.obj_desc.allowed_object_id = cpu_to_be64(obj->id); in osd_sec_init_nosec_doall_caps()