Home
last modified time | relevance | path

Searched refs:gpe_event_info (Results 1 – 11 of 11) 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()
112 acpi_status acpi_ev_enable_gpe(struct acpi_gpe_event_info *gpe_event_info) in acpi_ev_enable_gpe() argument
120 status = acpi_hw_clear_gpe(gpe_event_info); in acpi_ev_enable_gpe()
127 status = acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_ENABLE); in acpi_ev_enable_gpe()
145 acpi_ev_mask_gpe(struct acpi_gpe_event_info *gpe_event_info, u8 is_masked) in acpi_ev_mask_gpe() argument
152 gpe_register_info = gpe_event_info->register_info; in acpi_ev_mask_gpe()
157 register_bit = acpi_hw_get_gpe_register_bit(gpe_event_info); in acpi_ev_mask_gpe()
[all …]
Devxfgpe.c121 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
133 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
134 if (gpe_event_info) { in ACPI_EXPORT_SYMBOL()
135 if (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) != in ACPI_EXPORT_SYMBOL()
137 status = acpi_ev_add_gpe_reference(gpe_event_info); in ACPI_EXPORT_SYMBOL()
166 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
175 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
176 if (gpe_event_info) { in ACPI_EXPORT_SYMBOL()
177 status = acpi_ev_remove_gpe_reference(gpe_event_info) ; in ACPI_EXPORT_SYMBOL()
216 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
[all …]
Dhwgpe.c74 u32 acpi_hw_get_gpe_register_bit(struct acpi_gpe_event_info *gpe_event_info) in acpi_hw_get_gpe_register_bit() argument
78 (gpe_event_info->gpe_number - in acpi_hw_get_gpe_register_bit()
79 gpe_event_info->register_info->base_gpe_number)); in acpi_hw_get_gpe_register_bit()
98 acpi_hw_low_set_gpe(struct acpi_gpe_event_info *gpe_event_info, u32 action) in acpi_hw_low_set_gpe() argument
109 gpe_register_info = gpe_event_info->register_info; in acpi_hw_low_set_gpe()
123 register_bit = acpi_hw_get_gpe_register_bit(gpe_event_info); in acpi_hw_low_set_gpe()
174 acpi_status acpi_hw_clear_gpe(struct acpi_gpe_event_info *gpe_event_info) in acpi_hw_clear_gpe() argument
184 gpe_register_info = gpe_event_info->register_info; in acpi_hw_clear_gpe()
193 register_bit = acpi_hw_get_gpe_register_bit(gpe_event_info); in acpi_hw_clear_gpe()
214 acpi_hw_get_gpe_status(struct acpi_gpe_event_info *gpe_event_info, in acpi_hw_get_gpe_status() argument
[all …]
Devxface.c756 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
786 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
787 if (!gpe_event_info) { in ACPI_EXPORT_SYMBOL()
794 if ((ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in ACPI_EXPORT_SYMBOL()
796 (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in ACPI_EXPORT_SYMBOL()
804 handler->method_node = gpe_event_info->dispatch.method_node; in ACPI_EXPORT_SYMBOL()
805 handler->original_flags = (u8)(gpe_event_info->flags & in ACPI_EXPORT_SYMBOL()
817 ACPI_GPE_DISPATCH_NOTIFY)) && gpe_event_info->runtime_count) { in ACPI_EXPORT_SYMBOL()
819 (void)acpi_ev_remove_gpe_reference(gpe_event_info); in ACPI_EXPORT_SYMBOL()
824 (u32)(gpe_event_info->flags & ACPI_GPE_XRUPT_TYPE_MASK)) { in ACPI_EXPORT_SYMBOL()
[all …]
Devgpeutil.c308 struct acpi_gpe_event_info *gpe_event_info; in acpi_ev_delete_gpe_handlers() local
323 gpe_event_info = &gpe_block->event_info[((acpi_size)i * in acpi_ev_delete_gpe_handlers()
327 if ((ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in acpi_ev_delete_gpe_handlers()
329 (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in acpi_ev_delete_gpe_handlers()
334 ACPI_FREE(gpe_event_info->dispatch.handler); in acpi_ev_delete_gpe_handlers()
335 gpe_event_info->dispatch.handler = NULL; in acpi_ev_delete_gpe_handlers()
336 gpe_event_info->flags &= in acpi_ev_delete_gpe_handlers()
338 } else if (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) in acpi_ev_delete_gpe_handlers()
343 notify = gpe_event_info->dispatch.notify_list; in acpi_ev_delete_gpe_handlers()
350 gpe_event_info->dispatch.notify_list = NULL; in acpi_ev_delete_gpe_handlers()
[all …]
Devgpeinit.c325 struct acpi_gpe_event_info *gpe_event_info; in acpi_ev_match_gpe_method() local
396 gpe_event_info = in acpi_ev_match_gpe_method()
398 if (!gpe_event_info) { in acpi_ev_match_gpe_method()
407 if ((ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in acpi_ev_match_gpe_method()
409 (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in acpi_ev_match_gpe_method()
417 if (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in acpi_ev_match_gpe_method()
423 if (type != (gpe_event_info->flags & ACPI_GPE_XRUPT_TYPE_MASK)) { in acpi_ev_match_gpe_method()
433 (void)acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_DISABLE); in acpi_ev_match_gpe_method()
439 gpe_event_info->flags &= ~(ACPI_GPE_DISPATCH_MASK); in acpi_ev_match_gpe_method()
440 gpe_event_info->flags |= (u8)(type | ACPI_GPE_DISPATCH_METHOD); in acpi_ev_match_gpe_method()
[all …]
Devgpeblk.c203 struct acpi_gpe_event_info *gpe_event_info = NULL; in acpi_ev_create_gpe_info_blocks() local
228 gpe_event_info = ACPI_ALLOCATE_ZEROED((acpi_size)gpe_block->gpe_count * in acpi_ev_create_gpe_info_blocks()
231 if (!gpe_event_info) { in acpi_ev_create_gpe_info_blocks()
241 gpe_block->event_info = gpe_event_info; in acpi_ev_create_gpe_info_blocks()
250 this_event = gpe_event_info; in acpi_ev_create_gpe_info_blocks()
306 if (gpe_event_info) { in acpi_ev_create_gpe_info_blocks()
307 ACPI_FREE(gpe_event_info); in acpi_ev_create_gpe_info_blocks()
443 struct acpi_gpe_event_info *gpe_event_info; in acpi_ev_initialize_gpe_block() local
472 gpe_event_info = &gpe_block->event_info[gpe_index]; in acpi_ev_initialize_gpe_block()
478 if ((ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in acpi_ev_initialize_gpe_block()
[all …]
Dacevents.h84 acpi_ev_update_gpe_enable_mask(struct acpi_gpe_event_info *gpe_event_info);
86 acpi_status acpi_ev_enable_gpe(struct acpi_gpe_event_info *gpe_event_info);
89 acpi_ev_mask_gpe(struct acpi_gpe_event_info *gpe_event_info, u8 is_masked);
92 acpi_ev_add_gpe_reference(struct acpi_gpe_event_info *gpe_event_info);
95 acpi_ev_remove_gpe_reference(struct acpi_gpe_event_info *gpe_event_info);
104 acpi_status acpi_ev_finish_gpe(struct acpi_gpe_event_info *gpe_event_info);
129 struct acpi_gpe_event_info *gpe_event_info,
Ddbdisply.c737 struct acpi_gpe_event_info *gpe_event_info; in acpi_db_display_gpes() local
833 gpe_event_info = in acpi_db_display_gpes()
837 (gpe_event_info->flags) == in acpi_db_display_gpes()
848 gpe_index, gpe_event_info, in acpi_db_display_gpes()
849 gpe_event_info->runtime_count, in acpi_db_display_gpes()
850 gpe_event_info->flags); in acpi_db_display_gpes()
854 if (gpe_event_info-> in acpi_db_display_gpes()
861 if (gpe_event_info-> in acpi_db_display_gpes()
869 (gpe_event_info->flags)) { in acpi_db_display_gpes()
889 gpe_event_info->dispatch. in acpi_db_display_gpes()
[all …]
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,
Ddbcmds.c1068 struct acpi_gpe_event_info *gpe_event_info; in acpi_db_generate_gpe() local
1083 gpe_event_info = in acpi_db_generate_gpe()
1086 if (!gpe_event_info) { in acpi_db_generate_gpe()
1091 (void)acpi_ev_gpe_dispatch(NULL, gpe_event_info, gpe_number); in acpi_db_generate_gpe()