Home
last modified time | relevance | path

Searched refs:gpe_block (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.15/drivers/acpi/acpica/
Devgpeblk.c20 acpi_ev_install_gpe_block(struct acpi_gpe_block_info *gpe_block,
24 acpi_ev_create_gpe_info_blocks(struct acpi_gpe_block_info *gpe_block);
41 acpi_ev_install_gpe_block(struct acpi_gpe_block_info *gpe_block, in acpi_ev_install_gpe_block() argument
71 next_gpe_block->next = gpe_block; in acpi_ev_install_gpe_block()
72 gpe_block->previous = next_gpe_block; in acpi_ev_install_gpe_block()
74 gpe_xrupt_block->gpe_block_list_head = gpe_block; in acpi_ev_install_gpe_block()
77 gpe_block->xrupt_block = gpe_xrupt_block; in acpi_ev_install_gpe_block()
97 acpi_status acpi_ev_delete_gpe_block(struct acpi_gpe_block_info *gpe_block) in acpi_ev_delete_gpe_block() argument
112 acpi_hw_disable_gpe_block(gpe_block->xrupt_block, gpe_block, NULL); in acpi_ev_delete_gpe_block()
117 if (!gpe_block->previous && !gpe_block->next) { in acpi_ev_delete_gpe_block()
[all …]
Devgpeutil.c33 struct acpi_gpe_block_info *gpe_block; in acpi_ev_walk_gpe_list() local
49 gpe_block = gpe_xrupt_info->gpe_block_list_head; in acpi_ev_walk_gpe_list()
50 while (gpe_block) { in acpi_ev_walk_gpe_list()
55 gpe_walk_callback(gpe_xrupt_info, gpe_block, in acpi_ev_walk_gpe_list()
64 gpe_block = gpe_block->next; in acpi_ev_walk_gpe_list()
90 struct acpi_gpe_block_info *gpe_block, void *context) in acpi_ev_get_gpe_device() argument
96 info->next_block_base_index += gpe_block->gpe_count; in acpi_ev_get_gpe_device()
103 if ((gpe_block->node)->type == ACPI_TYPE_DEVICE) { in acpi_ev_get_gpe_device()
104 info->gpe_device = gpe_block->node; in acpi_ev_get_gpe_device()
271 struct acpi_gpe_block_info *gpe_block, in acpi_ev_delete_gpe_handlers() argument
[all …]
Dhwgpe.c20 struct acpi_gpe_block_info *gpe_block,
367 struct acpi_gpe_block_info *gpe_block, void *context) in acpi_hw_disable_gpe_block() argument
374 for (i = 0; i < gpe_block->register_count; i++) { in acpi_hw_disable_gpe_block()
380 &gpe_block->register_info[i]); in acpi_hw_disable_gpe_block()
404 struct acpi_gpe_block_info *gpe_block, void *context) in acpi_hw_clear_gpe_block() argument
411 for (i = 0; i < gpe_block->register_count; i++) { in acpi_hw_clear_gpe_block()
416 &gpe_block->register_info[i].status_address); in acpi_hw_clear_gpe_block()
441 struct acpi_gpe_block_info *gpe_block, in acpi_hw_enable_runtime_gpe_block() argument
453 for (i = 0; i < gpe_block->register_count; i++) { in acpi_hw_enable_runtime_gpe_block()
454 gpe_register_info = &gpe_block->register_info[i]; in acpi_hw_enable_runtime_gpe_block()
[all …]
Devgpe.c253 *gpe_block) in acpi_ev_low_get_gpe_info()
261 if (!gpe_block || (gpe_number < gpe_block->block_base_number)) { in acpi_ev_low_get_gpe_info()
265 gpe_index = gpe_number - gpe_block->block_base_number; in acpi_ev_low_get_gpe_info()
266 if (gpe_index >= gpe_block->gpe_count) { in acpi_ev_low_get_gpe_info()
270 return (&gpe_block->event_info[gpe_index]); in acpi_ev_low_get_gpe_info()
325 if (!obj_desc || !obj_desc->device.gpe_block) { in acpi_ev_get_gpe_event_info()
330 (gpe_number, obj_desc->device.gpe_block)); in acpi_ev_get_gpe_event_info()
349 struct acpi_gpe_block_info *gpe_block; in acpi_ev_gpe_detect() local
376 gpe_block = gpe_xrupt_list->gpe_block_list_head; in acpi_ev_gpe_detect()
377 while (gpe_block) { in acpi_ev_gpe_detect()
[all …]
Ddbdisply.c725 struct acpi_gpe_block_info *gpe_block; in acpi_db_display_gpes() local
749 gpe_block = gpe_xrupt_info->gpe_block_list_head; in acpi_db_display_gpes()
750 while (gpe_block) { in acpi_db_display_gpes()
751 status = acpi_get_name(gpe_block->node, in acpi_db_display_gpes()
759 if (gpe_block->node == acpi_gbl_fadt_gpe_device) { in acpi_db_display_gpes()
767 block, gpe_block, gpe_block->node, buffer, in acpi_db_display_gpes()
771 gpe_block->register_count, in acpi_db_display_gpes()
772 gpe_block->gpe_count); in acpi_db_display_gpes()
776 gpe_block->block_base_number, in acpi_db_display_gpes()
777 gpe_block->block_base_number + in acpi_db_display_gpes()
[all …]
Dutinit.c46 struct acpi_gpe_block_info *gpe_block; in acpi_ut_free_gpe_lists() local
55 gpe_block = gpe_xrupt_info->gpe_block_list_head; in acpi_ut_free_gpe_lists()
56 while (gpe_block) { in acpi_ut_free_gpe_lists()
57 next_gpe_block = gpe_block->next; in acpi_ut_free_gpe_lists()
58 ACPI_FREE(gpe_block->event_info); in acpi_ut_free_gpe_lists()
59 ACPI_FREE(gpe_block->register_info); in acpi_ut_free_gpe_lists()
60 ACPI_FREE(gpe_block); in acpi_ut_free_gpe_lists()
62 gpe_block = next_gpe_block; in acpi_ut_free_gpe_lists()
Devgpeinit.c206 struct acpi_gpe_block_info *gpe_block; in acpi_ev_update_gpes() local
235 gpe_block = gpe_xrupt_info->gpe_block_list_head; in acpi_ev_update_gpes()
236 while (gpe_block) { in acpi_ev_update_gpes()
237 walk_info.gpe_block = gpe_block; in acpi_ev_update_gpes()
238 walk_info.gpe_device = gpe_block->node; in acpi_ev_update_gpes()
251 gpe_block = gpe_block->next; in acpi_ev_update_gpes()
371 acpi_ev_low_get_gpe_info(gpe_number, walk_info->gpe_block); in acpi_ev_match_gpe_method()
Dacevents.h83 *gpe_block);
105 struct acpi_gpe_block_info *gpe_block,
110 *gpe_block))
137 struct acpi_gpe_block_info *gpe_block, void *context);
147 struct acpi_gpe_block_info *gpe_block,
Dachware.h92 struct acpi_gpe_block_info *gpe_block, void *context);
98 struct acpi_gpe_block_info *gpe_block, void *context);
114 struct acpi_gpe_block_info *gpe_block,
Devxfgpe.c860 struct acpi_gpe_block_info *gpe_block; in ACPI_EXPORT_SYMBOL() local
898 &gpe_block); in ACPI_EXPORT_SYMBOL()
932 obj_desc->device.gpe_block = gpe_block; in ACPI_EXPORT_SYMBOL()
985 if (!obj_desc || !obj_desc->device.gpe_block) { in ACPI_EXPORT_SYMBOL()
991 status = acpi_ev_delete_gpe_block(obj_desc->device.gpe_block); in ACPI_EXPORT_SYMBOL()
993 obj_desc->device.gpe_block = NULL; in ACPI_EXPORT_SYMBOL()
Dutdelete.c110 if (object->device.gpe_block) { in acpi_ut_delete_internal_obj()
112 gpe_block); in acpi_ut_delete_internal_obj()
Dacobject.h189 ACPI_COMMON_NOTIFY_INFO struct acpi_gpe_block_info *gpe_block; member
Daclocal.h506 struct acpi_gpe_block_info *gpe_block; member
522 gpe_block, void *context);