Lines Matching refs:device
65 * @dev: the parent device of the watchdog (= the RTC)
71 * platform_device for the watchdog driver as a child of the RTC device.
77 static void stmp3xxx_wdt_set_timeout(struct device *dev, u32 timeout)
147 static int stmp3xxx_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm)
160 static int stmp3xxx_rtc_settime(struct device *dev, struct rtc_time *rtc_tm)
184 static int stmp3xxx_alarm_irq_enable(struct device *dev, unsigned int enabled)
206 static int stmp3xxx_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alm)
214 static int stmp3xxx_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alm)
274 dev_err(&pdev->dev, "no device onboard\n");
305 * frequency can be overridden in the device tree.
332 "invalid crystal-freq specified in device-tree. Assuming no crystal\n");
377 static int stmp3xxx_rtc_suspend(struct device *dev)
382 static int stmp3xxx_rtc_resume(struct device *dev)