Lines Matching refs:tv_sec
213 res->tv_sec = (time_t)(tenms / 100) + days * 86400; in hp_sdc_rtc_read_rt()
230 res->tv_sec = (time_t)(tenms / 100); in hp_sdc_rtc_read_fhs()
247 res->tv_sec = (time_t)(tenms / 100); in hp_sdc_rtc_read_mt()
264 res->tv_sec = (time_t)(tenms / 100); in hp_sdc_rtc_read_dt()
281 res->tv_sec = (time_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 tv.tv_sec, (int)tv.tv_usec/1000); in hp_sdc_rtc_proc_show()
463 tv.tv_sec, (int)tv.tv_usec/1000); in hp_sdc_rtc_proc_show()
470 tv.tv_sec, (int)tv.tv_usec/1000); in hp_sdc_rtc_proc_show()
477 tv.tv_sec, (int)tv.tv_usec/1000); in hp_sdc_rtc_proc_show()
484 tv.tv_sec, (int)tv.tv_usec/1000); 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()