Searched refs:ghes_dev (Results 1 – 2 of 2) sorted by relevance
209 struct platform_device *ghes_dev; in hest_parse_ghes() local220 ghes_dev = ghes_arr->ghes_devs[i]; in hest_parse_ghes()221 hdr = *(struct acpi_hest_header **)ghes_dev->dev.platform_data; in hest_parse_ghes()228 ghes_dev = platform_device_alloc("GHES", hest_hdr->source_id); in hest_parse_ghes()229 if (!ghes_dev) in hest_parse_ghes()232 rc = platform_device_add_data(ghes_dev, &hest_hdr, sizeof(void *)); in hest_parse_ghes()236 rc = platform_device_add(ghes_dev); in hest_parse_ghes()239 ghes_arr->ghes_devs[ghes_arr->count++] = ghes_dev; in hest_parse_ghes()243 platform_device_put(ghes_dev); in hest_parse_ghes()
1533 static int ghes_probe(struct platform_device *ghes_dev) in ghes_probe() argument1541 generic = *(struct acpi_hest_generic **)ghes_dev->dev.platform_data; in ghes_probe()1646 platform_set_drvdata(ghes_dev, ghes); in ghes_probe()1648 ghes->dev = &ghes_dev->dev; in ghes_probe()1669 static void ghes_remove(struct platform_device *ghes_dev) in ghes_remove() argument1675 ghes = platform_get_drvdata(ghes_dev); in ghes_remove()1711 dev_err(&ghes_dev->dev, "Failed to unregister ghes (%pe)\n", in ghes_remove()
Completed in 9 milliseconds