/linux-6.6.21/drivers/acpi/acpica/ ! |
D | nssearch.c | 77 ACPI_CAST_PTR(char, &target_name), in acpi_ns_search_one_scope() 101 ACPI_CAST_PTR(struct acpi_namespace_node, in acpi_ns_search_one_scope() 109 ACPI_CAST_PTR(char, &target_name), in acpi_ns_search_one_scope() 129 ACPI_CAST_PTR(char, &target_name), in acpi_ns_search_one_scope() 181 ACPI_CAST_PTR(char, &target_name))); in acpi_ns_search_parent_tree() 188 ACPI_CAST_PTR(char, &target_name), in acpi_ns_search_parent_tree() 198 ACPI_CAST_PTR(char, &target_name))); in acpi_ns_search_parent_tree() 281 acpi_ut_repair_name(ACPI_CAST_PTR(char, &target_name)); in acpi_ns_search_and_enter() 304 ACPI_CAST_PTR(char, in acpi_ns_search_and_enter() 366 ACPI_CAST_PTR(char, &target_name), node)); in acpi_ns_search_and_enter()
|
D | tbprint.c | 105 } else if (ACPI_VALIDATE_RSDP_SIG(ACPI_CAST_PTR(struct acpi_table_rsdp, in acpi_tb_print_table_header() 111 ACPI_CAST_PTR(struct acpi_table_rsdp, header)->oem_id, in acpi_tb_print_table_header() 117 (ACPI_CAST_PTR(struct acpi_table_rsdp, header)-> in acpi_tb_print_table_header() 119 0) ? ACPI_CAST_PTR(struct acpi_table_rsdp, in acpi_tb_print_table_header() 121 ACPI_CAST_PTR(struct acpi_table_rsdp, in acpi_tb_print_table_header()
|
D | rsutils.c | 126 ACPI_MOVE_16_TO_16(&ACPI_CAST_PTR(u16, destination)[i], in acpi_rs_move_data() 127 &ACPI_CAST_PTR(u16, source)[i]); in acpi_rs_move_data() 132 ACPI_MOVE_32_TO_32(&ACPI_CAST_PTR(u32, destination)[i], in acpi_rs_move_data() 133 &ACPI_CAST_PTR(u32, source)[i]); in acpi_rs_move_data() 138 ACPI_MOVE_64_TO_64(&ACPI_CAST_PTR(u64, destination)[i], in acpi_rs_move_data() 139 &ACPI_CAST_PTR(u64, source)[i]); in acpi_rs_move_data() 330 (u32)strlen(ACPI_CAST_PTR(char, &aml_resource_source[1])) + in acpi_rs_get_resource_source() 341 ACPI_CAST_PTR(char, in acpi_rs_get_resource_source() 398 strcpy(ACPI_CAST_PTR(char, &aml_resource_source[1]), in acpi_rs_set_resource_source() 650 acpi_ut_evaluate_object(ACPI_CAST_PTR in acpi_rs_get_method_data()
|
D | rsdump.c | 150 prt_element = ACPI_CAST_PTR(struct acpi_pci_routing_table, route_table); in acpi_rs_dump_irq_list() 209 ACPI_CAST_PTR(char, table->pointer)); in acpi_rs_dump_descriptor() 214 acpi_rs_out_string(name, ACPI_CAST_PTR(char, target)); in acpi_rs_dump_descriptor() 314 ACPI_CAST_PTR(u32, in acpi_rs_dump_descriptor() 335 acpi_rs_dump_address_common(ACPI_CAST_PTR in acpi_rs_dump_descriptor() 344 acpi_rs_dump_resource_source(ACPI_CAST_PTR in acpi_rs_dump_descriptor() 355 ACPI_CAST_PTR(struct in acpi_rs_dump_descriptor() 365 ACPI_CAST_PTR(struct in acpi_rs_dump_descriptor()
|
D | dbcmds.c | 347 status = acpi_unload_parent_table(ACPI_CAST_PTR(acpi_handle, node)); in acpi_db_unload_acpi_table() 533 acpi_rs_dump_resource_list(ACPI_CAST_PTR(struct acpi_resource, in acpi_db_display_template() 764 node = ACPI_CAST_PTR(struct acpi_namespace_node, obj_handle); in acpi_db_device_resources() 773 ACPI_CAST_PTR(acpi_handle, &prt_node)); in acpi_db_device_resources() 775 ACPI_CAST_PTR(acpi_handle, &crs_node)); in acpi_db_device_resources() 777 ACPI_CAST_PTR(acpi_handle, &prs_node)); in acpi_db_device_resources() 779 ACPI_CAST_PTR(acpi_handle, &aei_node)); in acpi_db_device_resources() 815 acpi_rs_dump_irq_list(ACPI_CAST_PTR(u8, acpi_gbl_db_buffer)); in acpi_db_device_resources() 870 acpi_rs_dump_resource_list(ACPI_CAST_PTR(struct acpi_resource, in acpi_db_device_resources() 923 acpi_rs_dump_resource_list(ACPI_CAST_PTR in acpi_db_device_resources() [all …]
|
D | utglobal.c | 83 {"_REV", ACPI_TYPE_INTEGER, ACPI_CAST_PTR(char, 2)}, 85 {"_GL_", ACPI_TYPE_MUTEX, ACPI_CAST_PTR(char, 1)}, 86 {"_OSI", ACPI_TYPE_METHOD, ACPI_CAST_PTR(char, 1)},
|
D | exconfig.c | 194 ACPI_CAST_PTR(union acpi_operand_object, in acpi_ex_load_table_op() 293 acpi_ns_get_attached_object(ACPI_CAST_PTR in acpi_ex_load_op() 340 ACPI_CAST_PTR(u8, table_header)); in acpi_ex_load_op() 380 ACPI_CAST_PTR(u8, table)); in acpi_ex_load_op() 402 ACPI_CAST_PTR(struct acpi_table_header, in acpi_ex_load_op()
|
D | rslist.c | 55 aml_resource = ACPI_CAST_PTR(union aml_resource, aml); in acpi_rs_convert_aml_to_resources() 191 ACPI_CAST_PTR(union in acpi_rs_convert_resources_to_aml() 206 ACPI_CAST_PTR(union aml_resource, in acpi_rs_convert_resources_to_aml()
|
D | dspkginit.c | 197 ACPI_CAST_PTR(union acpi_operand_object, in acpi_ds_build_internal_package_obj() 270 acpi_ut_remove_reference(ACPI_CAST_PTR in acpi_ds_build_internal_package_obj() 307 op->common.node = ACPI_CAST_PTR(struct acpi_namespace_node, obj_desc); in acpi_ds_build_internal_package_obj() 467 resolved_node = ACPI_CAST_PTR(struct acpi_namespace_node, in acpi_ds_resolve_package_element()
|
D | nsconvert.c | 253 dword_buffer = ACPI_CAST_PTR(u32, new_object->buffer.pointer); in acpi_ns_convert_to_buffer() 325 unicode_buffer = ACPI_CAST_PTR(u16, new_object->buffer.pointer); in acpi_ns_convert_to_unicode() 405 buffer = ACPI_CAST_PTR(u8, new_object->buffer.pointer); in acpi_ns_convert_to_resource() 455 ACPI_CAST_PTR(struct acpi_namespace_node, scope); in acpi_ns_convert_to_reference()
|
D | utcksum.c | 52 acpi_ut_generate_checksum(ACPI_CAST_PTR(u8, table), length, in acpi_ut_verify_checksum() 93 checksum = acpi_ut_generate_checksum(ACPI_CAST_PTR(u8, cdat_table), in acpi_ut_verify_cdat_checksum()
|
D | dbutils.c | 47 if (strstr(ACPI_CAST_PTR(char, arguments[i].name), in acpi_db_match_argument() 48 ACPI_CAST_PTR(char, in acpi_db_match_argument() 140 acpi_ut_debug_dump_buffer(ACPI_CAST_PTR in acpi_db_dump_external_object()
|
D | nsxfobj.c | 115 *ret_handle = ACPI_CAST_PTR(acpi_handle, parent_node); in ACPI_EXPORT_SYMBOL() 200 *ret_handle = ACPI_CAST_PTR(acpi_handle, node); in ACPI_EXPORT_SYMBOL()
|
D | nsinit.c | 454 ACPI_CAST_PTR(struct acpi_device_walk_info, context); in acpi_ns_find_ini_methods() 460 node = ACPI_CAST_PTR(struct acpi_namespace_node, obj_handle); in acpi_ns_find_ini_methods() 519 ACPI_CAST_PTR(struct acpi_device_walk_info, context); in acpi_ns_init_one_device() 529 device_node = ACPI_CAST_PTR(struct acpi_namespace_node, obj_handle); in acpi_ns_init_one_device()
|
D | nsxfname.c | 85 ACPI_CAST_PTR(acpi_handle, acpi_gbl_root_node); in acpi_get_handle() 100 *ret_handle = ACPI_CAST_PTR(acpi_handle, node); in acpi_get_handle() 379 next_id_string = ACPI_CAST_PTR(char, info->compatible_id_list.ids); in acpi_get_object_info() 478 ACPI_CAST_PTR(struct acpi_table_header, buffer); in ACPI_EXPORT_SYMBOL()
|
D | utcopy.c | 251 ACPI_CAST_PTR(union acpi_object, info->free_space); in acpi_ut_copy_ielement_to_eelement() 311 external_object = ACPI_CAST_PTR(union acpi_object, buffer); in acpi_ut_copy_ipackage_to_epackage() 325 ACPI_CAST_PTR(union acpi_object, info.free_space); in acpi_ut_copy_ipackage_to_epackage() 379 ACPI_CAST_PTR(union in acpi_ut_copy_iobject_to_eobject() 662 memcpy(ACPI_CAST_PTR(char, dest_desc), in acpi_ut_copy_simple_object() 663 ACPI_CAST_PTR(char, source_desc), copy_size); in acpi_ut_copy_simple_object()
|
D | exstorob.c | 46 buffer = ACPI_CAST_PTR(u8, source_desc->buffer.pointer); in acpi_ex_store_buffer_to_buffer() 143 buffer = ACPI_CAST_PTR(u8, source_desc->string.pointer); in acpi_ex_store_string_to_string()
|
D | excreate.c | 51 ACPI_CAST_PTR(struct acpi_namespace_node, in acpi_ex_create_alias() 81 ACPI_CAST_PTR(union acpi_operand_object, target_node); in acpi_ex_create_alias() 88 ACPI_CAST_PTR(union acpi_operand_object, target_node); in acpi_ex_create_alias()
|
D | exregion.c | 518 pointer = ACPI_CAST_PTR(char, mapping->pointer) + in acpi_ex_data_table_space_handler() 528 memcpy(ACPI_CAST_PTR(char, value), pointer, in acpi_ex_data_table_space_handler() 534 memcpy(pointer, ACPI_CAST_PTR(char, value), in acpi_ex_data_table_space_handler()
|
D | uteval.c | 289 ACPI_CAST_PTR(char, in acpi_ut_execute_power_methods() 309 ACPI_CAST_PTR(char, method_names[i]), in acpi_ut_execute_power_methods()
|
D | nseval.c | 75 ACPI_CAST_PTR(struct acpi_namespace_node, in acpi_ns_evaluate() 235 ACPI_CAST_PTR(union acpi_operand_object, info->node); in acpi_ns_evaluate()
|
D | exdump.c | 399 *ACPI_CAST_PTR(void *, target)); in acpi_ex_dump_object() 439 start = *ACPI_CAST_PTR(void *, target); in acpi_ex_dump_object() 475 start = *ACPI_CAST_PTR(void *, target); in acpi_ex_dump_object() 511 start = *ACPI_CAST_PTR(void *, target); in acpi_ex_dump_object() 546 *ACPI_CAST_PTR(struct acpi_namespace_node *, in acpi_ex_dump_object() 953 acpi_ex_dump_object(ACPI_CAST_PTR(union acpi_operand_object, node), in acpi_ex_dump_namespace_node() 1075 acpi_ut_debug_dump_buffer(ACPI_CAST_PTR in acpi_ex_dump_package_obj()
|
D | rsxface.c | 348 ACPI_CAST_PTR(struct acpi_resource_address16, in ACPI_EXPORT_SYMBOL() 356 ACPI_CAST_PTR(struct acpi_resource_address32, in ACPI_EXPORT_SYMBOL() 524 resource = ACPI_CAST_PTR(struct acpi_resource, buffer->pointer); in acpi_walk_resource_buffer()
|
/linux-6.6.21/include/acpi/ ! |
D | actypes.h | 501 #define ACPI_CAST_PTR(t, p) ((t *) (acpi_uintptr_t) (p)) macro 503 #define ACPI_ADD_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) + (acpi_size)(b)… 504 #define ACPI_SUB_PTR(t, a, b) ACPI_CAST_PTR (t, (ACPI_CAST_PTR (u8, (a)) - (acpi_size)(b)… 505 #define ACPI_PTR_DIFF(a, b) ((acpi_size) (ACPI_CAST_PTR (u8, (a)) - ACPI_CAST_PTR (u8, … 509 #define ACPI_TO_POINTER(i) ACPI_CAST_PTR (void, (acpi_size) (i)) 521 #define ACPI_COMPARE_NAMESEG(a,b) (*ACPI_CAST_PTR (u32, (a)) == *ACPI_CAST_PTR (u32, (b))) 522 #define ACPI_COPY_NAMESEG(dest,src) (*ACPI_CAST_PTR (u32, (dest)) = *ACPI_CAST_PTR (u32, (src))) 524 #define ACPI_COMPARE_NAMESEG(a,b) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_CAST_PTR (char, … 525 #define ACPI_COPY_NAMESEG(dest,src) (strncpy (ACPI_CAST_PTR (char, (dest)), ACPI_CAST_PTR (char… 530 #define ACPI_VALIDATE_RSDP_SIG(a) (!strncmp (ACPI_CAST_PTR (char, (a)), ACPI_SIG_RSDP, 8)) [all …]
|
/linux-6.6.21/tools/power/acpi/tools/acpidump/ ! |
D | apdump.c | 78 rsdp = ACPI_CAST_PTR(struct acpi_table_rsdp, table); in ap_is_valid_checksum() 117 rsdp = ACPI_CAST_PTR(struct acpi_table_rsdp, table); in ap_get_table_length() 171 ACPI_CAST_PTR(u8, table), table_length, in ap_dump_table_buffer()
|