acer_acpi: Add EC support for Acer Aspire 5630
[acer_acpi.git] / wmi-acer.h
blob75d55489c677d6a1f8dff7107162908e6d24ca98
1 /*
2 * wmi.h
4 * Copyright (C) 2007 Carlos Corbacho <cathectic@gmail.com>
6 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or (at
11 * your option) any later version.
13 * This program is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
18 * You should have received a copy of the GNU General Public License along
19 * with this program; if not, write to the Free Software Foundation, Inc.,
20 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
22 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25 /* Workaround needed for older kernels */
26 #ifndef bool
27 #define bool int
28 #endif
30 acpi_status wmi_acer_evaluate_method(const char *guid, u32 instance, u32 method_id, const struct acpi_buffer *in, struct acpi_buffer *out);
31 acpi_status wmi_acer_query_block(const char *guid, u32 instance, u32 method_id, struct acpi_buffer *out);
32 acpi_status wmi_acer_set_block(const char *guid, u32 instance, u32 method_id, const struct acpi_buffer *in);
34 acpi_status wmi_install_notify_handler(acpi_notify_handler handler, struct acpi_buffer *data);
35 acpi_status wmi_remove_notify_handler(void);
37 bool wmi_acer_has_guid(char *guid);