Home
last modified time | relevance | path

Searched refs:rtc_time (Results 51 – 75 of 300) sorted by relevance

12345678910>>...12

/openbmc/linux/drivers/rtc/
H A Drtc-imx-sc.c42 static int imx_sc_rtc_read_time(struct device *dev, struct rtc_time *tm) in imx_sc_rtc_read_time()
64 static int imx_sc_rtc_set_time(struct device *dev, struct rtc_time *tm) in imx_sc_rtc_set_time()
88 struct rtc_time *alrm_tm = &alrm->time; in imx_sc_rtc_set_alarm()
H A Drtc-opal.c21 static void opal_to_tm(u32 y_m_d, u64 h_m_s_ms, struct rtc_time *tm) in opal_to_tm()
34 static void tm_to_opal(struct rtc_time *tm, u32 *y_m_d, u64 *h_m_s_ms) in tm_to_opal()
46 static int opal_get_rtc_time(struct device *dev, struct rtc_time *tm) in opal_get_rtc_time()
80 static int opal_set_rtc_time(struct device *dev, struct rtc_time *tm) in opal_set_rtc_time()
H A Drtc-efi.c53 convert_to_efi_time(struct rtc_time *wtime, efi_time_t *eft) in convert_to_efi_time()
67 convert_from_efi_time(efi_time_t *eft, struct rtc_time *wtime) in convert_from_efi_time()
157 static int efi_read_time(struct device *dev, struct rtc_time *tm) in efi_read_time()
177 static int efi_set_time(struct device *dev, struct rtc_time *tm) in efi_set_time()
H A Drtc-rs5c313.c213 static int rs5c313_rtc_read_time(struct device *dev, struct rtc_time *tm) in rs5c313_rtc_read_time()
273 static int rs5c313_rtc_set_time(struct device *dev, struct rtc_time *tm) in rs5c313_rtc_set_time()
333 struct rtc_time tm; in rs5c313_check_xstp_bit()
350 memset(&tm, 0, sizeof(struct rtc_time)); in rs5c313_check_xstp_bit()
H A Drtc-pcf8583.c49 static int pcf8583_get_datetime(struct i2c_client *client, struct rtc_time *dt) in pcf8583_get_datetime()
87 static int pcf8583_set_datetime(struct i2c_client *client, struct rtc_time *dt, int datetoo) in pcf8583_set_datetime()
172 static int pcf8583_rtc_read_time(struct device *dev, struct rtc_time *tm) in pcf8583_rtc_read_time()
222 static int pcf8583_rtc_set_time(struct device *dev, struct rtc_time *tm) in pcf8583_rtc_set_time()
H A Drtc-rzn1.c67 static void rzn1_rtc_get_time_snapshot(struct rzn1_rtc *rtc, struct rtc_time *tm) in rzn1_rtc_get_time_snapshot()
78 static unsigned int rzn1_rtc_tm_to_wday(struct rtc_time *tm) in rzn1_rtc_tm_to_wday()
91 static int rzn1_rtc_read_time(struct device *dev, struct rtc_time *tm) in rzn1_rtc_read_time()
120 static int rzn1_rtc_set_time(struct device *dev, struct rtc_time *tm) in rzn1_rtc_set_time()
186 struct rtc_time *tm = &alrm->time; in rzn1_rtc_read_alarm()
220 struct rtc_time *tm = &alrm->time, tm_now; in rzn1_rtc_set_alarm()
H A Drtc-pcap.c43 struct rtc_time *tm = &alrm->time; in pcap_rtc_read_alarm()
74 static int pcap_rtc_read_time(struct device *dev, struct rtc_time *tm) in pcap_rtc_read_time()
91 static int pcap_rtc_set_time(struct device *dev, struct rtc_time *tm) in pcap_rtc_set_time()
H A 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()
103 static int pcf50633_rtc_read_time(struct device *dev, struct rtc_time *tm) in pcf50633_rtc_read_time()
134 static int pcf50633_rtc_set_time(struct device *dev, struct rtc_time *tm) in pcf50633_rtc_set_time()
H A Drtc-hid-sensor-time.c27 struct rtc_time last_time;
30 struct rtc_time time_buf;
81 struct rtc_time *time_buf = &time_state->time_buf; in hid_time_capture_sample()
192 static int hid_rtc_read_time(struct device *dev, struct rtc_time *tm) in hid_rtc_read_time()
H A Drtc-mt2712.c139 struct rtc_time *tm, int *sec) in __mt2712_rtc_read_time()
157 static int mt2712_rtc_read_time(struct device *dev, struct rtc_time *tm) in mt2712_rtc_read_time()
172 static int mt2712_rtc_set_time(struct device *dev, struct rtc_time *tm) in mt2712_rtc_set_time()
196 struct rtc_time *tm = &alm->time; in mt2712_rtc_read_alarm()
234 struct rtc_time *tm = &alm->time; in mt2712_rtc_set_alarm()
H A Drtc-mt6397.c63 struct rtc_time *tm, int *sec) in __mtk_rtc_read_time()
87 static int mtk_rtc_read_time(struct device *dev, struct rtc_time *tm) in mtk_rtc_read_time()
119 static int mtk_rtc_set_time(struct device *dev, struct rtc_time *tm) in mtk_rtc_set_time()
151 struct rtc_time *tm = &alm->time; in mtk_rtc_read_alarm()
192 struct rtc_time *tm = &alm->time; in mtk_rtc_set_alarm()
H A Drtc-max8998.c75 static void max8998_data_to_tm(u8 *data, struct rtc_time *tm) in max8998_data_to_tm()
93 static void max8998_tm_to_data(struct rtc_time *tm, u8 *data) in max8998_tm_to_data()
105 static int max8998_rtc_read_time(struct device *dev, struct rtc_time *tm) in max8998_rtc_read_time()
120 static int max8998_rtc_set_time(struct device *dev, struct rtc_time *tm) in max8998_rtc_set_time()
H A Drtc-s3c.c130 static int s3c_rtc_read_time(struct s3c_rtc *info, struct rtc_time *tm) in s3c_rtc_read_time()
170 static int s3c_rtc_write_time(struct s3c_rtc *info, const struct rtc_time *tm) in s3c_rtc_write_time()
190 static int s3c_rtc_gettime(struct device *dev, struct rtc_time *tm) in s3c_rtc_gettime()
207 static int s3c_rtc_settime(struct device *dev, struct rtc_time *tm) in s3c_rtc_settime()
210 struct rtc_time rtc_tm = *tm; in s3c_rtc_settime()
227 struct rtc_time *alm_tm = &alrm->time; in s3c_rtc_getalarm()
277 struct rtc_time *tm = &alrm->time; in s3c_rtc_setalarm()
H A Drtc-ab-b5ze-s3.c205 static int _abb5zes3_rtc_read_time(struct device *dev, struct rtc_time *tm) in _abb5zes3_rtc_read_time()
248 static int abb5zes3_rtc_set_time(struct device *dev, struct rtc_time *tm) in abb5zes3_rtc_set_time()
301 struct rtc_time rtc_tm, *alarm_tm = &alarm->time; in _abb5zes3_rtc_read_timer()
354 struct rtc_time rtc_tm, *alarm_tm = &alarm->time; in _abb5zes3_rtc_read_alarm()
440 struct rtc_time *alarm_tm = &alarm->time; in _abb5zes3_rtc_set_alarm()
442 struct rtc_time rtc_tm; in _abb5zes3_rtc_set_alarm()
544 struct rtc_time *alarm_tm = &alarm->time; in abb5zes3_rtc_set_alarm()
546 struct rtc_time rtc_tm; in abb5zes3_rtc_set_alarm()
H A Drtc-mpc5121.c88 struct rtc_time *tm) in mpc5121_rtc_update_smh()
101 static int mpc5121_rtc_read_time(struct device *dev, struct rtc_time *tm) in mpc5121_rtc_read_time()
123 static int mpc5121_rtc_set_time(struct device *dev, struct rtc_time *tm) in mpc5121_rtc_set_time()
145 static int mpc5200_rtc_read_time(struct device *dev, struct rtc_time *tm) in mpc5200_rtc_read_time()
172 static int mpc5200_rtc_set_time(struct device *dev, struct rtc_time *tm) in mpc5200_rtc_set_time()
H A Drtc-pxa.c82 static u32 ryxr_calc(struct rtc_time *tm) in ryxr_calc()
89 static u32 rdxr_calc(struct rtc_time *tm) in rdxr_calc()
98 static void tm_calc(u32 rycr, u32 rdcr, struct rtc_time *tm) in tm_calc()
220 static int pxa_rtc_read_time(struct device *dev, struct rtc_time *tm) in pxa_rtc_read_time()
232 static int pxa_rtc_set_time(struct device *dev, struct rtc_time *tm) in pxa_rtc_set_time()
H A Drtc-rk808.c68 static time64_t nov2dec_transitions(struct rtc_time *tm) in nov2dec_transitions()
73 static void rockchip_to_gregorian(struct rtc_time *tm) in rockchip_to_gregorian()
80 static void gregorian_to_rockchip(struct rtc_time *tm) in gregorian_to_rockchip()
96 static int rk808_rtc_readtime(struct device *dev, struct rtc_time *tm) in rk808_rtc_readtime()
146 static int rk808_rtc_set_time(struct device *dev, struct rtc_time *tm) in rk808_rtc_set_time()
/openbmc/linux/arch/powerpc/platforms/maple/
H A Dtime.c51 void maple_get_rtc_time(struct rtc_time *tm) in maple_get_rtc_time()
77 int maple_set_rtc_time(struct rtc_time *tm) in maple_set_rtc_time()
136 struct rtc_time tm; in maple_get_boot_time()
/openbmc/u-boot/drivers/rtc/
H A Drs5c372.c117 rs5c372_convert_to_time(struct rtc_time *dt, unsigned char *buf) in rs5c372_convert_to_time()
156 rtc_get (struct rtc_time *tmp) in rtc_get()
184 int rtc_set (struct rtc_time *tmp) in rtc_set()
H A Dftrtc010.c75 int rtc_get(struct rtc_time *tmp) in rtc_get()
96 int rtc_set(struct rtc_time *tmp) in rtc_set()
H A Dpl031.c63 static int pl031_get(struct udevice *dev, struct rtc_time *tm) in pl031_get()
84 static int pl031_set(struct udevice *dev, const struct rtc_time *tm) in pl031_set()
/openbmc/linux/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 Drtas.h432 struct rtc_time;
434 extern void rtas_get_rtc_time(struct rtc_time *rtc_time);
435 extern int rtas_set_rtc_time(struct rtc_time *rtc_time);
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-rtc.c22 static void __init opal_to_tm(u32 y_m_d, u64 h_m_s_ms, struct rtc_time *tm) in opal_to_tm()
36 struct rtc_time tm; in opal_get_boot_time()
/openbmc/u-boot/include/
H A Dos.h16 struct rtc_time;
322 void os_localtime(struct rtc_time *rt);

12345678910>>...12