/Linux-v4.19/include/linux/ |
D | rtc.h | 102 struct rtc_device { struct 163 #define to_rtc_device(d) container_of(d, struct rtc_device, dev) argument 170 extern struct rtc_device *rtc_device_register(const char *name, 174 extern struct rtc_device *devm_rtc_device_register(struct device *dev, 178 struct rtc_device *devm_rtc_allocate_device(struct device *dev); 179 int __rtc_register_device(struct module *owner, struct rtc_device *rtc); 180 extern void rtc_device_unregister(struct rtc_device *rtc); 182 struct rtc_device *rtc); 184 extern int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm); 185 extern int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm); [all …]
|
/Linux-v4.19/drivers/rtc/ |
D | rtc-core.h | 6 extern void rtc_dev_prepare(struct rtc_device *rtc); 18 static inline void rtc_dev_prepare(struct rtc_device *rtc) in rtc_dev_prepare() 26 extern void rtc_proc_add_device(struct rtc_device *rtc); 27 extern void rtc_proc_del_device(struct rtc_device *rtc); 31 static inline void rtc_proc_add_device(struct rtc_device *rtc) in rtc_proc_add_device() 35 static inline void rtc_proc_del_device(struct rtc_device *rtc) in rtc_proc_del_device() 43 int rtc_add_group(struct rtc_device *rtc, const struct attribute_group *grp); 44 int rtc_add_groups(struct rtc_device *rtc, const struct attribute_group **grps); 52 int rtc_add_group(struct rtc_device *rtc, const struct attribute_group *grp) in rtc_add_group() 58 int rtc_add_groups(struct rtc_device *rtc, const struct attribute_group **grps) in rtc_add_groups()
|
D | interface.c | 23 static int rtc_timer_enqueue(struct rtc_device *rtc, struct rtc_timer *timer); 24 static void rtc_timer_remove(struct rtc_device *rtc, struct rtc_timer *timer); 26 static void rtc_add_offset(struct rtc_device *rtc, struct rtc_time *tm) in rtc_add_offset() 49 static void rtc_subtract_offset(struct rtc_device *rtc, struct rtc_time *tm) in rtc_subtract_offset() 70 static int rtc_valid_range(struct rtc_device *rtc, struct rtc_time *tm) in rtc_valid_range() 87 static int __rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in __rtc_read_time() 112 int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_read_time() 128 int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_set_time() 170 static int rtc_read_alarm_internal(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in rtc_read_alarm_internal() 203 int __rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in __rtc_read_alarm() [all …]
|
D | class.c | 32 struct rtc_device *rtc = to_rtc_device(dev); in rtc_device_release() 53 struct rtc_device *rtc = to_rtc_device(dev); in rtc_suspend() 99 struct rtc_device *rtc = to_rtc_device(dev); in rtc_resume() 154 static struct rtc_device *rtc_allocate_device(void) in rtc_allocate_device() 156 struct rtc_device *rtc; in rtc_allocate_device() 213 static void rtc_device_get_offset(struct rtc_device *rtc) in rtc_device_get_offset() 289 struct rtc_device *rtc_device_register(const char *name, struct device *dev, in rtc_device_register() 293 struct rtc_device *rtc; in rtc_device_register() 362 void rtc_device_unregister(struct rtc_device *rtc) in rtc_device_unregister() 379 struct rtc_device *rtc = *(struct rtc_device **)res; in devm_rtc_device_release() [all …]
|
D | rtc-dev.c | 27 struct rtc_device *rtc = container_of(inode->i_cdev, in rtc_dev_open() 28 struct rtc_device, char_dev); in rtc_dev_open() 49 struct rtc_device *rtc = in rtc_uie_task() 50 container_of(work, struct rtc_device, uie_task); in rtc_uie_task() 76 struct rtc_device *rtc = from_timer(rtc, t, uie_timer); in rtc_uie_timer() 87 static int clear_uie(struct rtc_device *rtc) in clear_uie() 109 static int set_uie(struct rtc_device *rtc) in set_uie() 131 int rtc_dev_update_irq_enable_emul(struct rtc_device *rtc, unsigned int enabled) in rtc_dev_update_irq_enable_emul() 145 struct rtc_device *rtc = file->private_data; in rtc_dev_read() 199 struct rtc_device *rtc = file->private_data; in rtc_dev_poll() [all …]
|
D | nvmem.c | 28 struct rtc_device *rtc = attr->private; in rtc_nvram_read() 40 struct rtc_device *rtc = attr->private; in rtc_nvram_write() 47 static int rtc_nvram_register(struct rtc_device *rtc, size_t size) in rtc_nvram_register() 77 static void rtc_nvram_unregister(struct rtc_device *rtc) in rtc_nvram_unregister() 85 int rtc_nvmem_register(struct rtc_device *rtc, in rtc_nvmem_register() 108 void rtc_nvmem_unregister(struct rtc_device *rtc) in rtc_nvmem_unregister()
|
D | rtc-proc.c | 24 static bool is_rtc_hctosys(struct rtc_device *rtc) in is_rtc_hctosys() 36 static bool is_rtc_hctosys(struct rtc_device *rtc) in is_rtc_hctosys() 45 struct rtc_device *rtc = seq->private; in rtc_proc_show() 110 void rtc_proc_add_device(struct rtc_device *rtc) in rtc_proc_add_device() 117 void rtc_proc_del_device(struct rtc_device *rtc) in rtc_proc_del_device()
|
D | rtc-sysfs.c | 95 struct rtc_device *rtc = to_rtc_device(dev); in max_user_freq_store() 164 struct rtc_device *rtc = to_rtc_device(dev); in wakealarm_store() 277 static bool rtc_does_wakealarm(struct rtc_device *rtc) in rtc_does_wakealarm() 289 struct rtc_device *rtc = to_rtc_device(dev); in rtc_attr_is_visible() 321 int rtc_add_groups(struct rtc_device *rtc, const struct attribute_group **grps) in rtc_add_groups() 356 int rtc_add_group(struct rtc_device *rtc, const struct attribute_group *grp) in rtc_add_group()
|
D | rtc-puv3.c | 39 struct rtc_device *rdev = id; in puv3_rtc_alarmirq() 48 struct rtc_device *rdev = id; in puv3_rtc_tickirq() 194 struct rtc_device *rtc; in puv3_rtc_probe()
|
D | rtc-vr41xx.c | 232 struct rtc_device *rtc = platform_get_drvdata(pdev); in elapsedtime_interrupt() 244 struct rtc_device *rtc = platform_get_drvdata(pdev); in rtclong1_interrupt() 269 struct rtc_device *rtc; in rtc_probe()
|
D | rtc-sa1100.h | 18 struct rtc_device *rtc;
|
D | rtc-generic.c | 14 struct rtc_device *rtc; in generic_rtc_probe()
|
D | rtc-starfire.c | 40 struct rtc_device *rtc; in starfire_rtc_probe()
|
D | systohc.c | 28 struct rtc_device *rtc; in rtc_set_ntp_time()
|
D | rtc-rs5c348.c | 57 struct rtc_device *rtc; 151 struct rtc_device *rtc; in rs5c348_probe()
|
/Linux-v4.19/arch/x86/kernel/ |
D | rtc.c | 173 static struct platform_device rtc_device = { variable 201 platform_device_register(&rtc_device); in add_rtc_cmos() 202 dev_info(&rtc_device.dev, in add_rtc_cmos()
|
/Linux-v4.19/kernel/power/ |
D | suspend_test.c | 63 static void __init test_wakealarm(struct rtc_device *rtc, suspend_state_t state) in test_wakealarm() 131 struct rtc_device *candidate = to_rtc_device(dev); in has_wakealarm() 185 struct rtc_device *rtc = NULL; in test_suspend()
|
/Linux-v4.19/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-v4.19/arch/sh/boards/mach-landisk/ |
D | setup.c | 45 static struct platform_device rtc_device = { variable 52 &rtc_device,
|
/Linux-v4.19/arch/m68k/coldfire/ |
D | amcore.c | 122 static struct platform_device rtc_device = { variable 138 &rtc_device,
|
/Linux-v4.19/arch/sh/kernel/cpu/sh5/ |
D | setup-sh5.c | 65 static struct platform_device rtc_device = { variable 102 &rtc_device,
|
/Linux-v4.19/kernel/time/ |
D | alarmtimer.c | 65 static struct rtc_device *rtcdev; 75 struct rtc_device *alarmtimer_get_rtcdev(void) in alarmtimer_get_rtcdev() 78 struct rtc_device *ret; in alarmtimer_get_rtcdev() 92 struct rtc_device *rtc = to_rtc_device(dev); in alarmtimer_rtc_add_device() 144 struct rtc_device *alarmtimer_get_rtcdev(void) in alarmtimer_get_rtcdev() 250 struct rtc_device *rtc; in alarmtimer_suspend() 309 struct rtc_device *rtc; in alarmtimer_resume()
|
/Linux-v4.19/arch/sh/kernel/cpu/sh3/ |
D | setup-sh7705.c | 131 static struct platform_device rtc_device = { variable 166 &rtc_device,
|
D | setup-sh7710.c | 90 static struct platform_device rtc_device = { variable 165 &rtc_device,
|
D | setup-sh770x.c | 104 static struct platform_device rtc_device = { variable 210 &rtc_device,
|