Searched refs:rtc_time (Results 76 - 100 of 244) sorted by relevance

12345678910

/linux-master/arch/m68k/apollo/
H A Dconfig.c32 extern int dn_dummy_hwclk(int, struct rtc_time *);
183 int dn_dummy_hwclk(int op, struct rtc_time *t) {
/linux-master/drivers/rtc/
H A Drtc-ep93xx.c53 static int ep93xx_rtc_read_time(struct device *dev, struct rtc_time *tm)
64 static int ep93xx_rtc_set_time(struct device *dev, struct rtc_time *tm)
H A Drtc-max8998.c75 static void max8998_data_to_tm(u8 *data, struct rtc_time *tm)
93 static void max8998_tm_to_data(struct rtc_time *tm, u8 *data)
105 static int max8998_rtc_read_time(struct device *dev, struct rtc_time *tm)
120 static int max8998_rtc_set_time(struct device *dev, struct rtc_time *tm)
H A Drtc-max8925.c82 static int tm_calc(struct rtc_time *tm, unsigned char *buf, int len)
111 static int data_calc(unsigned char *buf, struct rtc_time *tm, int len)
151 static int max8925_rtc_read_time(struct device *dev, struct rtc_time *tm)
165 static int max8925_rtc_set_time(struct device *dev, struct rtc_time *tm)
H A Drtc-lp8788.c109 static int lp8788_rtc_read_time(struct device *dev, struct rtc_time *tm)
133 static int lp8788_rtc_set_time(struct device *dev, struct rtc_time *tm)
167 struct rtc_time *tm = &alarm->time;
192 struct rtc_time *tm = &alarm->time;
H A Drtc-cpcap.c51 static void cpcap2rtc_time(struct rtc_time *rtc, struct cpcap_time *cpcap)
62 static void rtc2cpcap_time(struct cpcap_time *cpcap, struct rtc_time *rtc)
91 static int cpcap_rtc_read_time(struct device *dev, struct rtc_time *tm)
118 static int cpcap_rtc_set_time(struct device *dev, struct rtc_time *tm)
H A Drtc-lpc24xx.c68 static int lpc24xx_rtc_set_time(struct device *dev, struct rtc_time *tm)
89 static int lpc24xx_rtc_read_time(struct device *dev, struct rtc_time *tm)
113 struct rtc_time *tm = &wkalrm->time;
133 struct rtc_time *tm = &wkalrm->time;
H A Drtc-mc146818-lib.c101 struct rtc_time *time;
144 * @time: pointer to struct rtc_time to store the current time
148 * provided struct rtc_time. The timeout parameter specifies the maximum
154 int mc146818_get_time(struct rtc_time *time, int timeout)
189 * and how they are defined in a struct rtc_time;
212 int mc146818_set_time(struct rtc_time *time)
H A Drtc-mt2712.c139 struct rtc_time *tm, int *sec)
157 static int mt2712_rtc_read_time(struct device *dev, struct rtc_time *tm)
172 static int mt2712_rtc_set_time(struct device *dev, struct rtc_time *tm)
196 struct rtc_time *tm = &alm->time;
234 struct rtc_time *tm = &alm->time;
H A Drtc-rk808.c68 static time64_t nov2dec_transitions(struct rtc_time *tm)
73 static void rockchip_to_gregorian(struct rtc_time *tm)
80 static void gregorian_to_rockchip(struct rtc_time *tm)
96 static int rk808_rtc_readtime(struct device *dev, struct rtc_time *tm)
146 static int rk808_rtc_set_time(struct device *dev, struct rtc_time *tm)
H A Drtc-sunxi.c186 struct rtc_time *alrm_tm = &wkalrm->time;
218 static int sunxi_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm)
255 struct rtc_time *alrm_tm = &wkalrm->time;
256 struct rtc_time tm_now;
326 static int sunxi_rtc_settime(struct device *dev, struct rtc_time *rtc_tm)
H A Drtc-mpc5121.c88 struct rtc_time *tm)
101 static int mpc5121_rtc_read_time(struct device *dev, struct rtc_time *tm)
123 static int mpc5121_rtc_set_time(struct device *dev, struct rtc_time *tm)
145 static int mpc5200_rtc_read_time(struct device *dev, struct rtc_time *tm)
172 static int mpc5200_rtc_set_time(struct device *dev, struct rtc_time *tm)
H A Drtc-mt6397.c63 struct rtc_time *tm, int *sec)
87 static int mtk_rtc_read_time(struct device *dev, struct rtc_time *tm)
119 static int mtk_rtc_set_time(struct device *dev, struct rtc_time *tm)
151 struct rtc_time *tm = &alm->time;
192 struct rtc_time *tm = &alm->time;
H A Drtc-pxa.c82 static u32 ryxr_calc(struct rtc_time *tm)
89 static u32 rdxr_calc(struct rtc_time *tm)
98 static void tm_calc(u32 rycr, u32 rdcr, struct rtc_time *tm)
220 static int pxa_rtc_read_time(struct device *dev, struct rtc_time *tm)
232 static int pxa_rtc_set_time(struct device *dev, struct rtc_time *tm)
H A Drtc-s3c.c130 static int s3c_rtc_read_time(struct s3c_rtc *info, struct rtc_time *tm)
170 static int s3c_rtc_write_time(struct s3c_rtc *info, const struct rtc_time *tm)
190 static int s3c_rtc_gettime(struct device *dev, struct rtc_time *tm)
207 static int s3c_rtc_settime(struct device *dev, struct rtc_time *tm)
210 struct rtc_time rtc_tm = *tm;
227 struct rtc_time *alm_tm = &alrm->time;
277 struct rtc_time *tm = &alrm->time;
H A Drtc-s5m.c173 static void s5m8767_data_to_tm(u8 *data, struct rtc_time *tm,
194 static int s5m8767_tm_to_data(struct rtc_time *tm, u8 *data)
330 static int s5m_rtc_read_time(struct device *dev, struct rtc_time *tm)
370 static int s5m_rtc_set_time(struct device *dev, struct rtc_time *tm)
441 struct rtc_time tm;
479 struct rtc_time tm;
H A Drtc-wm831x.c118 static int wm831x_rtc_readtime(struct device *dev, struct rtc_time *tm)
168 static int wm831x_rtc_settime(struct device *dev, struct rtc_time *tm)
172 struct rtc_time new_tm;
H A Dsysfs.c36 struct rtc_time tm;
50 struct rtc_time tm;
64 struct rtc_time tm;
/linux-master/drivers/base/power/
H A Dtrace.c91 static struct rtc_time time = {
120 struct rtc_time time;
/linux-master/samples/pfsm/
H A Dpfsm-wakeup.c34 struct rtc_time rtc_tm;
/linux-master/arch/m68k/68000/
H A Dtimers.c122 int m68328_hwclk(int set, struct rtc_time *t)
/linux-master/arch/alpha/include/asm/
H A Dmachvec.h25 struct rtc_time;
/linux-master/arch/powerpc/include/asm/
H A Dsmu.h470 struct rtc_time;
471 extern int smu_get_rtc_time(struct rtc_time *time, int spinwait);
472 extern int smu_set_rtc_time(struct rtc_time *time, int spinwait);
H A Dmachdep.h16 struct rtc_time;
68 int (*set_rtc_time)(struct rtc_time *);
69 void (*get_rtc_time)(struct rtc_time *);
H A Drtas.h445 struct rtc_time;
447 void rtas_get_rtc_time(struct rtc_time *rtc_time);
448 int rtas_set_rtc_time(struct rtc_time *rtc_time);

Completed in 280 milliseconds

12345678910