Lines Matching defs:s3c_rtc
33 struct s3c_rtc {
59 void (*irq_handler) (struct s3c_rtc *info, int mask);
60 void (*set_freq) (struct s3c_rtc *info, int freq);
61 void (*enable_tick) (struct s3c_rtc *info, struct seq_file *seq);
62 void (*select_tick_clk) (struct s3c_rtc *info);
63 void (*save_tick_cnt) (struct s3c_rtc *info);
64 void (*restore_tick_cnt) (struct s3c_rtc *info);
65 void (*enable) (struct s3c_rtc *info);
66 void (*disable) (struct s3c_rtc *info);
69 static int s3c_rtc_enable_clk(struct s3c_rtc *info)
87 static void s3c_rtc_disable_clk(struct s3c_rtc *info)
97 struct s3c_rtc *info = (struct s3c_rtc *)id;
107 struct s3c_rtc *info = (struct s3c_rtc *)id;
118 struct s3c_rtc *info = dev_get_drvdata(dev);
152 static int s3c_rtc_setfreq(struct s3c_rtc *info, int freq)
176 struct s3c_rtc *info = dev_get_drvdata(dev);
220 struct s3c_rtc *info = dev_get_drvdata(dev);
251 struct s3c_rtc *info = dev_get_drvdata(dev);
301 struct s3c_rtc *info = dev_get_drvdata(dev);
353 struct s3c_rtc *info = dev_get_drvdata(dev);
377 static void s3c24xx_rtc_enable(struct s3c_rtc *info)
407 static void s3c24xx_rtc_disable(struct s3c_rtc *info)
420 static void s3c6410_rtc_disable(struct s3c_rtc *info)
432 struct s3c_rtc *info = platform_get_drvdata(pdev);
445 struct s3c_rtc *info = NULL;
577 struct s3c_rtc *info = dev_get_drvdata(dev);
603 struct s3c_rtc *info = dev_get_drvdata(dev);
623 static void s3c24xx_rtc_irq(struct s3c_rtc *info, int mask)
628 static void s3c6410_rtc_irq(struct s3c_rtc *info, int mask)
634 static void s3c2410_rtc_setfreq(struct s3c_rtc *info, int freq)
648 static void s3c2416_rtc_setfreq(struct s3c_rtc *info, int freq)
666 static void s3c2443_rtc_setfreq(struct s3c_rtc *info, int freq)
682 static void s3c6410_rtc_setfreq(struct s3c_rtc *info, int freq)
690 static void s3c24xx_rtc_enable_tick(struct s3c_rtc *info, struct seq_file *seq)
700 static void s3c2416_rtc_select_tick_clk(struct s3c_rtc *info)
709 static void s3c6410_rtc_enable_tick(struct s3c_rtc *info, struct seq_file *seq)
719 static void s3c24xx_rtc_save_tick_cnt(struct s3c_rtc *info)
724 static void s3c24xx_rtc_restore_tick_cnt(struct s3c_rtc *info)
729 static void s3c6410_rtc_save_tick_cnt(struct s3c_rtc *info)
736 static void s3c6410_rtc_restore_tick_cnt(struct s3c_rtc *info)