/linux-4.4.14/arch/sh/include/asm/ |
H A D | rtc.h | 16 struct rtc_time; 17 unsigned int get_rtc_time(struct rtc_time *); 18 int set_rtc_time(struct rtc_time *);
|
/linux-4.4.14/drivers/rtc/ |
H A D | rtc-lib.c | 50 * 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 D | rtc-mv.c | 49 static int mv_rtc_set_time(struct device *dev, struct rtc_time *tm) mv_rtc_set_time() 69 static int mv_rtc_read_time(struct device *dev, struct rtc_time *tm) mv_rtc_read_time() 73 u32 rtc_time, rtc_date; mv_rtc_read_time() local 76 rtc_time = readl(ioaddr + RTC_TIME_REG_OFFS); mv_rtc_read_time() 79 second = rtc_time & 0x7f; mv_rtc_read_time() 80 minute = (rtc_time >> RTC_MINUTES_OFFS) & 0x7f; mv_rtc_read_time() 81 hour = (rtc_time >> RTC_HOURS_OFFS) & 0x3f; /* assume 24 hour mode */ mv_rtc_read_time() 82 wday = (rtc_time >> RTC_WDAY_OFFS) & 0x7; mv_rtc_read_time() 104 u32 rtc_time, rtc_date; mv_rtc_read_alarm() local 107 rtc_time = readl(ioaddr + RTC_ALARM_TIME_REG_OFFS); mv_rtc_read_alarm() 110 second = rtc_time & 0x7f; mv_rtc_read_alarm() 111 minute = (rtc_time >> RTC_MINUTES_OFFS) & 0x7f; mv_rtc_read_alarm() 112 hour = (rtc_time >> RTC_HOURS_OFFS) & 0x3f; /* assume 24 hour mode */ mv_rtc_read_alarm() 113 wday = (rtc_time >> RTC_WDAY_OFFS) & 0x7; mv_rtc_read_alarm() 225 u32 rtc_time; mv_rtc_probe() local 244 rtc_time = readl(pdata->ioaddr + RTC_TIME_REG_OFFS); mv_rtc_probe() 245 if (rtc_time & RTC_HOURS_12H_MODE) { mv_rtc_probe() 252 if (rtc_time == 0x01000000) { mv_rtc_probe() 254 rtc_time = readl(pdata->ioaddr + RTC_TIME_REG_OFFS); mv_rtc_probe() 255 if (rtc_time == 0x01000000) { mv_rtc_probe()
|
H A D | rtc-generic.c | 14 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 D | rtc-ps3.c | 41 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 D | rtc-sun4v.c | 38 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 D | rtc-pcf85063.c | 44 * 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() 86 static int pcf85063_set_datetime(struct i2c_client *client, struct rtc_time *tm) pcf85063_set_datetime() 128 static int pcf85063_rtc_read_time(struct device *dev, struct rtc_time *tm) pcf85063_rtc_read_time() 133 static int pcf85063_rtc_set_time(struct device *dev, struct rtc_time *tm) pcf85063_rtc_set_time()
|
H A D | rtc-efi.c | 58 convert_to_efi_time(struct rtc_time *wtime, efi_time_t *eft) convert_to_efi_time() 72 convert_from_efi_time(efi_time_t *eft, struct rtc_time *wtime) convert_from_efi_time() 162 static int efi_read_time(struct device *dev, struct rtc_time *tm) efi_read_time() 182 static int efi_set_time(struct device *dev, struct rtc_time *tm) efi_set_time()
|
H A D | rtc-max6900.c | 144 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 D | rtc-max8907.c | 61 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 D | rtc-starfire.c | 30 static int starfire_read_time(struct device *dev, struct rtc_time *tm) starfire_read_time()
|
H A D | systohc.c | 26 struct rtc_time tm; rtc_set_ntp_time()
|
H A D | rtc-da9052.c | 61 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 D | rtc-da9055.c | 61 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 D | rtc-88pm80x.c | 90 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() 257 struct rtc_time tm; pm80x_rtc_probe()
|
H A D | rtc-isl12022.c | 107 * 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() 157 static int isl12022_set_datetime(struct i2c_client *client, struct rtc_time *tm) isl12022_set_datetime() 233 static int isl12022_rtc_read_time(struct device *dev, struct rtc_time *tm) isl12022_rtc_read_time() 238 static int isl12022_rtc_set_time(struct device *dev, struct rtc_time *tm) isl12022_rtc_set_time()
|
H A D | rtc-pcf2127.c | 47 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch. 49 static int pcf2127_get_datetime(struct i2c_client *client, struct rtc_time *tm) pcf2127_get_datetime() 103 static int pcf2127_set_datetime(struct i2c_client *client, struct rtc_time *tm) pcf2127_set_datetime() 177 static int pcf2127_rtc_read_time(struct device *dev, struct rtc_time *tm) pcf2127_rtc_read_time() 182 static int pcf2127_rtc_set_time(struct device *dev, struct rtc_time *tm) pcf2127_rtc_set_time()
|
H A D | rtc-ds1672.c | 30 * 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 D | rtc-ls1x.c | 88 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 D | rtc-m48t35.c | 50 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 D | rtc-pcap.c | 48 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 D | rtc-r9701.c | 71 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 D | rtc-da9063.c | 75 struct rtc_time alarm_time; 174 static void da9063_data_to_tm(u8 *data, struct rtc_time *tm, da9063_data_to_tm() 189 static void da9063_tm_to_data(struct rtc_time *tm, u8 *data, da9063_tm_to_data() 237 static int da9063_rtc_read_time(struct device *dev, struct rtc_time *tm) da9063_rtc_read_time() 266 memcpy(tm, &rtc->alarm_time, sizeof(struct rtc_time)); da9063_rtc_read_time() 273 static int da9063_rtc_set_time(struct device *dev, struct rtc_time *tm) da9063_rtc_set_time()
|
H A D | rtc-max77686.c | 75 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 D | rtc-rv3029c2.c | 142 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 D | rtc-sirfsoc.c | 170 struct rtc_time *tm) sirfsoc_rtc_read_time() 191 struct rtc_time *tm) sirfsoc_rtc_set_time() 193 unsigned long rtc_time; sirfsoc_rtc_set_time() local 197 rtc_tm_to_time(tm, &rtc_time); sirfsoc_rtc_set_time() 199 rtcdrv->overflow_rtc = rtc_time >> (BITS_PER_LONG - RTC_SHIFT); sirfsoc_rtc_set_time() 202 sirfsoc_rtc_writel(rtcdrv, RTC_CN, rtc_time << RTC_SHIFT); sirfsoc_rtc_set_time()
|
H A D | rtc-au1xxx.c | 31 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 D | rtc-dm355evm.c | 37 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 D | rtc-ds1216.c | 79 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 D | rtc-em3027.c | 45 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 D | rtc-m41t94.c | 32 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 D | rtc-max6902.c | 56 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 D | rtc-proc.c | 48 struct rtc_time tm; rtc_proc_show() 53 "rtc_time\t: %02d:%02d:%02d\n" rtc_proc_show()
|
H A D | rtc-tile.c | 28 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 D | hctosys.c | 30 struct rtc_time tm; rtc_hctosys()
|
H A D | rtc-as3722.c | 42 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 D | rtc-hid-sensor-time.c | 40 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 D | rtc-lp8788.c | 113 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 D | rtc-lpc24xx.c | 74 static int lpc24xx_rtc_set_time(struct device *dev, struct rtc_time *tm) lpc24xx_rtc_set_time() 95 static int lpc24xx_rtc_read_time(struct device *dev, struct rtc_time *tm) lpc24xx_rtc_read_time() 119 struct rtc_time *tm = &wkalrm->time; lpc24xx_rtc_read_alarm() 139 struct rtc_time *tm = &wkalrm->time; lpc24xx_rtc_set_alarm()
|
H A D | rtc-max8925.c | 85 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 D | rtc-max8998.c | 81 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 D | rtc-nuc900.c | 106 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 D | rtc-opal.c | 33 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 D | rtc-pcf50633.c | 67 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 D | rtc-pcf8583.c | 52 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 D | rtc-puv3.c | 89 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 D | rtc-rs5c313.c | 214 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 D | rtc-st-lpc.c | 84 static int st_rtc_read_time(struct device *dev, struct rtc_time *tm) st_rtc_read_time() 107 static int st_rtc_set_time(struct device *dev, struct rtc_time *tm) st_rtc_set_time() 163 struct rtc_time now; st_rtc_set_alarm() 201 struct rtc_time tm_check; st_rtc_probe()
|
H A D | rtc-vr41xx.c | 139 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 D | rtc-88pm860x.c | 86 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 D | rtc-isl1208.c | 278 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() 373 struct rtc_time rtc_tm; isl1208_i2c_set_alarm() 413 isl1208_rtc_read_time(struct device *dev, struct rtc_time *tm) isl1208_rtc_read_time() 419 isl1208_i2c_set_time(struct i2c_client *client, struct rtc_time const *tm) isl1208_i2c_set_time() 476 isl1208_rtc_set_time(struct device *dev, struct rtc_time *tm) isl1208_rtc_set_time()
|
H A D | rtc-pl031.c | 118 struct rtc_time *tm, unsigned long *st_time, pl031_stv2_tm_to_time() 131 struct rtc_time calc_tm; pl031_stv2_tm_to_time() 154 struct rtc_time *tm) pl031_stv2_time_to_tm() 170 static int pl031_stv2_read_time(struct device *dev, struct rtc_time *tm) pl031_stv2_read_time() 180 static int pl031_stv2_set_time(struct device *dev, struct rtc_time *tm) pl031_stv2_set_time() 251 static int pl031_read_time(struct device *dev, struct rtc_time *tm) pl031_read_time() 260 static int pl031_set_time(struct device *dev, struct rtc_time *tm) pl031_set_time()
|
H A D | rtc-mpc5121.c | 93 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 D | rtc-mt6397.c | 125 struct rtc_time *tm, int *sec) __mtk_rtc_read_time() 149 static int mtk_rtc_read_time(struct device *dev, struct rtc_time *tm) mtk_rtc_read_time() 181 static int mtk_rtc_set_time(struct device *dev, struct rtc_time *tm) mtk_rtc_set_time() 213 struct rtc_time *tm = &alm->time; mtk_rtc_read_alarm() 254 struct rtc_time *tm = &alm->time; mtk_rtc_set_alarm()
|
H A D | rtc-pxa.c | 99 static u32 ryxr_calc(struct rtc_time *tm) ryxr_calc() 106 static u32 rdxr_calc(struct rtc_time *tm) rdxr_calc() 115 static void tm_calc(u32 rycr, u32 rdcr, struct rtc_time *tm) tm_calc() 238 static int pxa_rtc_read_time(struct device *dev, struct rtc_time *tm) pxa_rtc_read_time() 250 static int pxa_rtc_set_time(struct device *dev, struct rtc_time *tm) pxa_rtc_set_time()
|
H A D | rtc-rx8581.c | 96 * 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 D | rtc-s35390a.c | 151 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 D | rtc-at91rm9200.c | 114 * Decode time/date into rtc_time structure 117 struct rtc_time *tm) at91_rtc_decodetime() 148 static int at91_rtc_readtime(struct device *dev, struct rtc_time *tm) at91_rtc_readtime() 164 static int at91_rtc_settime(struct device *dev, struct rtc_time *tm) at91_rtc_settime() 208 struct rtc_time *tm = &alrm->time; at91_rtc_readalarm() 229 struct rtc_time tm; at91_rtc_setalarm()
|
H A D | rtc-pcf8563.c | 202 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch. 204 static int pcf8563_get_datetime(struct i2c_client *client, struct rtc_time *tm) pcf8563_get_datetime() 252 static int pcf8563_set_datetime(struct i2c_client *client, struct rtc_time *tm) pcf8563_set_datetime() 288 struct rtc_time tm; pcf8563_rtc_ioctl() 322 static int pcf8563_rtc_read_time(struct device *dev, struct rtc_time *tm) pcf8563_rtc_read_time() 327 static int pcf8563_rtc_set_time(struct device *dev, struct rtc_time *tm) pcf8563_rtc_set_time()
|
H A D | rtc-rk808.c | 68 static time64_t nov2dec_transitions(struct rtc_time *tm) nov2dec_transitions() 73 static void rockchip_to_gregorian(struct rtc_time *tm) rockchip_to_gregorian() 80 static void gregorian_to_rockchip(struct rtc_time *tm) gregorian_to_rockchip() 96 static int rk808_rtc_readtime(struct device *dev, struct rtc_time *tm) rk808_rtc_readtime() 149 static int rk808_rtc_set_time(struct device *dev, struct rtc_time *tm) rk808_rtc_set_time() 378 struct rtc_time tm; rk808_rtc_probe()
|
H A D | rtc-x1205.c | 90 * 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 D | rtc-bq4802.c | 49 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 D | rtc-ds1302.c | 144 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 D | rtc-ds1347.c | 57 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 D | rtc-ds1390.c | 130 static int ds1390_read_time(struct device *dev, struct rtc_time *dt) ds1390_read_time() 159 static int ds1390_set_time(struct device *dev, struct rtc_time *dt) ds1390_set_time()
|
H A D | rtc-ds3234.c | 57 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 D | rtc-gemini.c | 70 static int gemini_rtc_read_time(struct device *dev, struct rtc_time *tm) gemini_rtc_read_time() 90 static int gemini_rtc_set_time(struct device *dev, struct rtc_time *tm) gemini_rtc_set_time()
|
H A D | rtc-m41t93.c | 48 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 D | rtc-m48t86.c | 45 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 D | rtc-mcp795.c | 95 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 D | rtc-msm6242.c | 125 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 D | rtc-pl030.c | 63 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 D | rtc-s5m.c | 114 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 D | rtc-max77802.c | 78 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 D | rtc-max8997.c | 80 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 D | rtc-sun6i.c | 158 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 D | rtc-wm8350.c | 38 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 D | rtc-rs5c348.c | 64 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 D | rtc-rx4581.c | 100 * 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 D | rtc-snvs.c | 121 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() 181 struct rtc_time *alrm_tm = &alrm->time; snvs_rtc_set_alarm()
|
H A D | rtc-sysfs.c | 38 struct rtc_time tm; date_show() 54 struct rtc_time tm; time_show() 70 struct rtc_time tm; since_epoch_show()
|
H A D | rtc-tps80031.c | 67 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 D | rtc-xgene.c | 57 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 D | rtc-davinci.c | 243 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 D | rtc-mxc.c | 86 struct rtc_time g_rtc_alarm; 187 static void rtc_update_alarm(struct device *dev, struct rtc_time *alrm) rtc_update_alarm() 284 static int mxc_rtc_read_time(struct device *dev, struct rtc_time *tm) mxc_rtc_read_time() 310 struct rtc_time tm; mxc_rtc_set_mmss() 352 memcpy(&pdata->g_rtc_alarm, &alrm->time, sizeof(struct rtc_time)); mxc_rtc_set_alarm()
|
H A D | rtc-sunxi.c | 201 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() 341 static int sunxi_rtc_settime(struct device *dev, struct rtc_time *rtc_tm) sunxi_rtc_settime()
|
H A D | interface.c | 23 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() 118 struct rtc_time before, now; __rtc_read_alarm() 171 memcpy(&before, &now, sizeof(struct rtc_time)); __rtc_read_alarm() 308 struct rtc_time tm; __rtc_set_alarm() 369 struct rtc_time now; rtc_initialize_alarm() 449 struct rtc_time tm; rtc_update_irq_enable() 829 struct rtc_time tm; rtc_timer_do_work()
|
H A D | rtc-isl12057.c | 88 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 D | rtc-omap.c | 261 static int tm2bcd(struct rtc_time *tm) tm2bcd() 281 static void bcd2tm(struct rtc_time *tm) bcd2tm() 292 static void omap_rtc_read_time_raw(struct omap_rtc *rtc, struct rtc_time *tm) omap_rtc_read_time_raw() 302 static int omap_rtc_read_time(struct device *dev, struct rtc_time *tm) omap_rtc_read_time() 317 static int omap_rtc_set_time(struct device *dev, struct rtc_time *tm) omap_rtc_set_time() 425 struct rtc_time tm; omap_rtc_power_off()
|
H A D | rtc-sh.c | 353 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 D | rtc-ds1286.c | 156 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 D | rtc-ab8500.c | 75 struct rtc_time tm = { get_elapsed_seconds() 88 static int ab8500_rtc_read_time(struct device *dev, struct rtc_time *tm) ab8500_rtc_read_time() 137 static int ab8500_rtc_set_time(struct device *dev, struct rtc_time *tm) ab8500_rtc_set_time() 234 struct rtc_time curtm; ab8500_rtc_set_alarm()
|
H A D | rtc-at91sam9.c | 108 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 D | rtc-bfin.c | 62 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 D | rtc-ds3232.c | 103 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 D | rtc-fm3130.c | 95 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 D | rtc-hym8563.c | 99 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 D | rtc-m48t59.c | 68 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 D | rtc-spear.c | 173 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 D | rtc-test.c | 35 struct rtc_time *tm) test_rtc_read_time()
|
H A D | rtc-ab-b5ze-s3.c | 216 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 D | rtc-abx80x.c | 95 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 D | rtc-armada38x.c | 57 static int armada38x_rtc_read_time(struct device *dev, struct rtc_time *tm) armada38x_rtc_read_time() 80 static int armada38x_rtc_set_time(struct device *dev, struct rtc_time *tm) armada38x_rtc_set_time()
|
H A D | rtc-at32ap700x.c | 70 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 D | rtc-bq32k.c | 87 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 D | rtc-ds1742.c | 63 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 D | rtc-moxart.c | 142 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 D | rtc-pcf2123.c | 139 static int pcf2123_rtc_read_time(struct device *dev, struct rtc_time *tm) pcf2123_rtc_read_time() 171 static int pcf2123_rtc_set_time(struct device *dev, struct rtc_time *tm) pcf2123_rtc_set_time()
|
H A D | rtc-pcf8523.c | 160 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 D | rtc-rc5t583.c | 69 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 D | rtc-rp5c01.c | 93 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 D | rtc-tps6586x.c | 69 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 D | rtc-tps65910.c | 56 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 D | rtc-v3020.c | 212 static int v3020_read_time(struct device *dev, struct rtc_time *dt) v3020_read_time() 249 static int v3020_set_time(struct device *dev, struct rtc_time *dt) v3020_set_time()
|
H A D | rtc-vt8500.c | 109 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 D | rtc-zynqmp.c | 60 static int xlnx_rtc_set_time(struct device *dev, struct rtc_time *tm) xlnx_rtc_set_time() 75 static int xlnx_rtc_read_time(struct device *dev, struct rtc_time *tm) xlnx_rtc_read_time()
|
H A D | rtc-m41t80.c | 94 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 D | rtc-rs5c372.c | 183 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 D | rtc-s3c.c | 163 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() 461 struct rtc_time rtc_tm; s3c_rtc_probe()
|
H A D | rtc-dev.c | 60 struct rtc_time tm; rtc_uie_task() 120 struct rtc_time tm; set_uie() 224 struct rtc_time tm; rtc_dev_ioctl()
|
H A D | rtc-ds1374.c | 161 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 D | rtc-ds1511.c | 185 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 D | rtc-mrst.c | 77 * 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 D | rtc-digicolor.c | 95 static int dc_rtc_read_time(struct device *dev, struct rtc_time *tm) dc_rtc_read_time()
|
H A D | rtc-ds2404.c | 202 static int ds2404_read_time(struct device *dev, struct rtc_time *dt) ds2404_read_time()
|
H A D | rtc-ep93xx.c | 61 static int ep93xx_rtc_read_time(struct device *dev, struct rtc_time *tm) ep93xx_rtc_read_time()
|
H A D | class.c | 54 struct rtc_time tm; rtc_suspend() 100 struct rtc_time tm; rtc_resume()
|
H A D | rtc-ds1553.c | 76 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 D | rtc-palmas.c | 48 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 D | rtc-rv8803.c | 110 static int rv8803_get_time(struct device *dev, struct rtc_time *tm) rv8803_get_time() 153 static int rv8803_set_time(struct device *dev, struct rtc_time *tm) rv8803_set_time()
|
H A D | rtc-sa1100.c | 154 static int sa1100_rtc_read_time(struct device *dev, struct rtc_time *tm) sa1100_rtc_read_time() 162 static int sa1100_rtc_set_time(struct device *dev, struct rtc_time *tm) sa1100_rtc_set_time()
|
H A D | rtc-stk17ta8.c | 77 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 D | rtc-tegra.c | 107 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 D | rtc-wm831x.c | 122 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 D | rtc-cmos.c | 190 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() 808 struct rtc_time now; cmos_aie_poweroff() 1130 struct rtc_time time; cmos_of_init() 1148 struct rtc_time def_time = { cmos_of_init()
|
H A D | rtc-ds1305.c | 174 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 D | rtc-ds1343.c | 372 static int ds1343_read_time(struct device *dev, struct rtc_time *dt) ds1343_read_time() 393 static int ds1343_set_time(struct device *dev, struct rtc_time *dt) ds1343_set_time()
|
H A D | rtc-pm8xxx.c | 81 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 D | rtc-rx8025.c | 178 static int rx8025_get_time(struct device *dev, struct rtc_time *dt) rx8025_get_time() 216 static int rx8025_set_time(struct device *dev, struct rtc_time *dt) rx8025_set_time()
|
H A D | rtc-twl.c | 248 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 D | rtc-ab3100.c | 76 static int ab3100_rtc_read_time(struct device *dev, struct rtc_time *tm) ab3100_rtc_read_time()
|
H A D | rtc-coh901331.c | 76 static int coh901331_read_time(struct device *dev, struct rtc_time *tm) coh901331_read_time()
|
H A D | rtc-jz4740.c | 104 static int jz4740_rtc_read_time(struct device *dev, struct rtc_time *time) jz4740_rtc_read_time()
|
H A D | rtc-lpc32xx.c | 65 static int lpc32xx_rtc_read_time(struct device *dev, struct rtc_time *time) lpc32xx_rtc_read_time()
|
/linux-4.4.14/arch/powerpc/platforms/powermac/ |
H A D | pmac.h | 12 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 D | time.c | 87 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.4.14/arch/powerpc/platforms/8xx/ |
H A D | mpc8xx.h | 16 extern int mpc8xx_set_rtc_time(struct rtc_time *tm); 17 extern void mpc8xx_get_rtc_time(struct rtc_time *tm);
|
H A D | m8xx_setup.c | 167 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.4.14/arch/m68k/sun3x/ |
H A D | time.h | 4 extern int sun3x_hwclk(int set, struct rtc_time *t);
|
H A D | time.c | 39 int sun3x_hwclk(int set, struct rtc_time *t) sun3x_hwclk()
|
/linux-4.4.14/include/linux/ |
H A D | rtc.h | 5 * 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 time64_t rtc_tm_sub(struct rtc_time *lhs, struct rtc_time *rhs) rtc_tm_sub() 38 static inline void rtc_time_to_tm(unsigned long time, struct rtc_time *tm) rtc_time_to_tm() 46 static inline int rtc_tm_to_time(struct rtc_time *tm, unsigned long *time) rtc_tm_to_time() 83 int (*read_time)(struct device *, struct rtc_time *); 84 int (*set_time)(struct device *, struct rtc_time *); 169 extern int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm); 170 extern int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm);
|
/linux-4.4.14/arch/m68k/include/asm/ |
H A D | machdep.h | 10 struct rtc_time; 20 extern int (*mach_hwclk)(int, struct rtc_time*);
|
H A D | rtc.h | 31 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.4.14/arch/ia64/sn/kernel/sn2/ |
H A D | timer.c | 46 unsigned long start = rtc_time(); ia64_sn_udelay() 50 while (time_before((unsigned long)rtc_time(), end)) ia64_sn_udelay()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | rtc.h | 45 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 D | time.h | 28 struct rtc_time; 29 extern void to_tm(int tim, struct rtc_time * tm); 30 extern void GregorianDay(struct rtc_time *tm);
|
H A D | rtas.h | 360 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 D | machdep.h | 28 struct rtc_time; 121 int (*set_rtc_time)(struct rtc_time *); 122 void (*get_rtc_time)(struct rtc_time *);
|
H A D | smu.h | 469 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.4.14/arch/m32r/include/asm/ |
H A D | rtc.h | 46 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.4.14/arch/m68k/mvme16x/ |
H A D | rtc.c | 17 #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 D | config.c | 49 extern int mvme16x_hwclk (int, struct rtc_time *); 398 int mvme16x_hwclk(int op, struct rtc_time *t) mvme16x_hwclk()
|
/linux-4.4.14/drivers/char/ |
H A D | ds1302.c | 119 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 D | efirtc.c | 102 convert_to_efi_time(struct rtc_time *wtime, efi_time_t *eft) convert_to_efi_time() 117 convert_from_efi_time(efi_time_t *eft, struct rtc_time *wtime) convert_from_efi_time() 154 struct rtc_time wtime; efi_rtc_ioctl() 189 sizeof (struct rtc_time)) ? - EFAULT : 0; efi_rtc_ioctl() 195 if (copy_from_user(&wtime, (struct rtc_time __user *)arg, efi_rtc_ioctl() 196 sizeof(struct rtc_time)) ) efi_rtc_ioctl() 216 || copy_from_user(&wtime, &ewp->time, sizeof(struct rtc_time)) ) efi_rtc_ioctl() 252 sizeof(struct rtc_time)) ? -EFAULT : 0; efi_rtc_ioctl()
|
H A D | rtc.c | 147 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 D | mmtimer.c | 62 #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 D | genrtc.c | 269 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.4.14/include/uapi/linux/ |
H A D | rtc.h | 5 * 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.4.14/arch/powerpc/kernel/ |
H A D | rtas-rtc.c | 47 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()
|
/linux-4.4.14/arch/parisc/include/asm/ |
H A D | rtc.h | 47 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.4.14/arch/ia64/include/asm/sn/ |
H A D | clksupport.h | 26 #define rtc_time() (*RTC_COUNTER_ADDR) macro
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
H A D | opal-rtc.c | 25 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.4.14/arch/m68k/bvme6000/ |
H A D | rtc.c | 18 #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 D | config.c | 44 extern int bvme6000_hwclk (int, struct rtc_time *); 269 int bvme6000_hwclk(int op, struct rtc_time *t) bvme6000_hwclk()
|
/linux-4.4.14/arch/alpha/kernel/ |
H A D | rtc.c | 30 * 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.4.14/arch/powerpc/platforms/chrp/ |
H A D | time.c | 85 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.4.14/arch/m68k/68000/ |
H A D | m68328.c | 30 int m68328_hwclk(int set, struct rtc_time *t);
|
H A D | m68EZ328.c | 29 int m68328_hwclk(int set, struct rtc_time *t);
|
H A D | timers.c | 124 int m68328_hwclk(int set, struct rtc_time *t) m68328_hwclk()
|
H A D | m68VZ328.c | 37 int m68328_hwclk(int set, struct rtc_time *t);
|
/linux-4.4.14/arch/powerpc/platforms/ps3/ |
H A D | time.c | 32 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 D | platform.h | 61 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.4.14/arch/sh/kernel/ |
H A D | time.c | 53 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.4.14/drivers/input/misc/ |
H A D | hp_sdc_rtc.c | 84 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.4.14/arch/powerpc/platforms/maple/ |
H A D | time.c | 57 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.4.14/arch/m68k/mvme147/ |
H A D | config.c | 43 extern int mvme147_hwclk (int, struct rtc_time *); 151 int mvme147_hwclk(int op, struct rtc_time *t) mvme147_hwclk()
|
/linux-4.4.14/include/asm-generic/ |
H A D | rtc.h | 48 static inline unsigned int __get_rtc_time(struct rtc_time *time) __get_rtc_time() 114 * and how they are defined in a struct rtc_time; __get_rtc_time() 129 static inline int __set_rtc_time(struct rtc_time *time) __set_rtc_time() 232 struct rtc_time h; get_rtc_ss()
|
/linux-4.4.14/arch/m68k/sun3/ |
H A D | intersil.c | 34 int sun3_hwclk(int set, struct rtc_time *t) sun3_hwclk()
|
H A D | config.c | 44 extern int sun3_hwclk(int set, struct rtc_time *t);
|
/linux-4.4.14/arch/m68k/apollo/ |
H A D | config.c | 33 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.4.14/arch/m68k/kernel/ |
H A D | time.c | 75 struct rtc_time time; read_persistent_clock()
|
/linux-4.4.14/arch/alpha/include/asm/ |
H A D | machvec.h | 24 struct rtc_time;
|
/linux-4.4.14/drivers/base/power/ |
H A D | trace.c | 84 static struct rtc_time time = { set_magic_time() 112 struct rtc_time time; read_magic_time()
|
/linux-4.4.14/arch/m68k/q40/ |
H A D | config.c | 44 static int q40_hwclk(int, struct rtc_time *); 228 static int q40_hwclk(int op, struct rtc_time *t) q40_hwclk()
|
/linux-4.4.14/arch/m68k/atari/ |
H A D | time.c | 107 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.4.14/arch/x86/kernel/ |
H A D | rtc.c | 44 struct rtc_time tm; mach_set_rtc_mmss()
|
/linux-4.4.14/arch/x86/platform/intel-mid/ |
H A D | intel_mid_vrtc.c | 92 struct rtc_time tm; vrtc_set_mmss()
|
/linux-4.4.14/arch/mips/sibyte/swarm/ |
H A D | rtc_xicor1241.c | 114 struct rtc_time tm; xicor_set_time()
|
/linux-4.4.14/arch/mn10300/kernel/ |
H A D | rtc.c | 28 struct rtc_time tm; read_persistent_clock()
|
/linux-4.4.14/arch/m68k/hp300/ |
H A D | config.c | 202 static int hp300_hwclk(int op, struct rtc_time *t) hp300_hwclk()
|