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.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index 63f2e6ed698f..fab9f70fe39d 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -192,6 +192,26 @@ extern int ec_transaction(u8 command,
192 192
193#endif /*CONFIG_ACPI_EC*/ 193#endif /*CONFIG_ACPI_EC*/
194 194
195#if defined(CONFIG_ACPI_WMI) || defined(CONFIG_ACPI_WMI_MODULE)
196
197typedef void (*wmi_notify_handler) (u32 value, void *context);
198
199extern acpi_status wmi_evaluate_method(const char *guid, u8 instance,
200 u32 method_id,
201 const struct acpi_buffer *in,
202 struct acpi_buffer *out);
203extern acpi_status wmi_query_block(const char *guid, u8 instance,
204 struct acpi_buffer *out);
205extern acpi_status wmi_set_block(const char *guid, u8 instance,
206 const struct acpi_buffer *in);
207extern acpi_status wmi_install_notify_handler(const char *guid,
208 wmi_notify_handler handler, void *data);
209extern acpi_status wmi_remove_notify_handler(const char *guid);
210extern acpi_status wmi_get_event_data(u32 event, struct acpi_buffer *out);
211extern bool wmi_has_guid(const char *guid);
212
213#endif /* CONFIG_ACPI_WMI */
214
195extern int acpi_blacklisted(void); 215extern int acpi_blacklisted(void);
196#ifdef CONFIG_DMI 216#ifdef CONFIG_DMI
197extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d); 217extern void acpi_dmi_osi_linux(int enable, const struct dmi_system_id *d);