Lines Matching refs:tv_sec
213 res->tv_sec = (tenms / 100) + (time64_t)days * 86400; in hp_sdc_rtc_read_rt()
230 res->tv_sec = (time64_t)(tenms / 100); in hp_sdc_rtc_read_fhs()
247 res->tv_sec = (time64_t)(tenms / 100); in hp_sdc_rtc_read_mt()
264 res->tv_sec = (time64_t)(tenms / 100); in hp_sdc_rtc_read_dt()
281 res->tv_sec = (time64_t)(tenms / 100); in hp_sdc_rtc_read_ct()
303 if (0xffff < setto->tv_sec / 86400) return -1;
304 days = setto->tv_sec / 86400;
306 days += ((setto->tv_sec % 86400) + setto->tv_usec / 1000000) / 86400;
309 if (0xffffff < setto->tv_sec) return -1;
310 tenms = setto->tv_sec * 100;
340 if (0xffff < setto->tv_sec) return -1;
341 tenms = setto->tv_sec * 100;
380 if (0xffffff < setto->tv_sec) return -1;
381 tenms = setto->tv_sec * 100;
456 (s64)tv.tv_sec, (long)tv.tv_nsec/1000000L); in hp_sdc_rtc_proc_show()
463 (s64)tv.tv_sec, (long)tv.tv_nsec/1000000L); in hp_sdc_rtc_proc_show()
470 (s64)tv.tv_sec, (long)tv.tv_nsec/1000000L); in hp_sdc_rtc_proc_show()
477 (s64)tv.tv_sec, (long)tv.tv_nsec/1000000L); in hp_sdc_rtc_proc_show()
484 (s64)tv.tv_sec, (long)tv.tv_nsec/1000000L); in hp_sdc_rtc_proc_show()
556 wtime.tm_hour = ttime.tv_sec / 3600; ttime.tv_sec %= 3600; in hp_sdc_rtc_ioctl()
557 wtime.tm_min = ttime.tv_sec / 60; ttime.tv_sec %= 60; in hp_sdc_rtc_ioctl()
558 wtime.tm_sec = ttime.tv_sec; in hp_sdc_rtc_ioctl()
573 ttime.tv_sec = 0; in hp_sdc_rtc_ioctl()