Searched refs:gpe_event_info (Results 1 – 9 of 9) sorted by relevance
/linux-3.4.99/drivers/acpi/acpica/ |
D | evgpe.c | 71 acpi_ev_update_gpe_enable_mask(struct acpi_gpe_event_info *gpe_event_info) in acpi_ev_update_gpe_enable_mask() argument 78 gpe_register_info = gpe_event_info->register_info; in acpi_ev_update_gpe_enable_mask() 83 register_bit = acpi_hw_get_gpe_register_bit(gpe_event_info, in acpi_ev_update_gpe_enable_mask() 92 if (gpe_event_info->runtime_count) { in acpi_ev_update_gpe_enable_mask() 111 acpi_ev_enable_gpe(struct acpi_gpe_event_info *gpe_event_info) in acpi_ev_enable_gpe() argument 123 if ((gpe_event_info->flags & ACPI_GPE_DISPATCH_MASK) == in acpi_ev_enable_gpe() 129 status = acpi_hw_clear_gpe(gpe_event_info); in acpi_ev_enable_gpe() 135 status = acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_ENABLE); in acpi_ev_enable_gpe() 154 acpi_status acpi_ev_add_gpe_reference(struct acpi_gpe_event_info *gpe_event_info) in acpi_ev_add_gpe_reference() argument 160 if (gpe_event_info->runtime_count == ACPI_UINT8_MAX) { in acpi_ev_add_gpe_reference() [all …]
|
D | evxfgpe.c | 121 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local 130 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL() 131 if (gpe_event_info) { in ACPI_EXPORT_SYMBOL() 132 status = acpi_ev_add_gpe_reference(gpe_event_info); in ACPI_EXPORT_SYMBOL() 158 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local 167 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL() 168 if (gpe_event_info) { in ACPI_EXPORT_SYMBOL() 169 status = acpi_ev_remove_gpe_reference(gpe_event_info) ; in ACPI_EXPORT_SYMBOL() 201 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local 223 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL() [all …]
|
D | hwgpe.c | 72 u32 acpi_hw_get_gpe_register_bit(struct acpi_gpe_event_info *gpe_event_info, in acpi_hw_get_gpe_register_bit() argument 75 return (u32)1 << (gpe_event_info->gpe_number - in acpi_hw_get_gpe_register_bit() 93 acpi_hw_low_set_gpe(struct acpi_gpe_event_info *gpe_event_info, u32 action) in acpi_hw_low_set_gpe() argument 104 gpe_register_info = gpe_event_info->register_info; in acpi_hw_low_set_gpe() 118 register_bit = acpi_hw_get_gpe_register_bit(gpe_event_info, in acpi_hw_low_set_gpe() 162 acpi_status acpi_hw_clear_gpe(struct acpi_gpe_event_info * gpe_event_info) in acpi_hw_clear_gpe() argument 172 gpe_register_info = gpe_event_info->register_info; in acpi_hw_clear_gpe() 182 acpi_hw_get_gpe_register_bit(gpe_event_info, gpe_register_info); in acpi_hw_clear_gpe() 204 acpi_hw_get_gpe_status(struct acpi_gpe_event_info * gpe_event_info, in acpi_hw_get_gpe_status() argument 221 gpe_register_info = gpe_event_info->register_info; in acpi_hw_get_gpe_status() [all …]
|
D | evxface.c | 731 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local 761 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL() 762 if (!gpe_event_info) { in ACPI_EXPORT_SYMBOL() 769 if ((gpe_event_info->flags & ACPI_GPE_DISPATCH_MASK) == in ACPI_EXPORT_SYMBOL() 779 handler->method_node = gpe_event_info->dispatch.method_node; in ACPI_EXPORT_SYMBOL() 780 handler->original_flags = gpe_event_info->flags & in ACPI_EXPORT_SYMBOL() 790 && gpe_event_info->runtime_count) { in ACPI_EXPORT_SYMBOL() 792 (void)acpi_ev_remove_gpe_reference(gpe_event_info); in ACPI_EXPORT_SYMBOL() 797 gpe_event_info->dispatch.handler = handler; in ACPI_EXPORT_SYMBOL() 801 gpe_event_info->flags &= in ACPI_EXPORT_SYMBOL() [all …]
|
D | evgpeinit.c | 329 struct acpi_gpe_event_info *gpe_event_info; in acpi_ev_match_gpe_method() local 394 gpe_event_info = in acpi_ev_match_gpe_method() 396 if (!gpe_event_info) { in acpi_ev_match_gpe_method() 405 if ((gpe_event_info->flags & ACPI_GPE_DISPATCH_MASK) == in acpi_ev_match_gpe_method() 413 if ((gpe_event_info->flags & ACPI_GPE_DISPATCH_MASK) == in acpi_ev_match_gpe_method() 419 if (type != (gpe_event_info->flags & ACPI_GPE_XRUPT_TYPE_MASK)) { in acpi_ev_match_gpe_method() 428 (void)acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_DISABLE); in acpi_ev_match_gpe_method() 434 gpe_event_info->flags &= ~(ACPI_GPE_DISPATCH_MASK); in acpi_ev_match_gpe_method() 435 gpe_event_info->flags |= (u8)(type | ACPI_GPE_DISPATCH_METHOD); in acpi_ev_match_gpe_method() 436 gpe_event_info->dispatch.method_node = method_node; in acpi_ev_match_gpe_method()
|
D | evgpeblk.c | 202 struct acpi_gpe_event_info *gpe_event_info = NULL; in acpi_ev_create_gpe_info_blocks() local 227 gpe_event_info = ACPI_ALLOCATE_ZEROED((acpi_size) gpe_block->gpe_count * in acpi_ev_create_gpe_info_blocks() 230 if (!gpe_event_info) { in acpi_ev_create_gpe_info_blocks() 240 gpe_block->event_info = gpe_event_info; in acpi_ev_create_gpe_info_blocks() 249 this_event = gpe_event_info; in acpi_ev_create_gpe_info_blocks() 309 if (gpe_event_info) { in acpi_ev_create_gpe_info_blocks() 310 ACPI_FREE(gpe_event_info); in acpi_ev_create_gpe_info_blocks() 442 struct acpi_gpe_event_info *gpe_event_info; in acpi_ev_initialize_gpe_block() local 471 gpe_event_info = &gpe_block->event_info[gpe_index]; in acpi_ev_initialize_gpe_block() 477 if (((gpe_event_info->flags & ACPI_GPE_DISPATCH_MASK) == in acpi_ev_initialize_gpe_block() [all …]
|
D | evgpeutil.c | 123 u8 acpi_ev_valid_gpe_event(struct acpi_gpe_event_info *gpe_event_info) in acpi_ev_valid_gpe_event() argument 141 if ((&gpe_block->event_info[0] <= gpe_event_info) && in acpi_ev_valid_gpe_event() 143 gpe_event_info)) { in acpi_ev_valid_gpe_event() 349 struct acpi_gpe_event_info *gpe_event_info; in acpi_ev_delete_gpe_handlers() local 362 gpe_event_info = &gpe_block->event_info[((acpi_size) i * in acpi_ev_delete_gpe_handlers() 366 if ((gpe_event_info->flags & ACPI_GPE_DISPATCH_MASK) == in acpi_ev_delete_gpe_handlers() 368 ACPI_FREE(gpe_event_info->dispatch.handler); in acpi_ev_delete_gpe_handlers() 369 gpe_event_info->dispatch.handler = NULL; in acpi_ev_delete_gpe_handlers() 370 gpe_event_info->flags &= in acpi_ev_delete_gpe_handlers()
|
D | acevents.h | 83 acpi_ev_update_gpe_enable_mask(struct acpi_gpe_event_info *gpe_event_info); 85 acpi_status acpi_ev_enable_gpe(struct acpi_gpe_event_info *gpe_event_info); 87 acpi_status acpi_ev_add_gpe_reference(struct acpi_gpe_event_info *gpe_event_info); 89 acpi_status acpi_ev_remove_gpe_reference(struct acpi_gpe_event_info *gpe_event_info); 98 acpi_status acpi_ev_finish_gpe(struct acpi_gpe_event_info *gpe_event_info); 122 struct acpi_gpe_event_info *gpe_event_info, 143 u8 acpi_ev_valid_gpe_event(struct acpi_gpe_event_info *gpe_event_info);
|
D | achware.h | 113 u32 acpi_hw_get_gpe_register_bit(struct acpi_gpe_event_info *gpe_event_info, 117 acpi_hw_low_set_gpe(struct acpi_gpe_event_info *gpe_event_info, u32 action); 123 acpi_status acpi_hw_clear_gpe(struct acpi_gpe_event_info *gpe_event_info); 130 acpi_hw_get_gpe_status(struct acpi_gpe_event_info *gpe_event_info,
|