/linux/drivers/acpi/acpica/ |
A D | exmutex.c | 45 if (obj_desc->mutex.next) { in acpi_ex_unlink_mutex() 46 (obj_desc->mutex.next)->mutex.prev = obj_desc->mutex.prev; in acpi_ex_unlink_mutex() 49 if (obj_desc->mutex.prev) { in acpi_ex_unlink_mutex() 50 (obj_desc->mutex.prev)->mutex.next = obj_desc->mutex.next; in acpi_ex_unlink_mutex() 88 obj_desc->mutex.prev = NULL; in acpi_ex_link_mutex() 134 if (!obj_desc) { in acpi_ex_acquire_mutex_object() 199 if (!obj_desc) { in acpi_ex_acquire_mutex() 234 obj_desc, in acpi_ex_acquire_mutex() 348 if (!obj_desc) { in acpi_ex_release_mutex() 471 obj_desc = next; in acpi_ex_release_all_mutexes() [all …]
|
A D | dbobject.c | 96 if (!obj_desc) { in acpi_db_decode_internal_object() 109 switch (obj_desc->common.type) { in acpi_db_decode_internal_object() 212 if (!obj_desc) { in acpi_db_display_internal_object() 232 type = obj_desc->common.type; in acpi_db_display_internal_object() 258 (obj_desc); in acpi_db_display_internal_object() 271 (obj_desc); in acpi_db_display_internal_object() 297 (obj_desc-> in acpi_db_display_internal_object() 419 if (obj_desc) { in acpi_db_decode_locals() 434 if (obj_desc) { in acpi_db_decode_locals() 489 if (obj_desc) { in acpi_db_decode_arguments() [all …]
|
A D | exfield.c | 118 if (!obj_desc) { in acpi_ex_read_data_from_field() 208 obj_desc->field.bit_length)); in acpi_ex_read_data_from_field() 212 obj_desc->field.base_byte_offset, in acpi_ex_read_data_from_field() 222 obj_desc, obj_desc->common.type, buffer, in acpi_ex_read_data_from_field() 226 obj_desc->common_field.bit_length, in acpi_ex_read_data_from_field() 277 if (!source_desc || !obj_desc) { in acpi_ex_write_data_to_field() 346 acpi_ex_access_region(obj_desc, 0, in acpi_ex_write_data_to_field() 347 (u64 *)obj_desc->field. in acpi_ex_write_data_to_field() 389 obj_desc, in acpi_ex_write_data_to_field() 391 obj_desc->common.type, in acpi_ex_write_data_to_field() [all …]
|
A D | exfldio.c | 131 obj_desc->common_field. in acpi_ex_setup_region() 248 ACPI_MUL_8(obj_desc-> in acpi_ex_access_region() 369 switch (obj_desc->common.type) { in acpi_ex_field_datum_io() 504 obj_desc->common.type)); in acpi_ex_field_datum_io() 514 obj_desc->common_field. in acpi_ex_field_datum_io() 520 obj_desc->common_field. in acpi_ex_field_datum_io() 564 switch (obj_desc->common_field. in acpi_ex_write_with_update_rule() 714 obj_desc->common_field. in acpi_ex_extract_from_field() 756 obj_desc->common_field. in acpi_ex_extract_from_field() 878 obj_desc->common_field. in acpi_ex_insert_into_field() [all …]
|
A D | nsobject.c | 88 obj_desc = NULL; in acpi_ns_attach_object() 127 if (obj_desc) { in acpi_ns_attach_object() 176 if (!obj_desc || (obj_desc->common.type == ACPI_TYPE_LOCAL_DATA)) { in acpi_ns_detach_object() 283 *obj_desc) in acpi_ns_get_secondary_object() 287 if ((!obj_desc) || in acpi_ns_get_secondary_object() 324 while (obj_desc) { in acpi_ns_attach_data() 331 obj_desc = obj_desc->common.next_object; in acpi_ns_attach_data() 378 while (obj_desc) { in acpi_ns_detach_data() 393 obj_desc = obj_desc->common.next_object; in acpi_ns_detach_data() 421 while (obj_desc) { in acpi_ns_get_attached_data() [all …]
|
A D | dsobject.c | 97 if (!obj_desc) { in acpi_ds_build_internal_object() 103 &obj_desc); in acpi_ds_build_internal_object() 130 *obj_desc_ptr = obj_desc; in acpi_ds_build_internal_object() 168 obj_desc = *obj_desc_ptr; in acpi_ds_build_internal_buffer_obj() 169 if (!obj_desc) { in acpi_ds_build_internal_buffer_obj() 174 *obj_desc_ptr = obj_desc; in acpi_ds_build_internal_buffer_obj() 175 if (!obj_desc) { in acpi_ds_build_internal_buffer_obj() 282 &obj_desc); in acpi_ds_create_node() 346 obj_desc->buffer.node = in acpi_ds_init_object_from_op() 493 obj_desc-> in acpi_ds_init_object_from_op() [all …]
|
A D | exprep.c | 409 if (!obj_desc) { in acpi_ex_prep_field_value() 431 obj_desc->field.region_obj = in acpi_ex_prep_field_value() 449 obj_desc->field.resource_buffer = in acpi_ex_prep_field_value() 481 obj_desc->field.region_obj)); in acpi_ex_prep_field_value() 487 obj_desc->bank_field.region_obj = in acpi_ex_prep_field_value() 489 obj_desc->bank_field.bank_obj = in acpi_ex_prep_field_value() 524 obj_desc->index_field.index_obj = in acpi_ex_prep_field_value() 526 obj_desc->index_field.data_obj = in acpi_ex_prep_field_value() 559 obj_desc->index_field.value = in acpi_ex_prep_field_value() 561 obj_desc->index_field. in acpi_ex_prep_field_value() [all …]
|
A D | nsdump.c | 218 if (!obj_desc) { in acpi_ns_dump_one_object() 390 obj_desc); in acpi_ns_dump_one_object() 427 if (!obj_desc) { in acpi_ns_dump_one_object() 492 while (obj_desc) { in acpi_ns_dump_one_object() 549 obj_desc = (void *)obj_desc->string.pointer; in acpi_ns_dump_one_object() 558 obj_desc = in acpi_ns_dump_one_object() 565 obj_desc = (void *)obj_desc->package.elements; in acpi_ns_dump_one_object() 570 obj_desc = (void *)obj_desc->method.aml_start; in acpi_ns_dump_one_object() 575 obj_desc = (void *)obj_desc->field.region_obj; in acpi_ns_dump_one_object() 580 obj_desc = (void *)obj_desc->bank_field.region_obj; in acpi_ns_dump_one_object() [all …]
|
A D | exresop.c | 213 (obj_desc), in acpi_ex_resolve_operands() 235 obj_desc, in acpi_ex_resolve_operands() 391 (obj_desc), obj_desc)); in acpi_ex_resolve_operands() 416 (obj_desc), obj_desc)); in acpi_ex_resolve_operands() 443 (obj_desc), obj_desc)); in acpi_ex_resolve_operands() 472 (obj_desc), obj_desc)); in acpi_ex_resolve_operands() 509 (obj_desc), obj_desc)); in acpi_ex_resolve_operands() 537 (obj_desc), obj_desc)); in acpi_ex_resolve_operands() 560 (obj_desc), obj_desc)); in acpi_ex_resolve_operands() 584 (obj_desc), obj_desc)); in acpi_ex_resolve_operands() [all …]
|
A D | exdump.c | 353 if (!obj_desc) { in acpi_ex_dump_object() 594 if (!obj_desc) { in acpi_ex_dump_operand() 604 obj_desc)); in acpi_ex_dump_operand() 612 obj_desc, in acpi_ex_dump_operand() 626 obj_desc, obj_desc->common.reference_count)); in acpi_ex_dump_operand() 1049 if (!obj_desc) { in acpi_ex_dump_package_obj() 1128 if (!obj_desc) { in acpi_ex_dump_object_descriptor() 1145 obj_desc = ((struct acpi_namespace_node *)obj_desc)->object; in acpi_ex_dump_object_descriptor() 1161 obj_desc, acpi_ut_get_descriptor_name(obj_desc)); in acpi_ex_dump_object_descriptor() 1175 if (!obj_desc) { in acpi_ex_dump_object_descriptor() [all …]
|
A D | excreate.c | 112 if (!obj_desc) { in acpi_ex_create_event() 166 if (!obj_desc) { in acpi_ex_create_mutex() 181 obj_desc->mutex.node = in acpi_ex_create_mutex() 185 acpi_ns_attach_object(obj_desc->mutex.node, obj_desc, in acpi_ex_create_mutex() 257 if (!obj_desc) { in acpi_ex_create_region() 280 obj_desc->region.address = 0; in acpi_ex_create_region() 281 obj_desc->region.length = 0; in acpi_ex_create_region() 284 obj_desc->common.flags &= in acpi_ex_create_region() 325 if (!obj_desc) { in acpi_ex_create_processor() 372 if (!obj_desc) { in acpi_ex_create_power_resource() [all …]
|
A D | exresolv.c | 141 obj_desc)); in acpi_ex_resolve_object_to_value() 173 if (obj_desc) { in acpi_ex_resolve_object_to_value() 269 &obj_desc); in acpi_ex_resolve_object_to_value() 334 *)obj_desc); in acpi_ex_resolve_multiple() 348 if (!obj_desc) { in acpi_ex_resolve_multiple() 402 if (!obj_desc) { in acpi_ex_resolve_multiple() 433 obj_desc = *(obj_desc->reference.where); in acpi_ex_resolve_multiple() 434 if (!obj_desc) { in acpi_ex_resolve_multiple() 456 obj_desc-> in acpi_ex_resolve_multiple() 470 obj_desc-> in acpi_ex_resolve_multiple() [all …]
|
A D | dsargs.c | 161 node = obj_desc->buffer_field.node; in acpi_ds_get_buffer_field_arguments() 206 node = obj_desc->bank_field.node; in acpi_ds_get_bank_field_arguments() 224 obj_desc->region.address, in acpi_ds_get_bank_field_arguments() 255 node = obj_desc->buffer.node; in acpi_ds_get_buffer_arguments() 259 obj_desc)); in acpi_ds_get_buffer_arguments() 268 obj_desc->buffer.aml_length, in acpi_ds_get_buffer_arguments() 299 node = obj_desc->package.node; in acpi_ds_get_package_arguments() 303 obj_desc)); in acpi_ds_get_package_arguments() 308 obj_desc->package.aml_start)); in acpi_ds_get_package_arguments() 351 node = obj_desc->region.node; in acpi_ds_get_region_arguments() [all …]
|
A D | exserial.c | 36 ACPI_FUNCTION_TRACE_PTR(ex_read_gpio, obj_desc); in acpi_ex_read_gpio() 46 obj_desc->field.pin_number_index, in acpi_ex_read_gpio() 47 obj_desc->field.bit_length)); in acpi_ex_read_gpio() 79 union acpi_operand_object *obj_desc, in acpi_ex_write_gpio() argument 85 ACPI_FUNCTION_TRACE_PTR(ex_write_gpio, obj_desc); in acpi_ex_write_gpio() 104 obj_desc->field.pin_number_index, in acpi_ex_write_gpio() 105 obj_desc->field.bit_length)); in acpi_ex_write_gpio() 173 accessor_type = obj_desc->field.attribute; in acpi_ex_read_serial_bus() 221 status = acpi_ex_access_region(obj_desc, 0, in acpi_ex_read_serial_bus() 248 union acpi_operand_object *obj_desc, in acpi_ex_write_serial_bus() argument [all …]
|
A D | dsopcode.c | 296 if (!obj_desc) { in acpi_ds_eval_buffer_field_operands() 397 if (!obj_desc) { in acpi_ds_eval_region_operands() 412 if (!obj_desc->region.length in acpi_ds_eval_region_operands() 430 obj_desc, in acpi_ds_eval_region_operands() 432 obj_desc->region.length)); in acpi_ds_eval_region_operands() 527 if (!obj_desc) { in acpi_ds_eval_table_region_operands() 536 obj_desc, in acpi_ds_eval_table_region_operands() 538 obj_desc->region.length)); in acpi_ds_eval_table_region_operands() 630 &obj_desc); in acpi_ds_eval_data_object_operands() 638 &obj_desc); in acpi_ds_eval_data_object_operands() [all …]
|
A D | utids.c | 38 union acpi_operand_object *obj_desc; in acpi_ut_execute_HID() local 47 &obj_desc); in acpi_ut_execute_HID() 57 length = obj_desc->string.length + 1; in acpi_ut_execute_HID() 90 acpi_ut_remove_reference(obj_desc); in acpi_ut_execute_HID() 116 union acpi_operand_object *obj_desc; in acpi_ut_execute_UID() local 125 &obj_desc); in acpi_ut_execute_UID() 168 acpi_ut_remove_reference(obj_desc); in acpi_ut_execute_UID() 228 count = obj_desc->package.count; in acpi_ut_execute_CID() 233 cid_objects = &obj_desc; in acpi_ut_execute_CID() 311 acpi_ut_remove_reference(obj_desc); in acpi_ut_execute_CID() [all …]
|
A D | dsmethod.c | 88 obj_desc->method.aml_start, in acpi_ds_auto_serialize_method() 323 if (!obj_desc->method.mutex) { in acpi_ds_begin_method_execution() 342 (!(obj_desc->method. in acpi_ds_begin_method_execution() 378 obj_desc->method.mutex->mutex. in acpi_ds_begin_method_execution() 395 obj_desc->method.sync_level; in acpi_ds_begin_method_execution() 398 obj_desc->method.mutex->mutex. in acpi_ds_begin_method_execution() 417 if (!obj_desc->method.owner_id) { in acpi_ds_begin_method_execution() 428 obj_desc->method.thread_count++; in acpi_ds_begin_method_execution() 435 if (obj_desc->method.mutex) { in acpi_ds_begin_method_execution() 482 if (!obj_desc) { in acpi_ds_call_control_method() [all …]
|
A D | evhandler.c | 121 union acpi_operand_object *obj_desc; in acpi_ev_has_default_handler() local 127 if (obj_desc) { in acpi_ev_has_default_handler() 170 union acpi_operand_object *obj_desc; in acpi_ev_install_handler() local 203 if (!obj_desc) { in acpi_ev_install_handler() 219 obj_desc->common_notify. in acpi_ev_install_handler() 230 obj_desc, next_handler_obj, in acpi_ev_install_handler() 333 union acpi_operand_object *obj_desc; in acpi_ev_install_space_handler() local 408 if (obj_desc) { in acpi_ev_install_space_handler() 414 obj_desc-> in acpi_ev_install_space_handler() 449 if (!obj_desc) { in acpi_ev_install_space_handler() [all …]
|
A D | exconvrt.c | 50 switch (obj_desc->common.type) { in acpi_ex_convert_to_integer() 55 *result_desc = obj_desc; in acpi_ex_convert_to_integer() 64 count = obj_desc->buffer.length; in acpi_ex_convert_to_integer() 85 switch (obj_desc->common.type) { in acpi_ex_convert_to_integer() 182 switch (obj_desc->common.type) { in acpi_ex_convert_to_buffer() 187 *result_desc = obj_desc; in acpi_ex_convert_to_buffer() 219 obj_desc->string. in acpi_ex_convert_to_buffer() 229 obj_desc->string.length); in acpi_ex_convert_to_buffer() 385 switch (obj_desc->common.type) { in acpi_ex_convert_to_string() 390 *result_desc = obj_desc; in acpi_ex_convert_to_string() [all …]
|
A D | dspkginit.c | 90 obj_desc = *obj_desc_ptr; in acpi_ds_build_internal_package_obj() 91 if (!obj_desc) { in acpi_ds_build_internal_package_obj() 93 *obj_desc_ptr = obj_desc; in acpi_ds_build_internal_package_obj() 94 if (!obj_desc) { in acpi_ds_build_internal_package_obj() 111 if (!obj_desc->package.elements) { in acpi_ds_build_internal_package_obj() 140 obj_desc->package.aml_length = 0; in acpi_ds_build_internal_package_obj() 177 results.obj_desc[0]); in acpi_ds_build_internal_package_obj() 190 &obj_desc-> in acpi_ds_build_internal_package_obj() 203 &obj_desc->package. in acpi_ds_build_internal_package_obj() 218 obj_desc->package. in acpi_ds_build_internal_package_obj() [all …]
|
A D | rscreate.c | 263 obj_desc = sub_object_list[0]; in acpi_rs_create_pci_routing_table() 264 if (!obj_desc || obj_desc->common.type != ACPI_TYPE_INTEGER) { in acpi_rs_create_pci_routing_table() 276 obj_desc = sub_object_list[1]; in acpi_rs_create_pci_routing_table() 277 if (!obj_desc || obj_desc->common.type != ACPI_TYPE_INTEGER) { in acpi_rs_create_pci_routing_table() 291 obj_desc = sub_object_list[2]; in acpi_rs_create_pci_routing_table() 292 if (obj_desc) { in acpi_rs_create_pci_routing_table() 293 switch (obj_desc->common.type) { in acpi_rs_create_pci_routing_table() 296 if (obj_desc->reference.class != in acpi_rs_create_pci_routing_table() 353 (obj_desc))); in acpi_rs_create_pci_routing_table() 365 obj_desc = sub_object_list[3]; in acpi_rs_create_pci_routing_table() [all …]
|
A D | dbstats.c | 128 if (!obj_desc) { in acpi_db_enumerate_object() 136 if (obj_desc->common.type > ACPI_TYPE_NS_NODE_MAX) { in acpi_db_enumerate_object() 139 acpi_gbl_obj_type_count[obj_desc->common.type]++; in acpi_db_enumerate_object() 144 switch (obj_desc->common.type) { in acpi_db_enumerate_object() 147 for (i = 0; i < obj_desc->package.count; i++) { in acpi_db_enumerate_object() 161 if (acpi_ns_get_secondary_object(obj_desc)) { in acpi_db_enumerate_object() 174 acpi_db_enumerate_object(obj_desc->power_resource. in acpi_db_enumerate_object() 176 acpi_db_enumerate_object(obj_desc->power_resource. in acpi_db_enumerate_object() 219 union acpi_operand_object *obj_desc; in acpi_db_classify_one_object() local 225 obj_desc = acpi_ns_get_attached_object(node); in acpi_db_classify_one_object() [all …]
|
A D | acinterp.h | 103 union acpi_operand_object *obj_desc, 108 union acpi_operand_object *obj_desc, 152 union acpi_operand_object *obj_desc, 157 union acpi_operand_object *obj_desc, 229 acpi_ex_load_op(union acpi_operand_object *obj_desc, 244 union acpi_operand_object *obj_desc, 249 union acpi_operand_object *obj_desc, 282 union acpi_operand_object *obj_desc, 290 union acpi_operand_object *obj_desc, 298 union acpi_operand_object *obj_desc); [all …]
|
A D | exresnte.c | 116 obj_desc = source_desc; in acpi_ex_resolve_node_to_value() 134 obj_desc = source_desc; in acpi_ex_resolve_node_to_value() 149 obj_desc = source_desc; in acpi_ex_resolve_node_to_value() 150 acpi_ut_add_reference(obj_desc); in acpi_ex_resolve_node_to_value() 163 obj_desc = source_desc; in acpi_ex_resolve_node_to_value() 164 acpi_ut_add_reference(obj_desc); in acpi_ex_resolve_node_to_value() 178 &obj_desc); in acpi_ex_resolve_node_to_value() 191 obj_desc = source_desc; in acpi_ex_resolve_node_to_value() 192 acpi_ut_add_reference(obj_desc); in acpi_ex_resolve_node_to_value() 213 obj_desc = source_desc; in acpi_ex_resolve_node_to_value() [all …]
|
/linux/drivers/bus/fsl-mc/ |
A D | dprc-driver.c | 27 struct fsl_mc_obj_desc *obj_desc) in fsl_mc_device_match() argument 29 return mc_dev->obj_desc.id == obj_desc->id && in fsl_mc_device_match() 30 strcmp(mc_dev->obj_desc.type, obj_desc->type) == 0; in fsl_mc_device_match() 55 if (strlen(obj_desc->type) != 0 && in __fsl_mc_device_remove_if_not_in_mc() 207 if (strlen(obj_desc->type) > 0 && in dprc_add_new_devices() 281 i, obj_desc); in dprc_scan_objects() 290 obj_desc->type[0] = '\0'; in dprc_scan_objects() 291 obj_desc->id = error; in dprc_scan_objects() 301 (obj_desc->ver_major < 4)) in dprc_scan_objects() 302 obj_desc->flags |= in dprc_scan_objects() [all …]
|