Home
last modified time | relevance | path

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

/linux-4.1.27/tools/power/acpi/os_specific/service_layers/
Doslinuxtbl.c72 char *signature, struct acpi_table_header **table);
76 char *signature, struct acpi_table_header **table);
78 static void osl_unmap_table(struct acpi_table_header *table);
93 struct acpi_table_header **table,
101 struct acpi_table_header **table,
190 struct acpi_table_header ** table) in acpi_os_get_table_by_address()
193 struct acpi_table_header *mapped_table; in acpi_os_get_table_by_address()
194 struct acpi_table_header *local_table = NULL; in acpi_os_get_table_by_address()
255 struct acpi_table_header ** table, in acpi_os_get_table_by_name()
383 struct acpi_table_header ** table, in acpi_os_get_table_by_index()
[all …]
Dosunixxf.c71 ae_table_override(struct acpi_table_header *existing_table,
72 struct acpi_table_header **new_table);
277 acpi_os_table_override(struct acpi_table_header * existing_table, in acpi_os_table_override()
278 struct acpi_table_header ** new_table) in acpi_os_table_override()
314 acpi_os_physical_table_override(struct acpi_table_header * existing_table, in acpi_os_physical_table_override()
/linux-4.1.27/drivers/acpi/acpica/
Dtbutils.c83 acpi_table_header, in acpi_tb_initialize_facs()
87 acpi_table_header, in acpi_tb_initialize_facs()
176 struct acpi_table_header *acpi_tb_copy_dsdt(u32 table_index) in acpi_tb_copy_dsdt()
178 struct acpi_table_header *new_table; in acpi_tb_copy_dsdt()
285 struct acpi_table_header *table; in acpi_tb_parse_root_table()
302 ACPI_CAST_PTR(struct acpi_table_header, in acpi_tb_parse_root_table()
331 table = acpi_os_map_memory(address, sizeof(struct acpi_table_header)); in acpi_tb_parse_root_table()
343 acpi_os_unmap_memory(table, sizeof(struct acpi_table_header)); in acpi_tb_parse_root_table()
345 if (length < (sizeof(struct acpi_table_header) + table_entry_size)) { in acpi_tb_parse_root_table()
367 table_count = (u32)((table->length - sizeof(struct acpi_table_header)) / in acpi_tb_parse_root_table()
[all …]
Dtbprint.c55 acpi_tb_cleanup_table_header(struct acpi_table_header *out_header,
56 struct acpi_table_header *header);
99 acpi_tb_cleanup_table_header(struct acpi_table_header *out_header, in acpi_tb_cleanup_table_header()
100 struct acpi_table_header *header) in acpi_tb_cleanup_table_header()
103 ACPI_MEMCPY(out_header, header, sizeof(struct acpi_table_header)); in acpi_tb_cleanup_table_header()
126 struct acpi_table_header *header) in acpi_tb_print_table_header()
128 struct acpi_table_header local_header; in acpi_tb_print_table_header()
186 acpi_status acpi_tb_verify_checksum(struct acpi_table_header *table, u32 length) in acpi_tb_verify_checksum()
Dutfileio.c64 struct acpi_table_header **table, u32 *table_length);
146 struct acpi_table_header **table, u32 *table_length) in acpi_ut_read_table()
148 struct acpi_table_header table_header; in acpi_ut_read_table()
170 count = fread(&table_header, 1, sizeof(struct acpi_table_header), fp); in acpi_ut_read_table()
171 if (count != sizeof(struct acpi_table_header)) { in acpi_ut_read_table()
222 sizeof(struct acpi_table_header)); in acpi_ut_read_table()
251 acpi_table_header, in acpi_ut_read_table()
295 acpi_ut_read_table_from_file(char *filename, struct acpi_table_header ** table) in acpi_ut_read_table_from_file()
Dactables.h68 u8 flags, struct acpi_table_header *table);
90 void acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length);
112 struct acpi_table_header **table_ptr,
116 acpi_tb_release_table(struct acpi_table_header *table,
145 struct acpi_table_header *header);
150 acpi_tb_verify_checksum(struct acpi_table_header *table, u32 length);
154 struct acpi_table_header *acpi_tb_copy_dsdt(u32 table_index);
Dtbxface.c207 u32 instance, struct acpi_table_header *out_table_header) in ACPI_EXPORT_SYMBOL_INIT()
211 struct acpi_table_header *header; in ACPI_EXPORT_SYMBOL_INIT()
241 acpi_table_header)); in ACPI_EXPORT_SYMBOL_INIT()
246 sizeof(struct acpi_table_header)); in ACPI_EXPORT_SYMBOL_INIT()
249 acpi_table_header)); in ACPI_EXPORT_SYMBOL_INIT()
256 sizeof(struct acpi_table_header)); in ACPI_EXPORT_SYMBOL_INIT()
282 u32 instance, struct acpi_table_header **out_table, in ACPI_EXPORT_SYMBOL()
330 u32 instance, struct acpi_table_header **out_table) in ACPI_EXPORT_SYMBOL()
354 acpi_get_table_by_index(u32 table_index, struct acpi_table_header ** table) in ACPI_EXPORT_SYMBOL()
Dexconfig.c160 struct acpi_table_header *table; in acpi_ex_load_table_op()
346 struct acpi_table_header *table_header; in acpi_ex_load_op()
347 struct acpi_table_header *table; in acpi_ex_load_op()
381 table_header = ACPI_ALLOCATE(sizeof(struct acpi_table_header)); in acpi_ex_load_op()
388 sizeof(struct acpi_table_header), in acpi_ex_load_op()
399 if (length < sizeof(struct acpi_table_header)) { in acpi_ex_load_op()
444 if (obj_desc->buffer.length < sizeof(struct acpi_table_header)) { in acpi_ex_load_op()
451 ACPI_CAST_PTR(struct acpi_table_header, in acpi_ex_load_op()
460 if (length < sizeof(struct acpi_table_header)) { in acpi_ex_load_op()
569 struct acpi_table_header *table; in acpi_ex_unload_table()
Dtbdata.c69 u8 flags, struct acpi_table_header *table) in acpi_tb_init_table_descriptor()
101 struct acpi_table_header **table_ptr, in acpi_tb_acquire_table()
104 struct acpi_table_header *table = NULL; in acpi_tb_acquire_table()
116 table = ACPI_CAST_PTR(struct acpi_table_header, in acpi_tb_acquire_table()
155 acpi_tb_release_table(struct acpi_table_header *table, in acpi_tb_release_table()
194 struct acpi_table_header *table_header; in acpi_tb_acquire_temp_table()
203 sizeof(struct acpi_table_header)); in acpi_tb_acquire_temp_table()
211 sizeof(struct acpi_table_header)); in acpi_tb_acquire_temp_table()
217 table_header = ACPI_CAST_PTR(struct acpi_table_header, in acpi_tb_acquire_temp_table()
350 table_desc->length = sizeof(struct acpi_table_header); in acpi_tb_validate_temp_table()
Dnsparse.c76 struct acpi_table_header *table; in acpi_ns_one_complete_parse()
110 if (table->length < sizeof(struct acpi_table_header)) { in acpi_ns_one_complete_parse()
113 aml_start = (u8 *) table + sizeof(struct acpi_table_header); in acpi_ns_one_complete_parse()
114 aml_length = table->length - sizeof(struct acpi_table_header); in acpi_ns_one_complete_parse()
Dacapps.h127 ad_parse_table(struct acpi_table_header *table,
130 acpi_status ad_display_tables(char *filename, struct acpi_table_header *table);
169 ad_write_table(struct acpi_table_header *table,
Dtbfind.c73 struct acpi_table_header header; in acpi_tb_find_table()
79 ACPI_MEMSET(&header, 0, sizeof(struct acpi_table_header)); in acpi_tb_find_table()
Dtbxfload.c104 struct acpi_table_header *new_dsdt; in ACPI_EXPORT_SYMBOL_INIT()
154 sizeof(struct acpi_table_header)); in ACPI_EXPORT_SYMBOL_INIT()
252 acpi_status acpi_load_table(struct acpi_table_header *table) in ACPI_EXPORT_SYMBOL_INIT()
Dnsxfname.c534 struct acpi_table_header *table = in ACPI_EXPORT_SYMBOL()
535 ACPI_CAST_PTR(struct acpi_table_header, buffer); in ACPI_EXPORT_SYMBOL()
562 parser_state.aml = buffer + sizeof(struct acpi_table_header); in ACPI_EXPORT_SYMBOL()
Dtbinstal.c74 struct acpi_table_header *table; in acpi_tb_compare_tables()
397 struct acpi_table_header *table; in acpi_tb_override_table()
Dpsobject.c105 sizeof(struct acpi_table_header)))); in acpi_ps_get_aml_opcode()
119 sizeof(struct acpi_table_header))); in acpi_ps_get_aml_opcode()
126 sizeof(struct acpi_table_header) - in acpi_ps_get_aml_opcode()
Dacglobal.h59 ACPI_GLOBAL(struct acpi_table_header *, acpi_gbl_DSDT);
60 ACPI_GLOBAL(struct acpi_table_header, acpi_gbl_original_dsdt_header);
Dtbfadt.c313 struct acpi_table_header *table; in acpi_tb_parse_fadt()
384 void acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length) in acpi_tb_create_local_fadt()
Ddsinit.c195 struct acpi_table_header *table; in acpi_ds_initialize_objects()
Dutmisc.c93 u8 acpi_ut_is_aml_table(struct acpi_table_header *table) in acpi_ut_is_aml_table()
Dacdebug.h234 acpi_db_get_table_from_file(char *filename, struct acpi_table_header **table);
Dacutils.h411 acpi_ut_read_table_from_file(char *filename, struct acpi_table_header **table);
568 u8 acpi_ut_is_aml_table(struct acpi_table_header *table);
Dpsloop.c225 acpi_table_header)))); in acpi_ps_get_arguments()
Ddsopcode.c484 struct acpi_table_header *table; in acpi_ds_eval_table_region_operands()
/linux-4.1.27/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-4.1.27/include/acpi/
Dactbl2.h126 struct acpi_table_header header; /* Common ACPI table header */
240 struct acpi_table_header header; /* Common ACPI table header */
255 struct acpi_table_header header; /* Common ACPI table header */
327 struct acpi_table_header header; /* Common ACPI table header */
388 struct acpi_table_header header; /* Common ACPI table header */
405 struct acpi_table_header header; /* Common ACPI table header */
534 struct acpi_table_header header; /* Common ACPI table header */
568 struct acpi_table_header header; /* Common ACPI table header */
662 struct acpi_table_header header; /* Common ACPI table header */
832 struct acpi_table_header header; /* Common ACPI table header */
[all …]
Dactbl3.h108 struct acpi_table_header header; /* Common ACPI table header */
124 struct acpi_table_header header; /* Common ACPI table header */
162 struct acpi_table_header header; /* Common ACPI table header */
250 struct acpi_table_header header; /* Common ACPI table header */
356 struct acpi_table_header header; /* Common ACPI table header */
443 struct acpi_table_header header; /* Common ACPI table header */
521 struct acpi_table_header header; /* Common ACPI table header */
598 struct acpi_table_header header; /* Common ACPI table header */
696 struct acpi_table_header header; /* Common ACPI table header */
Dactbl1.h126 struct acpi_table_header header; /* Common ACPI table header */
172 struct acpi_table_header header; /* Common ACPI table header */
193 struct acpi_table_header header; /* Common ACPI table header */
209 struct acpi_table_header header; /* Common ACPI table header */
315 struct acpi_table_header header; /* Common ACPI table header */
405 struct acpi_table_header header; /* Common ACPI table header */
644 struct acpi_table_header header; /* Common ACPI table header */
891 struct acpi_table_header header; /* Common ACPI table header */
917 struct acpi_table_header header; /* Common ACPI table header */
931 struct acpi_table_header header; /* Common ACPI table header */
[all …]
Dacpiosxf.h103 acpi_os_table_override(struct acpi_table_header *existing_table,
104 struct acpi_table_header **new_table);
109 acpi_os_physical_table_override(struct acpi_table_header *existing_table,
364 struct acpi_table_header **table,
371 struct acpi_table_header **table,
378 struct acpi_table_header **table);
Dactbl.h100 struct acpi_table_header { struct
176 struct acpi_table_header header; /* Common ACPI table header */
181 struct acpi_table_header header; /* Common ACPI table header */
232 struct acpi_table_header header; /* Common ACPI table header */
367 struct acpi_table_header *pointer;
Dacpixf.h431 acpi_load_table(struct acpi_table_header *table))
448 struct acpi_table_header
452 struct acpi_table_header
456 struct acpi_table_header
913 struct acpi_table_header
/linux-4.1.27/tools/power/acpi/tools/acpidump/
Dapdump.c49 ap_dump_table_buffer(struct acpi_table_header *table,
64 u8 ap_is_valid_header(struct acpi_table_header *table) in ap_is_valid_header()
79 if (table->length < sizeof(struct acpi_table_header)) { in ap_is_valid_header()
101 u8 ap_is_valid_checksum(struct acpi_table_header *table) in ap_is_valid_checksum()
137 u32 ap_get_table_length(struct acpi_table_header *table) in ap_get_table_length()
173 ap_dump_table_buffer(struct acpi_table_header *table, in ap_dump_table_buffer()
223 struct acpi_table_header *table; in ap_dump_all_tables()
282 struct acpi_table_header *table; in ap_dump_table_by_address()
327 struct acpi_table_header *table; in ap_dump_table_by_name()
398 struct acpi_table_header *table; in ap_dump_table_from_file()
Dacpidump.h115 u8 ap_is_valid_header(struct acpi_table_header *table);
117 u8 ap_is_valid_checksum(struct acpi_table_header *table);
119 u32 ap_get_table_length(struct acpi_table_header *table);
126 int ap_write_to_binary_file(struct acpi_table_header *table, u32 instance);
128 struct acpi_table_header *ap_get_table_from_file(char *pathname,
Dapfiles.c120 int ap_write_to_binary_file(struct acpi_table_header *table, u32 instance) in ap_write_to_binary_file()
195 struct acpi_table_header *ap_get_table_from_file(char *pathname, in ap_get_table_from_file()
198 struct acpi_table_header *buffer = NULL; in ap_get_table_from_file()
/linux-4.1.27/include/linux/
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);
Dacpi.h108 typedef int (*acpi_tbl_table_handler)(struct acpi_table_header *table);
137 struct acpi_table_header *table_header,
146 int acpi_parse_mcfg (struct acpi_table_header *header);
530 struct acpi_table_header;
532 int (*handler)(struct acpi_table_header *)) in acpi_table_parse() argument
Ddmar.h52 extern struct acpi_table_header *dmar_tbl;
/linux-4.1.27/drivers/acpi/
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()
Dtables.c220 struct acpi_table_header *table_header, in acpi_parse_entries()
286 struct acpi_table_header *table_header = NULL; in acpi_table_parse_entries()
334 struct acpi_table_header *table = NULL; in acpi_table_parse()
363 struct acpi_table_header *table = NULL; in check_multiple_madt()
Dosl.c591 #define ACPI_HEADER_SIZE sizeof(struct acpi_table_header)
602 struct acpi_table_header *table; in acpi_initrd_override()
617 if (file.size < sizeof(struct acpi_table_header)) { in acpi_initrd_override()
707 static void acpi_table_taint(struct acpi_table_header *table) in acpi_table_taint()
717 acpi_os_table_override(struct acpi_table_header * existing_table, in acpi_os_table_override()
718 struct acpi_table_header ** new_table) in acpi_os_table_override()
727 *new_table = (struct acpi_table_header *)AmlCode; in acpi_os_table_override()
735 acpi_os_physical_table_override(struct acpi_table_header *existing_table, in acpi_os_physical_table_override()
745 struct acpi_table_header *table; in acpi_os_physical_table_override()
Dnuma.c178 static int __init acpi_parse_slit(struct acpi_table_header *table) in acpi_parse_slit()
256 static int __init acpi_parse_srat(struct acpi_table_header *table) in acpi_parse_srat()
Dsysfs.c267 struct acpi_table_header *table_header = NULL; in acpi_table_show()
285 struct acpi_table_header *table_header) in acpi_table_attr_init()
287 struct acpi_table_header *header = NULL; in acpi_table_attr_init()
354 struct acpi_table_header *table_header = NULL; in acpi_tables_sysfs_init()
Dblacklist.c81 struct acpi_table_header table_header; in acpi_blacklisted()
Dprocessor_core.c26 (struct acpi_table_header **)&madt))) in get_madt_table()
Dsleep.c803 acpi_get_table(ACPI_SIG_FACS, 1, (struct acpi_table_header **)&facs); in acpi_sleep_hibernate_setup()
Dec.c1366 (struct acpi_table_header **)&ecdt_ptr); in acpi_ec_ecdt_probe()
/linux-4.1.27/include/linux/irqchip/
Darm-gic-acpi.h23 struct acpi_table_header;
25 int gic_v2_acpi_init(struct acpi_table_header *table);
/linux-4.1.27/drivers/char/tpm/
Dtpm_acpi.c32 struct acpi_table_header hdr;
64 (struct acpi_table_header **)&buff); in read_log()
Dtpm_crb.c38 struct acpi_table_header hdr;
218 (struct acpi_table_header **) &buf); in crb_acpi_add()
Dtpm_tis.c132 (struct acpi_table_header **) &tbl); in is_fifo()
/linux-4.1.27/arch/ia64/kernel/
Dacpi.c84 struct acpi_table_header *hdr; in acpi_get_sysname()
381 static int __init acpi_parse_madt(struct acpi_table_header *table) in acpi_parse_madt()
452 len = sizeof(struct acpi_table_header) + 8 in acpi_numa_slit_init()
640 static int __init acpi_parse_fadt(struct acpi_table_header *table) in acpi_parse_fadt()
642 struct acpi_table_header *fadt_header; in acpi_parse_fadt()
645 fadt_header = (struct acpi_table_header *)table; in acpi_parse_fadt()
/linux-4.1.27/arch/arm64/kernel/
Dacpi.c224 struct acpi_table_header *table; in acpi_fadt_sanity_check()
324 struct acpi_table_header *table; in acpi_gic_init()
/linux-4.1.27/arch/x86/kernel/
Dtboot.c479 struct acpi_table_header *tboot_get_dmar_table(struct acpi_table_header *dmar_tbl) in tboot_get_dmar_table()
514 dmar_tbl = (struct acpi_table_header *)(heap_ptr + in tboot_get_dmar_table()
Dearly-quirks.c67 static int __init nvidia_hpet_check(struct acpi_table_header *header) in nvidia_hpet_check()
/linux-4.1.27/arch/x86/platform/efi/
Defi-bgrt.c39 (struct acpi_table_header **)&bgrt_tab); in efi_bgrt_init()
/linux-4.1.27/arch/x86/kernel/acpi/
Dboot.c135 static int __init acpi_parse_madt(struct acpi_table_header *table) in acpi_parse_madt()
852 static int __init acpi_parse_sbf(struct acpi_table_header *table) in acpi_parse_sbf()
866 static int __init acpi_parse_hpet(struct acpi_table_header *table) in acpi_parse_hpet()
949 static int __init acpi_parse_fadt(struct acpi_table_header *table) in acpi_parse_fadt()
/linux-4.1.27/arch/ia64/sn/kernel/
Dio_common.c464 struct acpi_table_header *header = NULL; in sn_io_early_init()
497 struct acpi_table_header *header; in sn_io_early_init()
/linux-4.1.27/drivers/acpi/apei/
Dhest.c229 (struct acpi_table_header **)&hest_tab); in acpi_hest_init()
Deinj.c699 (struct acpi_table_header **)&einj_tab); in einj_init()
Derst.c1140 (struct acpi_table_header **)&erst_tab); in erst_init()
/linux-4.1.27/drivers/mailbox/
Dpcc.c241 struct acpi_table_header *pcct_tbl; in acpi_pcc_probe()
/linux-4.1.27/drivers/iommu/
Damd_iommu_init.c470 static int __init find_last_devid_acpi(struct acpi_table_header *table) in find_last_devid_acpi()
1174 static int __init init_iommu_all(struct acpi_table_header *table) in init_iommu_all()
1573 static int __init init_memory_definitions(struct acpi_table_header *table) in init_memory_definitions()
1896 struct acpi_table_header *ivrs_base; in early_amd_iommu_init()
2032 struct acpi_table_header *ivrs_base; in detect_ivrs()
Ddmar.c70 struct acpi_table_header * __initdata dmar_tbl;
532 (struct acpi_table_header **)&dmar_tbl, in dmar_table_detect()
/linux-4.1.27/drivers/dma/
Dacpi-dma.c115 (struct acpi_table_header **)&csrt); in acpi_dma_parse_csrt()
/linux-4.1.27/drivers/pci/hotplug/
Dsgi_hotplug.c358 ret = acpi_load_table((struct acpi_table_header *)ssdt); in enable_slot()
/linux-4.1.27/drivers/firmware/
Discsi_ibft.c771 struct acpi_table_header *table = NULL; in acpi_find_ibft_region()
/linux-4.1.27/drivers/clocksource/
Darm_arch_timer.c837 static int __init arch_timer_acpi_init(struct acpi_table_header *table) in arch_timer_acpi_init()
/linux-4.1.27/arch/x86/pci/
Dmmconfig-shared.c569 static int __init pci_parse_mcfg(struct acpi_table_header *header) in pci_parse_mcfg()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_bios.c601 struct acpi_table_header *hdr; in radeon_acpi_vfct_bios()
/linux-4.1.27/drivers/irqchip/
Dirq-gic.c1097 gic_v2_acpi_init(struct acpi_table_header *table) in gic_v2_acpi_init()
/linux-4.1.27/drivers/cpufreq/
Dintel_pstate.c1173 struct acpi_table_header hdr; in intel_pstate_platform_pwr_mgmt_exists()
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c80 struct acpi_table_header *crat_table; in kfd_topology_get_crat_acpi()
/linux-4.1.27/drivers/char/ipmi/
Dipmi_ssif.c1888 (struct acpi_table_header **)&spmi); in spmi_find_bmc()
Dipmi_si_intf.c2244 (struct acpi_table_header **)&spmi); in spmi_find_bmc()
/linux-4.1.27/drivers/platform/x86/
Dasus-laptop.c254 struct acpi_table_header *dsdt_info;
/linux-4.1.27/drivers/pci/
Dquirks.c3732 struct acpi_table_header *header = NULL; in pci_quirk_amd_sb_acs()