Searched refs:wtime (Results 1 - 8 of 8) sorted by relevance

/drivers/rtc/
H A Drtc-efi.c66 convert_to_efi_time(struct rtc_time *wtime, efi_time_t *eft) argument
68 eft->year = wtime->tm_year + 1900;
69 eft->month = wtime->tm_mon + 1;
70 eft->day = wtime->tm_mday;
71 eft->hour = wtime->tm_hour;
72 eft->minute = wtime->tm_min;
73 eft->second = wtime->tm_sec;
75 eft->daylight = wtime->tm_isdst ? EFI_ISDST : 0;
80 convert_from_efi_time(efi_time_t *eft, struct rtc_time *wtime) argument
82 memset(wtime,
[all...]
/drivers/char/
H A Defirtc.c102 convert_to_efi_time(struct rtc_time *wtime, efi_time_t *eft) argument
105 eft->year = wtime->tm_year + 1900;
106 eft->month = wtime->tm_mon + 1;
107 eft->day = wtime->tm_mday;
108 eft->hour = wtime->tm_hour;
109 eft->minute = wtime->tm_min;
110 eft->second = wtime->tm_sec;
112 eft->daylight = wtime->tm_isdst ? EFI_ISDST: 0;
117 convert_from_efi_time(efi_time_t *eft, struct rtc_time *wtime) argument
119 memset(wtime,
154 struct rtc_time wtime; local
[all...]
H A Dgenrtc.c268 struct rtc_time wtime; local
296 memset(&wtime, 0, sizeof(wtime));
297 get_rtc_time(&wtime);
299 return copy_to_user(argp, &wtime, sizeof(wtime)) ? -EFAULT : 0;
309 if (copy_from_user(&wtime, argp, sizeof(wtime)))
312 year = wtime.tm_year + 1900;
316 if ((wtime
[all...]
H A Drtc.c400 struct rtc_time wtime; local
487 memset(&wtime, 0, sizeof(struct rtc_time));
488 get_rtc_alm_time(&wtime);
542 memset(&wtime, 0, sizeof(struct rtc_time));
543 rtc_get_rtc_time(&wtime);
715 &wtime, sizeof wtime) ? -EFAULT : 0;
/drivers/input/misc/
H A Dhp_sdc_rtc.c524 struct rtc_time wtime;
547 if (hp_sdc_rtc_read_bbrtc(&wtime)) return -EFAULT;
549 wtime.tm_hour = ttime.tv_sec / 3600; ttime.tv_sec %= 3600;
550 wtime.tm_min = ttime.tv_sec / 60; ttime.tv_sec %= 60;
551 wtime.tm_sec = ttime.tv_sec;
600 if (hp_sdc_rtc_read_bbrtc(&wtime)) return -EFAULT;
660 return copy_to_user((void *)arg, &wtime, sizeof wtime) ? -EFAULT : 0;
/drivers/scsi/qla4xxx/
H A Dql4_os.c2647 unsigned long wtime = jiffies + (WAIT_CMD_TOV * HZ); local
2652 while (!time_after_eq(jiffies, wtime)) {
4471 unsigned long wtime; local
4474 wtime = jiffies + (HZ * IP_CONFIG_TOV);
4507 } while (time_after(wtime, jiffies));
4771 unsigned long wtime; local
4802 wtime = jiffies + (HZ * tmo);
4809 } while (time_after(wtime, jiffies));
/drivers/scsi/qla2xxx/
H A Dqla_init.c1840 unsigned long wtime, mtime, cs84xx_time; local
1863 wtime = jiffies + (wait_time * HZ);
1896 wtime += cs84xx_time;
1901 wtime);
1936 if (time_after_eq(jiffies, wtime))
H A Dqla_nx.c3661 unsigned long wtime; local
3704 wtime = jiffies + poll_time;
3711 else if (time_after_eq(jiffies, wtime)) {

Completed in 319 milliseconds