ghes_dev 1115 drivers/acpi/apei/ghes.c static int ghes_probe(struct platform_device *ghes_dev) ghes_dev 1123 drivers/acpi/apei/ghes.c generic = *(struct acpi_hest_generic **)ghes_dev->dev.platform_data; ghes_dev 1229 drivers/acpi/apei/ghes.c platform_set_drvdata(ghes_dev, ghes); ghes_dev 1231 drivers/acpi/apei/ghes.c ghes_edac_register(ghes, &ghes_dev->dev); ghes_dev 1248 drivers/acpi/apei/ghes.c static int ghes_remove(struct platform_device *ghes_dev) ghes_dev 1254 drivers/acpi/apei/ghes.c ghes = platform_get_drvdata(ghes_dev); ghes_dev 1299 drivers/acpi/apei/ghes.c platform_set_drvdata(ghes_dev, NULL); ghes_dev 152 drivers/acpi/apei/hest.c struct platform_device *ghes_dev; ghes_dev 164 drivers/acpi/apei/hest.c ghes_dev = ghes_arr->ghes_devs[i]; ghes_dev 165 drivers/acpi/apei/hest.c hdr = *(struct acpi_hest_header **)ghes_dev->dev.platform_data; ghes_dev 172 drivers/acpi/apei/hest.c ghes_dev = platform_device_alloc("GHES", hest_hdr->source_id); ghes_dev 173 drivers/acpi/apei/hest.c if (!ghes_dev) ghes_dev 176 drivers/acpi/apei/hest.c rc = platform_device_add_data(ghes_dev, &hest_hdr, sizeof(void *)); ghes_dev 180 drivers/acpi/apei/hest.c rc = platform_device_add(ghes_dev); ghes_dev 183 drivers/acpi/apei/hest.c ghes_arr->ghes_devs[ghes_arr->count++] = ghes_dev; ghes_dev 187 drivers/acpi/apei/hest.c platform_device_put(ghes_dev);