Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/acpi/acpica/
Devgpe.c37 acpi_ev_update_gpe_enable_mask(struct acpi_gpe_event_info *gpe_event_info) in acpi_ev_update_gpe_enable_mask() argument
44 gpe_register_info = gpe_event_info->register_info; in acpi_ev_update_gpe_enable_mask()
49 register_bit = acpi_hw_get_gpe_register_bit(gpe_event_info); in acpi_ev_update_gpe_enable_mask()
57 if (gpe_event_info->runtime_count) { in acpi_ev_update_gpe_enable_mask()
78 acpi_status acpi_ev_enable_gpe(struct acpi_gpe_event_info *gpe_event_info) in acpi_ev_enable_gpe() argument
86 status = acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_ENABLE); in acpi_ev_enable_gpe()
104 acpi_ev_mask_gpe(struct acpi_gpe_event_info *gpe_event_info, u8 is_masked) in acpi_ev_mask_gpe() argument
111 gpe_register_info = gpe_event_info->register_info; in acpi_ev_mask_gpe()
116 register_bit = acpi_hw_get_gpe_register_bit(gpe_event_info); in acpi_ev_mask_gpe()
125 (void)acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_DISABLE); in acpi_ev_mask_gpe()
[all …]
Devxfgpe.c95 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
107 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
108 if (gpe_event_info) { in ACPI_EXPORT_SYMBOL()
109 if (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) != in ACPI_EXPORT_SYMBOL()
111 status = acpi_ev_add_gpe_reference(gpe_event_info); in ACPI_EXPORT_SYMBOL()
113 ACPI_GPE_IS_POLLING_NEEDED(gpe_event_info)) { in ACPI_EXPORT_SYMBOL()
119 gpe_event_info, in ACPI_EXPORT_SYMBOL()
151 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
160 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
161 if (gpe_event_info) { in ACPI_EXPORT_SYMBOL()
[all …]
Dhwgpe.c40 u32 acpi_hw_get_gpe_register_bit(struct acpi_gpe_event_info *gpe_event_info) in acpi_hw_get_gpe_register_bit() argument
44 (gpe_event_info->gpe_number - in acpi_hw_get_gpe_register_bit()
45 gpe_event_info->register_info->base_gpe_number)); in acpi_hw_get_gpe_register_bit()
64 acpi_hw_low_set_gpe(struct acpi_gpe_event_info *gpe_event_info, u32 action) in acpi_hw_low_set_gpe() argument
75 gpe_register_info = gpe_event_info->register_info; in acpi_hw_low_set_gpe()
89 register_bit = acpi_hw_get_gpe_register_bit(gpe_event_info); in acpi_hw_low_set_gpe()
140 acpi_status acpi_hw_clear_gpe(struct acpi_gpe_event_info *gpe_event_info) in acpi_hw_clear_gpe() argument
150 gpe_register_info = gpe_event_info->register_info; in acpi_hw_clear_gpe()
159 register_bit = acpi_hw_get_gpe_register_bit(gpe_event_info); in acpi_hw_clear_gpe()
180 acpi_hw_get_gpe_status(struct acpi_gpe_event_info *gpe_event_info, in acpi_hw_get_gpe_status() argument
[all …]
Devxface.c722 struct acpi_gpe_event_info *gpe_event_info; in ACPI_EXPORT_SYMBOL() local
752 gpe_event_info = acpi_ev_get_gpe_event_info(gpe_device, gpe_number); in ACPI_EXPORT_SYMBOL()
753 if (!gpe_event_info) { in ACPI_EXPORT_SYMBOL()
760 if ((ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in ACPI_EXPORT_SYMBOL()
762 (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in ACPI_EXPORT_SYMBOL()
770 handler->method_node = gpe_event_info->dispatch.method_node; in ACPI_EXPORT_SYMBOL()
771 handler->original_flags = (u8)(gpe_event_info->flags & in ACPI_EXPORT_SYMBOL()
783 ACPI_GPE_DISPATCH_NOTIFY)) && gpe_event_info->runtime_count) { in ACPI_EXPORT_SYMBOL()
785 (void)acpi_ev_remove_gpe_reference(gpe_event_info); in ACPI_EXPORT_SYMBOL()
790 (u32)(gpe_event_info->flags & ACPI_GPE_XRUPT_TYPE_MASK)) { in ACPI_EXPORT_SYMBOL()
[all …]
Devgpeinit.c291 struct acpi_gpe_event_info *gpe_event_info; in acpi_ev_match_gpe_method() local
362 gpe_event_info = in acpi_ev_match_gpe_method()
364 if (!gpe_event_info) { in acpi_ev_match_gpe_method()
373 if ((ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in acpi_ev_match_gpe_method()
375 (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in acpi_ev_match_gpe_method()
383 if (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in acpi_ev_match_gpe_method()
389 if (type != (gpe_event_info->flags & ACPI_GPE_XRUPT_TYPE_MASK)) { in acpi_ev_match_gpe_method()
399 (void)acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_DISABLE); in acpi_ev_match_gpe_method()
405 gpe_event_info->flags &= ~(ACPI_GPE_DISPATCH_MASK); in acpi_ev_match_gpe_method()
406 gpe_event_info->flags |= (u8)(type | ACPI_GPE_DISPATCH_METHOD); in acpi_ev_match_gpe_method()
[all …]
Devgpeutil.c274 struct acpi_gpe_event_info *gpe_event_info; in acpi_ev_delete_gpe_handlers() local
289 gpe_event_info = &gpe_block->event_info[((acpi_size)i * in acpi_ev_delete_gpe_handlers()
293 if ((ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in acpi_ev_delete_gpe_handlers()
295 (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in acpi_ev_delete_gpe_handlers()
300 ACPI_FREE(gpe_event_info->dispatch.handler); in acpi_ev_delete_gpe_handlers()
301 gpe_event_info->dispatch.handler = NULL; in acpi_ev_delete_gpe_handlers()
302 gpe_event_info->flags &= in acpi_ev_delete_gpe_handlers()
304 } else if (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) in acpi_ev_delete_gpe_handlers()
309 notify = gpe_event_info->dispatch.notify_list; in acpi_ev_delete_gpe_handlers()
316 gpe_event_info->dispatch.notify_list = NULL; in acpi_ev_delete_gpe_handlers()
[all …]
Devgpeblk.c169 struct acpi_gpe_event_info *gpe_event_info = NULL; in acpi_ev_create_gpe_info_blocks() local
194 gpe_event_info = ACPI_ALLOCATE_ZEROED((acpi_size)gpe_block->gpe_count * in acpi_ev_create_gpe_info_blocks()
197 if (!gpe_event_info) { in acpi_ev_create_gpe_info_blocks()
207 gpe_block->event_info = gpe_event_info; in acpi_ev_create_gpe_info_blocks()
216 this_event = gpe_event_info; in acpi_ev_create_gpe_info_blocks()
272 if (gpe_event_info) { in acpi_ev_create_gpe_info_blocks()
273 ACPI_FREE(gpe_event_info); in acpi_ev_create_gpe_info_blocks()
409 struct acpi_gpe_event_info *gpe_event_info; in acpi_ev_initialize_gpe_block() local
440 gpe_event_info = &gpe_block->event_info[gpe_index]; in acpi_ev_initialize_gpe_block()
444 gpe_event_info->flags |= ACPI_GPE_INITIALIZED; in acpi_ev_initialize_gpe_block()
[all …]
Dacevents.h64 acpi_ev_update_gpe_enable_mask(struct acpi_gpe_event_info *gpe_event_info);
66 acpi_status acpi_ev_enable_gpe(struct acpi_gpe_event_info *gpe_event_info);
69 acpi_ev_mask_gpe(struct acpi_gpe_event_info *gpe_event_info, u8 is_masked);
72 acpi_ev_add_gpe_reference(struct acpi_gpe_event_info *gpe_event_info);
75 acpi_ev_remove_gpe_reference(struct acpi_gpe_event_info *gpe_event_info);
84 acpi_status acpi_ev_finish_gpe(struct acpi_gpe_event_info *gpe_event_info);
88 struct acpi_gpe_event_info *gpe_event_info, u32 gpe_number);
113 struct acpi_gpe_event_info *gpe_event_info,
Dachware.h79 u32 acpi_hw_get_gpe_register_bit(struct acpi_gpe_event_info *gpe_event_info);
82 acpi_hw_low_set_gpe(struct acpi_gpe_event_info *gpe_event_info, u32 action);
88 acpi_status acpi_hw_clear_gpe(struct acpi_gpe_event_info *gpe_event_info);
95 acpi_hw_get_gpe_status(struct acpi_gpe_event_info *gpe_event_info,
Ddbdisply.c727 struct acpi_gpe_event_info *gpe_event_info; in acpi_db_display_gpes() local
823 gpe_event_info = in acpi_db_display_gpes()
827 (gpe_event_info->flags) == in acpi_db_display_gpes()
838 gpe_index, gpe_event_info, in acpi_db_display_gpes()
839 gpe_event_info->runtime_count, in acpi_db_display_gpes()
840 gpe_event_info->flags); in acpi_db_display_gpes()
844 if (gpe_event_info-> in acpi_db_display_gpes()
851 if (gpe_event_info-> in acpi_db_display_gpes()
859 (gpe_event_info->flags)) { in acpi_db_display_gpes()
879 gpe_event_info->dispatch. in acpi_db_display_gpes()
[all …]
Ddbcmds.c1032 struct acpi_gpe_event_info *gpe_event_info; in acpi_db_generate_gpe() local
1047 gpe_event_info = in acpi_db_generate_gpe()
1050 if (!gpe_event_info) { in acpi_db_generate_gpe()
1055 (void)acpi_ev_gpe_dispatch(NULL, gpe_event_info, gpe_number); in acpi_db_generate_gpe()