diff options
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index a031df8c83ae..25fb4dcc0e6b 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -81,7 +81,6 @@ typedef int (*acpi_table_handler) (struct acpi_table_header *table); | |||
81 | typedef int (*acpi_table_entry_handler) (struct acpi_subtable_header *header, const unsigned long end); | 81 | typedef int (*acpi_table_entry_handler) (struct acpi_subtable_header *header, const unsigned long end); |
82 | 82 | ||
83 | char * __acpi_map_table (unsigned long phys_addr, unsigned long size); | 83 | char * __acpi_map_table (unsigned long phys_addr, unsigned long size); |
84 | unsigned long acpi_find_rsdp (void); | ||
85 | int acpi_boot_init (void); | 84 | int acpi_boot_init (void); |
86 | int acpi_boot_table_init (void); | 85 | int acpi_boot_table_init (void); |
87 | int acpi_numa_init (void); | 86 | int acpi_numa_init (void); |
@@ -116,7 +115,9 @@ int acpi_unmap_lsapic(int cpu); | |||
116 | 115 | ||
117 | int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base); | 116 | int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base); |
118 | int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base); | 117 | int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base); |
118 | void acpi_irq_stats_init(void); | ||
119 | 119 | ||
120 | extern u32 acpi_irq_handled; | ||
120 | extern int acpi_mp_config; | 121 | extern int acpi_mp_config; |
121 | 122 | ||
122 | extern struct acpi_mcfg_allocation *pci_mmcfg_config; | 123 | extern struct acpi_mcfg_allocation *pci_mmcfg_config; |
@@ -193,6 +194,26 @@ extern int ec_transaction(u8 command, | |||
193 | 194 | ||
194 | #endif /*CONFIG_ACPI_EC*/ | 195 | #endif /*CONFIG_ACPI_EC*/ |
195 | 196 | ||
197 | #if defined(CONFIG_ACPI_WMI) || defined(CONFIG_ACPI_WMI_MODULE) | ||
198 | |||
199 | typedef void (*wmi_notify_handler) (u32 value, void *context); | ||
200 | |||
201 | extern acpi_status wmi_evaluate_method(const char *guid, u8 instance, | ||
202 | u32 method_id, | ||
203 | const struct acpi_buffer *in, | ||
204 | struct acpi_buffer *out); | ||
205 | extern acpi_status wmi_query_block(const char *guid, u8 instance, | ||
206 | struct acpi_buffer *out); | ||
207 | extern acpi_status wmi_set_block(const char *guid, u8 instance, | ||
208 | const struct acpi_buffer *in); | ||
209 | extern acpi_status wmi_install_notify_handler(const char *guid, | ||
210 | wmi_notify_handler handler, void *data); | ||
211 | extern acpi_status wmi_remove_notify_handler(const char *guid); | ||
212 | extern acpi_status wmi_get_event_data(u32 event, struct acpi_buffer *out); | ||
213 | extern bool wmi_has_guid(const char *guid); | ||
214 | |||
215 | #endif /* CONFIG_ACPI_WMI */ | ||
216 | |||
196 | extern int acpi_blacklisted(void); | 217 | extern int acpi_blacklisted(void); |
197 | #ifdef CONFIG_DMI | 218 | #ifdef CONFIG_DMI |
198 | extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d); | 219 | extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d); |