Home
last modified time | relevance | path

Searched defs:rtc (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/linux-6.12.1/drivers/rtc/
Dinterface.c23 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 *rtc, struct rtc_wkalrm *alarm) in __rtc_read_alarm()
387 int rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in rtc_read_alarm()
410 static int __rtc_set_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in __rtc_set_alarm()
[all …]
Drtc-ds1685.c45 ds1685_read(struct ds1685_priv *rtc, int reg) in ds1685_read()
58 ds1685_write(struct ds1685_priv *rtc, int reg, u8 value) in ds1685_write()
76 ds1685_indirect_read(struct ds1685_priv *rtc, int reg) in ds1685_indirect_read()
89 ds1685_indirect_write(struct ds1685_priv *rtc, int reg, u8 value) in ds1685_indirect_write()
108 ds1685_rtc_bcd2bin(struct ds1685_priv *rtc, u8 val, u8 bcd_mask, u8 bin_mask) in ds1685_rtc_bcd2bin()
126 ds1685_rtc_bin2bcd(struct ds1685_priv *rtc, u8 val, u8 bin_mask, u8 bcd_mask) in ds1685_rtc_bin2bcd()
142 ds1685_rtc_check_mday(struct ds1685_priv *rtc, u8 mday) in ds1685_rtc_check_mday()
159 ds1685_rtc_switch_to_bank0(struct ds1685_priv *rtc) in ds1685_rtc_switch_to_bank0()
170 ds1685_rtc_switch_to_bank1(struct ds1685_priv *rtc) in ds1685_rtc_switch_to_bank1()
190 ds1685_rtc_begin_data_access(struct ds1685_priv *rtc) in ds1685_rtc_begin_data_access()
[all …]
Drtc-da9052.c19 #define rtc_err(rtc, fmt, ...) \ argument
25 struct rtc_device *rtc; member
29 static int da9052_rtc_enable_alarm(struct da9052_rtc *rtc, bool enable) in da9052_rtc_enable_alarm()
49 struct da9052_rtc *rtc = data; in da9052_rtc_irq() local
56 static int da9052_read_alarm(struct da9052_rtc *rtc, struct rtc_time *rtc_tm) in da9052_read_alarm()
99 static int da9052_set_alarm(struct da9052_rtc *rtc, struct rtc_time *rtc_tm) in da9052_set_alarm()
140 static int da9052_rtc_get_alarm_status(struct da9052_rtc *rtc) in da9052_rtc_get_alarm_status()
155 struct da9052_rtc *rtc = dev_get_drvdata(dev); in da9052_rtc_read_time() local
198 struct da9052_rtc *rtc; in da9052_rtc_set_time() local
225 struct da9052_rtc *rtc = dev_get_drvdata(dev); in da9052_rtc_read_alarm() local
[all …]
Drtc-at91sam9.c81 #define rtt_readl(rtc, field) \ argument
83 #define rtt_writel(rtc, field, val) \ argument
86 static inline unsigned int gpbr_readl(struct sam9_rtc *rtc) in gpbr_readl()
95 static inline void gpbr_writel(struct sam9_rtc *rtc, unsigned int val) in gpbr_writel()
105 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_readtime() local
132 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_settime() local
177 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_readalarm() local
201 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_setalarm() local
235 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_alarm_irq_enable() local
251 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_proc() local
[all …]
Ddev.c25 struct rtc_device *rtc = container_of(inode->i_cdev, in rtc_dev_open() local
47 struct rtc_device *rtc = in rtc_uie_task() local
75 struct rtc_device *rtc = from_timer(rtc, t, uie_timer); in rtc_uie_timer() local
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() local
193 struct rtc_device *rtc = file->private_data; in rtc_dev_poll() local
207 struct rtc_device *rtc = file->private_data; in rtc_dev_ioctl() local
475 struct rtc_device *rtc = file->private_data; in rtc_dev_compat_ioctl() local
[all …]
Drtc-jz4740.c64 struct rtc_device *rtc; member
73 static inline uint32_t jz4740_rtc_reg_read(struct jz4740_rtc *rtc, size_t reg) in jz4740_rtc_reg_read()
78 static int jz4740_rtc_wait_write_ready(struct jz4740_rtc *rtc) in jz4740_rtc_wait_write_ready()
86 static inline int jz4780_rtc_enable_write(struct jz4740_rtc *rtc) in jz4780_rtc_enable_write()
101 static inline int jz4740_rtc_reg_write(struct jz4740_rtc *rtc, size_t reg, in jz4740_rtc_reg_write()
116 static int jz4740_rtc_ctrl_set_bits(struct jz4740_rtc *rtc, uint32_t mask, in jz4740_rtc_ctrl_set_bits()
144 struct jz4740_rtc *rtc = dev_get_drvdata(dev); in jz4740_rtc_read_time() local
173 struct jz4740_rtc *rtc = dev_get_drvdata(dev); in jz4740_rtc_set_time() local
185 struct jz4740_rtc *rtc = dev_get_drvdata(dev); in jz4740_rtc_read_alarm() local
204 struct jz4740_rtc *rtc = dev_get_drvdata(dev); in jz4740_rtc_set_alarm() local
[all …]
Drtc-omap.c142 struct rtc_device *rtc; member
155 static inline u8 rtc_read(struct omap_rtc *rtc, unsigned int reg) in rtc_read()
160 static inline u32 rtc_readl(struct omap_rtc *rtc, unsigned int reg) in rtc_readl()
165 static inline void rtc_write(struct omap_rtc *rtc, unsigned int reg, u8 val) in rtc_write()
170 static inline void rtc_writel(struct omap_rtc *rtc, unsigned int reg, u32 val) in rtc_writel()
175 static void am3352_rtc_unlock(struct omap_rtc *rtc) in am3352_rtc_unlock()
181 static void am3352_rtc_lock(struct omap_rtc *rtc) in am3352_rtc_lock()
187 static void default_rtc_unlock(struct omap_rtc *rtc) in default_rtc_unlock()
191 static void default_rtc_lock(struct omap_rtc *rtc) in default_rtc_lock()
200 static void rtc_wait_not_busy(struct omap_rtc *rtc) in rtc_wait_not_busy()
[all …]
Drtc-armada38x.c103 static void rtc_delayed_write(u32 val, struct armada38x_rtc *rtc, int offset) in rtc_delayed_write()
112 static void rtc_update_38x_mbus_timing_params(struct armada38x_rtc *rtc) in rtc_update_38x_mbus_timing_params()
124 static void rtc_update_8k_mbus_timing_params(struct armada38x_rtc *rtc) in rtc_update_8k_mbus_timing_params()
141 static u32 read_rtc_register(struct armada38x_rtc *rtc, u8 rtc_reg) in read_rtc_register()
146 static u32 read_rtc_register_38x_wa(struct armada38x_rtc *rtc, u8 rtc_reg) in read_rtc_register_38x_wa()
188 static void armada38x_clear_isr(struct armada38x_rtc *rtc) in armada38x_clear_isr()
195 static void armada38x_unmask_interrupt(struct armada38x_rtc *rtc) in armada38x_unmask_interrupt()
202 static void armada8k_clear_isr(struct armada38x_rtc *rtc) in armada8k_clear_isr()
207 static void armada8k_unmask_interrupt(struct armada38x_rtc *rtc) in armada8k_unmask_interrupt()
214 struct armada38x_rtc *rtc = dev_get_drvdata(dev); in armada38x_rtc_read_time() local
[all …]
Drtc-meson.c62 struct rtc_device *rtc; /* rtc device we created */ member
81 static void meson_rtc_sclk_pulse(struct meson_rtc *rtc) in meson_rtc_sclk_pulse()
90 static void meson_rtc_send_bit(struct meson_rtc *rtc, unsigned int bit) in meson_rtc_send_bit()
97 static void meson_rtc_send_bits(struct meson_rtc *rtc, u32 data, in meson_rtc_send_bits()
108 static void meson_rtc_set_dir(struct meson_rtc *rtc, u32 mode) in meson_rtc_set_dir()
116 static u32 meson_rtc_get_data(struct meson_rtc *rtc) in meson_rtc_get_data()
132 static int meson_rtc_get_bus(struct meson_rtc *rtc) in meson_rtc_get_bus()
162 struct meson_rtc *rtc = context; in meson_rtc_serial_bus_reg_read() local
181 struct meson_rtc *rtc = context; in meson_rtc_serial_bus_reg_write() local
211 static int meson_rtc_write_static(struct meson_rtc *rtc, u32 data) in meson_rtc_write_static()
[all …]
Drtc-fsl-ftm-alarm.c61 static inline void ftm_counter_enable(struct ftm_rtc *rtc) in ftm_counter_enable()
72 static inline void ftm_counter_disable(struct ftm_rtc *rtc) in ftm_counter_disable()
82 static inline void ftm_irq_acknowledge(struct ftm_rtc *rtc) in ftm_irq_acknowledge()
111 static inline void ftm_irq_enable(struct ftm_rtc *rtc) in ftm_irq_enable()
120 static inline void ftm_irq_disable(struct ftm_rtc *rtc) in ftm_irq_disable()
129 static inline void ftm_reset_counter(struct ftm_rtc *rtc) in ftm_reset_counter()
139 static void ftm_clean_alarm(struct ftm_rtc *rtc) in ftm_clean_alarm()
151 struct ftm_rtc *rtc = dev; in ftm_rtc_alarm_interrupt() local
165 struct ftm_rtc *rtc = dev_get_drvdata(dev); in ftm_rtc_alarm_irq_enable() local
209 struct ftm_rtc *rtc = dev_get_drvdata(dev); in ftm_rtc_set_alarm() local
[all …]
Dclass.c27 struct rtc_device *rtc = to_rtc_device(dev); in rtc_device_release() local
58 static void rtc_hctosys(struct rtc_device *rtc) in rtc_hctosys()
102 struct rtc_device *rtc = to_rtc_device(dev); in rtc_suspend() local
147 struct rtc_device *rtc = to_rtc_device(dev); in rtc_resume() local
209 struct rtc_device *rtc; in rtc_allocate_device() local
274 static void rtc_device_get_offset(struct rtc_device *rtc) in rtc_device_get_offset()
343 struct rtc_device *rtc = data; in devm_rtc_unregister_device() local
359 struct rtc_device *rtc = res; in devm_rtc_release_device() local
366 struct rtc_device *rtc; in devm_rtc_allocate_device() local
393 int __devm_rtc_register_device(struct module *owner, struct rtc_device *rtc) in __devm_rtc_register_device()
[all …]
Drtc-da9055.c19 struct rtc_device *rtc; member
24 static int da9055_rtc_enable_alarm(struct da9055_rtc *rtc, bool enable) in da9055_rtc_enable_alarm()
48 struct da9055_rtc *rtc = data; in da9055_rtc_alm_irq() local
127 struct da9055_rtc *rtc = dev_get_drvdata(dev); in da9055_rtc_read_time() local
161 struct da9055_rtc *rtc; in da9055_rtc_set_time() local
180 struct da9055_rtc *rtc = dev_get_drvdata(dev); in da9055_rtc_read_alarm() local
196 struct da9055_rtc *rtc = dev_get_drvdata(dev); in da9055_rtc_set_alarm() local
213 struct da9055_rtc *rtc = dev_get_drvdata(dev); in da9055_rtc_alarm_irq_enable() local
268 struct da9055_rtc *rtc; in da9055_rtc_probe() local
321 struct da9055_rtc *rtc = dev_get_drvdata(&pdev->dev); in da9055_rtc_suspend() local
[all …]
Drtc-sh.c110 static int __sh_rtc_interrupt(struct sh_rtc *rtc) in __sh_rtc_interrupt()
126 static int __sh_rtc_alarm(struct sh_rtc *rtc) in __sh_rtc_alarm()
141 static int __sh_rtc_periodic(struct sh_rtc *rtc) in __sh_rtc_periodic()
167 struct sh_rtc *rtc = dev_id; in sh_rtc_interrupt() local
179 struct sh_rtc *rtc = dev_id; in sh_rtc_alarm() local
191 struct sh_rtc *rtc = dev_id; in sh_rtc_periodic() local
203 struct sh_rtc *rtc = dev_id; in sh_rtc_shared() local
217 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_setaie() local
236 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_proc() local
251 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_setcie() local
[all …]
Drtc-lpc32xx.c51 struct rtc_device *rtc; member
58 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_read_time() local
68 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_set_time() local
89 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_read_alarm() local
102 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_set_alarm() local
132 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_alarm_irq_enable() local
154 struct lpc32xx_rtc *rtc = dev; in lpc32xx_rtc_alarm_interrupt() local
188 struct lpc32xx_rtc *rtc; in lpc32xx_rtc_probe() local
270 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_suspend() local
284 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_resume() local
[all …]
Drtc-mt6397.c19 static int mtk_rtc_write_trigger(struct mt6397_rtc *rtc) in mtk_rtc_write_trigger()
42 struct mt6397_rtc *rtc = data; in mtk_rtc_irq_handler_thread() local
62 static int __mtk_rtc_read_time(struct mt6397_rtc *rtc, in __mtk_rtc_read_time()
90 struct mt6397_rtc *rtc = dev_get_drvdata(dev); in mtk_rtc_read_time() local
121 struct mt6397_rtc *rtc = dev_get_drvdata(dev); in mtk_rtc_set_time() local
152 struct mt6397_rtc *rtc = dev_get_drvdata(dev); in mtk_rtc_read_alarm() local
193 struct mt6397_rtc *rtc = dev_get_drvdata(dev); in mtk_rtc_set_alarm() local
264 struct mt6397_rtc *rtc; in mtk_rtc_probe() local
312 struct mt6397_rtc *rtc = dev_get_drvdata(dev); in mt6397_rtc_suspend() local
322 struct mt6397_rtc *rtc = dev_get_drvdata(dev); in mt6397_rtc_resume() local
Drtc-pl030.c24 struct rtc_device *rtc; member
30 struct pl030_rtc *rtc = dev_id; in pl030_interrupt() local
37 struct pl030_rtc *rtc = dev_get_drvdata(dev); in pl030_read_alarm() local
45 struct pl030_rtc *rtc = dev_get_drvdata(dev); in pl030_set_alarm() local
54 struct pl030_rtc *rtc = dev_get_drvdata(dev); in pl030_read_time() local
71 struct pl030_rtc *rtc = dev_get_drvdata(dev); in pl030_set_time() local
87 struct pl030_rtc *rtc; in pl030_probe() local
142 struct pl030_rtc *rtc = amba_get_drvdata(dev); in pl030_remove() local
Drtc-rc5t619.c25 struct rtc_device *rtc; member
69 struct rc5t619_rtc *rtc = dev_get_drvdata(dev); in rc5t619_rtc_periodic_disable() local
91 struct rc5t619_rtc *rtc = dev_get_drvdata(dev); in rc5t619_rtc_pon_setup() local
118 struct rc5t619_rtc *rtc = dev_get_drvdata(dev); in rc5t619_rtc_read_time() local
164 struct rc5t619_rtc *rtc = dev_get_drvdata(dev); in rc5t619_rtc_set_time() local
216 struct rc5t619_rtc *rtc = dev_get_drvdata(dev); in rc5t619_rtc_alarm_enable() local
226 struct rc5t619_rtc *rtc = dev_get_drvdata(dev); in rc5t619_rtc_read_alarm() local
274 struct rc5t619_rtc *rtc = dev_get_drvdata(dev); in rc5t619_rtc_set_alarm() local
331 struct rc5t619_rtc *rtc = dev_get_drvdata(dev); in rc5t619_rtc_alarm_flag_clr() local
342 struct rc5t619_rtc *rtc = dev_get_drvdata(dev); in rc5t619_rtc_irq() local
[all …]
Drtc-digicolor.c41 static int dc_rtc_cmds(struct dc_rtc *rtc, const u8 *cmds, int len) in dc_rtc_cmds()
59 static int dc_rtc_read(struct dc_rtc *rtc, unsigned long *val) in dc_rtc_read()
83 static int dc_rtc_write(struct dc_rtc *rtc, u32 val) in dc_rtc_write()
93 struct dc_rtc *rtc = dev_get_drvdata(dev); in dc_rtc_read_time() local
107 struct dc_rtc *rtc = dev_get_drvdata(dev); in dc_rtc_set_time() local
114 struct dc_rtc *rtc = dev_get_drvdata(dev); in dc_rtc_read_alarm() local
135 struct dc_rtc *rtc = dev_get_drvdata(dev); in dc_rtc_set_alarm() local
151 struct dc_rtc *rtc = dev_get_drvdata(dev); in dc_rtc_alarm_irq_enable() local
168 struct dc_rtc *rtc = dev_id; in dc_rtc_irq() local
178 struct dc_rtc *rtc; in dc_rtc_probe() local
Drtc-cpcap.c51 static void cpcap2rtc_time(struct rtc_time *rtc, struct cpcap_time *cpcap) in cpcap2rtc_time()
62 static void rtc2cpcap_time(struct cpcap_time *cpcap, struct rtc_time *rtc) in rtc2cpcap_time()
76 struct cpcap_rtc *rtc = dev_get_drvdata(dev); in cpcap_rtc_alarm_irq_enable() local
93 struct cpcap_rtc *rtc; in cpcap_rtc_read_time() local
120 struct cpcap_rtc *rtc; in cpcap_rtc_set_time() local
171 struct cpcap_rtc *rtc; in cpcap_rtc_read_alarm() local
194 struct cpcap_rtc *rtc; in cpcap_rtc_set_alarm() local
230 struct cpcap_rtc *rtc = data; in cpcap_rtc_alarm_irq() local
238 struct cpcap_rtc *rtc = data; in cpcap_rtc_update_irq() local
247 struct cpcap_rtc *rtc; in cpcap_rtc_probe() local
Drtc-st-lpc.c52 static void st_rtc_set_hw_alarm(struct st_rtc *rtc, in st_rtc_set_hw_alarm()
72 struct st_rtc *rtc = (struct st_rtc *)data; in st_rtc_handler() local
81 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_read_time() local
104 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_set_time() local
125 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_read_alarm() local
139 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_alarm_irq_enable() local
154 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_set_alarm() local
187 struct st_rtc *rtc; in st_rtc_probe() local
260 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_suspend() local
274 struct st_rtc *rtc = dev_get_drvdata(dev); in st_rtc_resume() local
Drtc-pcf50633.c62 static void pcf2rtc_time(struct rtc_time *rtc, struct pcf50633_time *pcf) in pcf2rtc_time()
73 static void rtc2pcf_time(struct pcf50633_time *pcf, struct rtc_time *rtc) in rtc2pcf_time()
87 struct pcf50633_rtc *rtc = dev_get_drvdata(dev); in pcf50633_rtc_alarm_irq_enable() local
105 struct pcf50633_rtc *rtc; in pcf50633_rtc_read_time() local
136 struct pcf50633_rtc *rtc; in pcf50633_rtc_set_time() local
173 struct pcf50633_rtc *rtc; in pcf50633_rtc_read_alarm() local
196 struct pcf50633_rtc *rtc; in pcf50633_rtc_set_alarm() local
236 struct pcf50633_rtc *rtc = data; in pcf50633_rtc_irq() local
244 struct pcf50633_rtc *rtc; in pcf50633_rtc_probe() local
265 struct pcf50633_rtc *rtc; in pcf50633_rtc_remove() local
Drtc-ma35d1.c72 struct ma35_rtc *rtc = (struct ma35_rtc *)data; in ma35d1_rtc_interrupt() local
87 static int ma35d1_rtc_init(struct ma35_rtc *rtc, u32 ms_timeout) in ma35d1_rtc_init()
106 struct ma35_rtc *rtc = dev_get_drvdata(dev); in ma35d1_alarm_irq_enable() local
121 struct ma35_rtc *rtc = dev_get_drvdata(dev); in ma35d1_rtc_read_time() local
146 struct ma35_rtc *rtc = dev_get_drvdata(dev); in ma35d1_rtc_set_time() local
165 struct ma35_rtc *rtc = dev_get_drvdata(dev); in ma35d1_rtc_read_alarm() local
186 struct ma35_rtc *rtc = dev_get_drvdata(dev); in ma35d1_rtc_set_alarm() local
212 struct ma35_rtc *rtc; in ma35d1_rtc_probe() local
266 struct ma35_rtc *rtc = platform_get_drvdata(pdev); in ma35d1_rtc_suspend() local
276 struct ma35_rtc *rtc = platform_get_drvdata(pdev); in ma35d1_rtc_resume() local
Drtc-sc27xx.c104 struct rtc_device *rtc; member
126 static int sprd_rtc_clear_alarm_ints(struct sprd_rtc *rtc) in sprd_rtc_clear_alarm_ints()
132 static int sprd_rtc_lock_alarm(struct sprd_rtc *rtc, bool lock) in sprd_rtc_lock_alarm()
166 static int sprd_rtc_get_secs(struct sprd_rtc *rtc, enum sprd_rtc_reg_types type, in sprd_rtc_get_secs()
223 static int sprd_rtc_set_secs(struct sprd_rtc *rtc, enum sprd_rtc_reg_types type, in sprd_rtc_set_secs()
304 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_set_aux_alarm() local
334 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_read_time() local
353 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_set_time() local
385 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_read_alarm() local
416 struct sprd_rtc *rtc = dev_get_drvdata(dev); in sprd_rtc_set_alarm() local
[all …]
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() local
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()
Drtc-mpc5121.c78 struct rtc_device *rtc; member
103 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_read_time() local
125 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_set_time() local
147 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5200_rtc_read_time() local
174 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5200_rtc_set_time() local
196 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_read_alarm() local
208 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_set_alarm() local
226 struct mpc5121_rtc_data *rtc = dev_get_drvdata((struct device *)dev); in mpc5121_rtc_handler() local
243 struct mpc5121_rtc_data *rtc = dev_get_drvdata((struct device *)dev); in mpc5121_rtc_handler_upd() local
260 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_alarm_irq_enable() local
[all …]

12345678910>>...14