Home
last modified time | relevance | path

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

/openbmc/linux/drivers/acpi/apei/
H A Dhest.c143 struct platform_device **ghes_devs; member
169 ghes_dev = ghes_arr->ghes_devs[i]; in hest_parse_ghes()
188 ghes_arr->ghes_devs[ghes_arr->count++] = ghes_dev; in hest_parse_ghes()
202 ghes_arr.ghes_devs = kmalloc_array(ghes_count, sizeof(void *), in hest_ghes_dev_register()
204 if (!ghes_arr.ghes_devs) in hest_ghes_dev_register()
216 kfree(ghes_arr.ghes_devs); in hest_ghes_dev_register()
220 platform_device_unregister(ghes_arr.ghes_devs[i]); in hest_ghes_dev_register()
H A Dghes.c148 static LIST_HEAD(ghes_devs);
1440 list_add_tail(&ghes->elist, &ghes_devs); in ghes_probe()
1583 } else if (list_empty(&ghes_devs)) { in ghes_get_devices()
1587 return &ghes_devs; in ghes_get_devices()
/openbmc/linux/drivers/edac/
H A Dghes_edac.c59 static struct list_head *ghes_devs; variable
545 ghes_devs = ghes_get_devices(); in ghes_edac_init()
546 if (!ghes_devs) in ghes_edac_init()
549 if (list_empty(ghes_devs)) { in ghes_edac_init()
554 list_for_each_entry_safe(g, g_tmp, ghes_devs, elist) { in ghes_edac_init()
566 list_for_each_entry_safe(g, g_tmp, ghes_devs, elist) { in ghes_edac_exit()