/linux-6.6.21/tools/power/acpi/os_specific/service_layers/ |
D | oslinuxtbl.c | 38 struct acpi_table_header **table); 42 char *signature, struct acpi_table_header **table); 44 static void osl_unmap_table(struct acpi_table_header *table); 59 struct acpi_table_header **table, 67 struct acpi_table_header **table, 156 struct acpi_table_header **table) in acpi_os_get_table_by_address() 159 struct acpi_table_header *mapped_table; in acpi_os_get_table_by_address() 160 struct acpi_table_header *local_table = NULL; in acpi_os_get_table_by_address() 221 struct acpi_table_header **table, in acpi_os_get_table_by_name() 349 struct acpi_table_header **table, in acpi_os_get_table_by_index() [all …]
|
/linux-6.6.21/include/acpi/ |
D | actbl3.h | 76 struct acpi_table_header header; /* Common ACPI table header */ 87 struct acpi_table_header header; /* Common ACPI table header */ 103 struct acpi_table_header header; /* Common ACPI table header */ 144 struct acpi_table_header header; /* Common ACPI table header */ 180 struct acpi_table_header header; /* Common ACPI table header */ 310 struct acpi_table_header header; /* Common ACPI table header */ 332 struct acpi_table_header header; /* Common ACPI table header */ 396 struct acpi_table_header header; /* Common ACPI table header */ 417 struct acpi_table_header header; /* Common ACPI table header */ 491 struct acpi_table_header header; /* Common ACPI table header */ [all …]
|
D | actbl1.h | 116 struct acpi_table_header header; 168 struct acpi_table_header header; /* Common ACPI table header */ 280 struct acpi_table_header header; /* Common ACPI table header */ 326 struct acpi_table_header header; /* Common ACPI table header */ 350 struct acpi_table_header header; /* Common ACPI table header */ 478 struct acpi_table_header header; /* Common ACPI table header */ 595 struct acpi_table_header header; /* Common ACPI table header */ 618 struct acpi_table_header header; /* Common ACPI table header */ 690 struct acpi_table_header header; /* Common ACPI table header */ 769 struct acpi_table_header header; /* Common ACPI table header */ [all …]
|
D | actbl2.h | 86 struct acpi_table_header header; 253 struct acpi_table_header header; /* Common ACPI table header */ 275 struct acpi_table_header header; /* Common ACPI table header */ 353 struct acpi_table_header header; 366 struct acpi_table_header header; /* Common ACPI table header */ 384 struct acpi_table_header header; 601 struct acpi_table_header header; /* Common ACPI table header */ 806 struct acpi_table_header header; /* Common ACPI table header */ 854 struct acpi_table_header header; /* Common ACPI table header */ 1364 struct acpi_table_header header; /* Common ACPI table header */ [all …]
|
D | acpiosxf.h | 70 acpi_os_table_override(struct acpi_table_header *existing_table, 71 struct acpi_table_header **new_table); 76 acpi_os_physical_table_override(struct acpi_table_header *existing_table, 381 struct acpi_table_header **table, 388 struct acpi_table_header **table, 395 struct acpi_table_header **table);
|
D | actbl.h | 68 struct acpi_table_header { struct 144 struct acpi_table_header header; /* Common ACPI table header */ 149 struct acpi_table_header header; /* Common ACPI table header */ 200 struct acpi_table_header header; /* Common ACPI table header */ 337 struct acpi_table_header *pointer;
|
/linux-6.6.21/drivers/acpi/acpica/ |
D | actables.h | 34 u8 flags, struct acpi_table_header *table); 39 u8 flags, struct acpi_table_header *table); 58 void acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length); 80 struct acpi_table_header **table_ptr, 84 acpi_tb_release_table(struct acpi_table_header *table, 90 struct acpi_table_header *table, 101 struct acpi_table_header *table, 125 struct acpi_table_header *header); 129 struct acpi_table_header *acpi_tb_copy_dsdt(u32 table_index); 139 struct acpi_table_header **out_table);
|
D | tbutils.c | 49 acpi_table_header, in acpi_tb_initialize_facs() 55 acpi_table_header, in acpi_tb_initialize_facs() 120 struct acpi_table_header *acpi_tb_copy_dsdt(u32 table_index) in acpi_tb_copy_dsdt() 122 struct acpi_table_header *new_table; in acpi_tb_copy_dsdt() 229 struct acpi_table_header *table; in acpi_tb_parse_root_table() 246 ACPI_CAST_PTR(struct acpi_table_header, in acpi_tb_parse_root_table() 275 table = acpi_os_map_memory(address, sizeof(struct acpi_table_header)); in acpi_tb_parse_root_table() 287 acpi_os_unmap_memory(table, sizeof(struct acpi_table_header)); in acpi_tb_parse_root_table() 289 if (length < (sizeof(struct acpi_table_header) + table_entry_size)) { in acpi_tb_parse_root_table() 311 table_count = (u32)((table->length - sizeof(struct acpi_table_header)) / in acpi_tb_parse_root_table() [all …]
|
D | tbprint.c | 22 acpi_tb_cleanup_table_header(struct acpi_table_header *out_header, 23 struct acpi_table_header *header); 67 acpi_tb_cleanup_table_header(struct acpi_table_header *out_header, in acpi_tb_cleanup_table_header() 68 struct acpi_table_header *header) in acpi_tb_cleanup_table_header() 71 memcpy(out_header, header, sizeof(struct acpi_table_header)); in acpi_tb_cleanup_table_header() 94 struct acpi_table_header *header) in acpi_tb_print_table_header() 96 struct acpi_table_header local_header; in acpi_tb_print_table_header()
|
D | nsparse.c | 47 struct acpi_table_header *table; in acpi_ns_execute_table() 63 if (table->length < sizeof(struct acpi_table_header)) { in acpi_ns_execute_table() 67 aml_start = (u8 *)table + sizeof(struct acpi_table_header); in acpi_ns_execute_table() 68 aml_length = table->length - sizeof(struct acpi_table_header); in acpi_ns_execute_table() 157 struct acpi_table_header *table; in acpi_ns_one_complete_parse() 169 if (table->length < sizeof(struct acpi_table_header)) { in acpi_ns_one_complete_parse() 173 aml_start = (u8 *)table + sizeof(struct acpi_table_header); in acpi_ns_one_complete_parse() 174 aml_length = table->length - sizeof(struct acpi_table_header); in acpi_ns_one_complete_parse()
|
D | tbxface.c | 217 u32 instance, struct acpi_table_header *out_table_header) in ACPI_EXPORT_SYMBOL_INIT() 221 struct acpi_table_header *header; in ACPI_EXPORT_SYMBOL_INIT() 251 acpi_table_header)); in ACPI_EXPORT_SYMBOL_INIT() 257 sizeof(struct acpi_table_header)); in ACPI_EXPORT_SYMBOL_INIT() 260 acpi_table_header)); in ACPI_EXPORT_SYMBOL_INIT() 267 sizeof(struct acpi_table_header)); in ACPI_EXPORT_SYMBOL_INIT() 298 u32 instance, struct acpi_table_header ** out_table) in ACPI_EXPORT_SYMBOL() 359 void acpi_put_table(struct acpi_table_header *table) in ACPI_EXPORT_SYMBOL() 405 acpi_get_table_by_index(u32 table_index, struct acpi_table_header **out_table) in ACPI_EXPORT_SYMBOL()
|
D | tbdata.c | 45 struct acpi_table_header *table; in acpi_tb_compare_tables() 88 u8 flags, struct acpi_table_header *table) in acpi_tb_init_table_descriptor() 133 struct acpi_table_header **table_ptr, in acpi_tb_acquire_table() 136 struct acpi_table_header *table = NULL; in acpi_tb_acquire_table() 185 acpi_tb_release_table(struct acpi_table_header *table, in acpi_tb_release_table() 225 u8 flags, struct acpi_table_header *table) in acpi_tb_acquire_temp_table() 238 acpi_table_header)); in acpi_tb_acquire_temp_table() 266 acpi_os_unmap_memory(table, sizeof(struct acpi_table_header)); in acpi_tb_acquire_temp_table() 397 table_desc->length = sizeof(struct acpi_table_header); in acpi_tb_validate_temp_table() 948 struct acpi_table_header *table; in acpi_tb_load_table() [all …]
|
D | exconfig.c | 283 struct acpi_table_header *table_header; in acpi_ex_load_op() 284 struct acpi_table_header *table; in acpi_ex_load_op() 332 table_header = ACPI_ALLOCATE(sizeof(struct acpi_table_header)); in acpi_ex_load_op() 339 sizeof(struct acpi_table_header), in acpi_ex_load_op() 350 if (length < sizeof(struct acpi_table_header)) { in acpi_ex_load_op() 395 if (obj_desc->buffer.length < sizeof(struct acpi_table_header)) { in acpi_ex_load_op() 402 ACPI_CAST_PTR(struct acpi_table_header, in acpi_ex_load_op() 411 if (length < sizeof(struct acpi_table_header)) { in acpi_ex_load_op()
|
/linux-6.6.21/drivers/acpi/ |
D | pptt.c | 24 static struct acpi_subtable_header *fetch_pptt_subtable(struct acpi_table_header *table_hdr, in fetch_pptt_subtable() 47 static struct acpi_pptt_processor *fetch_pptt_node(struct acpi_table_header *table_hdr, in fetch_pptt_node() 53 static struct acpi_pptt_cache *fetch_pptt_cache(struct acpi_table_header *table_hdr, in fetch_pptt_cache() 59 static struct acpi_subtable_header *acpi_get_pptt_resource(struct acpi_table_header *table_hdr, in acpi_get_pptt_resource() 102 static unsigned int acpi_pptt_walk_cache(struct acpi_table_header *table_hdr, in acpi_pptt_walk_cache() 147 acpi_find_cache_level(struct acpi_table_header *table_hdr, in acpi_find_cache_level() 195 static void acpi_count_levels(struct acpi_table_header *table_hdr, in acpi_count_levels() 216 static int acpi_pptt_leaf_node(struct acpi_table_header *table_hdr, in acpi_pptt_leaf_node() 262 static struct acpi_pptt_processor *acpi_find_processor_node(struct acpi_table_header *table_hdr, in acpi_find_processor_node() 318 static struct acpi_pptt_cache *acpi_find_cache_node(struct acpi_table_header *table_hdr, in acpi_find_cache_node() [all …]
|
D | acpi_configfs.c | 20 struct acpi_table_header *header; 27 const struct acpi_table_header *header = data; in acpi_table_aml_write() 66 static inline struct acpi_table_header *get_header(struct config_item *cfg) in get_header() 79 struct acpi_table_header *h = get_header(cfg); in acpi_table_aml_read() 101 struct acpi_table_header *h = get_header(cfg); in acpi_table_signature_show() 111 struct acpi_table_header *h = get_header(cfg); in acpi_table_length_show() 121 struct acpi_table_header *h = get_header(cfg); in acpi_table_revision_show() 131 struct acpi_table_header *h = get_header(cfg); in acpi_table_oem_id_show() 141 struct acpi_table_header *h = get_header(cfg); in acpi_table_oem_table_id_show() 151 struct acpi_table_header *h = get_header(cfg); in acpi_table_oem_revision_show() [all …]
|
D | tables.c | 341 struct acpi_table_header *table_header, struct acpi_subtable_proc *proc, in acpi_parse_entries_array() 405 struct acpi_table_header *table_header = NULL; in acpi_table_parse_entries_array() 489 struct acpi_table_header *table = NULL; in acpi_table_parse() 517 struct acpi_table_header *table = NULL; in check_multiple_madt() 534 static void acpi_table_taint(struct acpi_table_header *table) in acpi_table_taint() 571 #define ACPI_HEADER_SIZE sizeof(struct acpi_table_header) 585 struct acpi_table_header *table; in acpi_table_upgrade() 608 if (file.size < sizeof(struct acpi_table_header)) { in acpi_table_upgrade() 704 acpi_table_initrd_override(struct acpi_table_header *existing_table, in acpi_table_initrd_override() 709 struct acpi_table_header *table; in acpi_table_initrd_override() [all …]
|
D | custom_method.c | 29 struct acpi_table_header table; in cm_write() 39 if (count <= sizeof(struct acpi_table_header)) in cm_write() 42 sizeof(struct acpi_table_header))) in cm_write()
|
/linux-6.6.21/tools/power/acpi/tools/acpidump/ |
D | apdump.c | 15 ap_dump_table_buffer(struct acpi_table_header *table, 30 u8 ap_is_valid_header(struct acpi_table_header *table) in ap_is_valid_header() 46 if (table->length < sizeof(struct acpi_table_header)) { in ap_is_valid_header() 68 u8 ap_is_valid_checksum(struct acpi_table_header *table) in ap_is_valid_checksum() 106 u32 ap_get_table_length(struct acpi_table_header *table) in ap_get_table_length() 142 ap_dump_table_buffer(struct acpi_table_header *table, in ap_dump_table_buffer() 192 struct acpi_table_header *table; in ap_dump_all_tables() 251 struct acpi_table_header *table; in ap_dump_table_by_address() 296 struct acpi_table_header *table; in ap_dump_table_by_name() 367 struct acpi_table_header *table; in ap_dump_table_from_file()
|
D | acpidump.h | 71 u8 ap_is_valid_header(struct acpi_table_header *table); 73 u8 ap_is_valid_checksum(struct acpi_table_header *table); 75 u32 ap_get_table_length(struct acpi_table_header *table); 82 int ap_write_to_binary_file(struct acpi_table_header *table, u32 instance); 84 struct acpi_table_header *ap_get_table_from_file(char *pathname,
|
D | apfiles.c | 104 int ap_write_to_binary_file(struct acpi_table_header *table, u32 instance) in ap_write_to_binary_file() 179 struct acpi_table_header *ap_get_table_from_file(char *pathname, in ap_get_table_from_file() 182 struct acpi_table_header *buffer = NULL; in ap_get_table_from_file()
|
/linux-6.6.21/drivers/char/tpm/eventlog/ |
D | acpi.c | 30 struct acpi_table_header hdr; 89 (struct acpi_table_header **)&tbl); in tpm_read_log_acpi() 95 acpi_put_table((struct acpi_table_header *)tbl); in tpm_read_log_acpi() 104 acpi_put_table((struct acpi_table_header *)tbl); in tpm_read_log_acpi() 108 acpi_put_table((struct acpi_table_header *)tbl); in tpm_read_log_acpi() 113 (struct acpi_table_header **)&buff); in tpm_read_log_acpi() 129 acpi_put_table((struct acpi_table_header *)buff); in tpm_read_log_acpi()
|
/linux-6.6.21/include/linux/ |
D | efi-bgrt.h | 9 void efi_bgrt_init(struct acpi_table_header *table); 10 int __init acpi_parse_bgrt(struct acpi_table_header *table); 18 static inline void efi_bgrt_init(struct acpi_table_header *table) {} in efi_bgrt_init() 19 static inline int __init acpi_parse_bgrt(struct acpi_table_header *table) in acpi_parse_bgrt()
|
/linux-6.6.21/arch/x86/boot/compressed/ |
D | acpi.c | 199 struct acpi_table_header *header; in get_acpi_srat_table() 233 header = (struct acpi_table_header *)root_table; in get_acpi_srat_table() 235 if (len < sizeof(struct acpi_table_header) + size) in get_acpi_srat_table() 238 num_entries = (len - sizeof(struct acpi_table_header)) / size; in get_acpi_srat_table() 239 entry = (u8 *)(root_table + sizeof(struct acpi_table_header)); in get_acpi_srat_table() 248 header = (struct acpi_table_header *)acpi_table; in get_acpi_srat_table() 272 struct acpi_table_header *table_header; in count_immovable_mem_regions() 284 table_header = (struct acpi_table_header *)table_addr; in count_immovable_mem_regions()
|
/linux-6.6.21/drivers/acpi/riscv/ |
D | rhct.c | 12 static struct acpi_table_header *acpi_get_rhct(void) in acpi_get_rhct() 14 static struct acpi_table_header *rhct; in acpi_get_rhct() 37 int acpi_get_riscv_isa(struct acpi_table_header *table, unsigned int cpu, const char **isa) in acpi_get_riscv_isa()
|
/linux-6.6.21/arch/riscv/kernel/ |
D | time.c | 35 status = acpi_get_table(ACPI_SIG_RHCT, 0, (struct acpi_table_header **)&rhct); in time_init() 40 acpi_put_table((struct acpi_table_header *)rhct); in time_init()
|