Home
last modified time | relevance | path

Searched refs:ghes_devs (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/acpi/apei/
H A Dhest.c194 struct platform_device **ghes_devs; member
220 ghes_dev = ghes_arr->ghes_devs[i]; in hest_parse_ghes()
239 ghes_arr->ghes_devs[ghes_arr->count++] = ghes_dev; in hest_parse_ghes()
253 ghes_arr.ghes_devs = kmalloc_array(ghes_count, sizeof(void *), in hest_ghes_dev_register()
255 if (!ghes_arr.ghes_devs) in hest_ghes_dev_register()
267 kfree(ghes_arr.ghes_devs); in hest_ghes_dev_register()
271 platform_device_unregister(ghes_arr.ghes_devs[i]); in hest_ghes_dev_register()
H A Dghes.c154 static LIST_HEAD(ghes_devs);
1767 list_add_tail(&ghes->elist, &ghes_devs); in ghes_probe()
1917 } else if (list_empty(&ghes_devs)) { in ghes_get_devices()
1921 return &ghes_devs; in ghes_get_devices()
/linux/drivers/edac/
H A Dghes_edac.c60 static struct list_head *ghes_devs; variable
546 ghes_devs = ghes_get_devices(); in ghes_edac_init()
547 if (!ghes_devs) in ghes_edac_init()
550 if (list_empty(ghes_devs)) { in ghes_edac_init()
555 list_for_each_entry_safe(g, g_tmp, ghes_devs, elist) { in ghes_edac_init()
567 list_for_each_entry_safe(g, g_tmp, ghes_devs, elist) { in ghes_edac_exit()