diff options
author | Bob Moore <robert.moore@intel.com> | 2010-04-26 23:41:19 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-05-06 03:05:54 -0400 |
commit | 3fe50208b29b2463eb6c181c1433dd1beb39f282 (patch) | |
tree | a35b7e47a5130e2d0179e34c69a7cae55a327b77 /drivers/acpi/acpica/acevents.h | |
parent | 186c307f008d2a53961cd970aaf7cb9c33e79cb1 (diff) |
ACPICA: Split large file, evgpeblk
Create two new files, evgpeinit.c and evgpeutil.c. Updated
unix and linux makefiles.
Signed-off-by: Bob 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 'drivers/acpi/acpica/acevents.h')
-rw-r--r-- | drivers/acpi/acpica/acevents.h | 50 |
1 files changed, 34 insertions, 16 deletions
diff --git a/drivers/acpi/acpica/acevents.h b/drivers/acpi/acpica/acevents.h index 0f83dc46bd93..64d1e5c2d4ae 100644 --- a/drivers/acpi/acpica/acevents.h +++ b/drivers/acpi/acpica/acevents.h | |||
@@ -73,8 +73,10 @@ acpi_ev_queue_notify_request(struct acpi_namespace_node *node, | |||
73 | u32 notify_value); | 73 | u32 notify_value); |
74 | 74 | ||
75 | /* | 75 | /* |
76 | * evgpe - GPE handling and dispatch | 76 | * evgpe - Low-level GPE support |
77 | */ | 77 | */ |
78 | u32 acpi_ev_gpe_detect(struct acpi_gpe_xrupt_info *gpe_xrupt_list); | ||
79 | |||
78 | acpi_status | 80 | acpi_status |
79 | acpi_ev_update_gpe_enable_masks(struct acpi_gpe_event_info *gpe_event_info); | 81 | acpi_ev_update_gpe_enable_masks(struct acpi_gpe_event_info *gpe_event_info); |
80 | 82 | ||
@@ -90,18 +92,8 @@ struct acpi_gpe_event_info *acpi_ev_low_get_gpe_info(u32 gpe_number, | |||
90 | *gpe_block); | 92 | *gpe_block); |
91 | 93 | ||
92 | /* | 94 | /* |
93 | * evgpeblk | 95 | * evgpeblk - Upper-level GPE block support |
94 | */ | 96 | */ |
95 | u8 acpi_ev_valid_gpe_event(struct acpi_gpe_event_info *gpe_event_info); | ||
96 | |||
97 | acpi_status | ||
98 | acpi_ev_walk_gpe_list(acpi_gpe_callback gpe_walk_callback, void *context); | ||
99 | |||
100 | acpi_status | ||
101 | acpi_ev_delete_gpe_handlers(struct acpi_gpe_xrupt_info *gpe_xrupt_info, | ||
102 | struct acpi_gpe_block_info *gpe_block, | ||
103 | void *context); | ||
104 | |||
105 | acpi_status | 97 | acpi_status |
106 | acpi_ev_create_gpe_block(struct acpi_namespace_node *gpe_device, | 98 | acpi_ev_create_gpe_block(struct acpi_namespace_node *gpe_device, |
107 | struct acpi_generic_address *gpe_block_address, | 99 | struct acpi_generic_address *gpe_block_address, |
@@ -110,8 +102,6 @@ acpi_ev_create_gpe_block(struct acpi_namespace_node *gpe_device, | |||
110 | u32 interrupt_number, | 102 | u32 interrupt_number, |
111 | struct acpi_gpe_block_info **return_gpe_block); | 103 | struct acpi_gpe_block_info **return_gpe_block); |
112 | 104 | ||
113 | void acpi_ev_update_gpes(acpi_owner_id table_owner_id); | ||
114 | |||
115 | acpi_status | 105 | acpi_status |
116 | acpi_ev_initialize_gpe_block(struct acpi_namespace_node *gpe_device, | 106 | acpi_ev_initialize_gpe_block(struct acpi_namespace_node *gpe_device, |
117 | struct acpi_gpe_block_info *gpe_block); | 107 | struct acpi_gpe_block_info *gpe_block); |
@@ -122,10 +112,38 @@ u32 | |||
122 | acpi_ev_gpe_dispatch(struct acpi_gpe_event_info *gpe_event_info, | 112 | acpi_ev_gpe_dispatch(struct acpi_gpe_event_info *gpe_event_info, |
123 | u32 gpe_number); | 113 | u32 gpe_number); |
124 | 114 | ||
125 | u32 acpi_ev_gpe_detect(struct acpi_gpe_xrupt_info *gpe_xrupt_list); | 115 | /* |
126 | 116 | * evgpeinit - GPE initialization and update | |
117 | */ | ||
127 | acpi_status acpi_ev_gpe_initialize(void); | 118 | acpi_status acpi_ev_gpe_initialize(void); |
128 | 119 | ||
120 | void acpi_ev_update_gpes(acpi_owner_id table_owner_id); | ||
121 | |||
122 | acpi_status | ||
123 | acpi_ev_match_gpe_method(acpi_handle obj_handle, | ||
124 | u32 level, void *context, void **return_value); | ||
125 | |||
126 | acpi_status | ||
127 | acpi_ev_match_prw_and_gpe(acpi_handle obj_handle, | ||
128 | u32 level, void *context, void **return_value); | ||
129 | |||
130 | /* | ||
131 | * evgpeutil - GPE utilities | ||
132 | */ | ||
133 | acpi_status | ||
134 | acpi_ev_walk_gpe_list(acpi_gpe_callback gpe_walk_callback, void *context); | ||
135 | |||
136 | u8 acpi_ev_valid_gpe_event(struct acpi_gpe_event_info *gpe_event_info); | ||
137 | |||
138 | struct acpi_gpe_xrupt_info *acpi_ev_get_gpe_xrupt_block(u32 interrupt_number); | ||
139 | |||
140 | acpi_status acpi_ev_delete_gpe_xrupt(struct acpi_gpe_xrupt_info *gpe_xrupt); | ||
141 | |||
142 | acpi_status | ||
143 | acpi_ev_delete_gpe_handlers(struct acpi_gpe_xrupt_info *gpe_xrupt_info, | ||
144 | struct acpi_gpe_block_info *gpe_block, | ||
145 | void *context); | ||
146 | |||
129 | /* | 147 | /* |
130 | * evregion - Address Space handling | 148 | * evregion - Address Space handling |
131 | */ | 149 | */ |