/linux-master/drivers/rtc/ |
H A D | rtc-max8907.c | 57 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 D | rtc-pcf50633.c | 62 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 D | rtc-hid-sensor-time.c | 27 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 D | rtc-pcf8583.c | 49 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 D | rtc-efi.c | 53 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 D | lib_test.c | 47 struct rtc_time result;
|
H A D | rtc-pl031.c | 116 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 D | interface.c | 23 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 D | rtc-rzn1.c | 67 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 D | rtc-da9063.c | 68 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 D | rtc-max6916.c | 53 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 D | rtc-max6902.c | 52 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 D | rtc-m41t94.c | 29 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 D | rtc-ds1216.c | 78 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 D | rtc-r9701.c | 68 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 D | rtc-wilco-ec.c | 89 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 D | rtc-test.c | 63 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 D | rtc-pl030.c | 52 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 D | rtc-ntxec.c | 36 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 D | rtc-ds1347.c | 50 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 D | rtc-em3027.c | 42 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 D | rtc-aspeed.c | 22 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 D | intersil.c | 28 int sun3_hwclk(int set, struct rtc_time *t)
|
/linux-master/arch/parisc/kernel/ |
H A D | time.c | 166 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 D | config.c | 38 extern int mvme147_hwclk (int, struct rtc_time *); 169 int mvme147_hwclk(int op, struct rtc_time *t)
|