Home
last modified time | relevance | path

Searched refs:acpi_table_header (Results 1 – 25 of 90) sorted by relevance

1234

/Linux-v4.19/tools/power/acpi/os_specific/service_layers/
Doslinuxtbl.c38 char *signature, 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-v4.19/include/acpi/
Dactbl3.h76 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 */
285 struct acpi_table_header header; /* Common ACPI table header */
307 struct acpi_table_header header; /* Common ACPI table header */
369 struct acpi_table_header header; /* Common ACPI table header */
435 struct acpi_table_header header; /* Common ACPI table header */
452 struct acpi_table_header header; /* Common ACPI table header */
[all …]
Dactbl1.h117 struct acpi_table_header header; /* Common ACPI table header */
229 struct acpi_table_header header; /* Common ACPI table header */
275 struct acpi_table_header header; /* Common ACPI table header */
299 struct acpi_table_header header; /* Common ACPI table header */
312 struct acpi_table_header header; /* Common ACPI table header */
335 struct acpi_table_header header; /* Common ACPI table header */
407 struct acpi_table_header header; /* Common ACPI table header */
473 struct acpi_table_header header; /* Common ACPI table header */
490 struct acpi_table_header header; /* Common ACPI table header */
619 struct acpi_table_header header; /* Common ACPI table header */
[all …]
Dactbl2.h75 struct acpi_table_header header;
254 struct acpi_table_header header; /* Common ACPI table header */
424 struct acpi_table_header header; /* Common ACPI table header */
472 struct acpi_table_header header; /* Common ACPI table header */
746 struct acpi_table_header header; /* Common ACPI table header */
771 struct acpi_table_header header; /* Common ACPI table header */
802 struct acpi_table_header header; /* Common ACPI table header */
889 struct acpi_table_header header; /* Common ACPI table header */
919 struct acpi_table_header header; /* Common ACPI table header */
934 struct acpi_table_header header; /* Common ACPI table header */
[all …]
Dacpiosxf.h70 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,
380 struct acpi_table_header **table,
387 struct acpi_table_header **table,
394 struct acpi_table_header **table);
Dactbl.h67 struct acpi_table_header { struct
143 struct acpi_table_header header; /* Common ACPI table header */
148 struct acpi_table_header header; /* Common ACPI table header */
199 struct acpi_table_header header; /* Common ACPI table header */
335 struct acpi_table_header *pointer;
/Linux-v4.19/drivers/acpi/acpica/
Dtbutils.c49 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 …]
Dtbprint.c21 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()
Dactables.h34 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);
Dnsparse.c47 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()
145 struct acpi_table_header *table; in acpi_ns_one_complete_parse()
157 if (table->length < sizeof(struct acpi_table_header)) { in acpi_ns_one_complete_parse()
161 aml_start = (u8 *)table + sizeof(struct acpi_table_header); in acpi_ns_one_complete_parse()
162 aml_length = table->length - sizeof(struct acpi_table_header); in acpi_ns_one_complete_parse()
Dtbxface.c217 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()
Dtbdata.c45 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 …]
Dexconfig.c274 struct acpi_table_header *table_header; in acpi_ex_load_op()
275 struct acpi_table_header *table; in acpi_ex_load_op()
309 table_header = ACPI_ALLOCATE(sizeof(struct acpi_table_header)); in acpi_ex_load_op()
316 sizeof(struct acpi_table_header), in acpi_ex_load_op()
327 if (length < sizeof(struct acpi_table_header)) { in acpi_ex_load_op()
372 if (obj_desc->buffer.length < sizeof(struct acpi_table_header)) { in acpi_ex_load_op()
379 ACPI_CAST_PTR(struct acpi_table_header, in acpi_ex_load_op()
388 if (length < sizeof(struct acpi_table_header)) { in acpi_ex_load_op()
/Linux-v4.19/drivers/sfi/
Dsfi_acpi.c77 ((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()
/Linux-v4.19/drivers/acpi/
Dpptt.c24 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 int acpi_pptt_walk_cache(struct acpi_table_header *table_hdr, in acpi_pptt_walk_cache()
135 static struct acpi_pptt_cache *acpi_find_cache_level(struct acpi_table_header *table_hdr, in acpi_find_cache_level()
179 static int acpi_count_levels(struct acpi_table_header *table_hdr, in acpi_count_levels()
203 static int acpi_pptt_leaf_node(struct acpi_table_header *table_hdr, in acpi_pptt_leaf_node()
246 static struct acpi_pptt_processor *acpi_find_processor_node(struct acpi_table_header *table_hdr, in acpi_find_processor_node()
280 static int acpi_find_cache_levels(struct acpi_table_header *table_hdr, in acpi_find_cache_levels()
[all …]
Dacpi_configfs.c25 struct acpi_table_header *header;
32 const struct acpi_table_header *header = data; in acpi_table_aml_write()
72 static inline struct acpi_table_header *get_header(struct config_item *cfg) in get_header()
85 struct acpi_table_header *h = get_header(cfg); in acpi_table_aml_read()
107 struct acpi_table_header *h = get_header(cfg); in acpi_table_signature_show()
117 struct acpi_table_header *h = get_header(cfg); in acpi_table_length_show()
127 struct acpi_table_header *h = get_header(cfg); in acpi_table_revision_show()
137 struct acpi_table_header *h = get_header(cfg); in acpi_table_oem_id_show()
147 struct acpi_table_header *h = get_header(cfg); in acpi_table_oem_table_id_show()
157 struct acpi_table_header *h = get_header(cfg); in acpi_table_oem_revision_show()
[all …]
Dtables.c246 struct acpi_table_header *table_header, in acpi_parse_entries_array()
324 struct acpi_table_header *table_header = NULL; in acpi_table_parse_entries_array()
387 struct acpi_table_header *table = NULL; in acpi_table_parse()
415 struct acpi_table_header *table = NULL; in check_multiple_madt()
432 static void acpi_table_taint(struct acpi_table_header *table) in acpi_table_taint()
467 #define ACPI_HEADER_SIZE sizeof(struct acpi_table_header)
481 struct acpi_table_header *table; in acpi_table_upgrade()
496 if (file.size < sizeof(struct acpi_table_header)) { in acpi_table_upgrade()
586 acpi_table_initrd_override(struct acpi_table_header *existing_table, in acpi_table_initrd_override()
591 struct acpi_table_header *table; in acpi_table_initrd_override()
[all …]
Dcustom_method.c29 struct acpi_table_header table; in cm_write()
34 if (count <= sizeof(struct acpi_table_header)) in cm_write()
37 sizeof(struct acpi_table_header))) in cm_write()
Dspcr.c34 static bool qdf2400_erratum_44_present(struct acpi_table_header *h) in qdf2400_erratum_44_present()
105 (struct acpi_table_header **)&table); in acpi_parse_spcr()
216 acpi_put_table((struct acpi_table_header *)table); in acpi_parse_spcr()
/Linux-v4.19/tools/power/acpi/tools/acpidump/
Dapdump.c15 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()
104 u32 ap_get_table_length(struct acpi_table_header *table) in ap_get_table_length()
140 ap_dump_table_buffer(struct acpi_table_header *table, in ap_dump_table_buffer()
190 struct acpi_table_header *table; in ap_dump_all_tables()
249 struct acpi_table_header *table; in ap_dump_table_by_address()
294 struct acpi_table_header *table; in ap_dump_table_by_name()
365 struct acpi_table_header *table; in ap_dump_table_from_file()
Dacpidump.h71 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,
Dapfiles.c98 int ap_write_to_binary_file(struct acpi_table_header *table, u32 instance) in ap_write_to_binary_file()
173 struct acpi_table_header *ap_get_table_from_file(char *pathname, in ap_get_table_from_file()
176 struct acpi_table_header *buffer = NULL; in ap_get_table_from_file()
/Linux-v4.19/include/linux/
Defi-bgrt.h9 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()
Dsfi_acpi.h68 int (*handler)(struct acpi_table_header *));
71 int (*handler)(struct acpi_table_header *)) in acpi_sfi_table_parse() argument
81 int (*handler)(struct acpi_table_header *)) in sfi_acpi_table_parse() argument
87 int (*handler)(struct acpi_table_header *)) in acpi_sfi_table_parse() argument
Dtboot.h146 extern struct acpi_table_header *tboot_get_dmar_table(
147 struct acpi_table_header *dmar_tbl);

1234