Home
last modified time | relevance | path

Searched refs:gpe_event_info (Results 1 – 9 of 9) sorted by relevance

/drivers/acpi/acpica/
Devgpe.c71 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()
91 if (gpe_event_info->runtime_count) { in acpi_ev_update_gpe_enable_mask()
110 acpi_status acpi_ev_enable_gpe(struct acpi_gpe_event_info *gpe_event_info) in acpi_ev_enable_gpe() argument
122 if ((gpe_event_info->flags & ACPI_GPE_DISPATCH_MASK) == in acpi_ev_enable_gpe()
128 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_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 …]
Devxfgpe.c121 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()
202 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
249 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
[all …]
Devgpeutil.c123 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
364 gpe_event_info = &gpe_block->event_info[((acpi_size) i * in acpi_ev_delete_gpe_handlers()
368 if ((gpe_event_info->flags & ACPI_GPE_DISPATCH_MASK) == in acpi_ev_delete_gpe_handlers()
373 ACPI_FREE(gpe_event_info->dispatch.handler); in acpi_ev_delete_gpe_handlers()
374 gpe_event_info->dispatch.handler = NULL; in acpi_ev_delete_gpe_handlers()
375 gpe_event_info->flags &= in acpi_ev_delete_gpe_handlers()
378 if ((gpe_event_info-> in acpi_ev_delete_gpe_handlers()
[all …]
Dhwgpe.c70 u32 acpi_hw_get_gpe_register_bit(struct acpi_gpe_event_info *gpe_event_info) in acpi_hw_get_gpe_register_bit() argument
74 (gpe_event_info->gpe_number - in acpi_hw_get_gpe_register_bit()
75 gpe_event_info->register_info->base_gpe_number)); in acpi_hw_get_gpe_register_bit()
92 acpi_hw_low_set_gpe(struct acpi_gpe_event_info *gpe_event_info, u32 action) in acpi_hw_low_set_gpe() argument
103 gpe_register_info = gpe_event_info->register_info; in acpi_hw_low_set_gpe()
117 register_bit = acpi_hw_get_gpe_register_bit(gpe_event_info); in acpi_hw_low_set_gpe()
160 acpi_status acpi_hw_clear_gpe(struct acpi_gpe_event_info * gpe_event_info) in acpi_hw_clear_gpe() argument
170 gpe_register_info = gpe_event_info->register_info; in acpi_hw_clear_gpe()
179 register_bit = acpi_hw_get_gpe_register_bit(gpe_event_info); in acpi_hw_clear_gpe()
201 acpi_hw_get_gpe_status(struct acpi_gpe_event_info * gpe_event_info, in acpi_hw_get_gpe_status() argument
[all …]
Devxface.c585 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
615 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
616 if (!gpe_event_info) { in ACPI_EXPORT_SYMBOL()
623 if ((gpe_event_info->flags & ACPI_GPE_DISPATCH_MASK) == in ACPI_EXPORT_SYMBOL()
631 handler->method_node = gpe_event_info->dispatch.method_node; in ACPI_EXPORT_SYMBOL()
632 handler->original_flags = (u8)(gpe_event_info->flags & in ACPI_EXPORT_SYMBOL()
643 && gpe_event_info->runtime_count) { in ACPI_EXPORT_SYMBOL()
645 (void)acpi_ev_remove_gpe_reference(gpe_event_info); in ACPI_EXPORT_SYMBOL()
650 gpe_event_info->dispatch.handler = handler; in ACPI_EXPORT_SYMBOL()
654 gpe_event_info->flags &= in ACPI_EXPORT_SYMBOL()
[all …]
Devgpeinit.c332 struct acpi_gpe_event_info *gpe_event_info; in acpi_ev_match_gpe_method() local
397 gpe_event_info = in acpi_ev_match_gpe_method()
399 if (!gpe_event_info) { in acpi_ev_match_gpe_method()
408 if ((gpe_event_info->flags & ACPI_GPE_DISPATCH_MASK) == in acpi_ev_match_gpe_method()
416 if ((gpe_event_info->flags & ACPI_GPE_DISPATCH_MASK) == in acpi_ev_match_gpe_method()
422 if (type != (gpe_event_info->flags & ACPI_GPE_XRUPT_TYPE_MASK)) { in acpi_ev_match_gpe_method()
431 (void)acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_DISABLE); in acpi_ev_match_gpe_method()
437 gpe_event_info->flags &= ~(ACPI_GPE_DISPATCH_MASK); in acpi_ev_match_gpe_method()
438 gpe_event_info->flags |= (u8)(type | ACPI_GPE_DISPATCH_METHOD); in acpi_ev_match_gpe_method()
439 gpe_event_info->dispatch.method_node = method_node; in acpi_ev_match_gpe_method()
Devgpeblk.c202 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 …]
Dacevents.h83 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);
88 acpi_ev_add_gpe_reference(struct acpi_gpe_event_info *gpe_event_info);
91 acpi_ev_remove_gpe_reference(struct acpi_gpe_event_info *gpe_event_info);
100 acpi_status acpi_ev_finish_gpe(struct acpi_gpe_event_info *gpe_event_info);
124 struct acpi_gpe_event_info *gpe_event_info,
145 u8 acpi_ev_valid_gpe_event(struct acpi_gpe_event_info *gpe_event_info);
Dachware.h113 u32 acpi_hw_get_gpe_register_bit(struct acpi_gpe_event_info *gpe_event_info);
116 acpi_hw_low_set_gpe(struct acpi_gpe_event_info *gpe_event_info, u32 action);
122 acpi_status acpi_hw_clear_gpe(struct acpi_gpe_event_info *gpe_event_info);
129 acpi_hw_get_gpe_status(struct acpi_gpe_event_info *gpe_event_info,