1 /******************************************************************************
3 * Name: acevents.h - Event subcomponent prototypes and defines
6 *****************************************************************************/
9 * Copyright (C) 2000, 2001 R. Byron Moore
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 #ifndef __ACEVENTS_H__
27 #define __ACEVENTS_H__
36 * Acpi_evfixed - Fixed event handling
40 acpi_ev_fixed_event_initialize (
44 acpi_ev_fixed_event_detect (
48 acpi_ev_fixed_event_dispatch (
53 * Acpi_evglock - Global Lock support
57 acpi_ev_acquire_global_lock(
61 acpi_ev_release_global_lock(
65 acpi_ev_init_global_lock_handler (
70 * Acpi_evgpe - GPE handling and dispatch
74 acpi_ev_gpe_initialize (
78 acpi_ev_init_gpe_control_methods (
82 acpi_ev_gpe_dispatch (
91 * Acpi_evnotify - Device Notify handling and dispatch
95 acpi_ev_queue_notify_request (
96 ACPI_NAMESPACE_NODE
*node
,
100 acpi_ev_notify_dispatch (
104 * Acpi_evregion - Address Space handling
108 acpi_ev_install_default_address_space_handlers (
112 acpi_ev_address_space_dispatch (
113 ACPI_OPERAND_OBJECT
*region_obj
,
115 ACPI_PHYSICAL_ADDRESS address
,
121 acpi_ev_addr_handler_helper (
122 ACPI_HANDLE obj_handle
,
125 void **return_value
);
128 acpi_ev_disassociate_region_from_handler(
129 ACPI_OPERAND_OBJECT
*region_obj
,
130 u8 acpi_ns_is_locked
);
134 acpi_ev_associate_region_and_handler (
135 ACPI_OPERAND_OBJECT
*handler_obj
,
136 ACPI_OPERAND_OBJECT
*region_obj
,
137 u8 acpi_ns_is_locked
);
141 * Acpi_evregini - Region initialization and setup
145 acpi_ev_system_memory_region_setup (
148 void *handler_context
,
149 void **region_context
);
152 acpi_ev_io_space_region_setup (
155 void *handler_context
,
156 void **region_context
);
159 acpi_ev_pci_config_region_setup (
162 void *handler_context
,
163 void **region_context
);
166 acpi_ev_default_region_setup (
169 void *handler_context
,
170 void **region_context
);
173 acpi_ev_initialize_region (
174 ACPI_OPERAND_OBJECT
*region_obj
,
179 * Evsci - SCI (System Control Interrupt) handling/dispatch
183 acpi_ev_install_sci_handler (
187 acpi_ev_remove_sci_handler (
191 acpi_ev_initialize_sCI (
195 acpi_ev_restore_acpi_state (
203 #endif /* __ACEVENTS_H__ */