mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
ACPICA: New: Public GPE group enable/disable interfaces
Added acpi_disable_all_gpes and acpi_enable_all_runtime_gpes for public use. Signed-off-by: Bob Moore <[email protected]> Signed-off-by: Lin Ming <[email protected]> Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
parent
e97d6bf1a0
commit
08ac07b826
2 changed files with 69 additions and 4 deletions
|
|
@ -229,6 +229,10 @@ acpi_install_gpe_handler(acpi_handle gpe_device,
|
|||
u32 gpe_number,
|
||||
u32 type, acpi_event_handler address, void *context);
|
||||
|
||||
acpi_status
|
||||
acpi_remove_gpe_handler(acpi_handle gpe_device,
|
||||
u32 gpe_number, acpi_event_handler address);
|
||||
|
||||
#ifdef ACPI_FUTURE_USAGE
|
||||
acpi_status acpi_install_exception_handler(acpi_exception_handler handler);
|
||||
#endif
|
||||
|
|
@ -240,10 +244,6 @@ acpi_status acpi_acquire_global_lock(u16 timeout, u32 * handle);
|
|||
|
||||
acpi_status acpi_release_global_lock(u32 handle);
|
||||
|
||||
acpi_status
|
||||
acpi_remove_gpe_handler(acpi_handle gpe_device,
|
||||
u32 gpe_number, acpi_event_handler address);
|
||||
|
||||
acpi_status acpi_enable_event(u32 event, u32 flags);
|
||||
|
||||
acpi_status acpi_disable_event(u32 event, u32 flags);
|
||||
|
|
@ -252,6 +252,9 @@ acpi_status acpi_clear_event(u32 event);
|
|||
|
||||
acpi_status acpi_get_event_status(u32 event, acpi_event_status * event_status);
|
||||
|
||||
/*
|
||||
* GPE Interfaces
|
||||
*/
|
||||
acpi_status acpi_set_gpe_type(acpi_handle gpe_device, u32 gpe_number, u8 type);
|
||||
|
||||
acpi_status acpi_enable_gpe(acpi_handle gpe_device, u32 gpe_number);
|
||||
|
|
@ -265,6 +268,10 @@ acpi_get_gpe_status(acpi_handle gpe_device,
|
|||
u32 gpe_number,
|
||||
u32 flags, acpi_event_status * event_status);
|
||||
|
||||
acpi_status acpi_disable_all_gpes(void);
|
||||
|
||||
acpi_status acpi_enable_all_runtime_gpes(void);
|
||||
|
||||
acpi_status acpi_get_gpe_device(u32 gpe_index, acpi_handle *gpe_device);
|
||||
|
||||
acpi_status
|
||||
|
|
|
|||
Loading…
Reference in a new issue