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

/drivers/acpi/apei/
H A Dhest.c140 struct platform_device *ghes_dev; local
151 ghes_dev = ghes_arr->ghes_devs[i];
152 hdr = *(struct acpi_hest_header **)ghes_dev->dev.platform_data;
159 ghes_dev = platform_device_alloc("GHES", hest_hdr->source_id);
160 if (!ghes_dev)
163 rc = platform_device_add_data(ghes_dev, &hest_hdr, sizeof(void *));
167 rc = platform_device_add(ghes_dev);
170 ghes_arr->ghes_devs[ghes_arr->count++] = ghes_dev;
174 platform_device_put(ghes_dev);
H A Dghes.c904 static int __devinit ghes_probe(struct platform_device *ghes_dev) argument
911 generic = *(struct acpi_hest_generic **)ghes_dev->dev.platform_data;
986 platform_set_drvdata(ghes_dev, ghes);
997 static int __devexit ghes_remove(struct platform_device *ghes_dev) argument
1003 ghes = platform_get_drvdata(ghes_dev);
1043 platform_set_drvdata(ghes_dev, NULL);

Completed in 35 milliseconds