aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/acpi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r--include/linux/acpi.h23
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);
81typedef int (*acpi_table_entry_handler) (struct acpi_subtable_header *header, const unsigned long end); 81typedef int (*acpi_table_entry_handler) (struct acpi_subtable_header *header, const unsigned long end);
82 82
83char * __acpi_map_table (unsigned long phys_addr, unsigned long size); 83char * __acpi_map_table (unsigned long phys_addr, unsigned long size);
84unsigned long acpi_find_rsdp (void);
85int acpi_boot_init (void); 84int acpi_boot_init (void);
86int acpi_boot_table_init (void); 85int acpi_boot_table_init (void);
87int acpi_numa_init (void); 86int acpi_numa_init (void);
@@ -116,7 +115,9 @@ int acpi_unmap_lsapic(int cpu);
116 115
117int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base); 116int acpi_register_ioapic(acpi_handle handle, u64 phys_addr, u32 gsi_base);
118int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base); 117int acpi_unregister_ioapic(acpi_handle handle, u32 gsi_base);
118void acpi_irq_stats_init(void);
119 119
120extern u32 acpi_irq_handled;
120extern int acpi_mp_config; 121extern int acpi_mp_config;
121 122
122extern struct acpi_mcfg_allocation *pci_mmcfg_config; 123extern 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
199typedef void (*wmi_notify_handler) (u32 value, void *context);
200
201extern 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);
205extern acpi_status wmi_query_block(const char *guid, u8 instance,
206 struct acpi_buffer *out);
207extern acpi_status wmi_set_block(const char *guid, u8 instance,
208 const struct acpi_buffer *in);
209extern acpi_status wmi_install_notify_handler(const char *guid,
210 wmi_notify_handler handler, void *data);
211extern acpi_status wmi_remove_notify_handler(const char *guid);
212extern acpi_status wmi_get_event_data(u32 event, struct acpi_buffer *out);
213extern bool wmi_has_guid(const char *guid);
214
215#endif /* CONFIG_ACPI_WMI */
216
196extern int acpi_blacklisted(void); 217extern int acpi_blacklisted(void);
197#ifdef CONFIG_DMI 218#ifdef CONFIG_DMI
198extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d); 219extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d);