Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/drivers/acpi/acpica/
Dtbutils.c83 acpi_table_header, in acpi_tb_initialize_facs()
89 acpi_table_header, in acpi_tb_initialize_facs()
153 struct acpi_table_header *acpi_tb_copy_dsdt(u32 table_index) in acpi_tb_copy_dsdt()
155 struct acpi_table_header *new_table; in acpi_tb_copy_dsdt()
262 struct acpi_table_header *table; in acpi_tb_parse_root_table()
279 ACPI_CAST_PTR(struct acpi_table_header, in acpi_tb_parse_root_table()
308 table = acpi_os_map_memory(address, sizeof(struct acpi_table_header)); in acpi_tb_parse_root_table()
320 acpi_os_unmap_memory(table, sizeof(struct acpi_table_header)); in acpi_tb_parse_root_table()
322 if (length < (sizeof(struct acpi_table_header) + table_entry_size)) { in acpi_tb_parse_root_table()
344 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 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.c65 struct acpi_table_header **table, u32 *table_length);
147 struct acpi_table_header **table, u32 *table_length) in acpi_ut_read_table()
149 struct acpi_table_header table_header; in acpi_ut_read_table()
171 count = fread(&table_header, 1, sizeof(struct acpi_table_header), fp); in acpi_ut_read_table()
172 if (count != sizeof(struct acpi_table_header)) { in acpi_ut_read_table()
220 sizeof(struct acpi_table_header)); in acpi_ut_read_table()
249 acpi_table_header, in acpi_ut_read_table()
293 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,
143 struct acpi_table_header *header);
148 acpi_tb_verify_checksum(struct acpi_table_header *table, u32 length);
152 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()
247 sizeof(struct acpi_table_header)); in ACPI_EXPORT_SYMBOL_INIT()
250 acpi_table_header)); in ACPI_EXPORT_SYMBOL_INIT()
257 sizeof(struct acpi_table_header)); in ACPI_EXPORT_SYMBOL_INIT()
283 u32 instance, struct acpi_table_header **out_table, in ACPI_EXPORT_SYMBOL()
331 u32 instance, struct acpi_table_header **out_table) in ACPI_EXPORT_SYMBOL()
355 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()
338 struct acpi_table_header *table_header; in acpi_ex_load_op()
339 struct acpi_table_header *table; in acpi_ex_load_op()
373 table_header = ACPI_ALLOCATE(sizeof(struct acpi_table_header)); in acpi_ex_load_op()
380 sizeof(struct acpi_table_header), in acpi_ex_load_op()
391 if (length < sizeof(struct acpi_table_header)) { in acpi_ex_load_op()
436 if (obj_desc->buffer.length < sizeof(struct acpi_table_header)) { in acpi_ex_load_op()
443 ACPI_CAST_PTR(struct acpi_table_header, in acpi_ex_load_op()
452 if (length < sizeof(struct acpi_table_header)) { in acpi_ex_load_op()
561 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()
88 if (table->length < sizeof(struct acpi_table_header)) { in acpi_ns_one_complete_parse()
92 aml_start = (u8 *)table + sizeof(struct acpi_table_header); in acpi_ns_one_complete_parse()
93 aml_length = table->length - sizeof(struct acpi_table_header); in acpi_ns_one_complete_parse()
Ddbfileio.c132 static acpi_status ae_local_load_table(struct acpi_table_header *table) in ae_local_load_table()
200 struct acpi_table_header **return_table, in acpi_db_get_table_from_file()
205 struct acpi_table_header *table; in acpi_db_get_table_from_file()
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.c72 struct acpi_table_header header; in acpi_tb_find_table()
92 memset(&header, 0, sizeof(struct acpi_table_header)); in acpi_tb_find_table()
Dtbxfload.c107 struct acpi_table_header *new_dsdt; in ACPI_EXPORT_SYMBOL_INIT()
155 sizeof(struct acpi_table_header)); in ACPI_EXPORT_SYMBOL_INIT()
281 acpi_status acpi_load_table(struct acpi_table_header *table) in ACPI_EXPORT_SYMBOL_INIT()
Dnsxfname.c555 struct acpi_table_header *table = in ACPI_EXPORT_SYMBOL()
556 ACPI_CAST_PTR(struct acpi_table_header, buffer); in ACPI_EXPORT_SYMBOL()
583 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()
398 struct acpi_table_header *table; in acpi_tb_override_table()
Dpsobject.c108 sizeof(struct acpi_table_header)))); in acpi_ps_get_aml_opcode()
122 sizeof(struct acpi_table_header))); in acpi_ps_get_aml_opcode()
129 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.h236 struct acpi_table_header **table,
Dacutils.h360 acpi_ut_read_table_from_file(char *filename, struct acpi_table_header **table);
521 u8 acpi_ut_is_aml_table(struct acpi_table_header *table);
Dpsloop.c222 acpi_table_header)))); in acpi_ps_get_arguments()
Ddsopcode.c483 struct acpi_table_header *table; in acpi_ds_eval_table_region_operands()
/linux-4.4.14/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.4.14/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.4.14/include/acpi/
Dactbl2.h128 struct acpi_table_header header; /* Common ACPI table header */
242 struct acpi_table_header header; /* Common ACPI table header */
257 struct acpi_table_header header; /* Common ACPI table header */
329 struct acpi_table_header header; /* Common ACPI table header */
390 struct acpi_table_header header; /* Common ACPI table header */
407 struct acpi_table_header header; /* Common ACPI table header */
536 struct acpi_table_header header; /* Common ACPI table header */
570 struct acpi_table_header header; /* Common ACPI table header */
663 struct acpi_table_header header;
789 struct acpi_table_header header; /* Common ACPI table header */
[all …]
Dactbl3.h110 struct acpi_table_header header; /* Common ACPI table header */
128 struct acpi_table_header header; /* Common ACPI table header */
184 struct acpi_table_header header; /* Common ACPI table header */
272 struct acpi_table_header header; /* Common ACPI table header */
378 struct acpi_table_header header; /* Common ACPI table header */
465 struct acpi_table_header header; /* Common ACPI table header */
543 struct acpi_table_header header; /* Common ACPI table header */
620 struct acpi_table_header header; /* Common ACPI table header */
719 struct acpi_table_header header; /* Common ACPI table header */
733 struct acpi_table_header header; /* Common ACPI table header */
[all …]
Dactbl1.h127 struct acpi_table_header header; /* Common ACPI table header */
173 struct acpi_table_header header; /* Common ACPI table header */
194 struct acpi_table_header header; /* Common ACPI table header */
210 struct acpi_table_header header; /* Common ACPI table header */
316 struct acpi_table_header header; /* Common ACPI table header */
406 struct acpi_table_header header; /* Common ACPI table header */
645 struct acpi_table_header header; /* Common ACPI table header */
917 struct acpi_table_header header; /* Common ACPI table header */
943 struct acpi_table_header header; /* Common ACPI table header */
1096 struct acpi_table_header header; /* Common ACPI table header */
[all …]
Dacpiosxf.h104 acpi_os_table_override(struct acpi_table_header *existing_table,
105 struct acpi_table_header **new_table);
110 acpi_os_physical_table_override(struct acpi_table_header *existing_table,
365 struct acpi_table_header **table,
372 struct acpi_table_header **table,
379 struct acpi_table_header **table);
Dactbl.h101 struct acpi_table_header { struct
177 struct acpi_table_header header; /* Common ACPI table header */
182 struct acpi_table_header header; /* Common ACPI table header */
233 struct acpi_table_header header; /* Common ACPI table header */
369 struct acpi_table_header *pointer;
Dacpixf.h434 acpi_load_table(struct acpi_table_header *table))
451 struct acpi_table_header
455 struct acpi_table_header
459 struct acpi_table_header
922 struct acpi_table_header
/linux-4.4.14/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.h117 typedef int (*acpi_tbl_table_handler)(struct acpi_table_header *table);
152 struct acpi_table_header *table_header,
168 int acpi_parse_mcfg (struct acpi_table_header *header);
560 struct acpi_table_header;
562 int (*handler)(struct acpi_table_header *)) in acpi_table_parse() argument
Ddmar.h52 extern struct acpi_table_header *dmar_tbl;
/linux-4.4.14/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.c233 struct acpi_table_header *table_header, in acpi_parse_entries_array()
306 struct acpi_table_header *table_header, in acpi_parse_entries()
324 struct acpi_table_header *table_header = NULL; in acpi_table_parse_entries_array()
388 struct acpi_table_header *table = NULL; in acpi_table_parse()
417 struct acpi_table_header *table = NULL; in check_multiple_madt()
Dosl.c606 #define ACPI_HEADER_SIZE sizeof(struct acpi_table_header)
617 struct acpi_table_header *table; in acpi_initrd_override()
632 if (file.size < sizeof(struct acpi_table_header)) { in acpi_initrd_override()
722 static void acpi_table_taint(struct acpi_table_header *table) in acpi_table_taint()
732 acpi_os_table_override(struct acpi_table_header * existing_table, in acpi_os_table_override()
733 struct acpi_table_header ** new_table) in acpi_os_table_override()
742 *new_table = (struct acpi_table_header *)AmlCode; in acpi_os_table_override()
750 acpi_os_physical_table_override(struct acpi_table_header *existing_table, in acpi_os_physical_table_override()
760 struct acpi_table_header *table; in acpi_os_physical_table_override()
Dnuma.c220 static int __init acpi_parse_slit(struct acpi_table_header *table) in acpi_parse_slit()
298 static int __init acpi_parse_srat(struct acpi_table_header *table) in acpi_parse_srat()
Dsysfs.c330 struct acpi_table_header *table_header = NULL; in acpi_table_show()
348 struct acpi_table_header *table_header) in acpi_table_attr_init()
350 struct acpi_table_header *header = NULL; in acpi_table_attr_init()
417 struct acpi_table_header *table_header = NULL; in acpi_tables_sysfs_init()
Dnfit.h99 struct acpi_table_header acpi_header;
Dblacklist.c77 struct acpi_table_header table_header; in acpi_blacklisted()
Dprocessor_core.c26 (struct acpi_table_header **)&madt))) in get_madt_table()
Dsleep.c809 acpi_get_table(ACPI_SIG_FACS, 1, (struct acpi_table_header **)&facs); in acpi_sleep_hibernate_setup()
Dec.c1549 (struct acpi_table_header **)&ecdt_ptr); in acpi_ec_ecdt_probe()
Dnfit.c1736 struct acpi_table_header *tbl; in acpi_nfit_add()
/linux-4.4.14/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;
219 (struct acpi_table_header **) &buf); in crb_acpi_add()
Dtpm_tis.c132 (struct acpi_table_header **) &tbl); in is_fifo()
/linux-4.4.14/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.4.14/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.4.14/sound/soc/intel/skylake/
Dskl-nhlt.h91 struct acpi_table_header header;
/linux-4.4.14/arch/x86/platform/efi/
Defi-bgrt.c39 (struct acpi_table_header **)&bgrt_tab); in efi_bgrt_init()
/linux-4.4.14/arch/arm64/kernel/
Dacpi.c116 struct acpi_table_header *table; in acpi_fadt_sanity_check()
/linux-4.4.14/arch/x86/kernel/acpi/
Dboot.c135 static int __init acpi_parse_madt(struct acpi_table_header *table) in acpi_parse_madt()
817 static int __init acpi_parse_sbf(struct acpi_table_header *table) in acpi_parse_sbf()
831 static int __init acpi_parse_hpet(struct acpi_table_header *table) in acpi_parse_hpet()
914 static int __init acpi_parse_fadt(struct acpi_table_header *table) in acpi_parse_fadt()
/linux-4.4.14/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.4.14/drivers/mailbox/
Dpcc.c241 struct acpi_table_header *pcct_tbl; in acpi_pcc_probe()
/linux-4.4.14/drivers/acpi/apei/
Dhest.c225 (struct acpi_table_header **)&hest_tab); in acpi_hest_init()
Deinj.c695 (struct acpi_table_header **)&einj_tab); in einj_init()
Derst.c1137 (struct acpi_table_header **)&erst_tab); in erst_init()
/linux-4.4.14/drivers/iommu/
Damd_iommu_init.c456 static int __init find_last_devid_acpi(struct acpi_table_header *table) in find_last_devid_acpi()
1124 static int __init init_iommu_all(struct acpi_table_header *table) in init_iommu_all()
1524 static int __init init_memory_definitions(struct acpi_table_header *table) in init_memory_definitions()
1842 struct acpi_table_header *ivrs_base; in early_amd_iommu_init()
1978 struct acpi_table_header *ivrs_base; in detect_ivrs()
Ddmar.c70 struct acpi_table_header * __initdata dmar_tbl;
533 (struct acpi_table_header **)&dmar_tbl, in dmar_table_detect()
/linux-4.4.14/drivers/dma/
Dacpi-dma.c116 (struct acpi_table_header **)&csrt); in acpi_dma_parse_csrt()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bios.c258 struct acpi_table_header *hdr; in amdgpu_acpi_vfct_bios()
/linux-4.4.14/drivers/pci/hotplug/
Dsgi_hotplug.c358 ret = acpi_load_table((struct acpi_table_header *)ssdt); in enable_slot()
/linux-4.4.14/drivers/firmware/
Discsi_ibft.c771 struct acpi_table_header *table = NULL; in acpi_find_ibft_region()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_bios.c600 struct acpi_table_header *hdr; in radeon_acpi_vfct_bios()
/linux-4.4.14/arch/x86/pci/
Dmmconfig-shared.c569 static int __init pci_parse_mcfg(struct acpi_table_header *header) in pci_parse_mcfg()
/linux-4.4.14/drivers/clocksource/
Darm_arch_timer.c829 static int __init arch_timer_acpi_init(struct acpi_table_header *table) in arch_timer_acpi_init()
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.c80 struct acpi_table_header *crat_table; in kfd_topology_get_crat_acpi()
/linux-4.4.14/drivers/cpufreq/
Dintel_pstate.c1328 struct acpi_table_header hdr; in intel_pstate_platform_pwr_mgmt_exists()
/linux-4.4.14/drivers/char/ipmi/
Dipmi_ssif.c1897 (struct acpi_table_header **)&spmi); in spmi_find_bmc()
Dipmi_si_intf.c2260 (struct acpi_table_header **)&spmi); in spmi_find_bmc()
/linux-4.4.14/drivers/platform/x86/
Dasus-laptop.c255 struct acpi_table_header *dsdt_info;
/linux-4.4.14/drivers/pci/
Dquirks.c3796 struct acpi_table_header *header = NULL; in pci_quirk_amd_sb_acs()