/linux-6.3-rc2/include/linux/ |
A D | rtc.h | 73 struct rtc_device; 78 void (*func)(struct rtc_device *rtc); 79 struct rtc_device *rtc; 87 struct rtc_device { struct 189 extern int rtc_read_alarm(struct rtc_device *rtc, 191 extern int rtc_set_alarm(struct rtc_device *rtc, 195 extern void rtc_update_irq(struct rtc_device *rtc, 209 void rtc_aie_update_irq(struct rtc_device *rtc); 210 void rtc_uie_update_irq(struct rtc_device *rtc); 214 struct rtc_device *rtc); [all …]
|
A D | alarmtimer.h | 9 struct rtc_device; 65 struct rtc_device *alarmtimer_get_rtcdev(void); 67 static inline struct rtc_device *alarmtimer_get_rtcdev(void) { return NULL; } in alarmtimer_get_rtcdev()
|
/linux-6.3-rc2/drivers/rtc/ |
A D | rtc-core.h | 5 extern void rtc_dev_prepare(struct rtc_device *rtc); 13 static inline void rtc_dev_prepare(struct rtc_device *rtc) in rtc_dev_prepare() 21 extern void rtc_proc_add_device(struct rtc_device *rtc); 22 extern void rtc_proc_del_device(struct rtc_device *rtc); 26 static inline void rtc_proc_add_device(struct rtc_device *rtc) in rtc_proc_add_device() 30 static inline void rtc_proc_del_device(struct rtc_device *rtc) in rtc_proc_del_device()
|
A D | interface.c | 636 void rtc_aie_update_irq(struct rtc_device *rtc) in rtc_aie_update_irq() 647 void rtc_uie_update_irq(struct rtc_device *rtc) in rtc_uie_update_irq() 662 struct rtc_device *rtc; in rtc_pie_update_irq() 683 void rtc_update_irq(struct rtc_device *rtc, in rtc_update_irq() 694 struct rtc_device *rtc_class_open(const char *name) in rtc_class_open() 697 struct rtc_device *rtc = NULL; in rtc_class_open() 714 void rtc_class_close(struct rtc_device *rtc) in rtc_class_close() 844 static void rtc_alarm_disable(struct rtc_device *rtc) in rtc_alarm_disable() 907 struct rtc_device *rtc = in rtc_timer_do_work() 908 container_of(work, struct rtc_device, irqwork); in rtc_timer_do_work() [all …]
|
A D | class.c | 28 struct rtc_device *rtc = to_rtc_device(dev); in rtc_device_release() 59 static void rtc_hctosys(struct rtc_device *rtc) in rtc_hctosys() 103 struct rtc_device *rtc = to_rtc_device(dev); in rtc_suspend() 148 struct rtc_device *rtc = to_rtc_device(dev); in rtc_resume() 203 static struct rtc_device *rtc_allocate_device(void) in rtc_allocate_device() 205 struct rtc_device *rtc; in rtc_allocate_device() 270 static void rtc_device_get_offset(struct rtc_device *rtc) in rtc_device_get_offset() 339 struct rtc_device *rtc = data; in devm_rtc_unregister_device() 355 struct rtc_device *rtc = res; in devm_rtc_release_device() 362 struct rtc_device *rtc; in devm_rtc_allocate_device() [all …]
|
A D | proc.c | 21 static bool is_rtc_hctosys(struct rtc_device *rtc) in is_rtc_hctosys() 33 static bool is_rtc_hctosys(struct rtc_device *rtc) in is_rtc_hctosys() 42 struct rtc_device *rtc = seq->private; in rtc_proc_show() 81 void rtc_proc_add_device(struct rtc_device *rtc) in rtc_proc_add_device() 88 void rtc_proc_del_device(struct rtc_device *rtc) in rtc_proc_del_device()
|
A D | dev.c | 26 struct rtc_device, char_dev); in rtc_dev_open() 47 struct rtc_device *rtc = in rtc_uie_task() 48 container_of(work, struct rtc_device, uie_task); in rtc_uie_task() 86 static int clear_uie(struct rtc_device *rtc) in clear_uie() 108 static int set_uie(struct rtc_device *rtc) in set_uie() 144 struct rtc_device *rtc = file->private_data; in rtc_dev_read() 193 struct rtc_device *rtc = file->private_data; in rtc_dev_poll() 207 struct rtc_device *rtc = file->private_data; in rtc_dev_ioctl() 475 struct rtc_device *rtc = file->private_data; in rtc_dev_compat_ioctl() 497 struct rtc_device *rtc = file->private_data; in rtc_dev_fasync() [all …]
|
A D | sysfs.c | 88 struct rtc_device *rtc = to_rtc_device(dev); in max_user_freq_store() 159 struct rtc_device *rtc = to_rtc_device(dev); in wakealarm_store() 272 static bool rtc_does_wakealarm(struct rtc_device *rtc) in rtc_does_wakealarm() 284 struct rtc_device *rtc = to_rtc_device(dev); in rtc_attr_is_visible() 316 int rtc_add_groups(struct rtc_device *rtc, const struct attribute_group **grps) in rtc_add_groups() 349 int rtc_add_group(struct rtc_device *rtc, const struct attribute_group *grp) in rtc_add_group()
|
A D | rtc-optee.c | 189 static int optee_rtc_read_info(struct device *dev, struct rtc_device *rtc, in optee_rtc_read_info() 243 struct tee_client_device *rtc_device = to_tee_client_device(dev); in optee_rtc_probe() local 246 struct rtc_device *rtc; in optee_rtc_probe() 266 export_uuid(sess_arg.uuid, &rtc_device->id.uuid); in optee_rtc_probe()
|
A D | rtc-sa1100.h | 18 struct rtc_device *rtc;
|
A D | nvmem.c | 13 int devm_rtc_nvmem_register(struct rtc_device *rtc, in devm_rtc_nvmem_register()
|
A D | rtc-generic.c | 15 struct rtc_device *rtc; in generic_rtc_probe()
|
A D | rtc-rs5c348.c | 54 struct rtc_device *rtc; 167 struct rtc_device *rtc; in rs5c348_probe()
|
A D | rtc-starfire.c | 40 struct rtc_device *rtc; in starfire_rtc_probe()
|
A D | rtc-msm6242.c | 76 struct rtc_device *rtc; 193 struct rtc_device *rtc; in msm6242_rtc_probe()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | rtc.c | 128 static struct platform_device rtc_device = { variable 153 platform_device_register(&rtc_device); in add_rtc_cmos() 154 dev_info(&rtc_device.dev, in add_rtc_cmos()
|
/linux-6.3-rc2/kernel/power/ |
A D | suspend_test.c | 62 static void __init test_wakealarm(struct rtc_device *rtc, suspend_state_t state) in test_wakealarm() 130 struct rtc_device *candidate = to_rtc_device(dev); in has_wakealarm() 184 struct rtc_device *rtc = NULL; in test_suspend()
|
/linux-6.3-rc2/arch/arm/mach-footbridge/ |
A D | isa.c | 28 static struct platform_device rtc_device = { variable 84 err = platform_device_register(&rtc_device); in footbridge_isa_init()
|
/linux-6.3-rc2/arch/sh/boards/mach-landisk/ |
A D | setup.c | 42 static struct platform_device rtc_device = { variable 49 &rtc_device,
|
/linux-6.3-rc2/arch/m68k/coldfire/ |
A D | amcore.c | 122 static struct platform_device rtc_device = { variable 138 &rtc_device,
|
/linux-6.3-rc2/kernel/time/ |
A D | alarmtimer.c | 63 static struct rtc_device *rtcdev; 71 struct rtc_device *alarmtimer_get_rtcdev(void) in alarmtimer_get_rtcdev() 74 struct rtc_device *ret; in alarmtimer_get_rtcdev() 88 struct rtc_device *rtc = to_rtc_device(dev); in alarmtimer_rtc_add_device() 246 struct rtc_device *rtc; in alarmtimer_suspend() 305 struct rtc_device *rtc; in alarmtimer_resume()
|
/linux-6.3-rc2/arch/sh/kernel/cpu/sh3/ |
A D | setup-sh7710.c | 88 static struct platform_device rtc_device = { variable 163 &rtc_device,
|
A D | setup-sh7705.c | 129 static struct platform_device rtc_device = { variable 164 &rtc_device,
|
A D | setup-sh770x.c | 102 static struct platform_device rtc_device = { variable 208 &rtc_device,
|
/linux-6.3-rc2/drivers/platform/x86/amd/ |
A D | pmc.c | 715 struct rtc_device *rtc_device; in amd_pmc_verify_czn_rtc() local 731 rtc_device = rtc_class_open("rtc0"); in amd_pmc_verify_czn_rtc() 732 if (!rtc_device) in amd_pmc_verify_czn_rtc() 734 rc = rtc_read_alarm(rtc_device, &alarm); in amd_pmc_verify_czn_rtc() 741 rc = rtc_read_time(rtc_device, &tm); in amd_pmc_verify_czn_rtc() 759 rc = rtc_alarm_irq_enable(rtc_device, 0); in amd_pmc_verify_czn_rtc()
|