Lines Matching refs:device
66 * @dev: the parent device of the watchdog (= the RTC)
72 * platform_device for the watchdog driver as a child of the RTC device.
78 static void stmp3xxx_wdt_set_timeout(struct device *dev, u32 timeout)
146 static int stmp3xxx_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm)
159 static int stmp3xxx_rtc_settime(struct device *dev, struct rtc_time *rtc_tm)
183 static int stmp3xxx_alarm_irq_enable(struct device *dev, unsigned int enabled)
205 static int stmp3xxx_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alm)
213 static int stmp3xxx_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alm)
275 dev_err(&pdev->dev, "no device onboard\n");
306 * frequency can be overridden in the device tree.
333 "invalid crystal-freq specified in device-tree. Assuming no crystal\n");
378 static int stmp3xxx_rtc_suspend(struct device *dev)
383 static int stmp3xxx_rtc_resume(struct device *dev)