Searched refs:rtc_time (Results 51 - 75 of 244) sorted by relevance

12345678910

/linux-master/drivers/rtc/
H A Drtc-max8907.c57 static void regs_to_tm(u8 *regs, struct rtc_time *tm)
77 static void tm_to_regs(struct rtc_time *tm, u8 *regs)
93 static int max8907_rtc_read_time(struct device *dev, struct rtc_time *tm)
109 static int max8907_rtc_set_time(struct device *dev, struct rtc_time *tm)
H A Drtc-pcf50633.c62 static void pcf2rtc_time(struct rtc_time *rtc, struct pcf50633_time *pcf)
73 static void rtc2pcf_time(struct pcf50633_time *pcf, struct rtc_time *rtc)
103 static int pcf50633_rtc_read_time(struct device *dev, struct rtc_time *tm)
134 static int pcf50633_rtc_set_time(struct device *dev, struct rtc_time *tm)
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;
192 static int hid_rtc_read_time(struct device *dev, struct rtc_time *tm)
H A Drtc-pcf8583.c49 static int pcf8583_get_datetime(struct i2c_client *client, struct rtc_time *dt)
87 static int pcf8583_set_datetime(struct i2c_client *client, struct rtc_time *dt, int datetoo)
172 static int pcf8583_rtc_read_time(struct device *dev, struct rtc_time *tm)
222 static int pcf8583_rtc_set_time(struct device *dev, struct rtc_time *tm)
H A Drtc-efi.c53 convert_to_efi_time(struct rtc_time *wtime, efi_time_t *eft)
67 convert_from_efi_time(efi_time_t *eft, struct rtc_time *wtime)
157 static int efi_read_time(struct device *dev, struct rtc_time *tm)
177 static int efi_set_time(struct device *dev, struct rtc_time *tm)
H A Dlib_test.c47 struct rtc_time result;
H A Drtc-pl031.c116 struct rtc_time *tm, unsigned long *st_time,
128 struct rtc_time calc_tm;
150 struct rtc_time *tm)
166 static int pl031_stv2_read_time(struct device *dev, struct rtc_time *tm)
176 static int pl031_stv2_set_time(struct device *dev, struct rtc_time *tm)
243 static int pl031_read_time(struct device *dev, struct rtc_time *tm)
252 static int pl031_set_time(struct device *dev, struct rtc_time *tm)
H A Dinterface.c23 static void rtc_add_offset(struct rtc_device *rtc, struct rtc_time *tm)
46 static void rtc_subtract_offset(struct rtc_device *rtc, struct rtc_time *tm)
67 static int rtc_valid_range(struct rtc_device *rtc, struct rtc_time *tm)
84 static int __rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm)
93 memset(tm, 0, sizeof(struct rtc_time));
105 dev_dbg(&rtc->dev, "read_time: rtc_time isn't valid\n");
110 int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm)
126 int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm)
215 struct rtc_time before, now;
268 memcpy(&before, &now, sizeof(struct rtc_time));
[all...]
H A Drtc-rzn1.c67 static void rzn1_rtc_get_time_snapshot(struct rzn1_rtc *rtc, struct rtc_time *tm)
78 static unsigned int rzn1_rtc_tm_to_wday(struct rtc_time *tm)
91 static int rzn1_rtc_read_time(struct device *dev, struct rtc_time *tm)
120 static int rzn1_rtc_set_time(struct device *dev, struct rtc_time *tm)
186 struct rtc_time *tm = &alrm->time;
220 struct rtc_time *tm = &alrm->time, tm_now;
H A Drtc-da9063.c68 struct rtc_time alarm_time;
167 static void da9063_data_to_tm(u8 *data, struct rtc_time *tm,
182 static void da9063_tm_to_data(struct rtc_time *tm, u8 *data,
219 static int da9063_rtc_read_time(struct device *dev, struct rtc_time *tm)
248 memcpy(tm, &rtc->alarm_time, sizeof(struct rtc_time));
255 static int da9063_rtc_set_time(struct device *dev, struct rtc_time *tm)
H A Drtc-max6916.c53 static int max6916_read_time(struct device *dev, struct rtc_time *dt)
77 static int max6916_set_time(struct device *dev, struct rtc_time *dt)
H A Drtc-max6902.c52 static int max6902_read_time(struct device *dev, struct rtc_time *dt)
87 static int max6902_set_time(struct device *dev, struct rtc_time *dt)
H A Drtc-m41t94.c29 static int m41t94_set_time(struct device *dev, struct rtc_time *tm)
56 static int m41t94_read_time(struct device *dev, struct rtc_time *tm)
H A Drtc-ds1216.c78 static int ds1216_rtc_read_time(struct device *dev, struct rtc_time *tm)
105 static int ds1216_rtc_set_time(struct device *dev, struct rtc_time *tm)
H A Drtc-r9701.c68 static int r9701_get_datetime(struct device *dev, struct rtc_time *dt)
89 static int r9701_set_datetime(struct device *dev, struct rtc_time *dt)
H A Drtc-wilco-ec.c89 static int wilco_ec_rtc_read(struct device *dev, struct rtc_time *tm)
123 static int wilco_ec_rtc_write(struct device *dev, struct rtc_time *tm)
H A Drtc-test.c63 static int test_rtc_read_time(struct device *dev, struct rtc_time *tm)
72 static int test_rtc_set_time(struct device *dev, struct rtc_time *tm)
H A Drtc-pl030.c52 static int pl030_read_time(struct device *dev, struct rtc_time *tm)
69 static int pl030_set_time(struct device *dev, struct rtc_time *tm)
H A Drtc-ntxec.c36 static int ntxec_read_time(struct device *dev, struct rtc_time *tm)
79 static int ntxec_set_time(struct device *dev, struct rtc_time *tm)
H A Drtc-ds1347.c50 static int ds1347_read_time(struct device *dev, struct rtc_time *dt)
89 static int ds1347_set_time(struct device *dev, struct rtc_time *dt)
H A Drtc-em3027.c42 static int em3027_get_time(struct device *dev, struct rtc_time *tm)
80 static int em3027_set_time(struct device *dev, struct rtc_time *tm)
H A Drtc-aspeed.c22 static int aspeed_rtc_read_time(struct device *dev, struct rtc_time *tm)
53 static int aspeed_rtc_set_time(struct device *dev, struct rtc_time *tm)
/linux-master/arch/m68k/sun3/
H A Dintersil.c28 int sun3_hwclk(int set, struct rtc_time *t)
/linux-master/arch/parisc/kernel/
H A Dtime.c166 static int rtc_generic_get_time(struct device *dev, struct rtc_time *tm)
179 static int rtc_generic_set_time(struct device *dev, struct rtc_time *tm)
/linux-master/arch/m68k/mvme147/
H A Dconfig.c38 extern int mvme147_hwclk (int, struct rtc_time *);
169 int mvme147_hwclk(int op, struct rtc_time *t)

Completed in 422 milliseconds

12345678910