Searched refs:ghes_devs (Results 1 – 3 of 3) sorted by relevance
194 struct platform_device **ghes_devs; member220 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()
151 static LIST_HEAD(ghes_devs);1524 list_add_tail(&ghes->elist, &ghes_devs); in ghes_probe()1672 } else if (list_empty(&ghes_devs)) { in ghes_get_devices()1676 return &ghes_devs; in ghes_get_devices()
59 static struct list_head *ghes_devs; variable545 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()