Home
last modified time | relevance | path

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

123

/linux/tools/power/acpi/os_specific/service_layers/
H A Doslinuxtbl.c38 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 **tabl in acpi_os_get_table_by_index()
[all...]
H A Dosunixxf.c34 ae_table_override(struct acpi_table_header *existing_table,
35 struct acpi_table_header **new_table);
240 acpi_os_table_override(struct acpi_table_header *existing_table, in acpi_os_table_override()
241 struct acpi_table_header **new_table) in acpi_os_table_override()
277 acpi_os_physical_table_override(struct acpi_table_header *existing_table, in acpi_os_physical_table_override()
/linux/tools/power/acpi/tools/acpidump/
H A 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()
107 u32 ap_get_table_length(struct acpi_table_header *table) in ap_get_table_length()
143 ap_dump_table_buffer(struct acpi_table_header *table, in ap_dump_table_buffer()
193 struct acpi_table_header *table; in ap_dump_all_tables()
252 struct acpi_table_header *table; in ap_dump_table_by_address()
297 struct acpi_table_header *table; in ap_dump_table_by_name()
368 struct acpi_table_header *tabl in ap_dump_table_from_file()
[all...]
H A 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,
H A Dapfiles.c104 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/drivers/acpi/
H A Dacpi_configfs.c20 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 …]
H A Dtables.c247 struct acpi_table_header *table_header = NULL; in acpi_table_parse_entries_array()
332 struct acpi_table_header *table = NULL; in acpi_table_parse()
360 struct acpi_table_header *table = NULL; in check_multiple_madt()
377 static void acpi_table_taint(struct acpi_table_header *table) in acpi_table_taint()
414 #define ACPI_HEADER_SIZE sizeof(struct acpi_table_header)
428 struct acpi_table_header *table; in acpi_table_upgrade()
451 if (file.size < sizeof(struct acpi_table_header)) { in acpi_table_upgrade()
547 acpi_table_initrd_override(struct acpi_table_header *existing_table, in acpi_table_initrd_override()
552 struct acpi_table_header *table; in acpi_table_initrd_override()
610 struct acpi_table_header *table; in acpi_table_initrd_scan()
[all …]
H A Dspcr.c30 static bool qdf2400_erratum_44_present(struct acpi_table_header *h) in qdf2400_erratum_44_present()
98 status = acpi_get_table(ACPI_SIG_SPCR, 0, (struct acpi_table_header **)&table); in acpi_parse_spcr()
238 acpi_put_table((struct acpi_table_header *)table); in acpi_parse_spcr()
H A Dacpi_watchdog.c69 (struct acpi_table_header **)&wdat); in acpi_watchdog_get_wdat()
76 acpi_put_table((struct acpi_table_header *)wdat); in acpi_watchdog_get_wdat()
187 acpi_put_table((struct acpi_table_header *)wdat); in acpi_watchdog_init()
H A Dnhlt.c39 status = acpi_get_table(ACPI_SIG_NHLT, 0, (struct acpi_table_header **)(&acpi_gbl_nhlt)); in acpi_nhlt_get_gbl_table()
51 acpi_put_table((struct acpi_table_header *)acpi_gbl_nhlt); in acpi_nhlt_put_gbl_table()
/linux/include/linux/
H A 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()
H A Dtboot.h127 extern struct acpi_table_header *tboot_get_dmar_table(
128 struct acpi_table_header *dmar_tbl);
H A Dacpi.h143 typedef int (*acpi_tbl_table_handler)(struct acpi_table_header *table);
232 static inline struct acpi_table_header *acpi_get_table_pointer(char *signature, u32 instance) in acpi_get_table_pointer()
234 struct acpi_table_header *table; in acpi_get_table_pointer()
241 DEFINE_FREE(acpi_put_table, struct acpi_table_header *, if (!IS_ERR_OR_NULL(_T)) acpi_put_table(_T))
257 int acpi_parse_mcfg (struct acpi_table_header *header);
802 int acpi_gtdt_init(struct acpi_table_header *table, int *platform_timer_count);
982 struct acpi_table_header;
984 int (*handler)(struct acpi_table_header *)) in acpi_table_parse() argument
H A Dfw_table.h29 struct acpi_table_header acpi;
/linux/arch/x86/boot/compressed/
H A Dacpi.c206 struct acpi_table_header *header; in get_acpi_srat_table()
240 header = (struct acpi_table_header *)root_table; in get_acpi_srat_table()
242 if (len < sizeof(struct acpi_table_header) + size) in get_acpi_srat_table()
245 num_entries = (len - sizeof(struct acpi_table_header)) / size; in get_acpi_srat_table()
246 entry = (u8 *)(root_table + sizeof(struct acpi_table_header)); in get_acpi_srat_table()
255 header = (struct acpi_table_header *)acpi_table; in get_acpi_srat_table()
279 struct acpi_table_header *table_header; in count_immovable_mem_regions()
291 table_header = (struct acpi_table_header *)table_addr; in count_immovable_mem_regions()
/linux/arch/riscv/include/asm/
H A Dacpi.h67 int acpi_get_riscv_isa(struct acpi_table_header *table,
70 void acpi_get_cbo_block_size(struct acpi_table_header *table, u32 *cbom_size,
97 static inline int acpi_get_riscv_isa(struct acpi_table_header *table, in acpi_get_riscv_isa()
103 static inline void acpi_get_cbo_block_size(struct acpi_table_header *table, in acpi_get_cbo_block_size()
/linux/arch/riscv/kernel/
H A Dtime.c36 status = acpi_get_table(ACPI_SIG_RHCT, 0, (struct acpi_table_header **)&rhct); in time_init()
41 acpi_put_table((struct acpi_table_header *)rhct); in time_init()
/linux/sound/soc/sdca/
H A Dsdca_device.c33 acpi_put_table((struct acpi_table_header *)ptr); in devm_acpi_table_put()
41 (struct acpi_table_header **)&slave->sdca_data.swft); in sdca_lookup_swft()
/linux/drivers/acpi/apei/
H A Dbert.c133 status = acpi_get_table(ACPI_SIG_BERT, 0, (struct acpi_table_header **)&bert_tab); in bert_init()
169 acpi_put_table((struct acpi_table_header *)bert_tab); in bert_init()
H A Dhest.c295 (struct acpi_table_header **)&hest_tab); in acpi_hest_init()
325 acpi_put_table((struct acpi_table_header *)hest_tab); in acpi_hest_init()
/linux/arch/riscv/mm/
H A Dcacheflush.c147 struct acpi_table_header *rhct; in riscv_init_cbo_blocksizes()
166 acpi_put_table((struct acpi_table_header *)rhct); in riscv_init_cbo_blocksizes()
/linux/sound/hda/core/
H A Dintel-nhlt.c13 (struct acpi_table_header **)&nhlt); in intel_nhlt_init()
25 acpi_put_table((struct acpi_table_header *)nhlt); in intel_nhlt_free()
42 if (nhlt->header.length <= sizeof(struct acpi_table_header)) { in intel_nhlt_get_dmic_geo()
/linux/drivers/acpi/acpica/
H A Ddbfileio.c88 struct acpi_table_header *table; in acpi_db_load_tables()
/linux/arch/arm64/kernel/
H A Dacpi.c129 struct acpi_table_header *table; in acpi_fadt_sanity_check()
236 struct acpi_table_header *facs = NULL; in acpi_boot_table_init()
/linux/drivers/dma/
H A Dacpi-dma.c138 (struct acpi_table_header **)&csrt); in acpi_dma_parse_csrt()
159 acpi_put_table((struct acpi_table_header *)csrt); in acpi_dma_parse_csrt()

123