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 */
30 typedef void (*wmi_notify_handler
) (u32 value
, void *context
);
32 extern acpi_status
wmi_acer_evaluate_method(const char *guid
, u8 instance
,
34 const struct acpi_buffer
*in
,
35 struct acpi_buffer
*out
);
36 extern acpi_status
wmi_acer_query_block(const char *guid
, u8 instance
,
37 struct acpi_buffer
*out
);
38 extern acpi_status
wmi_acer_set_block(const char *guid
, u8 instance
,
39 const struct acpi_buffer
*in
);
40 extern acpi_status
wmi_acer_install_notify_handler(wmi_notify_handler handler
,
42 extern acpi_status
wmi_acer_remove_notify_handler(void);
43 extern acpi_status
wmi_acer_get_event_data(u32 event
, struct acpi_buffer
*out
);
44 extern bool wmi_acer_has_guid(const char *guid
);