Searched refs:rtc_time (Results 1 - 200 of 215) sorted by relevance

12

/linux-4.1.27/arch/sh/include/asm/
H A Drtc.h16 struct rtc_time;
17 unsigned int get_rtc_time(struct rtc_time *);
18 int set_rtc_time(struct rtc_time *);
/linux-4.1.27/drivers/rtc/
H A Drtc-lib.c50 * rtc_time_to_tm64 - Converts time64_t to rtc_time.
53 void rtc_time64_to_tm(time64_t time, struct rtc_time *tm) rtc_time64_to_tm()
98 * Does the rtc_time represent a valid date/time?
100 int rtc_valid_tm(struct rtc_time *tm) rtc_valid_tm()
116 * rtc_tm_to_time64 - Converts rtc_time to time64_t.
119 time64_t rtc_tm_to_time64(struct rtc_time *tm) rtc_tm_to_time64()
127 * Convert rtc_time to ktime
129 ktime_t rtc_tm_to_ktime(struct rtc_time tm) rtc_tm_to_ktime()
136 * Convert ktime to rtc_time
138 struct rtc_time rtc_ktime_to_tm(ktime_t kt) rtc_ktime_to_tm()
141 struct rtc_time ret; rtc_ktime_to_tm()
H A Drtc-mv.c48 static int mv_rtc_set_time(struct device *dev, struct rtc_time *tm) mv_rtc_set_time()
68 static int mv_rtc_read_time(struct device *dev, struct rtc_time *tm) mv_rtc_read_time()
72 u32 rtc_time, rtc_date; mv_rtc_read_time() local
75 rtc_time = readl(ioaddr + RTC_TIME_REG_OFFS); mv_rtc_read_time()
78 second = rtc_time & 0x7f; mv_rtc_read_time()
79 minute = (rtc_time >> RTC_MINUTES_OFFS) & 0x7f; mv_rtc_read_time()
80 hour = (rtc_time >> RTC_HOURS_OFFS) & 0x3f; /* assume 24 hours mode */ mv_rtc_read_time()
81 wday = (rtc_time >> RTC_WDAY_OFFS) & 0x7; mv_rtc_read_time()
103 u32 rtc_time, rtc_date; mv_rtc_read_alarm() local
106 rtc_time = readl(ioaddr + RTC_ALARM_TIME_REG_OFFS); mv_rtc_read_alarm()
109 second = rtc_time & 0x7f; mv_rtc_read_alarm()
110 minute = (rtc_time >> RTC_MINUTES_OFFS) & 0x7f; mv_rtc_read_alarm()
111 hour = (rtc_time >> RTC_HOURS_OFFS) & 0x3f; /* assume 24 hours mode */ mv_rtc_read_alarm()
112 wday = (rtc_time >> RTC_WDAY_OFFS) & 0x7; mv_rtc_read_alarm()
224 u32 rtc_time; mv_rtc_probe() local
243 rtc_time = readl(pdata->ioaddr + RTC_TIME_REG_OFFS); mv_rtc_probe()
244 if (rtc_time & RTC_HOURS_12H_MODE) { mv_rtc_probe()
251 if (rtc_time == 0x01000000) { mv_rtc_probe()
253 rtc_time = readl(pdata->ioaddr + RTC_TIME_REG_OFFS); mv_rtc_probe()
254 if (rtc_time == 0x01000000) { mv_rtc_probe()
H A Drtc-generic.c14 static int generic_get_time(struct device *dev, struct rtc_time *tm) generic_get_time()
24 static int generic_set_time(struct device *dev, struct rtc_time *tm) generic_set_time()
H A Drtc-ps3.c41 static int ps3_get_time(struct device *dev, struct rtc_time *tm) ps3_get_time()
47 static int ps3_set_time(struct device *dev, struct rtc_time *tm) ps3_set_time()
H A Drtc-sun4v.c38 static int sun4v_read_time(struct device *dev, struct rtc_time *tm) sun4v_read_time()
65 static int sun4v_set_time(struct device *dev, struct rtc_time *tm) sun4v_set_time()
H A Drtc-pcf85063.c44 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch.
46 static int pcf85063_get_datetime(struct i2c_client *client, struct rtc_time *tm) pcf85063_get_datetime()
92 static int pcf85063_set_datetime(struct i2c_client *client, struct rtc_time *tm) pcf85063_set_datetime()
134 static int pcf85063_rtc_read_time(struct device *dev, struct rtc_time *tm) pcf85063_rtc_read_time()
139 static int pcf85063_rtc_set_time(struct device *dev, struct rtc_time *tm) pcf85063_rtc_set_time()
H A Drtc-efi.c69 convert_to_efi_time(struct rtc_time *wtime, efi_time_t *eft) convert_to_efi_time()
83 convert_from_efi_time(efi_time_t *eft, struct rtc_time *wtime) convert_from_efi_time()
173 static int efi_read_time(struct device *dev, struct rtc_time *tm) efi_read_time()
193 static int efi_set_time(struct device *dev, struct rtc_time *tm) efi_set_time()
H A Drtc-max6900.c144 static int max6900_i2c_read_time(struct i2c_client *client, struct rtc_time *tm) max6900_i2c_read_time()
171 max6900_i2c_set_time(struct i2c_client *client, struct rtc_time const *tm) max6900_i2c_set_time()
198 static int max6900_rtc_read_time(struct device *dev, struct rtc_time *tm) max6900_rtc_read_time()
203 static int max6900_rtc_set_time(struct device *dev, struct rtc_time *tm) max6900_rtc_set_time()
H A Drtc-max8907.c61 static void regs_to_tm(u8 *regs, struct rtc_time *tm) regs_to_tm()
81 static void tm_to_regs(struct rtc_time *tm, u8 *regs) tm_to_regs()
97 static int max8907_rtc_read_time(struct device *dev, struct rtc_time *tm) max8907_rtc_read_time()
113 static int max8907_rtc_set_time(struct device *dev, struct rtc_time *tm) max8907_rtc_set_time()
H A Drtc-starfire.c30 static int starfire_read_time(struct device *dev, struct rtc_time *tm) starfire_read_time()
H A Dsystohc.c26 struct rtc_time tm; rtc_set_ntp_time()
H A Drtc-da9052.c61 static int da9052_read_alarm(struct da9052_rtc *rtc, struct rtc_time *rtc_tm) da9052_read_alarm()
103 static int da9052_set_alarm(struct da9052_rtc *rtc, struct rtc_time *rtc_tm) da9052_set_alarm()
159 static int da9052_rtc_read_time(struct device *dev, struct rtc_time *rtc_tm) da9052_rtc_read_time()
203 static int da9052_rtc_set_time(struct device *dev, struct rtc_time *tm) da9052_rtc_set_time()
231 struct rtc_time *tm = &alrm->time; da9052_rtc_read_alarm()
247 struct rtc_time *tm = &alrm->time; da9052_rtc_set_alarm()
H A Drtc-da9055.c61 static int da9055_read_alarm(struct da9055 *da9055, struct rtc_time *rtc_tm) da9055_read_alarm()
81 static int da9055_set_alarm(struct da9055 *da9055, struct rtc_time *rtc_tm) da9055_set_alarm()
129 static int da9055_rtc_read_time(struct device *dev, struct rtc_time *rtc_tm) da9055_rtc_read_time()
163 static int da9055_rtc_set_time(struct device *dev, struct rtc_time *tm) da9055_rtc_set_time()
183 struct rtc_time *tm = &alrm->time; da9055_rtc_read_alarm()
199 struct rtc_time *tm = &alrm->time; da9055_rtc_set_alarm()
H A Drtc-da9063.c45 struct rtc_time alarm_time;
53 static void da9063_data_to_tm(u8 *data, struct rtc_time *tm) da9063_data_to_tm()
65 static void da9063_tm_to_data(struct rtc_time *tm, u8 *data) da9063_tm_to_data()
104 static int da9063_rtc_read_time(struct device *dev, struct rtc_time *tm) da9063_rtc_read_time()
131 memcpy(tm, &rtc->alarm_time, sizeof(struct rtc_time)); da9063_rtc_read_time()
138 static int da9063_rtc_set_time(struct device *dev, struct rtc_time *tm) da9063_rtc_set_time()
H A Drtc-88pm80x.c90 static void rtc_next_alarm_time(struct rtc_time *next, struct rtc_time *now, rtc_next_alarm_time()
91 struct rtc_time *alrm) rtc_next_alarm_time()
113 static int pm80x_rtc_read_time(struct device *dev, struct rtc_time *tm) pm80x_rtc_read_time()
132 static int pm80x_rtc_set_time(struct device *dev, struct rtc_time *tm) pm80x_rtc_set_time()
187 struct rtc_time now_tm, alarm_tm; pm80x_rtc_set_alarm()
258 struct rtc_time tm; pm80x_rtc_probe()
H A Drtc-isl12022.c107 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch.
109 static int isl12022_get_datetime(struct i2c_client *client, struct rtc_time *tm) isl12022_get_datetime()
162 static int isl12022_set_datetime(struct i2c_client *client, struct rtc_time *tm) isl12022_set_datetime()
238 static int isl12022_rtc_read_time(struct device *dev, struct rtc_time *tm) isl12022_rtc_read_time()
243 static int isl12022_rtc_set_time(struct device *dev, struct rtc_time *tm) isl12022_rtc_set_time()
H A Drtc-pcf2127.c45 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch.
47 static int pcf2127_get_datetime(struct i2c_client *client, struct rtc_time *tm) pcf2127_get_datetime()
100 static int pcf2127_set_datetime(struct i2c_client *client, struct rtc_time *tm) pcf2127_set_datetime()
161 static int pcf2127_rtc_read_time(struct device *dev, struct rtc_time *tm) pcf2127_rtc_read_time()
166 static int pcf2127_rtc_set_time(struct device *dev, struct rtc_time *tm) pcf2127_rtc_set_time()
H A Drtc-ds1672.c30 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch
33 static int ds1672_get_datetime(struct i2c_client *client, struct rtc_time *tm) ds1672_get_datetime()
96 static int ds1672_rtc_read_time(struct device *dev, struct rtc_time *tm) ds1672_rtc_read_time()
H A Drtc-ls1x.c88 static int ls1x_rtc_read_time(struct device *dev, struct rtc_time *rtm) ls1x_rtc_read_time()
95 memset(rtm, 0, sizeof(struct rtc_time)); ls1x_rtc_read_time()
104 static int ls1x_rtc_set_time(struct device *dev, struct rtc_time *rtm) ls1x_rtc_set_time()
H A Drtc-m48t35.c50 static int m48t35_read_time(struct device *dev, struct rtc_time *tm) m48t35_read_time()
82 * and how they are defined in a struct rtc_time; m48t35_read_time()
92 static int m48t35_set_time(struct device *dev, struct rtc_time *tm) m48t35_set_time()
H A Drtc-pcap.c48 struct rtc_time *tm = &alrm->time; pcap_rtc_read_alarm()
68 struct rtc_time *tm = &alrm->time; pcap_rtc_set_alarm()
83 static int pcap_rtc_read_time(struct device *dev, struct rtc_time *tm) pcap_rtc_read_time()
H A Drtc-r9701.c71 static int r9701_get_datetime(struct device *dev, struct rtc_time *dt) r9701_get_datetime()
98 static int r9701_set_datetime(struct device *dev, struct rtc_time *dt) r9701_set_datetime()
125 struct rtc_time dt; r9701_probe()
H A Drtc-max77686.c75 static void max77686_rtc_data_to_tm(u8 *data, struct rtc_time *tm, max77686_rtc_data_to_tm()
97 static int max77686_rtc_tm_to_data(struct rtc_time *tm, u8 *data) max77686_rtc_tm_to_data()
139 static int max77686_rtc_read_time(struct device *dev, struct rtc_time *tm) max77686_rtc_read_time()
167 static int max77686_rtc_set_time(struct device *dev, struct rtc_time *tm) max77686_rtc_set_time()
245 struct rtc_time tm; max77686_rtc_stop_alarm()
284 struct rtc_time tm; max77686_rtc_start_alarm()
H A Drtc-rv3029c2.c142 rv3029c2_i2c_read_time(struct i2c_client *client, struct rtc_time *tm) rv3029c2_i2c_read_time()
185 static int rv3029c2_rtc_read_time(struct device *dev, struct rtc_time *tm) rv3029c2_rtc_read_time()
193 struct rtc_time *const tm = &alarm->time; rv3029c2_i2c_read_alarm()
258 struct rtc_time *const tm = &alarm->time; rv3029c2_rtc_i2c_set_alarm()
329 rv3029c2_i2c_set_time(struct i2c_client *client, struct rtc_time const *tm) rv3029c2_i2c_set_time()
370 static int rv3029c2_rtc_set_time(struct device *dev, struct rtc_time *tm) rv3029c2_rtc_set_time()
H A Drtc-sirfsoc.c159 struct rtc_time *tm) sirfsoc_rtc_read_time()
180 struct rtc_time *tm) sirfsoc_rtc_set_time()
182 unsigned long rtc_time; sirfsoc_rtc_set_time() local
186 rtc_tm_to_time(tm, &rtc_time); sirfsoc_rtc_set_time()
188 rtcdrv->overflow_rtc = rtc_time >> (BITS_PER_LONG - RTC_SHIFT); sirfsoc_rtc_set_time()
193 rtc_time << RTC_SHIFT, rtcdrv->rtc_base + RTC_CN); sirfsoc_rtc_set_time()
H A Drtc-au1xxx.c31 static int au1xtoy_rtc_read_time(struct device *dev, struct rtc_time *tm) au1xtoy_rtc_read_time()
42 static int au1xtoy_rtc_set_time(struct device *dev, struct rtc_time *tm) au1xtoy_rtc_set_time()
H A Drtc-dm355evm.c37 static int dm355evm_rtc_read_time(struct device *dev, struct rtc_time *tm) dm355evm_rtc_read_time()
85 static int dm355evm_rtc_set_time(struct device *dev, struct rtc_time *tm) dm355evm_rtc_set_time()
H A Drtc-ds1216.c79 static int ds1216_rtc_read_time(struct device *dev, struct rtc_time *tm) ds1216_rtc_read_time()
107 static int ds1216_rtc_set_time(struct device *dev, struct rtc_time *tm) ds1216_rtc_set_time()
H A Drtc-em3027.c45 static int em3027_get_time(struct device *dev, struct rtc_time *tm) em3027_get_time()
83 static int em3027_set_time(struct device *dev, struct rtc_time *tm) em3027_set_time()
H A Drtc-m41t94.c32 static int m41t94_set_time(struct device *dev, struct rtc_time *tm) m41t94_set_time()
59 static int m41t94_read_time(struct device *dev, struct rtc_time *tm) m41t94_read_time()
H A Drtc-max6902.c56 static int max6902_read_time(struct device *dev, struct rtc_time *dt) max6902_read_time()
91 static int max6902_set_time(struct device *dev, struct rtc_time *dt) max6902_set_time()
H A Drtc-proc.c48 struct rtc_time tm; rtc_proc_show()
53 "rtc_time\t: %02d:%02d:%02d\n" rtc_proc_show()
H A Drtc-tile.c28 static int read_rtc_time(struct device *dev, struct rtc_time *tm) read_rtc_time()
52 static int set_rtc_time(struct device *dev, struct rtc_time *tm) set_rtc_time()
H A Dhctosys.c30 struct rtc_time tm; rtc_hctosys()
H A Drtc-as3722.c42 static void as3722_time_to_reg(u8 *rbuff, struct rtc_time *tm) as3722_time_to_reg()
52 static void as3722_reg_to_time(u8 *rbuff, struct rtc_time *tm) as3722_reg_to_time()
63 static int as3722_rtc_read_time(struct device *dev, struct rtc_time *tm) as3722_rtc_read_time()
80 static int as3722_rtc_set_time(struct device *dev, struct rtc_time *tm) as3722_rtc_set_time()
H A Drtc-hid-sensor-time.c40 struct rtc_time last_time;
43 struct rtc_time time_buf;
94 struct rtc_time *time_buf = &time_state->time_buf; hid_time_capture_sample()
205 static int hid_rtc_read_time(struct device *dev, struct rtc_time *tm) hid_rtc_read_time()
H A Drtc-lp8788.c113 static int lp8788_rtc_read_time(struct device *dev, struct rtc_time *tm) lp8788_rtc_read_time()
137 static int lp8788_rtc_set_time(struct device *dev, struct rtc_time *tm) lp8788_rtc_set_time()
171 struct rtc_time *tm = &alarm->time; lp8788_read_alarm()
196 struct rtc_time *tm = &alarm->time; lp8788_set_alarm()
H A Drtc-max8925.c85 static int tm_calc(struct rtc_time *tm, unsigned char *buf, int len) tm_calc()
114 static int data_calc(unsigned char *buf, struct rtc_time *tm, int len) data_calc()
154 static int max8925_rtc_read_time(struct device *dev, struct rtc_time *tm) max8925_rtc_read_time()
168 static int max8925_rtc_set_time(struct device *dev, struct rtc_time *tm) max8925_rtc_set_time()
H A Drtc-max8998.c81 static void max8998_data_to_tm(u8 *data, struct rtc_time *tm) max8998_data_to_tm()
99 static void max8998_tm_to_data(struct rtc_time *tm, u8 *data) max8998_tm_to_data()
111 static int max8998_rtc_read_time(struct device *dev, struct rtc_time *tm) max8998_rtc_read_time()
126 static int max8998_rtc_set_time(struct device *dev, struct rtc_time *tm) max8998_rtc_set_time()
H A Drtc-nuc900.c106 unsigned int calreg, struct rtc_time *tm) nuc900_rtc_bcd2bin()
119 static void nuc900_rtc_bin2bcd(struct device *dev, struct rtc_time *settm, nuc900_rtc_bin2bcd()
151 static int nuc900_rtc_read_time(struct device *dev, struct rtc_time *tm) nuc900_rtc_read_time()
162 static int nuc900_rtc_set_time(struct device *dev, struct rtc_time *tm) nuc900_rtc_set_time()
H A Drtc-opal.c33 static void opal_to_tm(u32 y_m_d, u64 h_m_s_ms, struct rtc_time *tm) opal_to_tm()
46 static void tm_to_opal(struct rtc_time *tm, u32 *y_m_d, u64 *h_m_s_ms) tm_to_opal()
58 static int opal_get_rtc_time(struct device *dev, struct rtc_time *tm) opal_get_rtc_time()
84 static int opal_set_rtc_time(struct device *dev, struct rtc_time *tm) opal_set_rtc_time()
H A Drtc-pcf50633.c67 static void pcf2rtc_time(struct rtc_time *rtc, struct pcf50633_time *pcf) pcf2rtc_time()
78 static void rtc2pcf_time(struct pcf50633_time *pcf, struct rtc_time *rtc) rtc2pcf_time()
108 static int pcf50633_rtc_read_time(struct device *dev, struct rtc_time *tm) pcf50633_rtc_read_time()
141 static int pcf50633_rtc_set_time(struct device *dev, struct rtc_time *tm) pcf50633_rtc_set_time()
H A Drtc-pcf8583.c52 static int pcf8583_get_datetime(struct i2c_client *client, struct rtc_time *dt) pcf8583_get_datetime()
90 static int pcf8583_set_datetime(struct i2c_client *client, struct rtc_time *dt, int datetoo) pcf8583_set_datetime()
175 static int pcf8583_rtc_read_time(struct device *dev, struct rtc_time *tm) pcf8583_rtc_read_time()
225 static int pcf8583_rtc_set_time(struct device *dev, struct rtc_time *tm) pcf8583_rtc_set_time()
H A Drtc-puv3.c89 static int puv3_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm) puv3_rtc_gettime()
100 static int puv3_rtc_settime(struct device *dev, struct rtc_time *tm) puv3_rtc_settime()
116 struct rtc_time *alm_tm = &alrm->time; puv3_rtc_getalarm()
132 struct rtc_time *tm = &alrm->time; puv3_rtc_setalarm()
H A Drtc-rs5c313.c214 static int rs5c313_rtc_read_time(struct device *dev, struct rtc_time *tm) rs5c313_rtc_read_time()
274 static int rs5c313_rtc_set_time(struct device *dev, struct rtc_time *tm) rs5c313_rtc_set_time()
334 struct rtc_time tm; rs5c313_check_xstp_bit()
351 memset(&tm, 0, sizeof(struct rtc_time)); rs5c313_check_xstp_bit()
H A Drtc-vr41xx.c139 static int vr41xx_rtc_read_time(struct device *dev, struct rtc_time *time) vr41xx_rtc_read_time()
151 static int vr41xx_rtc_set_time(struct device *dev, struct rtc_time *time) vr41xx_rtc_set_time()
167 struct rtc_time *time = &wkalrm->time; vr41xx_rtc_read_alarm()
186 struct rtc_time *time = &wkalrm->time; vr41xx_rtc_set_alarm()
H A Drtc-88pm860x.c86 static void rtc_next_alarm_time(struct rtc_time *next, struct rtc_time *now, rtc_next_alarm_time()
87 struct rtc_time *alrm) rtc_next_alarm_time()
109 static int pm860x_rtc_read_time(struct device *dev, struct rtc_time *tm) pm860x_rtc_read_time()
132 static int pm860x_rtc_set_time(struct device *dev, struct rtc_time *tm) pm860x_rtc_set_time()
191 struct rtc_time now_tm, alarm_tm; pm860x_rtc_set_alarm()
316 struct rtc_time tm; pm860x_rtc_probe()
H A Drtc-isl1208.c278 isl1208_i2c_read_time(struct i2c_client *client, struct rtc_time *tm) isl1208_i2c_read_time()
323 struct rtc_time *const tm = &alarm->time; isl1208_i2c_read_alarm()
370 struct rtc_time *alarm_tm = &alarm->time; isl1208_i2c_set_alarm()
374 struct rtc_time rtc_tm; isl1208_i2c_set_alarm()
420 isl1208_rtc_read_time(struct device *dev, struct rtc_time *tm) isl1208_rtc_read_time()
426 isl1208_i2c_set_time(struct i2c_client *client, struct rtc_time const *tm) isl1208_i2c_set_time()
483 isl1208_rtc_set_time(struct device *dev, struct rtc_time *tm) isl1208_rtc_set_time()
H A Drtc-pl031.c117 struct rtc_time *tm, unsigned long *st_time, pl031_stv2_tm_to_time()
130 struct rtc_time calc_tm; pl031_stv2_tm_to_time()
153 struct rtc_time *tm) pl031_stv2_time_to_tm()
169 static int pl031_stv2_read_time(struct device *dev, struct rtc_time *tm) pl031_stv2_read_time()
179 static int pl031_stv2_set_time(struct device *dev, struct rtc_time *tm) pl031_stv2_set_time()
250 static int pl031_read_time(struct device *dev, struct rtc_time *tm) pl031_read_time()
259 static int pl031_set_time(struct device *dev, struct rtc_time *tm) pl031_set_time()
H A Drtc-mpc5121.c93 struct rtc_time *tm) mpc5121_rtc_update_smh()
106 static int mpc5121_rtc_read_time(struct device *dev, struct rtc_time *tm) mpc5121_rtc_read_time()
128 static int mpc5121_rtc_set_time(struct device *dev, struct rtc_time *tm) mpc5121_rtc_set_time()
152 static int mpc5200_rtc_read_time(struct device *dev, struct rtc_time *tm) mpc5200_rtc_read_time()
179 static int mpc5200_rtc_set_time(struct device *dev, struct rtc_time *tm) mpc5200_rtc_set_time()
H A Drtc-mxc.c83 struct rtc_time g_rtc_alarm;
175 static void rtc_update_alarm(struct device *dev, struct rtc_time *alrm) rtc_update_alarm()
272 static int mxc_rtc_read_time(struct device *dev, struct rtc_time *tm) mxc_rtc_read_time()
298 struct rtc_time tm; mxc_rtc_set_mmss()
340 memcpy(&pdata->g_rtc_alarm, &alrm->time, sizeof(struct rtc_time)); mxc_rtc_set_alarm()
H A Drtc-pxa.c98 static u32 ryxr_calc(struct rtc_time *tm) ryxr_calc()
105 static u32 rdxr_calc(struct rtc_time *tm) rdxr_calc()
114 static void tm_calc(u32 rycr, u32 rdcr, struct rtc_time *tm) tm_calc()
237 static int pxa_rtc_read_time(struct device *dev, struct rtc_time *tm) pxa_rtc_read_time()
249 static int pxa_rtc_set_time(struct device *dev, struct rtc_time *tm) pxa_rtc_set_time()
H A Drtc-rx8581.c96 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch.
98 static int rx8581_get_datetime(struct i2c_client *client, struct rtc_time *tm) rx8581_get_datetime()
176 static int rx8581_set_datetime(struct i2c_client *client, struct rtc_time *tm) rx8581_set_datetime()
254 static int rx8581_rtc_read_time(struct device *dev, struct rtc_time *tm) rx8581_rtc_read_time()
259 static int rx8581_rtc_set_time(struct device *dev, struct rtc_time *tm) rx8581_rtc_set_time()
H A Drtc-s35390a.c151 static int s35390a_set_datetime(struct i2c_client *client, struct rtc_time *tm) s35390a_set_datetime()
179 static int s35390a_get_datetime(struct i2c_client *client, struct rtc_time *tm) s35390a_get_datetime()
307 static int s35390a_rtc_read_time(struct device *dev, struct rtc_time *tm) s35390a_rtc_read_time()
312 static int s35390a_rtc_set_time(struct device *dev, struct rtc_time *tm) s35390a_rtc_set_time()
333 struct rtc_time tm; s35390a_probe()
H A Drtc-at91rm9200.c112 * Decode time/date into rtc_time structure
115 struct rtc_time *tm) at91_rtc_decodetime()
146 static int at91_rtc_readtime(struct device *dev, struct rtc_time *tm) at91_rtc_readtime()
162 static int at91_rtc_settime(struct device *dev, struct rtc_time *tm) at91_rtc_settime()
206 struct rtc_time *tm = &alrm->time; at91_rtc_readalarm()
227 struct rtc_time tm; at91_rtc_setalarm()
H A Drtc-pcf8563.c191 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch.
193 static int pcf8563_get_datetime(struct i2c_client *client, struct rtc_time *tm) pcf8563_get_datetime()
246 static int pcf8563_set_datetime(struct i2c_client *client, struct rtc_time *tm) pcf8563_set_datetime()
282 struct rtc_time tm; pcf8563_rtc_ioctl()
316 static int pcf8563_rtc_read_time(struct device *dev, struct rtc_time *tm) pcf8563_rtc_read_time()
321 static int pcf8563_rtc_set_time(struct device *dev, struct rtc_time *tm) pcf8563_rtc_set_time()
H A Drtc-x1205.c90 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch
93 static int x1205_get_datetime(struct i2c_client *client, struct rtc_time *tm, x1205_get_datetime()
177 static int x1205_set_datetime(struct i2c_client *client, struct rtc_time *tm, x1205_set_datetime()
287 struct rtc_time tm; x1205_fix_osc()
539 static int x1205_rtc_read_time(struct device *dev, struct rtc_time *tm) x1205_rtc_read_time()
545 static int x1205_rtc_set_time(struct device *dev, struct rtc_time *tm) x1205_rtc_set_time()
H A Drtc-bq4802.c49 static int bq4802_read_time(struct device *dev, struct rtc_time *tm) bq4802_read_time()
92 static int bq4802_set_time(struct device *dev, struct rtc_time *tm) bq4802_set_time()
H A Drtc-ds1302.c144 static int ds1302_rtc_read_time(struct device *dev, struct rtc_time *tm) ds1302_rtc_read_time()
166 static int ds1302_rtc_set_time(struct device *dev, struct rtc_time *tm) ds1302_rtc_set_time()
H A Drtc-ds1347.c57 static int ds1347_read_time(struct device *dev, struct rtc_time *dt) ds1347_read_time()
80 static int ds1347_set_time(struct device *dev, struct rtc_time *dt) ds1347_set_time()
H A Drtc-ds1390.c70 static int ds1390_read_time(struct device *dev, struct rtc_time *dt) ds1390_read_time()
99 static int ds1390_set_time(struct device *dev, struct rtc_time *dt) ds1390_set_time()
H A Drtc-ds3234.c57 static int ds3234_read_time(struct device *dev, struct rtc_time *dt) ds3234_read_time()
81 static int ds3234_set_time(struct device *dev, struct rtc_time *dt) ds3234_set_time()
H A Drtc-m41t93.c48 static int m41t93_set_time(struct device *dev, struct rtc_time *tm) m41t93_set_time()
104 static int m41t93_get_time(struct device *dev, struct rtc_time *tm) m41t93_get_time()
H A Drtc-m48t86.c45 static int m48t86_rtc_read_time(struct device *dev, struct rtc_time *tm) m48t86_rtc_read_time()
83 static int m48t86_rtc_set_time(struct device *dev, struct rtc_time *tm) m48t86_rtc_set_time()
H A Drtc-mcp795.c95 static int mcp795_set_time(struct device *dev, struct rtc_time *tim) mcp795_set_time()
129 static int mcp795_read_time(struct device *dev, struct rtc_time *tim) mcp795_read_time()
H A Drtc-msm6242.c125 static int msm6242_read_time(struct device *dev, struct rtc_time *tm) msm6242_read_time()
161 static int msm6242_set_time(struct device *dev, struct rtc_time *tm) msm6242_set_time()
H A Drtc-pl030.c63 static int pl030_read_time(struct device *dev, struct rtc_time *tm) pl030_read_time()
80 static int pl030_set_time(struct device *dev, struct rtc_time *tm) pl030_set_time()
H A Drtc-s5m.c114 static void s5m8767_data_to_tm(u8 *data, struct rtc_time *tm, s5m8767_data_to_tm()
135 static int s5m8767_tm_to_data(struct rtc_time *tm, u8 *data) s5m8767_tm_to_data()
282 static void s5m8763_data_to_tm(u8 *data, struct rtc_time *tm) s5m8763_data_to_tm()
302 static void s5m8763_tm_to_data(struct rtc_time *tm, u8 *data) s5m8763_tm_to_data()
314 static int s5m_rtc_read_time(struct device *dev, struct rtc_time *tm) s5m_rtc_read_time()
358 static int s5m_rtc_set_time(struct device *dev, struct rtc_time *tm) s5m_rtc_set_time()
448 struct rtc_time tm; s5m_rtc_stop_alarm()
492 struct rtc_time tm; s5m_rtc_start_alarm()
H A Drtc-max77802.c78 static void max77802_rtc_data_to_tm(u8 *data, struct rtc_time *tm, max77802_rtc_data_to_tm()
101 static int max77802_rtc_tm_to_data(struct rtc_time *tm, u8 *data) max77802_rtc_tm_to_data()
139 static int max77802_rtc_read_time(struct device *dev, struct rtc_time *tm) max77802_rtc_read_time()
168 static int max77802_rtc_set_time(struct device *dev, struct rtc_time *tm) max77802_rtc_set_time()
H A Drtc-max8997.c80 static void max8997_rtc_data_to_tm(u8 *data, struct rtc_time *tm, max8997_rtc_data_to_tm()
101 static int max8997_rtc_tm_to_data(struct rtc_time *tm, u8 *data) max8997_rtc_tm_to_data()
138 static int max8997_rtc_read_time(struct device *dev, struct rtc_time *tm) max8997_rtc_read_time()
159 static int max8997_rtc_set_time(struct device *dev, struct rtc_time *tm) max8997_rtc_set_time()
H A Drtc-sun6i.c158 static int sun6i_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm) sun6i_rtc_gettime()
209 struct rtc_time *alrm_tm = &wkalrm->time; sun6i_rtc_setalarm()
210 struct rtc_time tm_now; sun6i_rtc_setalarm()
266 static int sun6i_rtc_settime(struct device *dev, struct rtc_time *rtc_tm) sun6i_rtc_settime()
H A Drtc-wm8350.c38 static int wm8350_rtc_readtime(struct device *dev, struct rtc_time *tm) wm8350_rtc_readtime()
97 static int wm8350_rtc_settime(struct device *dev, struct rtc_time *tm) wm8350_rtc_settime()
149 struct rtc_time *tm = &alrm->time; wm8350_rtc_readalarm()
253 struct rtc_time *tm = &alrm->time; wm8350_rtc_setalarm()
H A Dinterface.c23 static int __rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) __rtc_read_time()
31 memset(tm, 0, sizeof(struct rtc_time)); __rtc_read_time()
41 dev_dbg(&rtc->dev, "read_time: rtc_time isn't valid\n"); __rtc_read_time()
46 int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) rtc_read_time()
60 int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm) rtc_set_time()
109 struct rtc_time new, old; rtc_set_mmss()
163 struct rtc_time before, now; __rtc_read_alarm()
216 memcpy(&before, &now, sizeof(struct rtc_time)); __rtc_read_alarm()
353 struct rtc_time tm; __rtc_set_alarm()
414 struct rtc_time now; rtc_initialize_alarm()
494 struct rtc_time tm; rtc_update_irq_enable()
874 struct rtc_time tm; rtc_timer_do_work()
H A Drtc-rs5c348.c64 rs5c348_rtc_set_time(struct device *dev, struct rtc_time *tm) rs5c348_rtc_set_time()
100 rs5c348_rtc_read_time(struct device *dev, struct rtc_time *tm) rs5c348_rtc_read_time()
184 struct rtc_time tm; rs5c348_probe()
H A Drtc-rx4581.c100 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch.
102 static int rx4581_get_datetime(struct device *dev, struct rtc_time *tm) rx4581_get_datetime()
182 static int rx4581_set_datetime(struct device *dev, struct rtc_time *tm) rx4581_set_datetime()
H A Drtc-snvs.c121 static int snvs_rtc_read_time(struct device *dev, struct rtc_time *tm) snvs_rtc_read_time()
131 static int snvs_rtc_set_time(struct device *dev, struct rtc_time *tm) snvs_rtc_set_time()
190 struct rtc_time *alrm_tm = &alrm->time; snvs_rtc_set_alarm()
H A Drtc-sysfs.c38 struct rtc_time tm; date_show()
54 struct rtc_time tm; time_show()
70 struct rtc_time tm; since_epoch_show()
H A Drtc-tps80031.c67 static int tps80031_rtc_read_time(struct device *dev, struct rtc_time *tm) tps80031_rtc_read_time()
89 static int tps80031_rtc_set_time(struct device *dev, struct rtc_time *tm) tps80031_rtc_set_time()
239 struct rtc_time tm; tps80031_rtc_probe()
H A Drtc-xgene.c57 static int xgene_rtc_read_time(struct device *dev, struct rtc_time *tm) xgene_rtc_read_time()
110 unsigned long rtc_time; xgene_rtc_set_alarm() local
113 rtc_time = readl(pdata->csr_base + RTC_CCVR); xgene_rtc_set_alarm()
H A Drtc-davinci.c243 static int convertfromdays(u16 days, struct rtc_time *tm) convertfromdays()
269 static int convert2days(u16 *days, struct rtc_time *tm) convert2days()
286 static int davinci_rtc_read_time(struct device *dev, struct rtc_time *tm) davinci_rtc_read_time()
322 static int davinci_rtc_set_time(struct device *dev, struct rtc_time *tm) davinci_rtc_set_time()
429 struct rtc_time tm; davinci_rtc_set_alarm()
H A Drtc-sunxi.c201 struct rtc_time *alrm_tm = &wkalrm->time; sunxi_rtc_getalarm()
233 static int sunxi_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm) sunxi_rtc_gettime()
270 struct rtc_time *alrm_tm = &wkalrm->time; sunxi_rtc_setalarm()
271 struct rtc_time tm_now; sunxi_rtc_setalarm()
343 static int sunxi_rtc_settime(struct device *dev, struct rtc_time *rtc_tm) sunxi_rtc_settime()
H A Drtc-isl12057.c88 static void isl12057_rtc_regs_to_tm(struct rtc_time *tm, u8 *regs) isl12057_rtc_regs_to_tm()
111 static int isl12057_rtc_tm_to_regs(u8 *regs, struct rtc_time *tm) isl12057_rtc_tm_to_regs()
199 static int _isl12057_rtc_read_time(struct device *dev, struct rtc_time *tm) _isl12057_rtc_read_time()
248 struct rtc_time rtc_tm, *alarm_tm = &alarm->time; isl12057_rtc_read_alarm()
316 struct rtc_time *alarm_tm = &alarm->time; isl12057_rtc_set_alarm()
319 struct rtc_time rtc_tm; isl12057_rtc_set_alarm()
395 static int isl12057_rtc_set_time(struct device *dev, struct rtc_time *tm) isl12057_rtc_set_time()
H A Drtc-omap.c257 static int tm2bcd(struct rtc_time *tm) tm2bcd()
277 static void bcd2tm(struct rtc_time *tm) bcd2tm()
288 static void omap_rtc_read_time_raw(struct omap_rtc *rtc, struct rtc_time *tm) omap_rtc_read_time_raw()
298 static int omap_rtc_read_time(struct device *dev, struct rtc_time *tm) omap_rtc_read_time()
313 static int omap_rtc_set_time(struct device *dev, struct rtc_time *tm) omap_rtc_set_time()
421 struct rtc_time tm; omap_rtc_power_off()
H A Drtc-sh.c353 static int sh_rtc_read_time(struct device *dev, struct rtc_time *tm) sh_rtc_read_time()
413 static int sh_rtc_set_time(struct device *dev, struct rtc_time *tm) sh_rtc_set_time()
473 struct rtc_time *tm = &wkalrm->time; sh_rtc_read_alarm()
504 static int sh_rtc_check_alarm(struct rtc_time *tm) sh_rtc_check_alarm()
544 struct rtc_time *tm = &wkalrm->time; sh_rtc_set_alarm()
592 struct rtc_time r; sh_rtc_probe()
H A Drtc-ds1286.c156 static int ds1286_read_time(struct device *dev, struct rtc_time *tm) ds1286_read_time()
206 * and how they are defined in a struct rtc_time; ds1286_read_time()
219 static int ds1286_set_time(struct device *dev, struct rtc_time *tm) ds1286_set_time()
H A Drtc-rk808.c60 static int rk808_rtc_readtime(struct device *dev, struct rtc_time *tm) rk808_rtc_readtime()
112 static int rk808_rtc_set_time(struct device *dev, struct rtc_time *tm) rk808_rtc_set_time()
338 struct rtc_time tm; rk808_rtc_probe()
H A Drtc-ab8500.c74 struct rtc_time tm = { get_elapsed_seconds()
87 static int ab8500_rtc_read_time(struct device *dev, struct rtc_time *tm) ab8500_rtc_read_time()
136 static int ab8500_rtc_set_time(struct device *dev, struct rtc_time *tm) ab8500_rtc_set_time()
233 struct rtc_time curtm; ab8500_rtc_set_alarm()
H A Drtc-at91sam9.c108 static int at91_rtc_readtime(struct device *dev, struct rtc_time *tm) at91_rtc_readtime()
137 static int at91_rtc_settime(struct device *dev, struct rtc_time *tm) at91_rtc_settime()
190 struct rtc_time *tm = &alrm->time; at91_rtc_readalarm()
216 struct rtc_time *tm = &alrm->time; at91_rtc_setalarm()
H A Drtc-bfin.c62 struct rtc_time rtc_alarm;
104 static inline void rtc_bfin_to_tm(u32 rtc_bfin, struct rtc_time *tm) rtc_bfin_to_tm()
257 static int bfin_rtc_read_time(struct device *dev, struct rtc_time *tm) bfin_rtc_read_time()
271 static int bfin_rtc_set_time(struct device *dev, struct rtc_time *tm) bfin_rtc_set_time()
H A Drtc-ds3232.c103 static int ds3232_read_time(struct device *dev, struct rtc_time *time) ds3232_read_time()
133 /* Write to rtc_time structure */ ds3232_read_time()
160 static int ds3232_set_time(struct device *dev, struct rtc_time *time) ds3232_set_time()
165 /* Extract time from rtc_time and load into ds3232*/ ds3232_set_time()
H A Drtc-fm3130.c95 static int fm3130_get_time(struct device *dev, struct rtc_time *t) fm3130_get_time()
144 static int fm3130_set_time(struct device *dev, struct rtc_time *t) fm3130_set_time()
191 struct rtc_time *tm = &alrm->time; fm3130_read_alarm()
248 struct rtc_time *tm = &alrm->time; fm3130_set_alarm()
H A Drtc-hym8563.c99 static int hym8563_rtc_read_time(struct device *dev, struct rtc_time *tm) hym8563_rtc_read_time()
124 static int hym8563_rtc_set_time(struct device *dev, struct rtc_time *tm) hym8563_rtc_set_time()
192 struct rtc_time *alm_tm = &alm->time; hym8563_rtc_read_alarm()
232 struct rtc_time *alm_tm = &alm->time; hym8563_rtc_set_alarm()
H A Drtc-m48t59.c68 static int m48t59_rtc_read_time(struct device *dev, struct rtc_time *tm) m48t59_rtc_read_time()
111 static int m48t59_rtc_set_time(struct device *dev, struct rtc_time *tm) m48t59_rtc_set_time()
163 struct rtc_time *tm = &alrm->time; m48t59_rtc_readalarm()
210 struct rtc_time *tm = &alrm->time; m48t59_rtc_setalarm()
H A Drtc-spear.c173 static int tm2bcd(struct rtc_time *tm) tm2bcd()
187 static void bcd2tm(struct rtc_time *tm) bcd2tm()
206 static int spear_rtc_read_time(struct device *dev, struct rtc_time *tm) spear_rtc_read_time()
235 static int spear_rtc_set_time(struct device *dev, struct rtc_time *tm) spear_rtc_set_time()
H A Drtc-test.c35 struct rtc_time *tm) test_rtc_read_time()
H A Drtc-ab-b5ze-s3.c216 static int _abb5zes3_rtc_read_time(struct device *dev, struct rtc_time *tm) _abb5zes3_rtc_read_time()
264 static int abb5zes3_rtc_set_time(struct device *dev, struct rtc_time *tm) abb5zes3_rtc_set_time()
329 struct rtc_time rtc_tm, *alarm_tm = &alarm->time; _abb5zes3_rtc_read_timer()
385 struct rtc_time rtc_tm, *alarm_tm = &alarm->time; _abb5zes3_rtc_read_alarm()
479 struct rtc_time *alarm_tm = &alarm->time; _abb5zes3_rtc_set_alarm()
482 struct rtc_time rtc_tm; _abb5zes3_rtc_set_alarm()
599 struct rtc_time *alarm_tm = &alarm->time; abb5zes3_rtc_set_alarm()
601 struct rtc_time rtc_tm; abb5zes3_rtc_set_alarm()
H A Drtc-abx80x.c95 static int abx80x_rtc_read_time(struct device *dev, struct rtc_time *tm) abx80x_rtc_read_time()
123 static int abx80x_rtc_set_time(struct device *dev, struct rtc_time *tm) abx80x_rtc_set_time()
H A Drtc-armada38x.c64 static int armada38x_rtc_read_time(struct device *dev, struct rtc_time *tm) armada38x_rtc_read_time()
87 static int armada38x_rtc_set_time(struct device *dev, struct rtc_time *tm) armada38x_rtc_set_time()
H A Drtc-at32ap700x.c70 static int at32_rtc_readtime(struct device *dev, struct rtc_time *tm) at32_rtc_readtime()
81 static int at32_rtc_settime(struct device *dev, struct rtc_time *tm) at32_rtc_settime()
H A Drtc-bq32k.c87 static int bq32k_rtc_read_time(struct device *dev, struct rtc_time *tm) bq32k_rtc_read_time()
108 static int bq32k_rtc_set_time(struct device *dev, struct rtc_time *tm) bq32k_rtc_set_time()
H A Drtc-ds1742.c63 static int ds1742_rtc_set_time(struct device *dev, struct rtc_time *tm) ds1742_rtc_set_time()
88 static int ds1742_rtc_read_time(struct device *dev, struct rtc_time *tm) ds1742_rtc_read_time()
H A Drtc-moxart.c142 static int moxart_rtc_set_time(struct device *dev, struct rtc_time *tm) moxart_rtc_set_time()
185 static int moxart_rtc_read_time(struct device *dev, struct rtc_time *tm) moxart_rtc_read_time()
H A Drtc-pcf2123.c139 static int pcf2123_rtc_read_time(struct device *dev, struct rtc_time *tm) pcf2123_rtc_read_time()
177 static int pcf2123_rtc_set_time(struct device *dev, struct rtc_time *tm) pcf2123_rtc_set_time()
H A Drtc-pcf8523.c160 static int pcf8523_rtc_read_time(struct device *dev, struct rtc_time *tm) pcf8523_rtc_read_time()
215 static int pcf8523_rtc_set_time(struct device *dev, struct rtc_time *tm) pcf8523_rtc_set_time()
H A Drtc-rc5t583.c69 static int rc5t583_rtc_read_time(struct device *dev, struct rtc_time *tm) rc5t583_rtc_read_time()
93 static int rc5t583_rtc_set_time(struct device *dev, struct rtc_time *tm) rc5t583_rtc_set_time()
H A Drtc-rp5c01.c93 static int rp5c01_read_time(struct device *dev, struct rtc_time *tm) rp5c01_read_time()
122 static int rp5c01_set_time(struct device *dev, struct rtc_time *tm) rp5c01_set_time()
H A Drtc-tps6586x.c69 static int tps6586x_rtc_read_time(struct device *dev, struct rtc_time *tm) tps6586x_rtc_read_time()
96 static int tps6586x_rtc_set_time(struct device *dev, struct rtc_time *tm) tps6586x_rtc_set_time()
H A Drtc-tps65910.c56 static int tps65910_rtc_read_time(struct device *dev, struct rtc_time *tm) tps65910_rtc_read_time()
87 static int tps65910_rtc_set_time(struct device *dev, struct rtc_time *tm) tps65910_rtc_set_time()
H A Drtc-v3020.c231 static int v3020_read_time(struct device *dev, struct rtc_time *dt) v3020_read_time()
268 static int v3020_set_time(struct device *dev, struct rtc_time *dt) v3020_set_time()
H A Drtc-vt8500.c109 static int vt8500_rtc_read_time(struct device *dev, struct rtc_time *tm) vt8500_rtc_read_time()
129 static int vt8500_rtc_set_time(struct device *dev, struct rtc_time *tm) vt8500_rtc_set_time()
H A Drtc-m41t80.c94 struct rtc_time *tm) m41t80_get_datetime()
130 static int m41t80_set_datetime(struct i2c_client *client, struct rtc_time *tm) m41t80_set_datetime()
207 static int m41t80_rtc_read_time(struct device *dev, struct rtc_time *tm) m41t80_rtc_read_time()
212 static int m41t80_rtc_set_time(struct device *dev, struct rtc_time *tm) m41t80_rtc_set_time()
638 struct rtc_time tm; m41t80_probe()
H A Drtc-rs5c372.c183 static int rs5c372_get_datetime(struct i2c_client *client, struct rtc_time *tm) rs5c372_get_datetime()
214 static int rs5c372_set_datetime(struct i2c_client *client, struct rtc_time *tm) rs5c372_set_datetime()
281 static int rs5c372_rtc_read_time(struct device *dev, struct rtc_time *tm) rs5c372_rtc_read_time()
286 static int rs5c372_rtc_set_time(struct device *dev, struct rtc_time *tm) rs5c372_rtc_set_time()
563 struct rtc_time tm; rs5c372_probe()
H A Drtc-s3c.c163 static int s3c_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm) s3c_rtc_gettime()
208 static int s3c_rtc_settime(struct device *dev, struct rtc_time *tm) s3c_rtc_settime()
241 struct rtc_time *alm_tm = &alrm->time; s3c_rtc_getalarm()
303 struct rtc_time *tm = &alrm->time; s3c_rtc_setalarm()
444 struct rtc_time rtc_tm; s3c_rtc_probe()
H A Drtc-dev.c60 struct rtc_time tm; rtc_uie_task()
120 struct rtc_time tm; set_uie()
224 struct rtc_time tm; rtc_dev_ioctl()
H A Drtc-ds1374.c161 static int ds1374_read_time(struct device *dev, struct rtc_time *time) ds1374_read_time()
174 static int ds1374_set_time(struct device *dev, struct rtc_time *time) ds1374_set_time()
230 struct rtc_time now; ds1374_set_alarm()
H A Drtc-ds1511.c185 static int ds1511_rtc_set_time(struct device *dev, struct rtc_time *rtc_tm) ds1511_rtc_set_time()
244 static int ds1511_rtc_read_time(struct device *dev, struct rtc_time *rtc_tm) ds1511_rtc_read_time()
275 * and how they are defined in a struct rtc_time; ds1511_rtc_read_time()
H A Drtc-mrst.c77 * rtc_time's year contains the increment over 1900, but vRTC's YEAR
89 static int mrst_read_time(struct device *dev, struct rtc_time *time) mrst_read_time()
111 static int mrst_set_time(struct device *dev, struct rtc_time *time) mrst_set_time()
H A Drtc-rx8025.c191 static int rx8025_get_time(struct device *dev, struct rtc_time *dt) rx8025_get_time()
228 static int rx8025_set_time(struct device *dev, struct rtc_time *dt) rx8025_set_time()
567 struct rtc_time tm; rx8025_probe()
H A Drtc-digicolor.c95 static int dc_rtc_read_time(struct device *dev, struct rtc_time *tm) dc_rtc_read_time()
H A Drtc-ds2404.c202 static int ds2404_read_time(struct device *dev, struct rtc_time *dt) ds2404_read_time()
H A Drtc-ep93xx.c61 static int ep93xx_rtc_read_time(struct device *dev, struct rtc_time *tm) ep93xx_rtc_read_time()
H A Dclass.c54 struct rtc_time tm; rtc_suspend()
100 struct rtc_time tm; rtc_resume()
H A Drtc-ds1553.c76 static int ds1553_rtc_set_time(struct device *dev, struct rtc_time *tm) ds1553_rtc_set_time()
101 static int ds1553_rtc_read_time(struct device *dev, struct rtc_time *tm) ds1553_rtc_read_time()
H A Drtc-palmas.c48 static int palmas_rtc_read_time(struct device *dev, struct rtc_time *tm) palmas_rtc_read_time()
79 static int palmas_rtc_set_time(struct device *dev, struct rtc_time *tm) palmas_rtc_set_time()
H A Drtc-sa1100.c158 static int sa1100_rtc_read_time(struct device *dev, struct rtc_time *tm) sa1100_rtc_read_time()
164 static int sa1100_rtc_set_time(struct device *dev, struct rtc_time *tm) sa1100_rtc_set_time()
H A Drtc-stk17ta8.c77 static int stk17ta8_rtc_set_time(struct device *dev, struct rtc_time *tm) stk17ta8_rtc_set_time()
100 static int stk17ta8_rtc_read_time(struct device *dev, struct rtc_time *tm) stk17ta8_rtc_read_time()
H A Drtc-tegra.c107 static int tegra_rtc_read_time(struct device *dev, struct rtc_time *tm) tegra_rtc_read_time()
137 static int tegra_rtc_set_time(struct device *dev, struct rtc_time *tm) tegra_rtc_set_time()
H A Drtc-wm831x.c122 static int wm831x_rtc_readtime(struct device *dev, struct rtc_time *tm) wm831x_rtc_readtime()
176 struct rtc_time new_tm; wm831x_rtc_set_mmss()
H A Drtc-ds1305.c174 static int ds1305_get_time(struct device *dev, struct rtc_time *time) ds1305_get_time()
212 static int ds1305_set_time(struct device *dev, struct rtc_time *time) ds1305_set_time()
339 struct rtc_time tm; ds1305_set_alarm()
H A Drtc-ds1343.c383 static int ds1343_read_time(struct device *dev, struct rtc_time *dt) ds1343_read_time()
404 static int ds1343_set_time(struct device *dev, struct rtc_time *dt) ds1343_set_time()
H A Drtc-pm8xxx.c81 static int pm8xxx_rtc_set_time(struct device *dev, struct rtc_time *tm) pm8xxx_rtc_set_time()
155 static int pm8xxx_rtc_read_time(struct device *dev, struct rtc_time *tm) pm8xxx_rtc_read_time()
H A Drtc-twl.c248 static int twl_rtc_read_time(struct device *dev, struct rtc_time *tm) twl_rtc_read_time()
314 static int twl_rtc_set_time(struct device *dev, struct rtc_time *tm) twl_rtc_set_time()
H A Drtc-ab3100.c76 static int ab3100_rtc_read_time(struct device *dev, struct rtc_time *tm) ab3100_rtc_read_time()
H A Drtc-cmos.c190 static int cmos_read_time(struct device *dev, struct rtc_time *t) cmos_read_time()
200 static int cmos_set_time(struct device *dev, struct rtc_time *t) cmos_set_time()
1139 struct rtc_time time; cmos_of_init()
1157 struct rtc_time def_time = { cmos_of_init()
H A Drtc-coh901331.c76 static int coh901331_read_time(struct device *dev, struct rtc_time *tm) coh901331_read_time()
H A Drtc-jz4740.c104 static int jz4740_rtc_read_time(struct device *dev, struct rtc_time *time) jz4740_rtc_read_time()
H A Drtc-lpc32xx.c65 static int lpc32xx_rtc_read_time(struct device *dev, struct rtc_time *time) lpc32xx_rtc_read_time()
H A Drtc-mc13xxx.c62 static int mc13xxx_rtc_read_time(struct device *dev, struct rtc_time *tm) mc13xxx_rtc_read_time()
H A Drtc-tx4939.c69 static int tx4939_rtc_read_time(struct device *dev, struct rtc_time *tm) tx4939_rtc_read_time()
/linux-4.1.27/arch/powerpc/platforms/powermac/
H A Dpmac.h12 struct rtc_time;
18 extern void pmac_get_rtc_time(struct rtc_time *);
19 extern int pmac_set_rtc_time(struct rtc_time *);
H A Dtime.c87 static void to_rtc_time(unsigned long now, struct rtc_time *tm) to_rtc_time()
97 static unsigned long from_rtc_time(struct rtc_time *tm) from_rtc_time()
124 static int cuda_set_rtc_time(struct rtc_time *tm) cuda_set_rtc_time()
167 static int pmu_set_rtc_time(struct rtc_time *tm) pmu_set_rtc_time()
192 struct rtc_time tm; smu_get_time()
221 void pmac_get_rtc_time(struct rtc_time *tm) pmac_get_rtc_time()
239 int pmac_set_rtc_time(struct rtc_time *tm) pmac_set_rtc_time()
/linux-4.1.27/arch/powerpc/platforms/8xx/
H A Dmpc8xx.h16 extern int mpc8xx_set_rtc_time(struct rtc_time *tm);
17 extern void mpc8xx_get_rtc_time(struct rtc_time *tm);
H A Dm8xx_setup.c167 int mpc8xx_set_rtc_time(struct rtc_time *tm) mpc8xx_set_rtc_time()
187 void mpc8xx_get_rtc_time(struct rtc_time *tm) mpc8xx_get_rtc_time()
/linux-4.1.27/arch/m68k/sun3x/
H A Dtime.h4 extern int sun3x_hwclk(int set, struct rtc_time *t);
H A Dtime.c39 int sun3x_hwclk(int set, struct rtc_time *t) sun3x_hwclk()
/linux-4.1.27/arch/ia64/sn/kernel/sn2/
H A Dtimer.c46 unsigned long start = rtc_time(); ia64_sn_udelay()
50 while (time_before((unsigned long)rtc_time(), end)) ia64_sn_udelay()
/linux-4.1.27/arch/m68k/include/asm/
H A Dmachdep.h10 struct rtc_time;
20 extern int (*mach_hwclk)(int, struct rtc_time*);
H A Drtc.h31 static inline unsigned int get_rtc_time(struct rtc_time *time) get_rtc_time()
44 static inline int set_rtc_time(struct rtc_time *time) set_rtc_time()
56 struct rtc_time h; get_rtc_ss()
/linux-4.1.27/include/linux/
H A Drtc.h5 * Struct rtc_time and first 12 ioctl by Paul Gortmaker, 1996 - separated out
21 extern int rtc_valid_tm(struct rtc_time *tm);
22 extern time64_t rtc_tm_to_time64(struct rtc_time *tm);
23 extern void rtc_time64_to_tm(time64_t time, struct rtc_time *tm);
24 ktime_t rtc_tm_to_ktime(struct rtc_time tm);
25 struct rtc_time rtc_ktime_to_tm(ktime_t kt);
30 static inline void rtc_time_to_tm(unsigned long time, struct rtc_time *tm) rtc_time_to_tm()
38 static inline int rtc_tm_to_time(struct rtc_time *tm, unsigned long *time) rtc_tm_to_time()
75 int (*read_time)(struct device *, struct rtc_time *);
76 int (*set_time)(struct device *, struct rtc_time *);
162 extern int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm);
163 extern int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm);
/linux-4.1.27/arch/powerpc/include/asm/
H A Drtc.h45 static inline unsigned int get_rtc_time(struct rtc_time *time) get_rtc_time()
53 static inline int set_rtc_time(struct rtc_time *time) set_rtc_time()
62 struct rtc_time h; get_rtc_ss()
H A Dtime.h28 struct rtc_time;
29 extern void to_tm(int tim, struct rtc_time * tm);
30 extern void GregorianDay(struct rtc_time *tm);
H A Drtas.h360 struct rtc_time;
362 extern void rtas_get_rtc_time(struct rtc_time *rtc_time);
363 extern int rtas_set_rtc_time(struct rtc_time *rtc_time);
H A Dmachdep.h28 struct rtc_time;
147 int (*set_rtc_time)(struct rtc_time *);
148 void (*get_rtc_time)(struct rtc_time *);
H A Dsmu.h469 struct rtc_time;
470 extern int smu_get_rtc_time(struct rtc_time *time, int spinwait);
471 extern int smu_set_rtc_time(struct rtc_time *time, int spinwait);
/linux-4.1.27/arch/m32r/include/asm/
H A Drtc.h46 struct rtc_time { struct
60 #define RTC_RD_TIME _IOR(RTC_MAGIC, 0x09, struct rtc_time) /* Read RTC time. */
61 #define RTC_SET_TIME _IOW(RTC_MAGIC, 0x0a, struct rtc_time) /* Set RTC time. */
/linux-4.1.27/arch/m68k/mvme16x/
H A Drtc.c17 #include <linux/mc146818rtc.h> /* For struct rtc_time and ioctls, etc */
41 struct rtc_time wtime; rtc_ioctl()
50 memset(&wtime, 0, sizeof(struct rtc_time)); rtc_ioctl()
67 struct rtc_time rtc_tm; rtc_ioctl()
74 if (copy_from_user(&rtc_tm, argp, sizeof(struct rtc_time))) rtc_ioctl()
H A Dconfig.c49 extern int mvme16x_hwclk (int, struct rtc_time *);
398 int mvme16x_hwclk(int op, struct rtc_time *t) mvme16x_hwclk()
/linux-4.1.27/drivers/char/
H A Dds1302.c119 get_rtc_time(struct rtc_time *rtc_tm) get_rtc_time()
143 * and how they are defined in a struct rtc_time; get_rtc_time()
164 struct rtc_time rtc_tm; rtc_ioctl()
166 memset(&rtc_tm, 0, sizeof (struct rtc_time)); rtc_ioctl()
170 if (copy_to_user((struct rtc_time*)arg, &rtc_tm, sizeof(struct rtc_time))) rtc_ioctl()
177 struct rtc_time rtc_tm; rtc_ioctl()
184 if (copy_from_user(&rtc_tm, (struct rtc_time*)arg, sizeof(struct rtc_time))) rtc_ioctl()
265 struct rtc_time tm; get_rtc_status()
277 "rtc_time\t: %02d:%02d:%02d\n" get_rtc_status()
H A Defirtc.c103 convert_to_efi_time(struct rtc_time *wtime, efi_time_t *eft) convert_to_efi_time()
118 convert_from_efi_time(efi_time_t *eft, struct rtc_time *wtime) convert_from_efi_time()
155 struct rtc_time wtime; efi_rtc_ioctl()
190 sizeof (struct rtc_time)) ? - EFAULT : 0; efi_rtc_ioctl()
196 if (copy_from_user(&wtime, (struct rtc_time __user *)arg, efi_rtc_ioctl()
197 sizeof(struct rtc_time)) ) efi_rtc_ioctl()
217 || copy_from_user(&wtime, &ewp->time, sizeof(struct rtc_time)) ) efi_rtc_ioctl()
253 sizeof(struct rtc_time)) ? -EFAULT : 0; efi_rtc_ioctl()
H A Drtc.c147 static void rtc_get_rtc_time(struct rtc_time *rtc_tm);
153 static void get_rtc_alm_time(struct rtc_time *alm_tm);
400 struct rtc_time wtime; rtc_do_ioctl()
483 * This returns a struct rtc_time. Reading >= 0xc0 rtc_do_ioctl()
487 memset(&wtime, 0, sizeof(struct rtc_time)); rtc_do_ioctl()
494 * This expects a struct rtc_time. Writing 0xff means rtc_do_ioctl()
499 struct rtc_time alm_tm; rtc_do_ioctl()
501 if (copy_from_user(&alm_tm, (struct rtc_time __user *)arg, rtc_do_ioctl()
502 sizeof(struct rtc_time))) rtc_do_ioctl()
542 memset(&wtime, 0, sizeof(struct rtc_time)); rtc_do_ioctl()
548 struct rtc_time rtc_tm; rtc_do_ioctl()
559 if (copy_from_user(&rtc_tm, (struct rtc_time __user *)arg, rtc_do_ioctl()
560 sizeof(struct rtc_time))) rtc_do_ioctl()
1216 struct rtc_time tm; rtc_proc_show()
1234 "rtc_time\t: %02d:%02d:%02d\n" rtc_proc_show()
1294 static void rtc_get_rtc_time(struct rtc_time *rtc_tm) rtc_get_rtc_time()
1354 * and how they are defined in a struct rtc_time; rtc_get_rtc_time()
1363 static void get_rtc_alm_time(struct rtc_time *alm_tm) get_rtc_alm_time()
H A Dmmtimer.c62 #define rtc_time() (*RTC_COUNTER_ADDR) macro
196 *set_completion_time = rtc_time(); mmtimer_setup()
485 nsec = rtc_time() * sgi_clock_period sgi_clock_get()
498 nsec = rtc_time() * sgi_clock_period; sgi_clock_set()
544 (expires && (expires <= rtc_time()))) { mmtimer_interrupt()
672 cur_setting->it_value = ns_to_timespec((timr->it.mmtimer.expires - rtc_time()) * sgi_clock_period); sgi_timer_get()
715 * Convert to sgi clock period. Need to keep rtc_time() as near as possible sgi_timer_set()
719 when = (when + sgi_clock_period - 1) / sgi_clock_period + rtc_time(); sgi_timer_set()
H A Dgenrtc.c269 struct rtc_time wtime; gen_rtc_ioctl()
392 struct rtc_time tm; gen_rtc_proc_show()
399 "rtc_time\t: %02d:%02d:%02d\n" gen_rtc_proc_show()
/linux-4.1.27/include/uapi/linux/
H A Drtc.h5 * Struct rtc_time and first 12 ioctl by Paul Gortmaker, 1996 - separated out
20 struct rtc_time { struct
39 struct rtc_time time; /* time the alarm is set to */
79 #define RTC_ALM_SET _IOW('p', 0x07, struct rtc_time) /* Set alarm time */
80 #define RTC_ALM_READ _IOR('p', 0x08, struct rtc_time) /* Read alarm time */
81 #define RTC_RD_TIME _IOR('p', 0x09, struct rtc_time) /* Read RTC time */
82 #define RTC_SET_TIME _IOW('p', 0x0a, struct rtc_time) /* Set RTC time */
/linux-4.1.27/arch/parisc/include/asm/
H A Drtc.h47 static inline unsigned int get_rtc_time(struct rtc_time *wtime) get_rtc_time()
99 static int set_rtc_time(struct rtc_time *wtime) set_rtc_time()
115 struct rtc_time h; get_rtc_ss()
/linux-4.1.27/arch/powerpc/kernel/
H A Drtas-rtc.c47 void rtas_get_rtc_time(struct rtc_time *rtc_tm) rtas_get_rtc_time()
61 memset(rtc_tm, 0, sizeof(struct rtc_time)); rtas_get_rtc_time()
86 int rtas_set_rtc_time(struct rtc_time *tm) rtas_set_rtc_time()
H A Dtime.c719 struct rtc_time tm; update_persistent_clock()
733 struct rtc_time tm; __read_persistent_clock()
1008 void GregorianDay(struct rtc_time * tm) GregorianDay()
1037 void to_tm(int tim, struct rtc_time * tm) to_tm()
/linux-4.1.27/arch/ia64/include/asm/sn/
H A Dclksupport.h26 #define rtc_time() (*RTC_COUNTER_ADDR) macro
/linux-4.1.27/arch/powerpc/platforms/powernv/
H A Dopal-rtc.c25 static void opal_to_tm(u32 y_m_d, u64 h_m_s_ms, struct rtc_time *tm) opal_to_tm()
40 struct rtc_time tm; opal_get_boot_time()
/linux-4.1.27/arch/m68k/bvme6000/
H A Drtc.c18 #include <linux/mc146818rtc.h> /* For struct rtc_time and ioctls, etc */
43 struct rtc_time wtime; rtc_ioctl()
53 memset(&wtime, 0, sizeof(struct rtc_time)); rtc_ioctl()
72 struct rtc_time rtc_tm; rtc_ioctl()
79 if (copy_from_user(&rtc_tm, argp, sizeof(struct rtc_time))) rtc_ioctl()
H A Dconfig.c44 extern int bvme6000_hwclk (int, struct rtc_time *);
269 int bvme6000_hwclk(int op, struct rtc_time *t) bvme6000_hwclk()
/linux-4.1.27/arch/alpha/kernel/
H A Drtc.c30 * true in __get_rtc_time as well as the users of struct rtc_time e.g.
82 alpha_rtc_read_time(struct device *dev, struct rtc_time *tm) alpha_rtc_read_time()
105 alpha_rtc_set_time(struct device *dev, struct rtc_time *tm) alpha_rtc_set_time()
107 struct rtc_time xtm; alpha_rtc_set_time()
228 struct rtc_time *tm;
241 remote_read_time(struct device *dev, struct rtc_time *tm) remote_read_time()
260 remote_set_time(struct device *dev, struct rtc_time *tm) remote_set_time()
/linux-4.1.27/arch/powerpc/platforms/chrp/
H A Dtime.c85 int chrp_set_rtc_time(struct rtc_time *tmarg) chrp_set_rtc_time()
88 struct rtc_time tm = *tmarg; chrp_set_rtc_time()
129 void chrp_get_rtc_time(struct rtc_time *tm) chrp_get_rtc_time()
/linux-4.1.27/arch/m68k/68000/
H A Dm68328.c30 int m68328_hwclk(int set, struct rtc_time *t);
H A Dm68EZ328.c29 int m68328_hwclk(int set, struct rtc_time *t);
H A Dtimers.c124 int m68328_hwclk(int set, struct rtc_time *t) m68328_hwclk()
H A Dm68VZ328.c37 int m68328_hwclk(int set, struct rtc_time *t);
/linux-4.1.27/include/asm-generic/
H A Drtc.h45 static inline unsigned int __get_rtc_time(struct rtc_time *time) __get_rtc_time()
101 * and how they are defined in a struct rtc_time; __get_rtc_time()
116 static inline int __set_rtc_time(struct rtc_time *time) __set_rtc_time()
203 struct rtc_time h; get_rtc_ss()
/linux-4.1.27/arch/sh/kernel/
H A Dtime.c53 unsigned int get_rtc_time(struct rtc_time *tm) get_rtc_time()
66 int set_rtc_time(struct rtc_time *tm) set_rtc_time()
/linux-4.1.27/arch/powerpc/platforms/ps3/
H A Dtime.c32 static void _dump_tm(const struct rtc_time *tm, const char* func, int line) _dump_tm()
47 struct rtc_time tm; _dump_time()
H A Dplatform.h61 void ps3_get_rtc_time(struct rtc_time *time); ps3_smp_cleanup_cpu()
62 int ps3_set_rtc_time(struct rtc_time *time); ps3_smp_cleanup_cpu()
/linux-4.1.27/drivers/input/misc/
H A Dhp_sdc_rtc.c84 static int hp_sdc_rtc_do_read_bbrtc (struct rtc_time *rtctm) hp_sdc_rtc_do_read_bbrtc()
120 memset(rtctm, 0, sizeof(struct rtc_time)); hp_sdc_rtc_do_read_bbrtc()
132 static int hp_sdc_rtc_read_bbrtc (struct rtc_time *rtctm) hp_sdc_rtc_read_bbrtc()
134 struct rtc_time tm, tm_last; hp_sdc_rtc_read_bbrtc()
142 while (memcmp(&tm, &tm_last, sizeof(struct rtc_time))) { hp_sdc_rtc_read_bbrtc()
144 memcpy(&tm_last, &tm, sizeof(struct rtc_time)); hp_sdc_rtc_read_bbrtc()
148 memcpy(rtctm, &tm, sizeof(struct rtc_time)); hp_sdc_rtc_read_bbrtc()
435 struct rtc_time tm; hp_sdc_rtc_proc_show()
438 memset(&tm, 0, sizeof(struct rtc_time)); hp_sdc_rtc_proc_show()
444 "rtc_time\t: %02d:%02d:%02d\n" hp_sdc_rtc_proc_show()
531 struct rtc_time wtime; hp_sdc_rtc_ioctl()
612 struct rtc_time hp_sdc_rtc_tm; hp_sdc_rtc_ioctl()
618 if (copy_from_user(&hp_sdc_rtc_tm, (struct rtc_time *)arg, hp_sdc_rtc_ioctl()
619 sizeof(struct rtc_time))) hp_sdc_rtc_ioctl()
/linux-4.1.27/arch/powerpc/platforms/maple/
H A Dtime.c57 void maple_get_rtc_time(struct rtc_time *tm) maple_get_rtc_time()
83 int maple_set_rtc_time(struct rtc_time *tm) maple_set_rtc_time()
142 struct rtc_time tm; maple_get_boot_time()
/linux-4.1.27/arch/m68k/mvme147/
H A Dconfig.c43 extern int mvme147_hwclk (int, struct rtc_time *);
151 int mvme147_hwclk(int op, struct rtc_time *t) mvme147_hwclk()
/linux-4.1.27/arch/m68k/sun3/
H A Dintersil.c34 int sun3_hwclk(int set, struct rtc_time *t) sun3_hwclk()
H A Dconfig.c44 extern int sun3_hwclk(int set, struct rtc_time *t);
/linux-4.1.27/arch/m68k/apollo/
H A Dconfig.c33 extern int dn_dummy_hwclk(int, struct rtc_time *);
215 int dn_dummy_hwclk(int op, struct rtc_time *t) { dn_dummy_hwclk()
/linux-4.1.27/arch/m68k/kernel/
H A Dtime.c75 struct rtc_time time; read_persistent_clock()
/linux-4.1.27/arch/alpha/include/asm/
H A Dmachvec.h24 struct rtc_time;
/linux-4.1.27/drivers/base/power/
H A Dtrace.c84 static struct rtc_time time = { set_magic_time()
112 struct rtc_time time; read_magic_time()
/linux-4.1.27/arch/m68k/atari/
H A Dtime.c107 int atari_mste_hwclk( int op, struct rtc_time *t ) atari_mste_hwclk()
166 int atari_tt_hwclk( int op, struct rtc_time *t ) atari_tt_hwclk()
/linux-4.1.27/arch/m68k/q40/
H A Dconfig.c44 static int q40_hwclk(int, struct rtc_time *);
228 static int q40_hwclk(int op, struct rtc_time *t) q40_hwclk()
/linux-4.1.27/arch/x86/kernel/
H A Drtc.c44 struct rtc_time tm; mach_set_rtc_mmss()
/linux-4.1.27/arch/x86/platform/intel-mid/
H A Dintel_mid_vrtc.c92 struct rtc_time tm; vrtc_set_mmss()
/linux-4.1.27/arch/mips/sibyte/swarm/
H A Drtc_xicor1241.c114 struct rtc_time tm; xicor_set_time()
H A Drtc_m41t81.c146 struct rtc_time tm; m41t81_set_time()
/linux-4.1.27/arch/mn10300/kernel/
H A Drtc.c28 struct rtc_time tm; read_persistent_clock()
/linux-4.1.27/arch/m68k/hp300/
H A Dconfig.c202 static int hp300_hwclk(int op, struct rtc_time *t) hp300_hwclk()
/linux-4.1.27/drivers/macintosh/
H A Dsmu.c364 struct rtc_time *time) smu_fill_set_rtc_cmd()
379 int smu_get_rtc_time(struct rtc_time *time, int spinwait) smu_get_rtc_time()
387 memset(time, 0, sizeof(struct rtc_time)); smu_get_rtc_time()
406 int smu_set_rtc_time(struct rtc_time *time, int spinwait) smu_set_rtc_time()
/linux-4.1.27/drivers/mfd/
H A Dmenelaus.c841 static void menelaus_to_time(char *regs, struct rtc_time *t) menelaus_to_time()
856 static int time_to_menelaus(struct rtc_time *t, int regnum) time_to_menelaus()
899 static int menelaus_read_time(struct device *dev, struct rtc_time *t) menelaus_read_time()
930 static int menelaus_set_time(struct device *dev, struct rtc_time *t) menelaus_set_time()

Completed in 2732 milliseconds

12