aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/acpixf.h
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2010-04-06 02:52:37 -0400
committerLen Brown <len.brown@intel.com>2010-04-20 10:43:16 -0400
commit0f849d2cc6863c7874889ea60a871fb71399dd3f (patch)
treec8c14ac12dfc92c7147a049e5374d3a9036247b7 /include/acpi/acpixf.h
parentaa2110cb1a7510f9b834adfb39b05d4843a35d35 (diff)
ACPICA: Minimize the differences between linux GPE code and ACPICA code base
We have ported Rafael's major GPE changes (ACPI: Use GPE reference counting to support shared GPEs) into ACPICA code base. But the port and Rafael's original patch have some differences, so we made below patch to make linux GPE code consistent with ACPICA code base. Most changes are about comments and coding styles. Other noticeable changes are based on: Rafael: Reduce code duplication related to GPE lookup https://patchwork.kernel.org/patch/86237/ Rafael: Always use the same lock for GPE locking https://patchwork.kernel.org/patch/90471/ A new field gpe_count in struct acpi_gpe_block_info to record the number of individual GPEs in block. Rename acpi_ev_save_method_info to acpi_ev_match_gpe_method. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Robert Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acpixf.h')
-rw-r--r--include/acpi/acpixf.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h
index fd815f605426..be16f976c531 100644
--- a/include/acpi/acpixf.h
+++ b/include/acpi/acpixf.h
@@ -285,16 +285,17 @@ acpi_status acpi_get_event_status(u32 event, acpi_event_status * event_status);
285 */ 285 */
286acpi_status acpi_set_gpe(acpi_handle gpe_device, u32 gpe_number, u8 action); 286acpi_status acpi_set_gpe(acpi_handle gpe_device, u32 gpe_number, u8 action);
287 287
288acpi_status acpi_enable_gpe(acpi_handle gpe_device, u32 gpe_number, u8 type); 288acpi_status
289acpi_enable_gpe(acpi_handle gpe_device, u32 gpe_number, u8 gpe_type);
289 290
290acpi_status acpi_disable_gpe(acpi_handle gpe_device, u32 gpe_number, u8 type); 291acpi_status
292acpi_disable_gpe(acpi_handle gpe_device, u32 gpe_number, u8 gpe_type);
291 293
292acpi_status acpi_clear_gpe(acpi_handle gpe_device, u32 gpe_number, u32 flags); 294acpi_status acpi_clear_gpe(acpi_handle gpe_device, u32 gpe_number);
293 295
294acpi_status 296acpi_status
295acpi_get_gpe_status(acpi_handle gpe_device, 297acpi_get_gpe_status(acpi_handle gpe_device,
296 u32 gpe_number, 298 u32 gpe_number, acpi_event_status *event_status);
297 u32 flags, acpi_event_status * event_status);
298 299
299acpi_status acpi_disable_all_gpes(void); 300acpi_status acpi_disable_all_gpes(void);
300 301