Searched refs:ghes_dev (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/acpi/apei/
H A Dhest.c145 struct platform_device *ghes_dev; hest_parse_ghes() local
156 ghes_dev = ghes_arr->ghes_devs[i]; hest_parse_ghes()
157 hdr = *(struct acpi_hest_header **)ghes_dev->dev.platform_data; hest_parse_ghes()
164 ghes_dev = platform_device_alloc("GHES", hest_hdr->source_id); hest_parse_ghes()
165 if (!ghes_dev) hest_parse_ghes()
168 rc = platform_device_add_data(ghes_dev, &hest_hdr, sizeof(void *)); hest_parse_ghes()
172 rc = platform_device_add(ghes_dev); hest_parse_ghes()
175 ghes_arr->ghes_devs[ghes_arr->count++] = ghes_dev; hest_parse_ghes()
179 platform_device_put(ghes_dev); hest_parse_ghes()
H A Dghes.c947 static int ghes_probe(struct platform_device *ghes_dev) ghes_probe() argument
954 generic = *(struct acpi_hest_generic **)ghes_dev->dev.platform_data; ghes_probe()
995 rc = ghes_edac_register(ghes, &ghes_dev->dev); ghes_probe()
1034 platform_set_drvdata(ghes_dev, ghes); ghes_probe()
1047 static int ghes_remove(struct platform_device *ghes_dev) ghes_remove() argument
1052 ghes = platform_get_drvdata(ghes_dev); ghes_remove()
1084 platform_set_drvdata(ghes_dev, NULL); ghes_remove()

Completed in 91 milliseconds