Searched refs:gpe_event_info (Results 1 – 7 of 7) sorted by relevance
/linux-2.4.37.9/drivers/acpi/hardware/ |
D | hwgpe.c | 66 struct acpi_gpe_event_info *gpe_event_info) in acpi_hw_enable_gpe() argument 80 &gpe_event_info->register_info->enable_address); in acpi_hw_enable_gpe() 87 status = acpi_hw_low_level_write (8, (in_byte | gpe_event_info->bit_mask), in acpi_hw_enable_gpe() 88 &gpe_event_info->register_info->enable_address); in acpi_hw_enable_gpe() 109 struct acpi_gpe_event_info *gpe_event_info) in acpi_hw_enable_gpe_for_wakeup() argument 119 gpe_register_info = gpe_event_info->register_info; in acpi_hw_enable_gpe_for_wakeup() 128 gpe_register_info->wake_enable |= gpe_event_info->bit_mask; in acpi_hw_enable_gpe_for_wakeup() 129 gpe_event_info->flags |= (ACPI_GPE_TYPE_WAKE | ACPI_GPE_ENABLED); in acpi_hw_enable_gpe_for_wakeup() 147 struct acpi_gpe_event_info *gpe_event_info) in acpi_hw_disable_gpe() argument 159 gpe_register_info = gpe_event_info->register_info; in acpi_hw_disable_gpe() [all …]
|
/linux-2.4.37.9/drivers/acpi/events/ |
D | evgpe.c | 254 struct acpi_gpe_event_info *gpe_event_info = (void *) context; in acpi_ev_asynch_execute_gpe_method() local 270 if (!acpi_ev_valid_gpe_event (gpe_event_info)) { in acpi_ev_asynch_execute_gpe_method() 279 ACPI_MEMCPY (&local_gpe_event_info, gpe_event_info, sizeof (struct acpi_gpe_event_info)); in acpi_ev_asynch_execute_gpe_method() 335 struct acpi_gpe_event_info *gpe_event_info, in acpi_ev_gpe_dispatch() argument 348 if ((gpe_event_info->flags & ACPI_GPE_XRUPT_TYPE_MASK) == ACPI_GPE_EDGE_TRIGGERED) { in acpi_ev_gpe_dispatch() 349 status = acpi_hw_clear_gpe (gpe_event_info); in acpi_ev_gpe_dispatch() 364 if (gpe_event_info->handler) { in acpi_ev_gpe_dispatch() 367 gpe_event_info->handler (gpe_event_info->context); in acpi_ev_gpe_dispatch() 371 if ((gpe_event_info->flags & ACPI_GPE_XRUPT_TYPE_MASK) == ACPI_GPE_LEVEL_TRIGGERED) { in acpi_ev_gpe_dispatch() 372 status = acpi_hw_clear_gpe (gpe_event_info); in acpi_ev_gpe_dispatch() [all …]
|
D | evxfevnt.c | 227 struct acpi_gpe_event_info *gpe_event_info; in acpi_enable_gpe() local 244 gpe_event_info = acpi_ev_get_gpe_event_info (gpe_device, gpe_number); in acpi_enable_gpe() 245 if (!gpe_event_info) { in acpi_enable_gpe() 255 status = acpi_hw_disable_gpe (gpe_event_info); in acpi_enable_gpe() 262 acpi_hw_enable_gpe_for_wakeup (gpe_event_info); in acpi_enable_gpe() 267 status = acpi_hw_enable_gpe (gpe_event_info); in acpi_enable_gpe() 361 struct acpi_gpe_event_info *gpe_event_info; in acpi_disable_gpe() local 378 gpe_event_info = acpi_ev_get_gpe_event_info (gpe_device, gpe_number); in acpi_disable_gpe() 379 if (!gpe_event_info) { in acpi_disable_gpe() 389 acpi_hw_disable_gpe_for_wakeup (gpe_event_info); in acpi_disable_gpe() [all …]
|
D | evxface.c | 500 struct acpi_gpe_event_info *gpe_event_info; in acpi_install_gpe_handler() local 519 gpe_event_info = acpi_ev_get_gpe_event_info (gpe_device, gpe_number); in acpi_install_gpe_handler() 520 if (!gpe_event_info) { in acpi_install_gpe_handler() 527 if (gpe_event_info->handler) { in acpi_install_gpe_handler() 535 gpe_event_info->handler = handler; in acpi_install_gpe_handler() 536 gpe_event_info->context = context; in acpi_install_gpe_handler() 537 gpe_event_info->flags = (u8) type; in acpi_install_gpe_handler() 542 status = acpi_hw_clear_gpe (gpe_event_info); in acpi_install_gpe_handler() 547 status = acpi_hw_enable_gpe (gpe_event_info); in acpi_install_gpe_handler() 577 struct acpi_gpe_event_info *gpe_event_info; in acpi_remove_gpe_handler() local [all …]
|
D | evgpeblk.c | 68 struct acpi_gpe_event_info *gpe_event_info) in acpi_ev_valid_gpe_event() argument 88 if ((&gpe_block->event_info[0] <= gpe_event_info) && in acpi_ev_valid_gpe_event() 89 (&gpe_block->event_info[((acpi_size) gpe_block->register_count) * 8] > gpe_event_info)) { in acpi_ev_valid_gpe_event() 187 struct acpi_gpe_event_info *gpe_event_info; in acpi_ev_save_method_info() local 258 gpe_event_info = &gpe_block->event_info[gpe_number - gpe_block->block_base_number]; in acpi_ev_save_method_info() 260 gpe_event_info->flags = type; in acpi_ev_save_method_info() 261 gpe_event_info->method_node = (struct acpi_namespace_node *) obj_handle; in acpi_ev_save_method_info() 295 struct acpi_gpe_event_info *gpe_event_info; in acpi_ev_get_gpe_type() local 375 gpe_event_info = &gpe_block->event_info[gpe_number - gpe_block->block_base_number]; in acpi_ev_get_gpe_type() 376 gpe_event_info->flags |= ACPI_GPE_TYPE_WAKE; in acpi_ev_get_gpe_type() [all …]
|
/linux-2.4.37.9/include/acpi/ |
D | achware.h | 118 struct acpi_gpe_event_info *gpe_event_info); 122 struct acpi_gpe_event_info *gpe_event_info); 126 struct acpi_gpe_event_info *gpe_event_info); 135 struct acpi_gpe_event_info *gpe_event_info); 139 struct acpi_gpe_event_info *gpe_event_info); 148 struct acpi_gpe_event_info *gpe_event_info,
|
D | acevents.h | 118 struct acpi_gpe_event_info *gpe_event_info); 144 struct acpi_gpe_event_info *gpe_event_info,
|