/linux-2.6.39/drivers/rtc/ |
D | rtc-core.h | 5 extern void rtc_dev_prepare(struct rtc_device *rtc); 6 extern void rtc_dev_add_device(struct rtc_device *rtc); 7 extern void rtc_dev_del_device(struct rtc_device *rtc); 19 static inline void rtc_dev_prepare(struct rtc_device *rtc) in rtc_dev_prepare() 23 static inline void rtc_dev_add_device(struct rtc_device *rtc) in rtc_dev_add_device() 27 static inline void rtc_dev_del_device(struct rtc_device *rtc) in rtc_dev_del_device() 35 extern void rtc_proc_add_device(struct rtc_device *rtc); 36 extern void rtc_proc_del_device(struct rtc_device *rtc); 40 static inline void rtc_proc_add_device(struct rtc_device *rtc) in rtc_proc_add_device() 44 static inline void rtc_proc_del_device(struct rtc_device *rtc) in rtc_proc_del_device() [all …]
|
D | interface.c | 19 static int rtc_timer_enqueue(struct rtc_device *rtc, struct rtc_timer *timer); 20 static void rtc_timer_remove(struct rtc_device *rtc, struct rtc_timer *timer); 22 static int __rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in __rtc_read_time() 36 int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_read_time() 50 int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_set_time() 79 int rtc_set_mmss(struct rtc_device *rtc, unsigned long secs) in rtc_set_mmss() 119 static int rtc_read_alarm_internal(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in rtc_read_alarm_internal() 140 int __rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in __rtc_read_alarm() 299 int rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in rtc_read_alarm() 321 int __rtc_set_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in __rtc_set_alarm() [all …]
|
D | rtc-dev.c | 26 struct rtc_device *rtc = container_of(inode->i_cdev, in rtc_dev_open() 27 struct rtc_device, char_dev); in rtc_dev_open() 56 struct rtc_device *rtc = in rtc_uie_task() 57 container_of(work, struct rtc_device, uie_task); in rtc_uie_task() 83 struct rtc_device *rtc = (struct rtc_device *)data; in rtc_uie_timer() 94 static int clear_uie(struct rtc_device *rtc) in clear_uie() 116 static int set_uie(struct rtc_device *rtc) in set_uie() 138 int rtc_dev_update_irq_enable_emul(struct rtc_device *rtc, unsigned int enabled) in rtc_dev_update_irq_enable_emul() 152 struct rtc_device *rtc = file->private_data; in rtc_dev_read() 206 struct rtc_device *rtc = file->private_data; in rtc_dev_poll() [all …]
|
D | class.c | 30 struct rtc_device *rtc = to_rtc_device(dev); in rtc_device_release() 49 struct rtc_device *rtc = to_rtc_device(dev); in rtc_suspend() 69 struct rtc_device *rtc = to_rtc_device(dev); in rtc_resume() 115 struct rtc_device *rtc_device_register(const char *name, struct device *dev, in rtc_device_register() 119 struct rtc_device *rtc; in rtc_device_register() 138 rtc = kzalloc(sizeof(struct rtc_device), GFP_KERNEL); in rtc_device_register() 217 void rtc_device_unregister(struct rtc_device *rtc) in rtc_device_unregister()
|
D | rtc-proc.c | 25 struct rtc_device *rtc = seq->private; in rtc_proc_show() 93 struct rtc_device *rtc = PDE(inode)->data; in rtc_proc_open() 118 void rtc_proc_add_device(struct rtc_device *rtc) in rtc_proc_add_device() 124 void rtc_proc_del_device(struct rtc_device *rtc) in rtc_proc_del_device()
|
D | rtc-sysfs.c | 94 struct rtc_device *rtc = to_rtc_device(dev); in rtc_sysfs_set_max_user_freq() 162 struct rtc_device *rtc = to_rtc_device(dev); in rtc_sysfs_set_wakealarm() 217 static inline int rtc_does_wakealarm(struct rtc_device *rtc) in rtc_does_wakealarm() 225 void rtc_sysfs_add_device(struct rtc_device *rtc) in rtc_sysfs_add_device() 239 void rtc_sysfs_del_device(struct rtc_device *rtc) in rtc_sysfs_del_device()
|
D | rtc-starfire.c | 42 struct rtc_device *rtc = rtc_device_register("starfire", &pdev->dev, in starfire_rtc_probe() 54 struct rtc_device *rtc = platform_get_drvdata(pdev); in starfire_rtc_remove()
|
D | rtc-generic.c | 39 struct rtc_device *rtc; in generic_rtc_probe() 53 struct rtc_device *rtc = platform_get_drvdata(dev); in generic_rtc_remove()
|
D | rtc-test.c | 78 struct rtc_device *rtc = platform_get_drvdata(plat_dev); in test_irq_store() 102 struct rtc_device *rtc = rtc_device_register("test", &plat_dev->dev, in test_probe() 124 struct rtc_device *rtc = platform_get_drvdata(plat_dev); in test_remove()
|
D | rtc-sa1100.c | 110 struct rtc_device *rtc = platform_get_drvdata(pdev); in sa1100_rtc_interrupt() 162 struct rtc_device *rtc = platform_get_drvdata(plat_dev); in sa1100_rtc_open() 276 struct rtc_device *rtc; in sa1100_rtc_probe() 332 struct rtc_device *rtc = platform_get_drvdata(pdev); in sa1100_rtc_remove()
|
D | rtc-sun4v.c | 82 struct rtc_device *rtc = rtc_device_register("sun4v", &pdev->dev, in sun4v_rtc_probe() 93 struct rtc_device *rtc = platform_get_drvdata(pdev); in sun4v_rtc_remove()
|
D | rtc-s3c.c | 58 struct rtc_device *rdev = id; in s3c_rtc_alarmirq() 70 struct rtc_device *rdev = id; in s3c_rtc_tickirq() 100 struct rtc_device *rtc_dev = platform_get_drvdata(pdev); in s3c_rtc_setfreq() 307 struct rtc_device *rtc_dev = platform_get_drvdata(pdev); in s3c_rtc_open() 336 struct rtc_device *rtc_dev = platform_get_drvdata(pdev); in s3c_rtc_release() 406 struct rtc_device *rtc = platform_get_drvdata(dev); in s3c_rtc_remove() 426 struct rtc_device *rtc; in s3c_rtc_probe()
|
D | rtc-au1xxx.c | 67 struct rtc_device *rtcdev; in au1xtoy_rtc_probe() 121 struct rtc_device *rtcdev = platform_get_drvdata(pdev); in au1xtoy_rtc_remove()
|
D | rtc-vr41xx.c | 249 struct rtc_device *rtc = platform_get_drvdata(pdev); in elapsedtime_interrupt() 261 struct rtc_device *rtc = platform_get_drvdata(pdev); in rtclong1_interrupt() 286 struct rtc_device *rtc; in rtc_probe() 378 struct rtc_device *rtc; in rtc_remove()
|
D | rtc-dm355evm.c | 127 struct rtc_device *rtc; in dm355evm_rtc_probe() 143 struct rtc_device *rtc = platform_get_drvdata(pdev); in dm355evm_rtc_remove()
|
D | rtc-rs5c348.c | 58 struct rtc_device *rtc; 154 struct rtc_device *rtc; in rs5c348_probe() 220 struct rtc_device *rtc = pdata->rtc; in rs5c348_remove()
|
/linux-2.6.39/include/linux/ |
D | rtc.h | 172 struct rtc_device struct 215 #define to_rtc_device(d) container_of(d, struct rtc_device, dev) argument 217 extern struct rtc_device *rtc_device_register(const char *name, 221 extern void rtc_device_unregister(struct rtc_device *rtc); 223 extern int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm); 224 extern int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm); 225 extern int rtc_set_mmss(struct rtc_device *rtc, unsigned long secs); 226 int __rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm); 227 extern int rtc_read_alarm(struct rtc_device *rtc, 229 extern int rtc_set_alarm(struct rtc_device *rtc, [all …]
|
/linux-2.6.39/arch/unicore32/kernel/ |
D | rtc.c | 42 struct rtc_device *rdev = id; in puv3_rtc_alarmirq() 51 struct rtc_device *rdev = id; in puv3_rtc_tickirq() 167 struct rtc_device *rtc_dev = platform_get_drvdata(pdev); in puv3_rtc_open() 196 struct rtc_device *rtc_dev = platform_get_drvdata(pdev); in puv3_rtc_release() 231 struct rtc_device *rtc = platform_get_drvdata(dev); in puv3_rtc_remove() 247 struct rtc_device *rtc; in puv3_rtc_probe()
|
/linux-2.6.39/kernel/power/ |
D | suspend_test.c | 61 static void __init test_wakealarm(struct rtc_device *rtc, suspend_state_t state) in test_wakealarm() 117 struct rtc_device *candidate = to_rtc_device(dev); in has_wakealarm() 163 struct rtc_device *rtc = NULL; in test_suspend()
|
/linux-2.6.39/arch/arm/mach-footbridge/ |
D | isa.c | 31 static struct platform_device rtc_device = { variable 91 err = platform_device_register(&rtc_device); in footbridge_isa_init()
|
/linux-2.6.39/arch/sh/boards/mach-landisk/ |
D | setup.c | 45 static struct platform_device rtc_device = { variable 52 &rtc_device,
|
/linux-2.6.39/arch/x86/kernel/ |
D | rtc.c | 215 static struct platform_device rtc_device = { variable 243 platform_device_register(&rtc_device); in add_rtc_cmos() 244 dev_info(&rtc_device.dev, in add_rtc_cmos()
|
/linux-2.6.39/arch/arm/mach-shark/ |
D | core.c | 82 static struct platform_device rtc_device = { variable 95 ret = platform_device_register(&rtc_device); in shark_init()
|
/linux-2.6.39/arch/sh/kernel/cpu/sh5/ |
D | setup-sh5.c | 59 static struct platform_device rtc_device = { variable 163 &rtc_device,
|
/linux-2.6.39/arch/arm/mach-integrator/ |
D | core.c | 37 static struct amba_device rtc_device = { variable 105 &rtc_device,
|