/drivers/acpi/acpica/ |
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() 228 struct acpi_table_header *table; in acpi_tb_parse_root_table() 245 ACPI_CAST_PTR(struct acpi_table_header, in acpi_tb_parse_root_table() 274 table = acpi_os_map_memory(address, sizeof(struct acpi_table_header)); in acpi_tb_parse_root_table() 286 acpi_os_unmap_memory(table, sizeof(struct acpi_table_header)); in acpi_tb_parse_root_table() 288 if (length < (sizeof(struct acpi_table_header) + table_entry_size)) { in acpi_tb_parse_root_table() 310 table_count = (u32)((table->length - sizeof(struct acpi_table_header)) / in acpi_tb_parse_root_table() [all …]
|
D | tbprint.c | 21 acpi_tb_cleanup_table_header(struct acpi_table_header *out_header, 22 struct acpi_table_header *header); 66 acpi_tb_cleanup_table_header(struct acpi_table_header *out_header, in acpi_tb_cleanup_table_header() 67 struct acpi_table_header *header) in acpi_tb_cleanup_table_header() 70 memcpy(out_header, header, sizeof(struct acpi_table_header)); in acpi_tb_cleanup_table_header() 93 struct acpi_table_header *header) in acpi_tb_print_table_header() 95 struct acpi_table_header local_header; in acpi_tb_print_table_header() 152 acpi_status acpi_tb_verify_checksum(struct acpi_table_header *table, u32 length) in acpi_tb_verify_checksum()
|
D | actables.h | 34 u8 flags, struct acpi_table_header *table); 57 void acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length); 79 struct acpi_table_header **table_ptr, 83 acpi_tb_release_table(struct acpi_table_header *table, 121 struct acpi_table_header *header); 126 acpi_tb_verify_checksum(struct acpi_table_header *table, u32 length); 130 struct acpi_table_header *acpi_tb_copy_dsdt(u32 table_index); 140 struct acpi_table_header **out_table);
|
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() 120 struct acpi_table_header **table_ptr, in acpi_tb_acquire_table() 123 struct acpi_table_header *table = NULL; in acpi_tb_acquire_table() 135 table = ACPI_CAST_PTR(struct acpi_table_header, in acpi_tb_acquire_table() 174 acpi_tb_release_table(struct acpi_table_header *table, in acpi_tb_release_table() 213 struct acpi_table_header *table_header; in acpi_tb_acquire_temp_table() 222 sizeof(struct acpi_table_header)); in acpi_tb_acquire_temp_table() 230 sizeof(struct acpi_table_header)); in acpi_tb_acquire_temp_table() 236 table_header = ACPI_CAST_PTR(struct acpi_table_header, in acpi_tb_acquire_temp_table() [all …]
|
D | exconfig.c | 273 struct acpi_table_header *table_header; in acpi_ex_load_op() 274 struct acpi_table_header *table; in acpi_ex_load_op() 308 table_header = ACPI_ALLOCATE(sizeof(struct acpi_table_header)); in acpi_ex_load_op() 315 sizeof(struct acpi_table_header), in acpi_ex_load_op() 326 if (length < sizeof(struct acpi_table_header)) { in acpi_ex_load_op() 371 if (obj_desc->buffer.length < sizeof(struct acpi_table_header)) { in acpi_ex_load_op() 378 ACPI_CAST_PTR(struct acpi_table_header, in acpi_ex_load_op() 387 if (length < sizeof(struct acpi_table_header)) { in acpi_ex_load_op()
|
D | tbxfload.c | 105 struct acpi_table_header *new_dsdt; in ACPI_EXPORT_SYMBOL_INIT() 153 sizeof(struct acpi_table_header)); in ACPI_EXPORT_SYMBOL_INIT() 283 acpi_status acpi_load_table(struct acpi_table_header *table, u32 *table_idx) in ACPI_EXPORT_SYMBOL_INIT()
|
D | tbfind.c | 38 struct acpi_table_header header; in acpi_tb_find_table() 58 memset(&header, 0, sizeof(struct acpi_table_header)); in acpi_tb_find_table()
|
D | nsxfname.c | 477 struct acpi_table_header *table = in ACPI_EXPORT_SYMBOL() 478 ACPI_CAST_PTR(struct acpi_table_header, buffer); in ACPI_EXPORT_SYMBOL() 505 parser_state.aml = buffer + sizeof(struct acpi_table_header); in ACPI_EXPORT_SYMBOL()
|
D | dbfileio.c | 88 struct acpi_table_header *table; in acpi_db_load_tables()
|
D | psobject.c | 78 sizeof(struct acpi_table_header)))); in acpi_ps_get_aml_opcode() 92 sizeof(struct acpi_table_header))); in acpi_ps_get_aml_opcode() 102 sizeof(struct acpi_table_header) - in acpi_ps_get_aml_opcode()
|
/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() 101 static unsigned int acpi_pptt_walk_cache(struct acpi_table_header *table_hdr, in acpi_pptt_walk_cache() 136 acpi_find_cache_level(struct acpi_table_header *table_hdr, in acpi_find_cache_level() 180 static int acpi_count_levels(struct acpi_table_header *table_hdr, in acpi_count_levels() 204 static int acpi_pptt_leaf_node(struct acpi_table_header *table_hdr, in acpi_pptt_leaf_node() 250 static struct acpi_pptt_processor *acpi_find_processor_node(struct acpi_table_header *table_hdr, in acpi_find_processor_node() 284 static int acpi_find_cache_levels(struct acpi_table_header *table_hdr, in acpi_find_cache_levels() [all …]
|
D | acpi_configfs.c | 23 struct acpi_table_header *header; 30 const struct acpi_table_header *header = data; in acpi_table_aml_write() 69 static inline struct acpi_table_header *get_header(struct config_item *cfg) in get_header() 82 struct acpi_table_header *h = get_header(cfg); in acpi_table_aml_read() 104 struct acpi_table_header *h = get_header(cfg); in acpi_table_signature_show() 114 struct acpi_table_header *h = get_header(cfg); in acpi_table_length_show() 124 struct acpi_table_header *h = get_header(cfg); in acpi_table_revision_show() 134 struct acpi_table_header *h = get_header(cfg); in acpi_table_oem_id_show() 144 struct acpi_table_header *h = get_header(cfg); in acpi_table_oem_table_id_show() 154 struct acpi_table_header *h = get_header(cfg); in acpi_table_oem_revision_show() [all …]
|
D | tables.c | 285 struct acpi_table_header *table_header, in acpi_parse_entries_array() 350 struct acpi_table_header *table_header = NULL; in acpi_table_parse_entries_array() 414 struct acpi_table_header *table = NULL; in acpi_table_parse() 442 struct acpi_table_header *table = NULL; in check_multiple_madt() 459 static void acpi_table_taint(struct acpi_table_header *table) in acpi_table_taint() 495 #define ACPI_HEADER_SIZE sizeof(struct acpi_table_header) 509 struct acpi_table_header *table; in acpi_table_upgrade() 532 if (file.size < sizeof(struct acpi_table_header)) { in acpi_table_upgrade() 627 acpi_table_initrd_override(struct acpi_table_header *existing_table, in acpi_table_initrd_override() 632 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()
|
D | spcr.c | 30 static bool qdf2400_erratum_44_present(struct acpi_table_header *h) in qdf2400_erratum_44_present() 101 (struct acpi_table_header **)&table); in acpi_parse_spcr() 223 acpi_put_table((struct acpi_table_header *)table); in acpi_parse_spcr()
|
D | acpi_watchdog.c | 69 (struct acpi_table_header **)&wdat); in acpi_watchdog_get_wdat() 76 acpi_put_table((struct acpi_table_header *)wdat); in acpi_watchdog_get_wdat() 193 acpi_put_table((struct acpi_table_header *)wdat); in acpi_watchdog_init()
|
D | processor_core.c | 24 (struct acpi_table_header **)&madt))) in get_madt_table() 151 (struct acpi_table_header **)&madt); in acpi_map_madt_entry() 157 acpi_put_table((struct acpi_table_header *)madt); in acpi_map_madt_entry()
|
D | acpi_lpit.c | 153 status = acpi_get_table(ACPI_SIG_LPIT, 0, (struct acpi_table_header **)&lpit); in acpi_init_lpit() 160 acpi_put_table((struct acpi_table_header *)lpit); in acpi_init_lpit()
|
/drivers/sfi/ |
D | sfi_acpi.c | 77 ((ptable->header.length - sizeof(struct acpi_table_header)) / \ 81 struct acpi_table_header *th) in acpi_to_sfi_th() 86 static inline struct acpi_table_header *sfi_to_acpi_th( in sfi_to_acpi_th() 89 return (struct acpi_table_header *)th; in sfi_to_acpi_th() 127 static struct acpi_table_header *sfi_acpi_get_table(struct sfi_table_key *key) in sfi_acpi_get_table() 142 static void sfi_acpi_put_table(struct acpi_table_header *table) in sfi_acpi_put_table() 153 int(*handler)(struct acpi_table_header *)) in sfi_acpi_table_parse() argument 155 struct acpi_table_header *table = NULL; in sfi_acpi_table_parse() 181 struct acpi_table_header *th = NULL; in sfi_acpi_table_show()
|
/drivers/char/tpm/eventlog/ |
D | acpi.c | 29 struct acpi_table_header hdr; 88 (struct acpi_table_header **)&tbl); in tpm_read_log_acpi() 94 acpi_put_table((struct acpi_table_header *)tbl); in tpm_read_log_acpi() 103 acpi_put_table((struct acpi_table_header *)tbl); in tpm_read_log_acpi() 107 acpi_put_table((struct acpi_table_header *)tbl); in tpm_read_log_acpi() 112 (struct acpi_table_header **)&buff); in tpm_read_log_acpi() 128 acpi_put_table((struct acpi_table_header *)buff); in tpm_read_log_acpi()
|
/drivers/acpi/apei/ |
D | bert.c | 129 status = acpi_get_table(ACPI_SIG_BERT, 0, (struct acpi_table_header **)&bert_tab); in bert_init() 165 acpi_put_table((struct acpi_table_header *)bert_tab); in bert_init()
|
D | hest.c | 239 (struct acpi_table_header **)&hest_tab); in acpi_hest_init() 269 acpi_put_table((struct acpi_table_header *)hest_tab); in acpi_hest_init()
|
/drivers/acpi/arm64/ |
D | gtdt.c | 155 int __init acpi_gtdt_init(struct acpi_table_header *table, in acpi_gtdt_init() 379 struct acpi_table_header *table; in gtdt_sbsa_gwdt_init()
|