/drivers/lguest/ |
H A D | hypercalls.c | 280 * NOTIFY to the Launcher, we want to return now. Otherwise we do 307 struct timespec now; local 308 ktime_get_real_ts(&now); 310 &now, sizeof(struct timespec)))
|
/drivers/rtc/ |
H A D | rtc-ps3.c | 49 unsigned long now; local 51 rtc_tm_to_time(tm, &now); 52 ps3_os_area_set_rtc_diff(now - read_rtc());
|
H A D | rtc-sysfs.c | 160 unsigned long now, alarm; local 172 rtc_tm_to_time(&alm.time, &now); 181 alarm += now; 183 if (alarm > now) { 201 alarm = now + 300;
|
H A D | rtc-88pm860x.c | 85 static void rtc_next_alarm_time(struct rtc_time *next, struct rtc_time *now, argument 91 next->tm_year = now->tm_year; 92 next->tm_mon = now->tm_mon; 93 next->tm_mday = now->tm_mday; 98 rtc_tm_to_time(now, &now_time);
|
H A D | rtc-at32ap700x.c | 73 unsigned long now; local 75 now = rtc_readl(rtc, VAL); 76 rtc_time_to_tm(now, tm); 84 unsigned long now; local 87 ret = rtc_tm_to_time(tm, &now); 89 rtc_writel(rtc, VAL, now);
|
H A D | rtc-dev.c | 305 unsigned long now, then; local 310 rtc_tm_to_time(&tm, &now); 321 if (then < now) { 322 rtc_time_to_tm(now + 24 * 60 * 60, &tm);
|
H A D | rtc-ds1374.c | 174 u32 now, cur_alarm; local 191 ret = ds1374_read_rtc(client, &now, DS1374_REG_TOD0, 4); 199 rtc_time_to_tm(now + cur_alarm, &alarm->time); 212 struct rtc_time now; local 220 ret = ds1374_read_time(dev, &now); 225 rtc_tm_to_time(&now, &itime);
|
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_marker.c | 77 struct timespec now; local 81 getrawmonotonic(&now); 85 queue->lag_time = now; 94 queue->lag = timespec_sub(now, marker->submitted); 95 queue->lag_time = now; 122 struct timespec now; local 125 getrawmonotonic(&now); 127 timespec_sub(now, queue->lag_time)); 128 queue->lag_time = now;
|
/drivers/ide/ |
H A D | ide-park.c | 93 unsigned long now; local 100 now = jiffies; 102 time_after(drive->sleep, now)) 103 msecs = jiffies_to_msecs(drive->sleep - now);
|
H A D | ide-eh.c | 366 unsigned long now; local 376 now = jiffies; 377 if (time_before_eq(timeout, now)) 381 timeout = schedule_timeout_uninterruptible(timeout - now);
|
/drivers/clk/ |
H A D | clk-divider.c | 61 unsigned long parent_rate, best = 0, now, maxdiv; local 88 now = parent_rate / i; 89 if (now <= rate && now > best) { 91 best = now;
|
/drivers/media/rc/ |
H A D | ir-raw.c | 115 ktime_t now; local 124 now = ktime_get(); 125 delta = ktime_to_ns(ktime_sub(now, dev->raw->last_event)); 148 dev->raw->last_event = now;
|
/drivers/base/power/ |
H A D | runtime.c | 32 unsigned long now = jiffies; local 35 delta = now - dev->power.accounting_timestamp; 37 dev->power.accounting_timestamp = now; 448 /* Maybe the parent is now able to suspend. */ 524 * rather than cancelling it now only to restart it again in the near 1208 /* Should runtime suspend be prevented now? */ 1218 /* Runtime suspend should be allowed now. */ 1225 /* Maybe we can autosuspend now. */
|
/drivers/devfreq/ |
H A D | devfreq.c | 264 unsigned long next_jiffies = ULONG_MAX, now = jiffies; local 268 jiffies_passed = now - last_polled_at; 269 last_polled_at = now;
|
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_display.c | 559 struct timeval now; local 561 do_gettimeofday(&now); 563 e->event.tv_sec = now.tv_sec; 564 e->event.tv_usec = now.tv_usec;
|
/drivers/gpu/drm/via/ |
H A D | via_irq.c | 92 static unsigned time_diff(struct timeval *now, struct timeval *then) argument 94 return (now->tv_usec >= then->tv_usec) ? 95 now->tv_usec - then->tv_usec : 96 1000000 - (then->tv_usec - now->tv_usec); 353 struct timeval now; local 387 do_gettimeofday(&now); 388 irqwait->reply.tval_sec = now.tv_sec; 389 irqwait->reply.tval_usec = now.tv_usec;
|
/drivers/net/can/softing/ |
H A D | softing_fw.c | 51 /* read return-value now */ 399 ktime_t now, real_offset; local 403 now = ktime_get(); 404 real_offset = ktime_sub(ktime_get_real(), now); 412 while (unlikely(ktime_to_ns(tmp) > ktime_to_ns(now))) {
|
/drivers/net/ppp/ |
H A D | pppolac.c | 76 __u32 now = jiffies; local 159 meta->timestamp = now; 170 now - meta->timestamp < HZ &&
|
H A D | pppopns.c | 75 __u32 now = jiffies; local 140 meta->timestamp = now; 151 now - meta->timestamp < HZ &&
|
/drivers/net/wimax/i2400m/ |
H A D | i2400m-usb.h | 131 unsigned long now; local 133 now = jiffies; 134 if (now - edc->timestart > timeframe) { 136 edc->timestart = now; 139 edc->timestart = now;
|
/drivers/pnp/pnpbios/ |
H A D | core.c | 155 static struct pnp_docking_station_info now; local 170 status = pnp_bios_dock_station_info(&now); 189 if (pnp_dock_event(d, &now) == 0) { 368 /* eventually we will want to use PNPMODE_STATIC here but for now
|
/drivers/power/ |
H A D | charger-manager.c | 630 unsigned long time, now; local 641 rtc_tm_to_time(&tmp.time, &now); 644 time = now + add; 651 if (rtc_wkalarm_save_time < now + CM_RTC_SMALL) 652 time = now + CM_RTC_SMALL; 661 time - now); 708 unsigned long now; local 712 rtc_tm_to_time(&tmp, &now); 715 now + CM_RTC_SMALL >= rtc_wkalarm_save_time) 985 unsigned long now; local [all...] |
/drivers/ptp/ |
H A D | ptp_ixp46x.c | 162 s64 now; local 169 now = ixp_systime_read(regs); 170 now += delta; 171 ixp_systime_write(regs, now);
|
/drivers/s390/scsi/ |
H A D | zfcp_qdio.c | 68 unsigned long long now, span; local 71 now = get_clock_monotonic(); 72 span = (now - qdio->req_q_time) >> 12; 75 qdio->req_q_time = now; 89 /* cleanup all SBALs being program-owned now */
|
/drivers/staging/android/ |
H A D | alarm-dev.c | 312 ktime_t now) 311 devalarm_alarmhandler(struct alarm *alrm, ktime_t now) argument
|