Home
last modified time | relevance | path

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

/linux-6.6.21/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, TRUE); 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.c110 u32 acpi_hw_get_gpe_register_bit(struct acpi_gpe_event_info *gpe_event_info) in acpi_hw_get_gpe_register_bit() argument
114 (gpe_event_info->gpe_number - in acpi_hw_get_gpe_register_bit()
115 gpe_event_info->register_info->base_gpe_number)); in acpi_hw_get_gpe_register_bit()
134 acpi_hw_low_set_gpe(struct acpi_gpe_event_info *gpe_event_info, u32 action) in acpi_hw_low_set_gpe() argument
145 gpe_register_info = gpe_event_info->register_info; in acpi_hw_low_set_gpe()
160 register_bit = acpi_hw_get_gpe_register_bit(gpe_event_info); in acpi_hw_low_set_gpe()
210 acpi_status acpi_hw_clear_gpe(struct acpi_gpe_event_info *gpe_event_info) in acpi_hw_clear_gpe() argument
220 gpe_register_info = gpe_event_info->register_info; in acpi_hw_clear_gpe()
229 register_bit = acpi_hw_get_gpe_register_bit(gpe_event_info); in acpi_hw_clear_gpe()
250 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 …]
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 …]
Devgpeinit.c299 struct acpi_gpe_event_info *gpe_event_info; in acpi_ev_match_gpe_method() local
370 gpe_event_info = in acpi_ev_match_gpe_method()
372 if (!gpe_event_info) { in acpi_ev_match_gpe_method()
381 if ((ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in acpi_ev_match_gpe_method()
383 (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in acpi_ev_match_gpe_method()
391 if (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) == in acpi_ev_match_gpe_method()
397 if (type != (gpe_event_info->flags & ACPI_GPE_XRUPT_TYPE_MASK)) { in acpi_ev_match_gpe_method()
407 (void)acpi_hw_low_set_gpe(gpe_event_info, ACPI_GPE_DISABLE); in acpi_ev_match_gpe_method()
413 gpe_event_info->flags &= ~(ACPI_GPE_DISPATCH_MASK); in acpi_ev_match_gpe_method()
414 gpe_event_info->flags |= (u8)(type | ACPI_GPE_DISPATCH_METHOD); in acpi_ev_match_gpe_method()
[all …]
Devgpeblk.c172 struct acpi_gpe_event_info *gpe_event_info = NULL; in acpi_ev_create_gpe_info_blocks() local
197 gpe_event_info = ACPI_ALLOCATE_ZEROED((acpi_size)gpe_block->gpe_count * in acpi_ev_create_gpe_info_blocks()
200 if (!gpe_event_info) { in acpi_ev_create_gpe_info_blocks()
210 gpe_block->event_info = gpe_event_info; in acpi_ev_create_gpe_info_blocks()
219 this_event = gpe_event_info; in acpi_ev_create_gpe_info_blocks()
269 if (gpe_event_info) { in acpi_ev_create_gpe_info_blocks()
270 ACPI_FREE(gpe_event_info); in acpi_ev_create_gpe_info_blocks()
423 struct acpi_gpe_event_info *gpe_event_info; in acpi_ev_initialize_gpe_block() local
454 gpe_event_info = &gpe_block->event_info[gpe_index]; in acpi_ev_initialize_gpe_block()
458 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,
76 acpi_ev_remove_gpe_reference(struct acpi_gpe_event_info *gpe_event_info);
85 acpi_status acpi_ev_finish_gpe(struct acpi_gpe_event_info *gpe_event_info);
89 struct acpi_gpe_event_info *gpe_event_info, u32 gpe_number);
114 struct acpi_gpe_event_info *gpe_event_info,
Dachware.h85 u32 acpi_hw_get_gpe_register_bit(struct acpi_gpe_event_info *gpe_event_info);
88 acpi_hw_low_set_gpe(struct acpi_gpe_event_info *gpe_event_info, u32 action);
94 acpi_status acpi_hw_clear_gpe(struct acpi_gpe_event_info *gpe_event_info);
101 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.c1090 struct acpi_gpe_event_info *gpe_event_info; in acpi_db_generate_gpe() local
1105 gpe_event_info = in acpi_db_generate_gpe()
1108 if (!gpe_event_info) { in acpi_db_generate_gpe()
1113 (void)acpi_ev_gpe_dispatch(NULL, gpe_event_info, gpe_number); in acpi_db_generate_gpe()