Home
last modified time | relevance | path

Searched refs:rtc_device (Results 1 - 25 of 406) sorted by relevance

12345678910>>...17

/kernel/linux/linux-5.10/include/linux/
H A Drtc.h51 * device state, including the rtc_device pointer for the RTC.
53 * Most of these methods are called with rtc_device.ops_lock held,
54 * through the rtc_*(struct rtc_device *, ...) calls.
71 struct rtc_device;
76 void (*func)(struct rtc_device *rtc);
77 struct rtc_device *rtc;
84 struct rtc_device { struct
144 #define to_rtc_device(d) container_of(d, struct rtc_device, dev)
159 extern struct rtc_device *devm_rtc_device_register(struct device *dev,
163 struct rtc_device *devm_rtc_allocate_devic
[all...]
H A Dalarmtimer.h9 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()
/kernel/linux/linux-6.6/include/linux/
H A Drtc.h51 * device state, including the rtc_device pointer for the RTC.
53 * Most of these methods are called with rtc_device.ops_lock held,
54 * through the rtc_*(struct rtc_device *, ...) calls.
73 struct rtc_device;
78 void (*func)(struct rtc_device *rtc);
79 struct rtc_device *rtc;
87 struct rtc_device { struct
165 #define to_rtc_device(d) container_of(d, struct rtc_device, dev)
180 extern struct rtc_device *devm_rtc_device_register(struct device *dev,
184 struct rtc_device *devm_rtc_allocate_devic
[all...]
H A Dalarmtimer.h9 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()
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-core.h6 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()
H A Dinterface.c20 static int rtc_timer_enqueue(struct rtc_device *rtc, struct rtc_timer *timer);
21 static void rtc_timer_remove(struct rtc_device *rtc, struct rtc_timer *timer);
23 static void rtc_add_offset(struct rtc_device *rtc, struct rtc_time *tm) in rtc_add_offset()
46 static void rtc_subtract_offset(struct rtc_device *rtc, struct rtc_time *tm) in rtc_subtract_offset()
67 static int rtc_valid_range(struct rtc_device *rtc, struct rtc_time *tm) in rtc_valid_range()
84 static int __rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in __rtc_read_time()
110 int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_read_time()
126 int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_set_time()
178 static int rtc_read_alarm_internal(struct rtc_device *rtc, in rtc_read_alarm_internal()
212 int __rtc_read_alarm(struct rtc_device *rt
[all...]
H A Dclass.c28 struct rtc_device *rtc = to_rtc_device(dev); in rtc_device_release()
58 static void rtc_hctosys(struct rtc_device *rtc) in rtc_hctosys()
102 struct rtc_device *rtc = to_rtc_device(dev); in rtc_suspend()
147 struct rtc_device *rtc = to_rtc_device(dev); in rtc_resume()
202 static struct rtc_device *rtc_allocate_device(void) in rtc_allocate_device()
204 struct rtc_device *rtc; in rtc_allocate_device()
261 static void rtc_device_get_offset(struct rtc_device *rtc) in rtc_device_get_offset()
333 static void rtc_device_unregister(struct rtc_device *rtc) in rtc_device_unregister()
349 struct rtc_device *rtc = *(struct rtc_device **)re in devm_rtc_release_device()
[all...]
H A Dproc.c21 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()
H A Ddev.c25 struct rtc_device *rtc = container_of(inode->i_cdev, in rtc_dev_open()
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()
75 struct rtc_device *rtc = from_timer(rtc, t, uie_timer); in rtc_uie_timer()
86 static int clear_uie(struct rtc_device *rtc) in clear_uie()
108 static int set_uie(struct rtc_device *rtc) in set_uie()
130 int rtc_dev_update_irq_enable_emul(struct rtc_device *rtc, unsigned int enabled) in rtc_dev_update_irq_enable_emul()
144 struct rtc_device *rtc = file->private_data; in rtc_dev_read()
193 struct rtc_device *rt in rtc_dev_poll()
[all...]
H A Dnvmem.c41 static int rtc_nvram_register(struct rtc_device *rtc, in rtc_nvram_register()
70 static void rtc_nvram_unregister(struct rtc_device *rtc) in rtc_nvram_unregister()
80 int rtc_nvmem_register(struct rtc_device *rtc, in rtc_nvmem_register()
102 void rtc_nvmem_unregister(struct rtc_device *rtc) in rtc_nvmem_unregister()
H A Dsysfs.c87 struct rtc_device *rtc = to_rtc_device(dev); in max_user_freq_store()
158 struct rtc_device *rtc = to_rtc_device(dev); in wakealarm_store()
271 static bool rtc_does_wakealarm(struct rtc_device *rtc) in rtc_does_wakealarm()
283 struct rtc_device *rtc = to_rtc_device(dev); in rtc_attr_is_visible()
315 int rtc_add_groups(struct rtc_device *rtc, const struct attribute_group **grps) in rtc_add_groups()
350 int rtc_add_group(struct rtc_device *rtc, const struct attribute_group *grp) in rtc_add_group()
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-core.h5 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()
H A Dinterface.c20 static int rtc_timer_enqueue(struct rtc_device *rtc, struct rtc_timer *timer);
21 static void rtc_timer_remove(struct rtc_device *rtc, struct rtc_timer *timer);
23 static void rtc_add_offset(struct rtc_device *rtc, struct rtc_time *tm) in rtc_add_offset()
46 static void rtc_subtract_offset(struct rtc_device *rtc, struct rtc_time *tm) in rtc_subtract_offset()
67 static int rtc_valid_range(struct rtc_device *rtc, struct rtc_time *tm) in rtc_valid_range()
84 static int __rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in __rtc_read_time()
110 int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_read_time()
126 int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_set_time()
178 static int rtc_read_alarm_internal(struct rtc_device *rtc, in rtc_read_alarm_internal()
212 int __rtc_read_alarm(struct rtc_device *rt
[all...]
H A Dclass.c28 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()
360 struct rtc_device *devm_rtc_allocate_devic
[all...]
H A Dproc.c21 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()
H A Ddev.c25 struct rtc_device *rtc = container_of(inode->i_cdev, in rtc_dev_open()
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()
75 struct rtc_device *rtc = from_timer(rtc, t, uie_timer); in rtc_uie_timer()
86 static int clear_uie(struct rtc_device *rtc) in clear_uie()
108 static int set_uie(struct rtc_device *rtc) in set_uie()
130 int rtc_dev_update_irq_enable_emul(struct rtc_device *rtc, unsigned int enabled) in rtc_dev_update_irq_enable_emul()
144 struct rtc_device *rtc = file->private_data; in rtc_dev_read()
193 struct rtc_device *rt in rtc_dev_poll()
[all...]
H A Dsysfs.c88 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()
/kernel/linux/linux-5.10/kernel/power/
H A Dsuspend_test.c62 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()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Drtc.c128 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()
/kernel/linux/linux-6.6/kernel/power/
H A Dsuspend_test.c62 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()
/kernel/linux/linux-5.10/arch/arm/mach-footbridge/
H A Disa.c28 static struct platform_device rtc_device = { variable
88 err = platform_device_register(&rtc_device); in footbridge_isa_init()
/kernel/linux/linux-6.6/arch/arm/mach-footbridge/
H A Disa.c28 static struct platform_device rtc_device = { variable
84 err = platform_device_register(&rtc_device); in footbridge_isa_init()
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Drtc.c173 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()
/kernel/linux/linux-5.10/arch/m68k/coldfire/
H A Damcore.c122 static struct platform_device rtc_device = { variable
138 &rtc_device,
/kernel/linux/linux-5.10/arch/sh/boards/mach-landisk/
H A Dsetup.c42 static struct platform_device rtc_device = { variable
49 &rtc_device,

Completed in 10 milliseconds

12345678910>>...17