49 #define _COMPONENT ACPI_EVENTS
51 #if (!ACPI_REDUCED_HARDWARE)
55 u32 interrupt_number);
91 if (!gpe_xrupt_block) {
101 while (next_gpe_block->
next) {
102 next_gpe_block = next_gpe_block->
next;
105 next_gpe_block->
next = gpe_block;
106 gpe_block->
previous = next_gpe_block;
154 goto unlock_and_exit;
167 if (gpe_block->
next) {
217 if (!gpe_register_info) {
219 "Could not allocate the GpeRegisterInfo table"));
230 if (!gpe_event_info) {
232 "Could not allocate the GpeEventInfo table"));
248 this_register = gpe_register_info;
306 if (gpe_register_info) {
309 if (gpe_event_info) {
339 u8 gpe_block_base_number,
340 u32 interrupt_number,
349 if (!register_count) {
363 gpe_block->
gpe_count = (
u16)(register_count * ACPI_GPE_REGISTER_WIDTH);
375 status = acpi_ev_create_gpe_info_blocks(gpe_block);
383 status = acpi_ev_install_gpe_block(gpe_block, interrupt_number);
404 if (return_gpe_block) {
409 "GPE %02X to %02X [%4.4s] %u regs on int 0x%X\n",
443 u32 gpe_enabled_count;
463 gpe_enabled_count = 0;
471 gpe_event_info = &gpe_block->
event_info[gpe_index];
488 "Could not enable GPE 0x%02X",
497 if (gpe_enabled_count) {
499 "Enabled %u GPEs in this block\n",