Searched refs:pdev (Results 1 – 2 of 2) sorted by relevance
89 struct platform_device *pdev; in alarmtimer_rtc_add_device() local100 pdev = platform_device_register_data(dev, "alarmtimer", in alarmtimer_rtc_add_device()102 if (!IS_ERR(pdev)) in alarmtimer_rtc_add_device()103 device_init_wakeup(&pdev->dev, true); in alarmtimer_rtc_add_device()106 if (!IS_ERR(pdev) && !rtcdev) { in alarmtimer_rtc_add_device()115 pdev = NULL; in alarmtimer_rtc_add_device()122 platform_device_unregister(pdev); in alarmtimer_rtc_add_device()
308 static int map_benchmark_platform_probe(struct platform_device *pdev) in map_benchmark_platform_probe() argument310 return __map_benchmark_probe(&pdev->dev); in map_benchmark_platform_probe()321 map_benchmark_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) in map_benchmark_pci_probe() argument323 return __map_benchmark_probe(&pdev->dev); in map_benchmark_pci_probe()