/drivers/staging/media/lirc/ |
H A D | lirc_serial.c | 484 unsigned long target, start, now; local 492 now = start; 502 while ((now - start) < length) { 505 rdtscl(now); 506 } while ((now - start) < target); 510 rdtscl(now); 514 rdtscl(now); on(); 519 rdtscl(now); 520 return ((now - start) - length) / conv_us_to_clocks; 678 * We now us [all...] |
/drivers/staging/ozwpan/ |
H A D | ozproto.c | 709 unsigned long now = jiffies; local 717 t = ((now / pd->pulse_period_j) + 1) * pd->pulse_period_j; 719 t = now + 1;
|
H A D | ozhcd.c | 442 * complete it now. 994 unsigned long now = jiffies; local 1003 ep->credit += (now - ep->last_jiffies); 1007 ep->last_jiffies = now; 1048 ep->last_jiffies = now; 1055 ep->credit += (now - ep->last_jiffies); 1058 ep->last_jiffies = now; 1128 if (time_after(now, urbl->submit_jiffies+HZ/2)) { 1130 now, urbl->urb); 1131 urbl->submit_jiffies = now; [all...] |
/drivers/usb/host/ |
H A D | ehci-sched.c | 523 ktime_t now = ktime_get_real(); local 524 s64 delay = ktime_us_delta(safe, now); 707 * FIXME kill the now-dysfunctional queued urbs 1260 * the HC caches it too. avoid that issue for now. 1414 u32 now, next, start, period, span; local 1432 now = ehci_read_frame_index(ehci) & (mod - 1); 1448 next = now + ehci->i_thresh; 1450 next = now; 1462 if (start - now >= mod) { 1464 urb, start - now 2478 unsigned now; local [all...] |
H A D | oxu210hp-hcd.c | 1658 /* The async qh for the qtds being reclaimed are now unlinked from the HC */ 1714 /* stop async schedule right now? */ 2259 * When running, scan from last scan point up to "now" 2332 unsigned now; local 2337 now = readl(&oxu->regs->frame_index) % mod; 2338 if (now_uframe == now) 2342 clock = now; 2428 /* something else might have unlinked the qh by now */ 3023 /* endpoints can be iso streams. for now, we don't 3109 /* no hub change reports (bit 0) for now (powe [all...] |
/drivers/ata/ |
H A D | libahci.c | 1253 unsigned long now, msecs; local 1268 now = jiffies; 1269 if (time_after(deadline, now)) 1270 msecs = jiffies_to_msecs(deadline - now);
|
H A D | libata-eh.c | 1321 /* From now till the next successful probe, ering is used to 2562 unsigned long deadline, now; local 2580 now = jiffies; 2581 WARN_ON(time_after(ehc->last_reset, now)); 2584 if (time_before(now, deadline)) 2585 schedule_timeout_uninterruptible(deadline - now); 2899 now = jiffies; 2900 if (time_before(now, deadline)) { 2901 unsigned long delta = deadline - now; 3501 u64 now local 3714 unsigned long now; local [all...] |
H A D | libata-scsi.c | 165 unsigned long flags, now; local 183 now = jiffies; 186 time_after(dev->unpark_deadline, now)) 187 msecs = jiffies_to_msecs(dev->unpark_deadline - now); 866 {0x80, ABORTED_COMMAND, 0x47, 0x00}, // Busy, fake parity for now 868 {0x08, ABORTED_COMMAND, 0x47, 0x00}, // Timed out in xfer, fake parity for now 2260 * We can turn this into a real blacklist if it's needed, for now just 3049 /* for now we only support WRITE SAME with the unmap bit set */
|
/drivers/block/drbd/ |
H A D | drbd_nl.c | 176 * write out any unsynced meta data changes now */ 332 * but now suddenly could establish a connection */ 832 int now, new, local, peer; local 834 now = queue_max_hw_sectors(mdev->rq_queue) << 9; 858 if (mdev->state.role == R_PRIMARY && new < now) 859 dev_err(DEV, "ASSERT FAILED new < now; (%d < %d)\n", new, now); 861 if (new != now) 883 * if configured now, clears CONFIG_PENDING. 946 /* It may just now hav [all...] |
H A D | drbd_main.c | 441 * But this is easier for now. */ 1181 unsigned long now = jiffies; local 1185 mdev->rs_start = now; 1193 mdev->rs_mark_time[i] = now; 1398 * the sync uuid now. Need to do that before any drbd_send_state, or 1565 dev_warn(DEV, "Notified peer that I'm now diskless.\n"); 1644 * if now a re-connect request comes in, conn state goes C_UNCONNECTED, 3660 /* timer may be rearmed by drbd_md_mark_dirty() now. */
|
H A D | drbd_receiver.c | 225 * @retry: whether to retry, if not enough pages are available right now 1172 * R_PRIMARY crashes now. 1817 * there must be none now. */ 2049 unsigned long now = jiffies; local 2057 mdev->rs_mark_time[i] = now; 2081 * for application writes for the same time. For now, just throttle 2944 /* just store the peer's disk size for now. 3899 * for now, they are expected to be zero, but ignored.
|
/drivers/block/ |
H A D | nvme.c | 1225 unsigned long now = jiffies; local 1233 if (!time_after(now, info[cmdid].timeout))
|
/drivers/dma/ |
H A D | imx-dma.c | 228 unsigned long now; local 230 now = min(d->len, sg->length); 232 d->len -= now; 241 imx_dmav1_writel(imxdma, now, DMA_CNTR(imxdmac->channel)); 249 return now;
|
/drivers/net/ethernet/chelsio/cxgb/ |
H A D | sge.c | 414 ktime_t now = get_clock(); local 418 delta_time_ns = ktime_to_ns(ktime_sub(now, s->last_updated)); 432 s->last_updated = now; 899 /* Clear the F_FL_EXHAUSTED interrupts for now */
|
/drivers/net/irda/ |
H A D | au1k_ir.c | 167 struct timeval now; member in struct:au1k_private
|
H A D | nsc-ircc.h | 267 struct timeval now; member in struct:nsc_ircc_cb
|
H A D | via-ircc.h | 111 struct timeval now; member in struct:via_ircc_cb
|
/drivers/net/phy/ |
H A D | dp83640.c | 517 s64 now, diff; local 592 now = phy2txts(&event_ts); 604 diff = now - (s64) phy2txts(&event_ts);
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | main.h | 351 uint now; /* # elapsed seconds */ member in struct:brcms_hardware
|
/drivers/net/wireless/iwlwifi/ |
H A D | iwl-trans-pcie.c | 244 * exit now */ 889 /* HW should be ready by now, check again. */ 1589 * log the information and return for now. 1698 unsigned long now = jiffies; local 1708 now + msecs_to_jiffies(IWL_FLUSH_WAIT_MS)))
|
/drivers/net/wireless/ |
H A D | mac80211_hwsim.c | 378 u64 now = tv.tv_sec * USEC_PER_SEC + tv.tv_usec; local 379 return cpu_to_le64(now + data->tsf_offset); 394 u64 now = tv.tv_sec * USEC_PER_SEC + tv.tv_usec; local 395 data->tsf_offset = tsf - now; 1522 /* now send back TX status */
|
/drivers/net/xen-netback/ |
H A D | netback.c | 460 *head = 0; /* There must be something in this buffer now. */ 1188 unsigned long now = jiffies; local 1198 if (time_after_eq(now, next_credit)) { 1199 vif->credit_timeout.expires = now; 1203 /* Still too big to send right now? Set a callback. */
|
/drivers/s390/block/ |
H A D | dasd.c | 901 /* got the string, now strip linefeed. */ 1596 unsigned long long now; local 1616 now = get_clock(); 1672 cqr->stopclk = now; 2225 * Whoa nelly now it gets really hairy. For some functions (e.g. steal lock 2440 * now, we have to try later. If this request
|
/drivers/scsi/ |
H A D | wd7000.c | 19 * This driver now supports both of the two standard configurations (per 96 * two years now. FD has production rights to the 7000-EX, and are 109 * We cannot detect IRQ, DMA and I/O base address for now, so we have to 113 * so now you can enter WD-7000 definition as kernel arguments, 118 * PS: If card BIOS ROM is disabled, function wd7000_detect now will recognize 142 * WD7000 driver now work on kernels >= 2.1.x 165 * Removed now obsolete wd7000.h 217 * In this version, sg_tablesize now defaults to WD7000_SG, and will 426 * - For now, a pool of SCBs are kept in global storage by this driver, 619 * Note: You can now se 813 unsigned long now; local [all...] |
/drivers/net/ethernet/emulex/benet/ |
H A D | be_main.c | 1035 ulong now = jiffies; local 1036 ulong delta = now - stats->rx_jiffies; 1051 if (time_before(now, stats->rx_jiffies)) { 1052 stats->rx_jiffies = now; 1067 stats->rx_jiffies = now; 1167 /* Complete packet has now been moved to data */
|