Searched refs:obj_desc (Results 1 - 25 of 58) sorted by relevance

123

/drivers/acpi/acpica/
H A Dexmutex.c54 acpi_ex_link_mutex(union acpi_operand_object *obj_desc,
61 * PARAMETERS: obj_desc - The mutex to be unlinked
69 void acpi_ex_unlink_mutex(union acpi_operand_object *obj_desc) argument
71 struct acpi_thread_state *thread = obj_desc->mutex.owner_thread;
79 if (obj_desc->mutex.next) {
80 (obj_desc->mutex.next)->mutex.prev = obj_desc->mutex.prev;
83 if (obj_desc->mutex.prev) {
84 (obj_desc->mutex.prev)->mutex.next = obj_desc
113 acpi_ex_link_mutex(union acpi_operand_object *obj_desc, struct acpi_thread_state *thread) argument
160 acpi_ex_acquire_mutex_object(u16 timeout, union acpi_operand_object *obj_desc, acpi_thread_id thread_id) argument
224 acpi_ex_acquire_mutex(union acpi_operand_object *time_desc, union acpi_operand_object *obj_desc, struct acpi_walk_state *walk_state) argument
300 acpi_ex_release_mutex_object(union acpi_operand_object *obj_desc) argument
356 acpi_ex_release_mutex(union acpi_operand_object *obj_desc, struct acpi_walk_state *walk_state) argument
463 union acpi_operand_object *obj_desc; local
[all...]
H A Dexresop.c137 union acpi_operand_object *obj_desc; local
181 obj_desc = *stack_ptr;
185 switch (ACPI_GET_DESCRIPTOR_TYPE(obj_desc)) {
191 ((struct acpi_namespace_node *)obj_desc)->type;
199 obj_desc =
202 *)obj_desc);
203 *stack_ptr = obj_desc;
205 ((struct acpi_namespace_node *)obj_desc)->
214 object_type = obj_desc->common.type;
230 switch (obj_desc
[all...]
H A Dnsobject.c76 union acpi_operand_object *obj_desc; local
124 obj_desc = NULL;
138 obj_desc = ((struct acpi_namespace_node *)object)->object;
147 obj_desc = (union acpi_operand_object *)object;
155 obj_desc, node, acpi_ut_get_node_name(node)));
163 if (obj_desc) {
168 acpi_ut_add_reference(obj_desc);
174 last_obj_desc = obj_desc;
185 node->object = obj_desc;
206 union acpi_operand_object *obj_desc; local
313 acpi_ns_get_secondary_object(union acpi_operand_object *obj_desc) argument
349 union acpi_operand_object *obj_desc; local
405 union acpi_operand_object *obj_desc; local
450 union acpi_operand_object *obj_desc; local
[all...]
H A Dexfield.c118 * obj_desc - The named field
130 union acpi_operand_object *obj_desc,
140 ACPI_FUNCTION_TRACE_PTR(ex_read_data_from_field, obj_desc);
144 if (!obj_desc) {
151 if (obj_desc->common.type == ACPI_TYPE_BUFFER_FIELD) {
156 if (!(obj_desc->common.flags & AOPOBJ_DATA_VALID)) {
157 status = acpi_ds_get_buffer_field_arguments(obj_desc);
162 } else if ((obj_desc->common.type == ACPI_TYPE_LOCAL_REGION_FIELD) &&
163 (obj_desc->field.region_obj->region.space_id ==
165 || obj_desc
129 acpi_ex_read_data_from_field(struct acpi_walk_state * walk_state, union acpi_operand_object *obj_desc, union acpi_operand_object **ret_buffer_desc) argument
331 acpi_ex_write_data_to_field(union acpi_operand_object *source_desc, union acpi_operand_object *obj_desc, union acpi_operand_object **result_desc) argument
[all...]
H A Dexprep.c56 acpi_ex_decode_field_access(union acpi_operand_object *obj_desc,
213 * PARAMETERS: obj_desc - Field object
225 acpi_ex_decode_field_access(union acpi_operand_object *obj_desc, argument
241 acpi_ex_generate_access(obj_desc->common_field.
243 obj_desc->common_field.bit_length,
287 if (obj_desc->common.type == ACPI_TYPE_BUFFER_FIELD) {
304 * PARAMETERS: obj_desc - The field object
322 acpi_ex_prep_common_field_object(union acpi_operand_object *obj_desc, argument
338 obj_desc->common_field.field_flags = field_flags;
339 obj_desc
409 union acpi_operand_object *obj_desc; local
[all...]
H A Dexcreate.c170 union acpi_operand_object *obj_desc; local
174 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_EVENT);
175 if (!obj_desc) {
185 &obj_desc->event.os_semaphore);
194 operands[0], obj_desc, ACPI_TYPE_EVENT);
201 acpi_ut_remove_reference(obj_desc);
222 union acpi_operand_object *obj_desc; local
228 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_MUTEX);
229 if (!obj_desc) {
236 status = acpi_os_create_mutex(&obj_desc
281 union acpi_operand_object *obj_desc; local
375 union acpi_operand_object *obj_desc; local
423 union acpi_operand_object *obj_desc; local
471 union acpi_operand_object *obj_desc; local
[all...]
H A Ddsobject.c82 union acpi_operand_object *obj_desc; local
162 obj_desc =
170 &obj_desc),
183 type = obj_desc->common.type;
228 obj_desc = acpi_ut_create_internal_object((acpi_ps_get_opcode_info
231 if (!obj_desc) {
237 &obj_desc);
239 acpi_ut_remove_reference(obj_desc);
244 *obj_desc_ptr = obj_desc;
271 union acpi_operand_object *obj_desc; local
389 union acpi_operand_object *obj_desc = NULL; local
565 union acpi_operand_object *obj_desc; local
633 union acpi_operand_object *obj_desc; local
[all...]
H A Dnsdump.c176 union acpi_operand_object *obj_desc = NULL; local
236 obj_desc = acpi_ns_get_attached_object(this_node);
248 if (!obj_desc) {
275 obj_desc->processor.proc_id,
276 obj_desc->processor.length,
278 obj_desc->processor.
284 acpi_os_printf("Notify Object: %p\n", obj_desc);
290 (u32) obj_desc->method.param_count,
291 obj_desc->method.aml_length,
292 obj_desc
[all...]
H A Dexresolv.c142 union acpi_operand_object *obj_desc = NULL; local
167 &obj_desc);
175 obj_desc));
182 *stack_ptr = obj_desc;
205 obj_desc = *stack_desc->reference.where;
206 if (obj_desc) {
213 acpi_ut_add_reference(obj_desc);
214 *stack_ptr = obj_desc;
302 &obj_desc);
307 *stack_ptr = (void *)obj_desc;
340 union acpi_operand_object *obj_desc = (void *)operand; local
[all...]
H A 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,
70 * PARAMETERS: obj_desc - Field to be read or written
83 acpi_ex_setup_region(union acpi_operand_object *obj_desc, argument
92 rgn_desc = obj_desc->common_field.region_obj;
143 if (!(obj_desc->common.flags & AOPOBJ_DATA_VALID)) {
156 (obj_desc->common_field.base_byte_offset + field_datum_byte_offset +
157 obj_desc->common_field.access_byte_width)) {
165 obj_desc
230 acpi_ex_access_region(union acpi_operand_object *obj_desc, u32 field_datum_byte_offset, u64 *value, u32 function) argument
324 acpi_ex_register_overflow(union acpi_operand_object *obj_desc, u64 value) argument
372 acpi_ex_field_datum_io(union acpi_operand_object *obj_desc, u32 field_datum_byte_offset, u64 *value, u32 read_write) argument
578 acpi_ex_write_with_update_rule(union acpi_operand_object *obj_desc, u64 mask, u64 field_value, u32 field_datum_byte_offset) argument
681 acpi_ex_extract_from_field(union acpi_operand_object *obj_desc, void *buffer, u32 buffer_length) argument
838 acpi_ex_insert_into_field(union acpi_operand_object *obj_desc, void *buffer, u32 buffer_length) argument
[all...]
H A Ddsargs.c170 * PARAMETERS: obj_desc - A valid buffer_field object
180 acpi_ds_get_buffer_field_arguments(union acpi_operand_object *obj_desc) argument
186 ACPI_FUNCTION_TRACE_PTR(ds_get_buffer_field_arguments, obj_desc);
188 if (obj_desc->common.flags & AOPOBJ_DATA_VALID) {
194 extra_desc = acpi_ns_get_secondary_object(obj_desc);
195 node = obj_desc->buffer_field.node;
215 * PARAMETERS: obj_desc - A valid bank_field object
225 acpi_ds_get_bank_field_arguments(union acpi_operand_object *obj_desc) argument
231 ACPI_FUNCTION_TRACE_PTR(ds_get_bank_field_arguments, obj_desc);
233 if (obj_desc
276 acpi_ds_get_buffer_arguments(union acpi_operand_object *obj_desc) argument
320 acpi_ds_get_package_arguments(union acpi_operand_object *obj_desc) argument
364 acpi_ds_get_region_arguments(union acpi_operand_object *obj_desc) argument
[all...]
H A Dexresnte.c84 union acpi_operand_object *obj_desc = NULL; local
150 obj_desc = source_desc;
151 acpi_ut_add_reference(obj_desc);
168 obj_desc = source_desc;
169 acpi_ut_add_reference(obj_desc);
183 obj_desc = source_desc;
184 acpi_ut_add_reference(obj_desc);
197 obj_desc = source_desc;
198 acpi_ut_add_reference(obj_desc);
212 &obj_desc);
[all...]
H A 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,
351 * PARAMETERS: obj_desc - Descriptor to dump
362 acpi_ex_dump_object(union acpi_operand_object *obj_desc, argument
377 acpi_ut_get_object_type_name(obj_desc));
386 target = ACPI_ADD_PTR(u8, obj_desc, info->offset);
397 obj_desc->common.type,
398 acpi_ut_get_object_type_name(obj_desc));
433 acpi_ut_print_string(obj_desc
606 acpi_ex_dump_operand(union acpi_operand_object *obj_desc, u32 depth) argument
986 acpi_ex_dump_reference_obj(union acpi_operand_object *obj_desc) argument
1045 acpi_ex_dump_package_obj(union acpi_operand_object *obj_desc, u32 level, u32 index) argument
1138 acpi_ex_dump_object_descriptor(union acpi_operand_object *obj_desc, u32 flags) argument
[all...]
H A Dexconvrt.c60 * PARAMETERS: obj_desc - Object to be converted. Must be an
72 acpi_ex_convert_to_integer(union acpi_operand_object *obj_desc, argument
82 ACPI_FUNCTION_TRACE_PTR(ex_convert_to_integer, obj_desc);
84 switch (obj_desc->common.type) {
89 *result_desc = obj_desc;
97 pointer = obj_desc->buffer.pointer;
98 count = obj_desc->buffer.length;
119 switch (obj_desc->common.type) {
189 * PARAMETERS: obj_desc - Object to be converted. Must be an
200 acpi_ex_convert_to_buffer(union acpi_operand_object *obj_desc, argument
400 acpi_ex_convert_to_string(union acpi_operand_object * obj_desc, union acpi_operand_object ** result_desc, u32 type) argument
[all...]
H A Dutids.c72 union acpi_operand_object *obj_desc; local
81 &obj_desc);
88 if (obj_desc->common.type == ACPI_TYPE_INTEGER) {
91 length = obj_desc->string.length + 1;
111 if (obj_desc->common.type == ACPI_TYPE_INTEGER) {
112 acpi_ex_eisa_id_to_string(hid->string, obj_desc->integer.value);
114 ACPI_STRCPY(hid->string, obj_desc->string.pointer);
124 acpi_ut_remove_reference(obj_desc);
149 union acpi_operand_object *obj_desc; local
157 ACPI_BTYPE_STRING, &obj_desc);
217 union acpi_operand_object *obj_desc; local
301 union acpi_operand_object *obj_desc; local
[all...]
H A Dexsystem.c223 * PARAMETERS: obj_desc - The object descriptor for this op
232 acpi_status acpi_ex_system_signal_event(union acpi_operand_object * obj_desc) argument
238 if (obj_desc) {
240 acpi_os_signal_semaphore(obj_desc->event.os_semaphore, 1);
251 * obj_desc - The object descriptor for this op
263 union acpi_operand_object *obj_desc)
269 if (obj_desc) {
271 acpi_ex_system_wait_semaphore(obj_desc->event.os_semaphore,
283 * PARAMETERS: obj_desc - The object descriptor for this op
291 acpi_status acpi_ex_system_reset_event(union acpi_operand_object *obj_desc) argument
262 acpi_ex_system_wait_event(union acpi_operand_object *time_desc, union acpi_operand_object *obj_desc) argument
[all...]
H A Devhandler.c155 union acpi_operand_object *obj_desc; local
160 obj_desc = acpi_ns_get_attached_object(node);
161 if (obj_desc) {
162 handler_obj = obj_desc->device.handler;
204 union acpi_operand_object *obj_desc; local
236 obj_desc = acpi_ns_get_attached_object(node);
237 if (!obj_desc) {
246 if (obj_desc->common.type == ACPI_TYPE_DEVICE) {
250 next_handler_obj = obj_desc->device.handler;
262 space_id), obj_desc,
333 union acpi_operand_object *obj_desc; local
[all...]
H A Drscreate.c220 union acpi_operand_object *obj_desc; local
297 obj_desc = sub_object_list[0];
298 if (!obj_desc || obj_desc->common.type != ACPI_TYPE_INTEGER) {
302 acpi_ut_get_object_type_name(obj_desc)));
306 user_prt->address = obj_desc->integer.value;
310 obj_desc = sub_object_list[1];
311 if (!obj_desc || obj_desc->common.type != ACPI_TYPE_INTEGER) {
315 acpi_ut_get_object_type_name(obj_desc)));
[all...]
H A Ddsopcode.c60 union acpi_operand_object *obj_desc,
80 union acpi_operand_object *obj_desc; local
83 obj_desc = acpi_ns_get_attached_object(obj_handle);
87 status = acpi_ev_initialize_region(obj_desc, FALSE);
96 * obj_desc - buffer_field object
110 union acpi_operand_object *obj_desc,
122 ACPI_FUNCTION_TRACE_PTR(ds_init_buffer_field, obj_desc);
246 status = acpi_ex_prep_common_field_object(obj_desc, field_flags, 0,
252 obj_desc->buffer_field.buffer_obj = buffer_desc;
254 /* Reference count for buffer_desc inherits obj_desc coun
109 acpi_ds_init_buffer_field(u16 aml_opcode, union acpi_operand_object *obj_desc, union acpi_operand_object *buffer_desc, union acpi_operand_object *offset_desc, union acpi_operand_object *length_desc, union acpi_operand_object *result_desc) argument
303 union acpi_operand_object *obj_desc; local
387 union acpi_operand_object *obj_desc; local
479 union acpi_operand_object *obj_desc; local
574 acpi_ds_eval_data_object_operands(struct acpi_walk_state *walk_state, union acpi_parse_object *op, union acpi_operand_object *obj_desc) argument
681 union acpi_operand_object *obj_desc; local
[all...]
H A Dnsaccess.c71 union acpi_operand_object *obj_desc; local
140 obj_desc =
142 if (!obj_desc) {
155 obj_desc->method.param_count =
157 obj_desc->common.flags |= AOPOBJ_DATA_VALID;
163 new_node->value = obj_desc->method.param_count;
167 obj_desc->method.info_flags =
169 obj_desc->method.dispatch.implementation =
176 obj_desc->integer.value = ACPI_TO_INTEGER(val);
183 obj_desc
[all...]
H A Ddsmethod.c71 * obj_desc - Method object attached to node
92 union acpi_operand_object *obj_desc)
124 obj_desc->method.aml_start,
125 obj_desc->method.aml_length, NULL, 0);
266 * PARAMETERS: obj_desc - The method object
307 * obj_desc - The method object
321 union acpi_operand_object *obj_desc,
334 if (obj_desc->method.thread_count == ACPI_UINT8_MAX) {
343 if (obj_desc->method.info_flags & ACPI_METHOD_SERIALIZED) {
349 if (!obj_desc
91 acpi_ds_auto_serialize_method(struct acpi_namespace_node *node, union acpi_operand_object *obj_desc) argument
320 acpi_ds_begin_method_execution(struct acpi_namespace_node *method_node, union acpi_operand_object *obj_desc, struct acpi_walk_state *walk_state) argument
474 union acpi_operand_object *obj_desc; local
[all...]
H A Drsutils.c473 union acpi_operand_object *obj_desc; local
483 ACPI_BTYPE_PACKAGE, &obj_desc);
492 status = acpi_rs_create_pci_routing_table(obj_desc, ret_buffer);
496 acpi_ut_remove_reference(obj_desc);
522 union acpi_operand_object *obj_desc; local
532 ACPI_BTYPE_BUFFER, &obj_desc);
542 status = acpi_rs_create_resource_list(obj_desc, ret_buffer);
546 acpi_ut_remove_reference(obj_desc);
573 union acpi_operand_object *obj_desc; local
583 ACPI_BTYPE_BUFFER, &obj_desc);
624 union acpi_operand_object *obj_desc; local
675 union acpi_operand_object *obj_desc; local
[all...]
H A Duteval.c211 union acpi_operand_object *obj_desc; local
217 ACPI_BTYPE_INTEGER, &obj_desc);
224 *value = obj_desc->integer.value;
228 acpi_ut_remove_reference(obj_desc);
252 union acpi_operand_object *obj_desc; local
258 ACPI_BTYPE_INTEGER, &obj_desc);
279 *flags = (u32) obj_desc->integer.value;
283 acpi_ut_remove_reference(obj_desc);
310 union acpi_operand_object *obj_desc; local
325 ACPI_BTYPE_INTEGER, &obj_desc);
[all...]
H A Dexconfig.c63 acpi_ex_region_read(union acpi_operand_object *obj_desc,
86 union acpi_operand_object *obj_desc; local
94 obj_desc = acpi_ut_create_internal_object(ACPI_TYPE_LOCAL_REFERENCE);
95 if (!obj_desc) {
101 obj_desc->common.flags |= AOPOBJ_DATA_VALID;
102 obj_desc->reference.class = ACPI_REFCLASS_TABLE;
103 *ddb_handle = obj_desc;
107 obj_desc->reference.value = table_index;
113 acpi_ut_remove_reference(obj_desc);
282 * PARAMETERS: obj_desc
294 acpi_ex_region_read(union acpi_operand_object *obj_desc, u32 length, u8 *buffer) argument
341 acpi_ex_load_op(union acpi_operand_object *obj_desc, union acpi_operand_object *target, struct acpi_walk_state *walk_state) argument
[all...]
H A Devxfregn.c176 union acpi_operand_object *obj_desc; local
210 obj_desc = acpi_ns_get_attached_object(node);
211 if (!obj_desc) {
218 handler_obj = obj_desc->device.handler;
219 last_obj_ptr = &obj_desc->device.handler;
240 node, obj_desc));
286 node, obj_desc));

Completed in 189 milliseconds

123