diff options
Diffstat (limited to 'include/acpi/acevents.h')
-rw-r--r-- | include/acpi/acevents.h | 85 |
1 files changed, 29 insertions, 56 deletions
diff --git a/include/acpi/acevents.h b/include/acpi/acevents.h index 2dec083ba1cd..61a27c8c5079 100644 --- a/include/acpi/acevents.h +++ b/include/acpi/acevents.h | |||
@@ -45,6 +45,9 @@ | |||
45 | #define __ACEVENTS_H__ | 45 | #define __ACEVENTS_H__ |
46 | 46 | ||
47 | 47 | ||
48 | /* | ||
49 | * evevent | ||
50 | */ | ||
48 | acpi_status | 51 | acpi_status |
49 | acpi_ev_initialize_events ( | 52 | acpi_ev_initialize_events ( |
50 | void); | 53 | void); |
@@ -53,28 +56,14 @@ acpi_status | |||
53 | acpi_ev_install_xrupt_handlers ( | 56 | acpi_ev_install_xrupt_handlers ( |
54 | void); | 57 | void); |
55 | 58 | ||
56 | |||
57 | /* | ||
58 | * Evfixed - Fixed event handling | ||
59 | */ | ||
60 | |||
61 | acpi_status | ||
62 | acpi_ev_fixed_event_initialize ( | ||
63 | void); | ||
64 | |||
65 | u32 | 59 | u32 |
66 | acpi_ev_fixed_event_detect ( | 60 | acpi_ev_fixed_event_detect ( |
67 | void); | 61 | void); |
68 | 62 | ||
69 | u32 | ||
70 | acpi_ev_fixed_event_dispatch ( | ||
71 | u32 event); | ||
72 | |||
73 | 63 | ||
74 | /* | 64 | /* |
75 | * Evmisc | 65 | * evmisc |
76 | */ | 66 | */ |
77 | |||
78 | u8 | 67 | u8 |
79 | acpi_ev_is_notify_object ( | 68 | acpi_ev_is_notify_object ( |
80 | struct acpi_namespace_node *node); | 69 | struct acpi_namespace_node *node); |
@@ -100,24 +89,10 @@ acpi_ev_queue_notify_request ( | |||
100 | struct acpi_namespace_node *node, | 89 | struct acpi_namespace_node *node, |
101 | u32 notify_value); | 90 | u32 notify_value); |
102 | 91 | ||
103 | void ACPI_SYSTEM_XFACE | ||
104 | acpi_ev_notify_dispatch ( | ||
105 | void *context); | ||
106 | |||
107 | 92 | ||
108 | /* | 93 | /* |
109 | * Evgpe - GPE handling and dispatch | 94 | * evgpe - GPE handling and dispatch |
110 | */ | 95 | */ |
111 | |||
112 | acpi_status | ||
113 | acpi_ev_walk_gpe_list ( | ||
114 | ACPI_GPE_CALLBACK gpe_walk_callback, | ||
115 | u32 flags); | ||
116 | |||
117 | u8 | ||
118 | acpi_ev_valid_gpe_event ( | ||
119 | struct acpi_gpe_event_info *gpe_event_info); | ||
120 | |||
121 | acpi_status | 96 | acpi_status |
122 | acpi_ev_update_gpe_enable_masks ( | 97 | acpi_ev_update_gpe_enable_masks ( |
123 | struct acpi_gpe_event_info *gpe_event_info, | 98 | struct acpi_gpe_event_info *gpe_event_info, |
@@ -137,9 +112,23 @@ acpi_ev_get_gpe_event_info ( | |||
137 | acpi_handle gpe_device, | 112 | acpi_handle gpe_device, |
138 | u32 gpe_number); | 113 | u32 gpe_number); |
139 | 114 | ||
115 | |||
116 | /* | ||
117 | * evgpeblk | ||
118 | */ | ||
119 | u8 | ||
120 | acpi_ev_valid_gpe_event ( | ||
121 | struct acpi_gpe_event_info *gpe_event_info); | ||
122 | |||
140 | acpi_status | 123 | acpi_status |
141 | acpi_ev_gpe_initialize ( | 124 | acpi_ev_walk_gpe_list ( |
142 | void); | 125 | ACPI_GPE_CALLBACK gpe_walk_callback, |
126 | u32 flags); | ||
127 | |||
128 | acpi_status | ||
129 | acpi_ev_delete_gpe_handlers ( | ||
130 | struct acpi_gpe_xrupt_info *gpe_xrupt_info, | ||
131 | struct acpi_gpe_block_info *gpe_block); | ||
143 | 132 | ||
144 | acpi_status | 133 | acpi_status |
145 | acpi_ev_create_gpe_block ( | 134 | acpi_ev_create_gpe_block ( |
@@ -154,11 +143,6 @@ acpi_status | |||
154 | acpi_ev_delete_gpe_block ( | 143 | acpi_ev_delete_gpe_block ( |
155 | struct acpi_gpe_block_info *gpe_block); | 144 | struct acpi_gpe_block_info *gpe_block); |
156 | 145 | ||
157 | acpi_status | ||
158 | acpi_ev_delete_gpe_handlers ( | ||
159 | struct acpi_gpe_xrupt_info *gpe_xrupt_info, | ||
160 | struct acpi_gpe_block_info *gpe_block); | ||
161 | |||
162 | u32 | 146 | u32 |
163 | acpi_ev_gpe_dispatch ( | 147 | acpi_ev_gpe_dispatch ( |
164 | struct acpi_gpe_event_info *gpe_event_info, | 148 | struct acpi_gpe_event_info *gpe_event_info, |
@@ -177,10 +161,14 @@ acpi_status | |||
177 | acpi_ev_check_for_wake_only_gpe ( | 161 | acpi_ev_check_for_wake_only_gpe ( |
178 | struct acpi_gpe_event_info *gpe_event_info); | 162 | struct acpi_gpe_event_info *gpe_event_info); |
179 | 163 | ||
164 | acpi_status | ||
165 | acpi_ev_gpe_initialize ( | ||
166 | void); | ||
167 | |||
168 | |||
180 | /* | 169 | /* |
181 | * Evregion - Address Space handling | 170 | * evregion - Address Space handling |
182 | */ | 171 | */ |
183 | |||
184 | acpi_status | 172 | acpi_status |
185 | acpi_ev_install_region_handlers ( | 173 | acpi_ev_install_region_handlers ( |
186 | void); | 174 | void); |
@@ -198,13 +186,6 @@ acpi_ev_address_space_dispatch ( | |||
198 | void *value); | 186 | void *value); |
199 | 187 | ||
200 | acpi_status | 188 | acpi_status |
201 | acpi_ev_install_handler ( | ||
202 | acpi_handle obj_handle, | ||
203 | u32 level, | ||
204 | void *context, | ||
205 | void **return_value); | ||
206 | |||
207 | acpi_status | ||
208 | acpi_ev_attach_region ( | 189 | acpi_ev_attach_region ( |
209 | union acpi_operand_object *handler_obj, | 190 | union acpi_operand_object *handler_obj, |
210 | union acpi_operand_object *region_obj, | 191 | union acpi_operand_object *region_obj, |
@@ -233,17 +214,10 @@ acpi_ev_execute_reg_method ( | |||
233 | union acpi_operand_object *region_obj, | 214 | union acpi_operand_object *region_obj, |
234 | u32 function); | 215 | u32 function); |
235 | 216 | ||
236 | acpi_status | ||
237 | acpi_ev_reg_run ( | ||
238 | acpi_handle obj_handle, | ||
239 | u32 level, | ||
240 | void *context, | ||
241 | void **return_value); | ||
242 | 217 | ||
243 | /* | 218 | /* |
244 | * Evregini - Region initialization and setup | 219 | * evregini - Region initialization and setup |
245 | */ | 220 | */ |
246 | |||
247 | acpi_status | 221 | acpi_status |
248 | acpi_ev_system_memory_region_setup ( | 222 | acpi_ev_system_memory_region_setup ( |
249 | acpi_handle handle, | 223 | acpi_handle handle, |
@@ -293,9 +267,8 @@ acpi_ev_initialize_region ( | |||
293 | 267 | ||
294 | 268 | ||
295 | /* | 269 | /* |
296 | * Evsci - SCI (System Control Interrupt) handling/dispatch | 270 | * evsci - SCI (System Control Interrupt) handling/dispatch |
297 | */ | 271 | */ |
298 | |||
299 | u32 ACPI_SYSTEM_XFACE | 272 | u32 ACPI_SYSTEM_XFACE |
300 | acpi_ev_gpe_xrupt_handler ( | 273 | acpi_ev_gpe_xrupt_handler ( |
301 | void *context); | 274 | void *context); |