Home
last modified time | relevance | path

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

123456

/linux-3.4.99/drivers/rtc/
Dinterface.c23 static int __rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in __rtc_read_time()
37 int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_read_time()
51 int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_set_time()
82 int rtc_set_mmss(struct rtc_device *rtc, unsigned long secs) in rtc_set_mmss()
124 static int rtc_read_alarm_internal(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in rtc_read_alarm_internal()
145 int __rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in __rtc_read_alarm()
304 int rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in rtc_read_alarm()
326 static int __rtc_set_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in __rtc_set_alarm()
359 int rtc_set_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in rtc_set_alarm()
384 int rtc_initialize_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) in rtc_initialize_alarm()
[all …]
Drtc-core.h19 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()
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()
58 static inline void rtc_sysfs_init(struct class *rtc) in rtc_sysfs_init()
62 static inline void rtc_sysfs_add_device(struct rtc_device *rtc) in rtc_sysfs_add_device()
66 static inline void rtc_sysfs_del_device(struct rtc_device *rtc) in rtc_sysfs_del_device()
Drtc-dev.c26 struct rtc_device *rtc = container_of(inode->i_cdev, in rtc_dev_open() local
56 struct rtc_device *rtc = in rtc_uie_task() local
83 struct rtc_device *rtc = (struct rtc_device *)data; in rtc_uie_timer() local
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() local
206 struct rtc_device *rtc = file->private_data; in rtc_dev_poll() local
220 struct rtc_device *rtc = file->private_data; in rtc_dev_ioctl() local
436 struct rtc_device *rtc = file->private_data; in rtc_dev_fasync() local
[all …]
Drtc-at91sam9.c63 #define rtt_readl(rtc, field) \ argument
65 #define rtt_writel(rtc, field, val) \ argument
68 #define gpbr_readl(rtc) \ argument
70 #define gpbr_writel(rtc, val) \ argument
78 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_readtime() local
107 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_settime() local
157 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_readalarm() local
183 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_setalarm() local
222 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_alarm_irq_enable() local
238 struct sam9_rtc *rtc = dev_get_drvdata(dev); in at91_rtc_proc() local
[all …]
Drtc-jz4740.c43 struct rtc_device *rtc; member
50 static inline uint32_t jz4740_rtc_reg_read(struct jz4740_rtc *rtc, size_t reg) in jz4740_rtc_reg_read()
55 static int jz4740_rtc_wait_write_ready(struct jz4740_rtc *rtc) in jz4740_rtc_wait_write_ready()
67 static inline int jz4740_rtc_reg_write(struct jz4740_rtc *rtc, size_t reg, in jz4740_rtc_reg_write()
78 static int jz4740_rtc_ctrl_set_bits(struct jz4740_rtc *rtc, uint32_t mask, in jz4740_rtc_ctrl_set_bits()
106 struct jz4740_rtc *rtc = dev_get_drvdata(dev); in jz4740_rtc_read_time() local
132 struct jz4740_rtc *rtc = dev_get_drvdata(dev); in jz4740_rtc_set_mmss() local
139 struct jz4740_rtc *rtc = dev_get_drvdata(dev); in jz4740_rtc_read_alarm() local
158 struct jz4740_rtc *rtc = dev_get_drvdata(dev); in jz4740_rtc_set_alarm() local
173 struct jz4740_rtc *rtc = dev_get_drvdata(dev); in jz4740_rtc_alarm_irq_enable() local
[all …]
Drtc-lpc32xx.c60 struct rtc_device *rtc; member
67 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_read_time() local
77 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_set_mmss() local
97 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_read_alarm() local
110 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_set_alarm() local
145 struct lpc32xx_rtc *rtc = dev_get_drvdata(dev); in lpc32xx_rtc_alarm_irq_enable() local
167 struct lpc32xx_rtc *rtc = dev; in lpc32xx_rtc_alarm_interrupt() local
202 struct lpc32xx_rtc *rtc; in lpc32xx_rtc_probe() local
303 struct lpc32xx_rtc *rtc = platform_get_drvdata(pdev); in lpc32xx_rtc_remove() local
318 struct lpc32xx_rtc *rtc = platform_get_drvdata(pdev); in lpc32xx_rtc_suspend() local
[all …]
Drtc-pl030.c27 struct rtc_device *rtc; member
33 struct pl030_rtc *rtc = dev_id; in pl030_interrupt() local
40 struct pl030_rtc *rtc = dev_get_drvdata(dev); in pl030_read_alarm() local
48 struct pl030_rtc *rtc = dev_get_drvdata(dev); in pl030_set_alarm() local
65 struct pl030_rtc *rtc = dev_get_drvdata(dev); in pl030_read_time() local
82 struct pl030_rtc *rtc = dev_get_drvdata(dev); in pl030_set_time() local
102 struct pl030_rtc *rtc; in pl030_probe() local
154 struct pl030_rtc *rtc = amba_get_drvdata(dev); in pl030_remove() local
Drtc-sh.c105 static int __sh_rtc_interrupt(struct sh_rtc *rtc) in __sh_rtc_interrupt()
121 static int __sh_rtc_alarm(struct sh_rtc *rtc) in __sh_rtc_alarm()
136 static int __sh_rtc_periodic(struct sh_rtc *rtc) in __sh_rtc_periodic()
171 struct sh_rtc *rtc = dev_id; in sh_rtc_interrupt() local
183 struct sh_rtc *rtc = dev_id; in sh_rtc_alarm() local
195 struct sh_rtc *rtc = dev_id; in sh_rtc_periodic() local
207 struct sh_rtc *rtc = dev_id; in sh_rtc_shared() local
221 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_irq_set_state() local
246 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_irq_set_freq() local
296 struct sh_rtc *rtc = dev_get_drvdata(dev); in sh_rtc_setaie() local
[all …]
Drtc-da9052.c26 struct rtc_device *rtc; member
51 struct da9052_rtc *rtc = data; in da9052_rtc_irq() local
138 struct da9052_rtc *rtc = dev_get_drvdata(dev); in da9052_rtc_read_time() local
166 struct da9052_rtc *rtc; in da9052_rtc_set_time() local
185 struct da9052_rtc *rtc = dev_get_drvdata(dev); in da9052_rtc_read_alarm() local
201 struct da9052_rtc *rtc = dev_get_drvdata(dev); in da9052_rtc_set_alarm() local
218 struct da9052_rtc *rtc = dev_get_drvdata(dev); in da9052_rtc_alarm_irq_enable() local
233 struct da9052_rtc *rtc; in da9052_rtc_probe() local
269 struct da9052_rtc *rtc = pdev->dev.platform_data; in da9052_rtc_remove() local
Drtc-pcf50633.c67 static void pcf2rtc_time(struct rtc_time *rtc, struct pcf50633_time *pcf) in pcf2rtc_time()
78 static void rtc2pcf_time(struct pcf50633_time *pcf, struct rtc_time *rtc) in rtc2pcf_time()
92 struct pcf50633_rtc *rtc = dev_get_drvdata(dev); in pcf50633_rtc_alarm_irq_enable() local
110 struct pcf50633_rtc *rtc; in pcf50633_rtc_read_time() local
143 struct pcf50633_rtc *rtc; in pcf50633_rtc_set_time() local
182 struct pcf50633_rtc *rtc; in pcf50633_rtc_read_alarm() local
205 struct pcf50633_rtc *rtc; in pcf50633_rtc_set_alarm() local
245 struct pcf50633_rtc *rtc = data; in pcf50633_rtc_irq() local
253 struct pcf50633_rtc *rtc; in pcf50633_rtc_probe() local
277 struct pcf50633_rtc *rtc; in pcf50633_rtc_remove() local
Drtc-at32ap700x.c62 struct rtc_device *rtc; member
72 struct rtc_at32ap700x *rtc = dev_get_drvdata(dev); in at32_rtc_readtime() local
83 struct rtc_at32ap700x *rtc = dev_get_drvdata(dev); in at32_rtc_settime() local
96 struct rtc_at32ap700x *rtc = dev_get_drvdata(dev); in at32_rtc_readalarm() local
109 struct rtc_at32ap700x *rtc = dev_get_drvdata(dev); in at32_rtc_setalarm() local
139 struct rtc_at32ap700x *rtc = dev_get_drvdata(dev); in at32_rtc_alarm_irq_enable() local
167 struct rtc_at32ap700x *rtc = (struct rtc_at32ap700x *)dev_id; in at32_rtc_interrupt() local
201 struct rtc_at32ap700x *rtc; in at32_rtc_probe() local
282 struct rtc_at32ap700x *rtc = platform_get_drvdata(pdev); in at32_rtc_remove() local
Drtc-bfin.c159 struct bfin_rtc *rtc = dev_get_drvdata(dev); in bfin_rtc_reset() local
183 struct bfin_rtc *rtc = dev_get_drvdata(dev); in bfin_rtc_interrupt() local
236 static void bfin_rtc_int_set_alarm(struct bfin_rtc *rtc) in bfin_rtc_int_set_alarm()
246 struct bfin_rtc *rtc = dev_get_drvdata(dev); in bfin_rtc_alarm_irq_enable() local
259 struct bfin_rtc *rtc = dev_get_drvdata(dev); in bfin_rtc_read_time() local
273 struct bfin_rtc *rtc = dev_get_drvdata(dev); in bfin_rtc_set_time() local
292 struct bfin_rtc *rtc = dev_get_drvdata(dev); in bfin_rtc_read_alarm() local
302 struct bfin_rtc *rtc = dev_get_drvdata(dev); in bfin_rtc_set_alarm() local
347 struct bfin_rtc *rtc; in bfin_rtc_probe() local
393 struct bfin_rtc *rtc = platform_get_drvdata(pdev); in bfin_rtc_remove() local
Drtc-proc.c25 struct rtc_device *rtc = seq->private; in rtc_proc_show() local
93 struct rtc_device *rtc = PDE(inode)->data; in rtc_proc_open() local
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()
Dclass.c29 struct rtc_device *rtc = to_rtc_device(dev); in rtc_device_release() local
46 struct rtc_device *rtc = to_rtc_device(dev); in rtc_suspend() local
82 struct rtc_device *rtc = to_rtc_device(dev); in rtc_resume() local
142 struct rtc_device *rtc; in rtc_device_register() local
229 void rtc_device_unregister(struct rtc_device *rtc) in rtc_device_unregister()
Drtc-mpc5121.c80 struct rtc_device *rtc; member
105 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_read_time() local
127 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_set_time() local
151 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5200_rtc_read_time() local
178 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5200_rtc_set_time() local
200 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_read_alarm() local
212 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_set_alarm() local
244 struct mpc5121_rtc_data *rtc = dev_get_drvdata((struct device *)dev); in mpc5121_rtc_handler() local
261 struct mpc5121_rtc_data *rtc = dev_get_drvdata((struct device *)dev); in mpc5121_rtc_handler_upd() local
278 struct mpc5121_rtc_data *rtc = dev_get_drvdata(dev); in mpc5121_rtc_alarm_irq_enable() local
[all …]
Drtc-sysfs.c94 struct rtc_device *rtc = to_rtc_device(dev); in rtc_sysfs_set_max_user_freq() local
162 struct rtc_device *rtc = to_rtc_device(dev); in rtc_sysfs_set_wakealarm() local
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()
Drtc-nuc900.c64 struct nuc900_rtc *rtc = _rtc; in nuc900_rtc_interrupt() local
139 struct nuc900_rtc *rtc = dev_get_drvdata(dev); in nuc900_alarm_irq_enable() local
153 struct nuc900_rtc *rtc = dev_get_drvdata(dev); in nuc900_rtc_read_time() local
164 struct nuc900_rtc *rtc = dev_get_drvdata(dev); in nuc900_rtc_set_time() local
186 struct nuc900_rtc *rtc = dev_get_drvdata(dev); in nuc900_rtc_read_alarm() local
197 struct nuc900_rtc *rtc = dev_get_drvdata(dev); in nuc900_rtc_set_alarm() local
Drtc-sa1100.c53 struct rtc_device *rtc; member
60 struct rtc_device *rtc = info->rtc; in sa1100_rtc_interrupt() local
108 struct rtc_device *rtc = info->rtc; in sa1100_rtc_open() local
233 struct rtc_device *rtc; in sa1100_rtc_probe() local
Drtc-starfire.c42 struct rtc_device *rtc = rtc_device_register("starfire", &pdev->dev, in starfire_rtc_probe() local
54 struct rtc_device *rtc = platform_get_drvdata(pdev); in starfire_rtc_remove() local
Drtc-generic.c39 struct rtc_device *rtc; in generic_rtc_probe() local
53 struct rtc_device *rtc = platform_get_drvdata(dev); in generic_rtc_remove() local
Drtc-test.c78 struct rtc_device *rtc = platform_get_drvdata(plat_dev); in test_irq_store() local
102 struct rtc_device *rtc = rtc_device_register("test", &plat_dev->dev, in test_probe() local
124 struct rtc_device *rtc = platform_get_drvdata(plat_dev); in test_remove() local
Drtc-tile.c81 struct rtc_device *rtc; in tile_rtc_probe() local
99 struct rtc_device *rtc = platform_get_drvdata(dev); in tile_rtc_remove() local
Drtc-dm355evm.c128 struct rtc_device *rtc; in dm355evm_rtc_probe() local
144 struct rtc_device *rtc = platform_get_drvdata(pdev); in dm355evm_rtc_remove() local
/linux-3.4.99/arch/m68k/bvme6000/
Dconfig.c161 volatile RtcPtr_t rtc = (RtcPtr_t)BVME_RTC_BASE; in bvme6000_timer_int() local
180 volatile RtcPtr_t rtc = (RtcPtr_t)BVME_RTC_BASE; in bvme6000_sched_init() local
221 volatile RtcPtr_t rtc = (RtcPtr_t)BVME_RTC_BASE; in bvme6000_gettimeoffset() local
269 volatile RtcPtr_t rtc = (RtcPtr_t)BVME_RTC_BASE; in bvme6000_hwclk() local
320 volatile RtcPtr_t rtc = (RtcPtr_t)BVME_RTC_BASE; in bvme6000_set_clock_mmss() local
/linux-3.4.99/sound/core/
Drtctimer.c81 rtc_task_t *rtc = t->private_data; in rtctimer_close() local
93 rtc_task_t *rtc = timer->private_data; in rtctimer_start() local
104 rtc_task_t *rtc = timer->private_data; in rtctimer_stop() local

123456