Lines Matching refs:rtc_device
104 struct rtc_device struct
148 #define to_rtc_device(d) container_of(d, struct rtc_device, dev) argument
150 extern struct rtc_device *rtc_device_register(const char *name,
154 extern struct rtc_device *devm_rtc_device_register(struct device *dev,
158 extern void rtc_device_unregister(struct rtc_device *rtc);
160 struct rtc_device *rtc);
162 extern int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm);
163 extern int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm);
164 extern int rtc_set_mmss(struct rtc_device *rtc, unsigned long secs);
166 int __rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm);
167 extern int rtc_read_alarm(struct rtc_device *rtc,
169 extern int rtc_set_alarm(struct rtc_device *rtc,
171 extern int rtc_initialize_alarm(struct rtc_device *rtc,
173 extern void rtc_update_irq(struct rtc_device *rtc,
176 extern struct rtc_device *rtc_class_open(const char *name);
177 extern void rtc_class_close(struct rtc_device *rtc);
179 extern int rtc_irq_register(struct rtc_device *rtc,
181 extern void rtc_irq_unregister(struct rtc_device *rtc,
183 extern int rtc_irq_set_state(struct rtc_device *rtc,
185 extern int rtc_irq_set_freq(struct rtc_device *rtc,
187 extern int rtc_update_irq_enable(struct rtc_device *rtc, unsigned int enabled);
188 extern int rtc_alarm_irq_enable(struct rtc_device *rtc, unsigned int enabled);
189 extern int rtc_dev_update_irq_enable_emul(struct rtc_device *rtc,
192 void rtc_handle_legacy_irq(struct rtc_device *rtc, int num, int mode);
202 int rtc_timer_start(struct rtc_device *rtc, struct rtc_timer* timer,
204 int rtc_timer_cancel(struct rtc_device *rtc, struct rtc_timer* timer);