Searched defs:now (Results 51 - 75 of 108) sorted by relevance

12345

/drivers/net/wan/
H A Dsdla.c252 unsigned long start, done, now; local
255 start = now = jiffies;
264 if (jiffies != now)
267 now = jiffies;
654 * now for the Linux driver
1280 NOTE: This is rather a useless action right now, as the
1332 /* for now, you can't change the MTU! */
/drivers/rtc/
H A Drtc-davinci.c432 unsigned long now, then; local
435 rtc_tm_to_time(&tm, &now);
442 if (then < now) {
443 rtc_time_to_tm(now + 24 * 60 * 60, &tm);
H A Drtc-ds1305.c338 unsigned long now, later; local
352 status = rtc_tm_to_time(&tm, &now);
357 if (later <= now)
359 if ((later - now) > 24 * 60 * 60)
466 /* Disable the IRQ, and clear its status ... for now, we "know"
H A Drtc-mxc.c126 /* time is within a day now */
130 /* time is within an hour now */
157 unsigned long now, time; local
162 now = get_alarm_or_time(dev, MXC_RTC_TIME);
163 rtc_time_to_tm(now, &now_tm);
/drivers/scsi/aacraid/
H A Dcommsup.c373 hw_fib->header.ReceiverFibAddress = hw_fib->header.SenderFibAddress; /* Let the adapter now where to find its data */
554 * If the caller wanted us to wait for response wait now.
1853 struct timeval now; local
1863 do_gettimeofday(&now);
1866 if (((1000000 - (1000000 / HZ)) > now.tv_usec)
1867 && (now.tv_usec > (1000000 / HZ)))
1868 difference = (((1000000 - now.tv_usec) * HZ)
1880 if (now.tv_usec > 500000)
1881 ++now.tv_sec;
1883 *info = cpu_to_le32(now
[all...]
/drivers/staging/comedi/drivers/
H A Dserial2002.c178 struct timeval start, now; local
191 do_gettimeofday(&now);
193 (1000000 * (now.tv_sec - start.tv_sec) +
194 now.tv_usec - start.tv_usec);
H A Djr3_pci.c734 unsigned long now; local
740 now = jiffies;
745 if (now > subdevpriv->next_time_min) {
/drivers/staging/media/lirc/
H A Dlirc_parallel.c146 struct timeval tv, now; local
158 do_gettimeofday(&now);
159 } while (count < 1000 && (now.tv_sec < tv.tv_sec
160 || (now.tv_sec == tv.tv_sec
161 && now.tv_usec < tv.tv_usec)));
163 timeelapsed = ((now.tv_sec + 1 - tv.tv_sec)*1000000
164 + (now.tv_usec - tv.tv_usec));
/drivers/staging/olpc_dcon/
H A Dolpc_dcon.c205 /* For now, this will be really stupid - we need to address how
254 struct timespec delta_t, now; local
256 getnstimeofday(&now);
257 delta_t = timespec_sub(now, dcon->load_time);
329 * however, we can't do that right now with fb_blank
332 * For now, we just hope..
/drivers/usb/gadget/
H A Df_audio_source.c328 ktime_t now; local
340 now = ktime_get();
341 msecs = ktime_to_ns(now) - ktime_to_ns(audio->start_time);
/drivers/acpi/apei/
H A Dghes.c555 unsigned long long now; local
571 now = sched_clock();
572 if (now - cache->time_in < GHES_ESTATUS_IN_CACHE_MAX_NSEC)
633 unsigned long long now, duration, period, max_period = 0; local
640 now = sched_clock();
648 duration = now - cache->time_in;
/drivers/block/drbd/
H A Ddrbd_actlog.c223 * current->bio_tail list now.
316 * For now, we must not write the transaction,
443 /* lock out all other meta data io for now,
734 unsigned long now = jiffies; local
737 if (time_after_eq(now, last + DRBD_SYNC_MARK_STEP)) {
741 mdev->rs_mark_time[next] = now;
803 /* just wake_up unconditional now, various lc_chaged(),
1254 /* just wake_up unconditional now, various lc_chaged(),
H A Ddrbd_bitmap.c46 * We want to support >= peta byte of backend storage, while for now still using
58 * 64bit long words, but I rather stay with unsigned long for now.
483 /* If mask != 0, we are not exactly aligned, so bm now points
519 /* If mask != 0, we are not exactly aligned, so bm now points
969 /* FIXME alloc_page is good enough for now, but actually needs
1012 unsigned long now; local
1029 now = jiffies;
1064 count, jiffies - now);
1072 now = jiffies;
1078 jiffies - now);
[all...]
H A Ddrbd_worker.c273 /* and now the last, possibly only partially used page */
360 /* GFP_TRY, because if there is no memory available right now, this may
602 /* now, is it actually dirty, after all?
774 /* In case this is not possible now, most probably because
777 * is not finished by now). Retry in 100ms. */
1349 * _drbd_pause_after() - Pause resync on all devices that may not resync now
1374 * _drbd_resume_next() - Resume resync on all devices that may resync now
1548 unsigned long now = jiffies; local
1557 mdev->rs_start = now;
1560 mdev->rs_mark_time[i] = now;
[all...]
/drivers/char/
H A Drandom.c43 * (now, with legal B.S. out of the way.....)
676 * delta is now minimum absolute delta.
969 ktime_t now; local
976 now = ktime_get_real();
977 mix_pool_bytes(r, &now, sizeof(now));
/drivers/gpu/drm/exynos/
H A Dexynos_mixer.c738 struct timeval now; local
751 do_gettimeofday(&now);
753 e->event.tv_sec = now.tv_sec;
754 e->event.tv_usec = now.tv_usec;
/drivers/gpu/drm/i915/
H A Di915_dma.c395 * emit. For now, do it in both places:
1493 unsigned long now = jiffies_to_msecs(jiffies), diff1; local
1496 diff1 = now - dev_priv->last_time1;
1534 dev_priv->last_time1 = now;
1699 struct timespec now, diff1; local
1707 getrawmonotonic(&now);
1708 diff1 = timespec_sub(now, dev_priv->last_time2);
1725 dev_priv->last_time2 = now;
1918 * Tells the intel_ips driver that the i915 driver is now loaded, if
2182 /* Cancel the retire work handler, which should be idle now
[all...]
/drivers/gpu/drm/radeon/
H A Dradeon_display.c275 struct timeval now; local
333 e->event.sequence = drm_vblank_count_and_time(rdev->ddev, crtc_id, &now);
334 e->event.tv_sec = now.tv_sec;
335 e->event.tv_usec = now.tv_usec;
1410 /* WARNING: Right now this can't happen but
/drivers/input/joystick/
H A Danalog.c233 unsigned int time[4], start, loop, now, loopout, timeout; local
243 GET_TIME(now);
246 start = now;
251 loop = now;
256 GET_TIME(now);
259 if ((last ^ this) && (DELTA(loop, now) < loopout)) {
261 time[i] = now;
265 } while (this && (i < 4) && (DELTA(start, now) < timeout));
/drivers/net/ethernet/freescale/
H A Dgianfar_ptp.c307 s64 now; local
313 now = tmr_cnt_read(etsects);
314 now += delta;
315 tmr_cnt_write(etsects, now);
441 struct timespec now; local
494 getnstimeofday(&now);
495 ptp_gianfar_settime(&etsects->caps, &now);
/drivers/net/irda/
H A Dali-ircc.h213 struct timeval now; member in struct:ali_ircc_cb
H A Dstir4200.c654 struct timeval now; local
659 do_gettimeofday(&now);
660 if (now.tv_sec - stir->rx_time.tv_sec > 0)
662 us -= now.tv_usec - stir->rx_time.tv_usec;
/drivers/net/wireless/b43/
H A Dlo.c810 * Calibrate it now. */
838 /* Suspend the MAC now to avoid continuous suspend/enable
938 unsigned long now; local
946 now = jiffies;
951 expire = now - B43_LO_PWRVEC_EXPIRE;
963 expire = now - B43_LO_CALIB_EXPIRE;
/drivers/platform/x86/
H A Dideapad-laptop.c205 seq_printf(s, "Backlight now:\t%lu\n", value);
596 unsigned long now; local
598 if (read_ec_data(ideapad_handle, VPCCMD_R_BL, &now))
600 return now;
624 unsigned long max, now, power; local
628 if (read_ec_data(ideapad_handle, VPCCMD_R_BL, &now))
647 blightdev->props.brightness = now;
675 unsigned long now; local
679 read_ec_data(ideapad_handle, VPCCMD_R_BL, &now);
/drivers/ptp/
H A Dptp_pch.c435 s64 now; local
441 now = pch_systime_read(regs);
442 now += delta;
443 pch_systime_write(regs, now);

Completed in 1336 milliseconds

12345