Searched refs:usecs (Results 1 - 200 of 240) sorted by relevance

12

/linux-4.1.27/arch/parisc/include/asm/
H A Ddelay.h12 extern void __udelay(unsigned long usecs);
13 extern void __udelay_bad(unsigned long usecs);
15 static inline void udelay(unsigned long usecs) udelay() argument
17 if (__builtin_constant_p(usecs) && (usecs) > 20000) udelay()
18 __udelay_bad(usecs); udelay()
19 __udelay(usecs); udelay()
/linux-4.1.27/arch/score/include/asm/
H A Ddelay.h17 static inline void __udelay(unsigned long usecs) __udelay() argument
23 __delay(usecs * loops_per_usec); __udelay()
26 #define udelay(usecs) __udelay(usecs)
/linux-4.1.27/arch/s390/lib/
H A Ddelay.c30 static void __udelay_disabled(unsigned long long usecs) __udelay_disabled() argument
35 end = get_tod_clock() + (usecs << 12); __udelay_disabled()
54 static void __udelay_enabled(unsigned long long usecs) __udelay_enabled() argument
58 end = get_tod_clock_fast() + (usecs << 12); __udelay_enabled()
72 * Waits for 'usecs' microseconds using the TOD clock comparator.
74 void __udelay(unsigned long long usecs) __udelay() argument
81 __udelay_disabled(usecs); __udelay()
86 __udelay_disabled(usecs); __udelay()
88 __udelay_enabled(usecs); __udelay()
93 __udelay_disabled(usecs); __udelay()
97 __udelay_enabled(usecs); __udelay()
108 void udelay_simple(unsigned long long usecs) udelay_simple() argument
112 end = get_tod_clock_fast() + (usecs << 12); udelay_simple()
/linux-4.1.27/kernel/time/
H A Dtest_udelay.c7 * Specifying usecs of 0 or negative values will run multiples tests.
36 static int udelay_test_single(struct seq_file *s, int usecs, uint32_t iters) udelay_test_single() argument
43 int allowed_error_ns = usecs * 5; udelay_test_single()
50 udelay(usecs); udelay_test_single()
58 if ((time_passed + allowed_error_ns) / 1000 < usecs) udelay_test_single()
66 seq_printf(s, "%d usecs x %d: exp=%d allowed=%d min=%d avg=%lld max=%d", udelay_test_single()
67 usecs, iters, usecs * 1000, udelay_test_single()
68 (usecs * 1000) - allowed_error_ns, min, avg, max); udelay_test_single()
78 int usecs; udelay_test_show() local
83 usecs = udelay_test_usecs; udelay_test_show()
87 if (usecs > 0 && iters > 0) { udelay_test_show()
88 return udelay_test_single(s, usecs, iters); udelay_test_show()
89 } else if (usecs == 0) { udelay_test_show()
113 int usecs; udelay_test_write() local
123 ret = sscanf(lbuf, "%d %d", &usecs, &iters); udelay_test_write()
130 udelay_test_usecs = usecs; udelay_test_write()
H A Dntp.c29 /* USER_HZ period (usecs): */
38 #define MAX_TICKADJ 500LL /* usecs */
62 /* maximum error (usecs): */
65 /* estimated error (usecs): */
H A Dtimer.c1712 * @min: Minimum time in usecs to sleep
1713 * @max: Maximum time in usecs to sleep
/linux-4.1.27/arch/alpha/include/asm/
H A Ddelay.h5 extern void udelay(unsigned long usecs);
/linux-4.1.27/include/linux/
H A Dlatencytop.h30 void __account_scheduler_latency(struct task_struct *task, int usecs, int inter);
32 account_scheduler_latency(struct task_struct *task, int usecs, int inter) account_scheduler_latency() argument
35 __account_scheduler_latency(task, usecs, inter); account_scheduler_latency()
43 account_scheduler_latency(struct task_struct *task, int usecs, int inter) account_scheduler_latency() argument
H A Dtimeriomem-rng.h14 /* measures in usecs */
H A Dhil_mlc.h71 * within arg usecs.
76 * within arg usecs, any other packet is considered an error.
H A Ddccp.h260 * @dccps_syn_rtt - RTT sample from Request/Response exchange (in usecs)
H A Dtcp.h208 u32 srtt_us; /* smoothed round trip time << 3 in usecs */
/linux-4.1.27/arch/cris/include/asm/
H A Ddelay.h18 static inline void udelay(unsigned long usecs) udelay() argument
20 __delay(usecs * loops_per_usec); udelay()
/linux-4.1.27/arch/tile/lib/
H A Ddelay.c20 void __udelay(unsigned long usecs) __udelay() argument
22 if (usecs > ULONG_MAX / 1000) { __udelay()
23 WARN_ON_ONCE(usecs > ULONG_MAX / 1000); __udelay()
24 usecs = ULONG_MAX / 1000; __udelay()
26 __ndelay(usecs * 1000); __udelay()
/linux-4.1.27/arch/sparc/include/asm/
H A Ddelay_64.h12 void udelay(unsigned long usecs);
H A Ddelay_32.h23 void __udelay(unsigned long usecs, unsigned long lpj);
/linux-4.1.27/arch/s390/include/asm/
H A Ddelay.h16 void __udelay(unsigned long long usecs);
17 void udelay_simple(unsigned long long usecs);
/linux-4.1.27/arch/mn10300/lib/
H A Ddelay.c39 void __udelay(unsigned long usecs) __udelay() argument
43 /* usecs * CLK / 1E6 */ __udelay()
44 stop = __muldiv64u(usecs, MN10300_TSCCLK, 1000000); __udelay()
/linux-4.1.27/arch/hexagon/include/asm/
H A Ddelay.h25 extern void __udelay(unsigned long usecs);
27 #define udelay(usecs) __udelay((usecs))
/linux-4.1.27/arch/alpha/lib/
H A Dudelay.c41 udelay(unsigned long usecs) udelay() argument
43 usecs *= (((unsigned long)HZ << 32) / 1000000) * LPJ; udelay()
44 __delay((long)usecs >> 32); udelay()
/linux-4.1.27/arch/sh/lib/
H A Ddelay.c44 void __udelay(unsigned long usecs) __udelay() argument
46 __const_udelay(usecs * 0x000010c6); /* 2**32 / 1000000 */ __udelay()
/linux-4.1.27/arch/blackfin/include/asm/
H A Ddelay.h39 static inline void udelay(unsigned long usecs) udelay() argument
41 __delay(__to_delay(usecs)); udelay()
H A Dbfin-global.h50 extern unsigned long usecs_to_sclk(unsigned long usecs);
/linux-4.1.27/drivers/staging/media/lirc/
H A Dlirc_parallel.h21 #define LIRC_SFH506_DELAY 0 /* delay t_phl in usecs */
H A Dlirc_sir.c182 static void safe_udelay(unsigned long usecs) safe_udelay() argument
184 while (usecs > MAX_UDELAY_US) { safe_udelay()
186 usecs -= MAX_UDELAY_US; safe_udelay()
188 udelay(usecs); safe_udelay()
H A Dlirc_parallel.c291 /* adjust value to usecs */ lirc_lirc_irq_handler()
397 /* adjust values from usecs */ lirc_write()
H A Dlirc_serial.c308 static void safe_udelay(unsigned long usecs) safe_udelay() argument
310 while (usecs > MAX_UDELAY_US) { safe_udelay()
312 usecs -= MAX_UDELAY_US; safe_udelay()
314 udelay(usecs); safe_udelay()
/linux-4.1.27/arch/arc/include/asm/
H A Ddelay.h35 * Normal Math for computing loops in "N" usecs
38 * loops per "N" usecs = ((loops_per_jiffy * HZ / 1000000) * N)
52 static inline void __udelay(unsigned long usecs) __udelay() argument
59 loops = ((u64) usecs * 4295 * HZ * loops_per_jiffy) >> 32; __udelay()
/linux-4.1.27/drivers/net/wireless/ath/
H A Ddfs_pri_detector.h27 * @pri: pulse repetition interval (PRI) in usecs
28 * @dur: duration of sequence in usecs
31 * @first_ts: time stamp of first pulse in usecs
32 * @last_ts: time stamp of last pulse in usecs
52 * @last_ts: last pulse time stamp considered for this element in usecs
57 * @window_size: window size back from newest pulse time stamp in usecs
H A Ddfs_pattern_detector.h82 * @last_pulse_ts: time stamp of last valid pulse in usecs
H A Ddfs_pattern_detector.c25 * tolerated deviation of radar time stamp in usecs on both sides
H A Ddfs_pri_detector.c31 * @ts: time stamp in usecs
/linux-4.1.27/arch/x86/um/
H A Ddelay.c50 void __udelay(unsigned long usecs) __udelay() argument
52 __const_udelay(usecs * 0x000010c7); /* 2**32 / 1000000 (rounded up) */ __udelay()
/linux-4.1.27/arch/sh/lib64/
H A Dudelay.c41 void __udelay(unsigned long usecs) __udelay() argument
43 __const_udelay(usecs * 0x000010c6); /* 2**32 / 1000000 */ __udelay()
/linux-4.1.27/arch/metag/lib/
H A Ddelay.c46 void __udelay(unsigned long usecs) __udelay() argument
48 __const_udelay(usecs * 0x000010c7); /* 2**32 / 1000000 (rounded up) */ __udelay()
/linux-4.1.27/arch/openrisc/lib/
H A Ddelay.c50 void __udelay(unsigned long usecs) __udelay() argument
52 __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ __udelay()
/linux-4.1.27/arch/avr32/lib/
H A Ddelay.c49 void __udelay(unsigned long usecs) __udelay() argument
51 __const_udelay(usecs * 0x000010c7); /* 2**32 / 1000000 (rounded up) */ __udelay()
/linux-4.1.27/arch/frv/include/asm/
H A Ddelay.h43 static inline void udelay(unsigned long usecs) udelay() argument
45 __delay(usecs * __delay_loops_MHz); udelay()
/linux-4.1.27/arch/ia64/sn/kernel/sn2/
H A Dtimer.c44 ia64_sn_udelay (unsigned long usecs) ia64_sn_udelay() argument
48 usecs * sn_rtc_cycles_per_second / 1000000; ia64_sn_udelay()
/linux-4.1.27/arch/mn10300/include/asm/
H A Ddelay.h14 extern void __udelay(unsigned long usecs);
/linux-4.1.27/arch/metag/include/asm/
H A Ddelay.h14 extern void __udelay(unsigned long usecs);
/linux-4.1.27/arch/microblaze/include/asm/
H A Ddelay.h30 * loops = (4294 * usecs * loops_per_jiffy * HZ) / 2^32.
33 * We choose a = usecs * 19 * HZ and b = loops_per_jiffy * 226
36 * Thus we need usecs * HZ <= (2^32 - 1) / 19 = 226050910 and
/linux-4.1.27/arch/mips/include/asm/
H A Ddelay.h23 /* make sure "usecs *= ..." in udelay do not overflow. */
/linux-4.1.27/include/asm-generic/
H A Ddelay.h8 extern void __udelay(unsigned long usecs);
/linux-4.1.27/arch/xtensa/include/asm/
H A Ddelay.h37 static inline void __udelay(unsigned long usecs) __udelay() argument
40 unsigned long cycles = (usecs * (ccount_freq >> 15)) >> 5; __udelay()
/linux-4.1.27/arch/nios2/lib/
H A Ddelay.c42 void __udelay(unsigned long usecs) __udelay() argument
44 __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ __udelay()
/linux-4.1.27/arch/parisc/lib/
H A Ddelay.c69 void __udelay(unsigned long usecs) __udelay() argument
71 __cr16_delay(usecs * ((unsigned long)boot_cpu_data.cpu_hz / 1000000UL)); __udelay()
/linux-4.1.27/arch/arm64/lib/
H A Ddelay.c45 void __udelay(unsigned long usecs) __udelay() argument
47 __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ __udelay()
/linux-4.1.27/arch/m32r/lib/
H A Ddelay.c116 void __udelay(unsigned long usecs) __udelay() argument
118 __const_udelay(usecs * 0x000010c7); /* 2**32 / 1000000 (rounded up) */ __udelay()
/linux-4.1.27/arch/sh/include/asm/
H A Dwatchdog.h48 * 1/32 (initial value) 41 usecs
49 * 1/64 82 usecs
50 * 1/128 164 usecs
51 * 1/256 328 usecs
52 * 1/512 656 usecs
/linux-4.1.27/tools/perf/util/
H A Ddebug.c54 u64 secs, usecs, nsecs = t; __eprintf_time() local
58 usecs = nsecs / NSECS_PER_USEC; __eprintf_time()
61 secs, usecs); __eprintf_time()
/linux-4.1.27/arch/tile/include/asm/
H A Ddelay.h22 extern void __udelay(unsigned long usecs);
/linux-4.1.27/drivers/usb/dwc2/
H A Dhcd_queue.c105 qh->usecs = NS_TO_US(usb_calc_bus_time(qh->do_split ? dwc2_qh_init()
177 dev_vdbg(hsotg->dev, "DWC OTG HCD QH - usecs = %d\n", dwc2_qh_init()
178 qh->usecs); dwc2_qh_init()
297 * Max periodic usecs is 80% x 125 usec = 100 usec dwc2_check_periodic_bandwidth()
299 max_claimed_usecs = 100 - qh->usecs; dwc2_check_periodic_bandwidth()
303 * Max periodic usecs is 90% x 1000 usec = 900 usec dwc2_check_periodic_bandwidth()
305 max_claimed_usecs = 900 - qh->usecs; dwc2_check_periodic_bandwidth()
310 "%s: already claimed usecs %d, required usecs %d\n", dwc2_check_periodic_bandwidth()
311 __func__, hsotg->periodic_usecs, qh->usecs); dwc2_check_periodic_bandwidth()
338 unsigned short utime = qh->usecs; dwc2_find_single_uframe()
357 unsigned short utime = qh->usecs; dwc2_find_multi_uframe()
528 /* Update claimed usecs per (micro)frame */ dwc2_schedule_periodic()
529 hsotg->periodic_usecs += qh->usecs; dwc2_schedule_periodic()
548 /* Update claimed usecs per (micro)frame */ dwc2_deschedule_periodic()
549 hsotg->periodic_usecs -= qh->usecs; dwc2_deschedule_periodic()
H A Dhcd.h237 * @usecs: Bandwidth in microseconds per (micro)frame
273 u16 usecs; member in struct:dwc2_qh
645 return qh->usecs; dwc2_hcd_get_ep_bandwidth()
/linux-4.1.27/arch/x86/lib/
H A Ddelay.c129 void __udelay(unsigned long usecs) __udelay() argument
131 __const_udelay(usecs * 0x000010c7); /* 2**32 / 1000000 (rounded up) */ __udelay()
/linux-4.1.27/arch/arm/lib/
H A Ddelay.c72 static void __timer_udelay(unsigned long usecs) __timer_udelay() argument
74 __timer_const_udelay(usecs * UDELAY_MULT); __timer_udelay()
/linux-4.1.27/kernel/
H A Dlatencytop.c159 * @usecs - the duration of the latency in microseconds
173 __account_scheduler_latency(struct task_struct *tsk, int usecs, int inter) __account_scheduler_latency() argument
180 if (inter && usecs > 5000) __account_scheduler_latency()
185 if (usecs <= 0) __account_scheduler_latency()
190 lat.time = usecs; __account_scheduler_latency()
191 lat.max = usecs; __account_scheduler_latency()
H A Dasync.c127 pr_debug("initcall %lli_%pF returned 0 after %lld usecs\n", async_run_entry_fn()
H A Dsysctl.c263 static int min_sched_granularity_ns = 100000; /* 100 usecs */
265 static int min_wakeup_granularity_ns; /* 0 usecs */
/linux-4.1.27/fs/ocfs2/cluster/
H A Dnetdebug.c156 " sock acquiry: %lld usecs ago\n" nst_seq_show()
157 " send start: %lld usecs ago\n" nst_seq_show()
158 " wait start: %lld usecs ago\n", nst_seq_show()
343 " timer: %lld usecs\n" sc_show_sock_container()
344 " data ready: %lld usecs\n" sc_show_sock_container()
345 " advance start: %lld usecs\n" sc_show_sock_container()
346 " advance stop: %lld usecs\n" sc_show_sock_container()
347 " func start: %lld usecs\n" sc_show_sock_container()
348 " func stop: %lld usecs\n" sc_show_sock_container()
/linux-4.1.27/drivers/scsi/be2iscsi/
H A Dbe.h88 u32 min_eqd; /* in usecs */
89 u32 max_eqd; /* in usecs */
90 u32 prev_eqd; /* in usecs */
H A Dbe_main.h1051 u16 min_eqd; /* in usecs */
1052 u16 max_eqd; /* in usecs */
1053 u16 cur_eqd; /* in usecs */
/linux-4.1.27/net/dccp/ccids/
H A Dccid3.h82 * @tx_rtt: Estimate of current round trip time in usecs
85 * @tx_t_rto: Nofeedback Timer setting in usecs
86 * @tx_t_ipi: Interpacket (send) interval (RFC 3448, 4.6) in usecs
/linux-4.1.27/sound/oss/
H A Dsys_timer.c44 1000000 (usecs per sec) / HZ (ticks per sec) -=> usecs */ tmr2ticks()
46 scale = (60 * 1000000) / (curr_tempo * curr_timebase); /* usecs per MIDI tick */ tmr2ticks()
H A Dsound_timer.c40 tmp = tmr_value * usecs_per_tmr; /* Convert to usecs */ tmr2ticks()
41 scale = (60 * 1000000) / (curr_tempo * curr_timebase); /* usecs per MIDI tick */ tmr2ticks()
H A Ddev_table.h336 unsigned int (*tmr_start)(int dev, unsigned int usecs);
/linux-4.1.27/arch/m68k/include/asm/
H A Ddelay.h80 static inline void __udelay(unsigned long usecs) __udelay() argument
82 __const_udelay(usecs); __udelay()
/linux-4.1.27/drivers/usb/host/
H A Dehci-sched.c215 ps->usecs, ps->c_usecs, ps->cs_mask); bandwidth_dbg()
223 int usecs = qh->ps.usecs; reserve_release_intr_bandwidth() local
235 usecs = -usecs; reserve_release_intr_bandwidth()
243 ehci->bandwidth[i] += usecs; reserve_release_intr_bandwidth()
359 * periodic transfer of the specified length (usecs), starting at the
387 unsigned usecs = ps->tt_usecs; tt_available() local
397 if (tt->bandwidth[frame] + usecs > 900) tt_available()
412 if (125 < usecs) { tt_available()
413 int ufs = (usecs / 125); tt_available()
420 tt_usecs[uframe] += usecs; tt_available()
554 qh, qh->ps.phase, qh->ps.usecs, qh->ps.c_usecs); qh_link_periodic()
602 ? ((qh->ps.usecs + qh->ps.c_usecs) / qh->ps.bw_period) qh_link_periodic()
603 : (qh->ps.usecs * 8); qh_link_periodic()
640 ? ((qh->ps.usecs + qh->ps.c_usecs) / qh->ps.bw_period) qh_unlink_periodic()
641 : (qh->ps.usecs * 8); qh_unlink_periodic()
647 qh, qh->ps.phase, qh->ps.usecs, qh->ps.c_usecs); qh_unlink_periodic()
771 unsigned usecs check_period()
779 /* convert "usecs we need" to "max already claimed" */ check_period()
780 usecs = ehci->uframe_periodic_max - usecs; check_period()
784 if (ehci->bandwidth[uframe] > usecs) check_period()
807 if (!check_period(ehci, frame, uframe, qh->ps.bw_uperiod, qh->ps.usecs)) check_intr_schedule()
1081 /* usbfs wants to report the average usecs per frame tied up iso_stream_init()
1084 stream->ps.usecs = HS_USECS_ISO(maxp); iso_stream_init()
1095 stream->bandwidth = stream->ps.usecs * 8 / iso_stream_init()
1110 stream->ps.usecs = HS_USECS_ISO(maxp); iso_stream_init()
1119 stream->ps.c_usecs = stream->ps.usecs; iso_stream_init()
1120 stream->ps.usecs = HS_USECS_ISO(1); iso_stream_init()
1139 stream->bandwidth = (stream->ps.usecs + stream->ps.c_usecs) / iso_stream_init()
1337 int usecs = stream->ps.usecs; reserve_release_iso_bandwidth() local
1349 usecs = -usecs; reserve_release_iso_bandwidth()
1357 ehci->bandwidth[i] += usecs; reserve_release_iso_bandwidth()
1369 ehci->bandwidth[i+j] += usecs; reserve_release_iso_bandwidth()
1394 unsigned usecs; itd_slot_ok() local
1396 /* convert "usecs we need" to "max already claimed" */ itd_slot_ok()
1397 usecs = ehci->uframe_periodic_max - stream->ps.usecs; itd_slot_ok()
1401 if (ehci->bandwidth[uframe] > usecs) itd_slot_ok()
1455 max_used = ehci->uframe_periodic_max - stream->ps.usecs; sitd_slot_ok()
H A Dfotg210-hcd.c609 p.qh->usecs, p.qh->c_usecs, fill_periodic_buffer()
2878 qh->usecs = NS_TO_US(usb_calc_bus_time(USB_SPEED_HIGH, qh_make()
2907 qh->c_usecs = qh->usecs + HS_USECS(0); qh_make()
2908 qh->usecs = HS_USECS(1); qh_make()
2910 qh->usecs += HS_USECS(1); qh_make()
3485 /* how many of the uframe's 125 usecs are allocated? */
3491 unsigned usecs = 0; periodic_usecs() local
3500 usecs += q->qh->usecs; periodic_usecs()
3504 usecs += q->qh->c_usecs; periodic_usecs()
3521 usecs += q->itd->stream->usecs; periodic_usecs()
3527 if (usecs > fotg210->uframe_periodic_max) periodic_usecs()
3528 fotg210_err(fotg210, "uframe %d sched overrun: %d usecs\n", periodic_usecs()
3529 frame * 8 + uframe, usecs); periodic_usecs()
3530 return usecs; periodic_usecs()
3652 qh, qh->start, qh->usecs, qh->c_usecs); qh_link_periodic()
3699 ? ((qh->usecs + qh->c_usecs) / qh->period) qh_link_periodic()
3700 : (qh->usecs * 8); qh_link_periodic()
3740 ? ((qh->usecs + qh->c_usecs) / qh->period) qh_unlink_periodic()
3741 : (qh->usecs * 8); qh_unlink_periodic()
3747 (QH_CMASK | QH_SMASK), qh, qh->start, qh->usecs, qh->c_usecs); qh_unlink_periodic()
3840 unsigned usecs check_period()
3850 /* convert "usecs we need" to "max already claimed" */ check_period()
3851 usecs = fotg210->uframe_periodic_max - usecs; check_period()
3861 if (claimed > usecs) check_period()
3870 if (claimed > usecs) check_period()
3893 if (!check_period(fotg210, frame, uframe, qh->period, qh->usecs)) check_intr_schedule()
4134 /* usbfs wants to report the average usecs per frame tied up iso_stream_init()
4139 stream->usecs = NS_TO_US(usb_calc_bus_time(dev->speed, iso_stream_init()
4141 stream->usecs /= 8; iso_stream_init()
4144 stream->usecs = HS_USECS_ISO(maxp); iso_stream_init()
4146 bandwidth = stream->usecs * 8; iso_stream_init()
4340 u8 usecs, itd_slot_ok()
4348 > (fotg210->uframe_periodic_max - usecs)) itd_slot_ok()
4453 stream->usecs, period)) iso_stream_schedule()
4336 itd_slot_ok( struct fotg210_hcd *fotg210, u32 mod, u32 uframe, u8 usecs, u32 period ) itd_slot_ok() argument
H A Dfusbh200-hcd.c583 p.qh->usecs, p.qh->c_usecs, fill_periodic_buffer()
2825 qh->usecs = NS_TO_US(usb_calc_bus_time(USB_SPEED_HIGH, qh_make()
2854 qh->c_usecs = qh->usecs + HS_USECS (0); qh_make()
2855 qh->usecs = HS_USECS (1); qh_make()
2857 qh->usecs += HS_USECS (1); qh_make()
3427 /* how many of the uframe's 125 usecs are allocated? */
3433 unsigned usecs = 0; periodic_usecs() local
3442 usecs += q->qh->usecs; periodic_usecs()
3446 usecs += q->qh->c_usecs; periodic_usecs()
3463 usecs += q->itd->stream->usecs; periodic_usecs()
3469 if (usecs > fusbh200->uframe_periodic_max) periodic_usecs()
3470 fusbh200_err (fusbh200, "uframe %d sched overrun: %d usecs\n", periodic_usecs()
3471 frame * 8 + uframe, usecs); periodic_usecs()
3472 return usecs; periodic_usecs()
3593 qh, qh->start, qh->usecs, qh->c_usecs); qh_link_periodic()
3640 ? ((qh->usecs + qh->c_usecs) / qh->period) qh_link_periodic()
3641 : (qh->usecs * 8); qh_link_periodic()
3679 ? ((qh->usecs + qh->c_usecs) / qh->period) qh_unlink_periodic()
3680 : (qh->usecs * 8); qh_unlink_periodic()
3686 qh, qh->start, qh->usecs, qh->c_usecs); qh_unlink_periodic()
3776 unsigned usecs check_period()
3786 /* convert "usecs we need" to "max already claimed" */ check_period()
3787 usecs = fusbh200->uframe_periodic_max - usecs; check_period()
3796 if (claimed > usecs) check_period()
3805 if (claimed > usecs) check_period()
3828 if (!check_period (fusbh200, frame, uframe, qh->period, qh->usecs)) check_intr_schedule()
4068 /* usbfs wants to report the average usecs per frame tied up iso_stream_init()
4073 stream->usecs = NS_TO_US(usb_calc_bus_time(dev->speed, iso_stream_init()
4075 stream->usecs /= 8; iso_stream_init()
4078 stream->usecs = HS_USECS_ISO (maxp); iso_stream_init()
4080 bandwidth = stream->usecs * 8; iso_stream_init()
4274 u8 usecs, itd_slot_ok()
4282 > (fusbh200->uframe_periodic_max - usecs)) itd_slot_ok()
4387 stream->usecs, period)) iso_stream_schedule()
4270 itd_slot_ok( struct fusbh200_hcd *fusbh200, u32 mod, u32 uframe, u8 usecs, u32 period ) itd_slot_ok() argument
H A Doxu210hp-hcd.c1390 qh->usecs = NS_TO_US(usb_calc_bus_time(USB_SPEED_HIGH, qh_make()
1419 qh->c_usecs = qh->usecs + HS_USECS(0); qh_make()
1420 qh->usecs = HS_USECS(1); qh_make()
1422 qh->usecs += HS_USECS(1); qh_make()
1847 /* how many of the uframe's 125 usecs are allocated? */ periodic_usecs()
1853 unsigned usecs = 0; periodic_usecs() local
1861 usecs += q->qh->usecs; periodic_usecs()
1864 usecs += q->qh->c_usecs; periodic_usecs()
1871 if (usecs > 100) periodic_usecs()
1872 oxu_err(oxu, "uframe %d sched overrun: %d usecs\n", periodic_usecs()
1873 frame * 8 + uframe, usecs); periodic_usecs()
1875 return usecs; periodic_usecs()
1941 qh, qh->start, qh->usecs, qh->c_usecs); qh_link_periodic()
1988 ? ((qh->usecs + qh->c_usecs) / qh->period) qh_link_periodic()
1989 : (qh->usecs * 8); qh_link_periodic()
2021 ? ((qh->usecs + qh->c_usecs) / qh->period) qh_unlink_periodic()
2022 : (qh->usecs * 8); qh_unlink_periodic()
2028 qh, qh->start, qh->usecs, qh->c_usecs); qh_unlink_periodic()
2066 unsigned period, unsigned usecs) check_period()
2078 * convert "usecs we need" to "max already claimed" check_period()
2080 usecs = 100 - usecs; check_period()
2089 if (claimed > usecs) check_period()
2098 if (claimed > usecs) check_period()
2115 if (!check_period(oxu, frame, uframe, qh->period, qh->usecs)) check_intr_schedule()
2064 check_period(struct oxu_hcd *oxu, unsigned frame, unsigned uframe, unsigned period, unsigned usecs) check_period() argument
H A Dfotg210.h451 u8 usecs; /* intr bandwidth */ member in struct:fotg210_qh
509 u8 usecs, c_usecs; member in struct:fotg210_iso_stream
H A Dfusbh200.h441 u8 usecs; /* intr bandwidth */ member in struct:fusbh200_qh
499 u8 usecs, c_usecs; member in struct:fusbh200_iso_stream
H A Dehci-q.c802 qh->ps.usecs = NS_TO_US(usb_calc_bus_time(USB_SPEED_HIGH, qh_make()
838 qh->ps.c_usecs = qh->ps.usecs + HS_USECS(0); qh_make()
839 qh->ps.usecs = HS_USECS(1); qh_make()
841 qh->ps.usecs += HS_USECS(1); qh_make()
H A Doxu210hp.h315 u8 usecs; /* intr bandwidth */ member in struct:ehci_qh
H A Dehci-dbg.c712 p.qh->ps.usecs, fill_periodic_buffer()
H A Dehci.h72 u8 usecs, c_usecs; /* times on the HS bus */ member in struct:ehci_per_sched
/linux-4.1.27/arch/unicore32/include/asm/
H A Ddelay.h40 extern void __udelay(unsigned long usecs);
/linux-4.1.27/include/linux/platform_data/
H A Dserial-sccnxp.h84 /* Timer value for polling mode (usecs) */
/linux-4.1.27/include/linux/usb/
H A Dirda.h49 /* Min turnaround times in usecs */
/linux-4.1.27/arch/ia64/include/asm/
H A Ddelay.h86 extern void udelay (unsigned long usecs);
H A Dtimex.h18 extern void (*ia64_udelay)(unsigned long usecs);
/linux-4.1.27/arch/arm/include/asm/
H A Ddelay.h62 extern void __loop_udelay(unsigned long usecs);
/linux-4.1.27/arch/ia64/kernel/
H A Dtime.c405 ia64_itc_udelay (unsigned long usecs) ia64_itc_udelay() argument
408 unsigned long end = start + usecs*local_cpu_data->cyc_per_usec; ia64_itc_udelay()
414 void (*ia64_udelay)(unsigned long usecs) = &ia64_itc_udelay;
417 udelay (unsigned long usecs) udelay() argument
419 (*ia64_udelay)(usecs); udelay()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Ddfs.c33 /* convert pulse duration to usecs, considering clock mode */ dur_to_usecs()
122 /* convert duration to usecs */ ath9k_postprocess_radar_event()
H A Dreg_wow.h71 #define AR_WOW_BACK_OFF_SHIFT(x) ((x & 0xf) << 27) /* in usecs */
H A Dhtc_drv_beacon.c66 * Both nexttbtt and intval have to be in usecs.
H A Dbeacon.c442 * Both nexttbtt and intval have to be in usecs.
H A Dhw.c70 static u32 ath9k_hw_mac_to_clks(struct ath_hw *ah, u32 usecs) ath9k_hw_mac_to_clks() argument
74 return usecs * common->clockrate; ath9k_hw_mac_to_clks()
/linux-4.1.27/arch/um/drivers/
H A Ddaemon_user.c132 int usecs; daemon_user_init() member in struct:__anon2927
141 name.usecs = tv.tv_usec; daemon_user_init()
/linux-4.1.27/drivers/mmc/host/
H A Dsdhci-of-hlwd.c34 #define SDHCI_HLWD_WRITE_DELAY 5 /* usecs */
H A Domap.c1199 int usecs = 250; mmc_omap_set_ios() local
1205 while (usecs > 0 && (OMAP_MMC_READ(host, STAT) & 1) == 0) { mmc_omap_set_ios()
1207 usecs--; mmc_omap_set_ios()
/linux-4.1.27/arch/x86/kernel/
H A Dio_delay.c34 * 2 usecs is an upper-bound for the outb delay but native_io_delay()
/linux-4.1.27/arch/powerpc/include/asm/
H A Ddelay.h21 extern void udelay(unsigned long usecs);
/linux-4.1.27/drivers/spi/
H A Dspi-sc18is602.c58 int usecs = 1000000 * len / hw->speed + 1; sc18is602_wait_ready() local
65 usleep_range(usecs, usecs * 2); sc18is602_wait_ready()
/linux-4.1.27/drivers/cpufreq/
H A Dsparc-us2e-cpufreq.c104 unsigned long usecs; frob_mem_refresh() local
109 usecs = (MCTRL0_REFR_CLKS_P_CNT * frob_mem_refresh()
113 udelay(usecs + 1UL); frob_mem_refresh()
H A Dpowernow-k8.c892 /* value in usecs, needs to be in nanoseconds */ get_transition_latency()
/linux-4.1.27/drivers/media/radio/si4713/
H A Dsi4713.c169 static int usecs_to_dev(unsigned long usecs, unsigned long const array[], usecs_to_dev() argument
176 if (array[(i * 2) + 1] >= usecs) { usecs_to_dev()
204 * @usecs: amount of time to wait before reading the response (in usecs)
208 u8 response[], const int respn, const int usecs) si4713_send_command()
230 until_jiffies = jiffies + usecs_to_jiffies(usecs) + 1; si4713_send_command()
235 usecs_to_jiffies(usecs) + 1)) si4713_send_command()
256 if (usecs <= 1000) si4713_send_command()
257 usleep_range(usecs, 1000); si4713_send_command()
505 * @usecs: timeout to wait for STC interrupt signal
507 static int si4713_wait_stc(struct si4713_device *sdev, const int usecs) si4713_wait_stc() argument
515 !wait_for_completion_timeout(&sdev->work, usecs_to_jiffies(usecs) + 1)) si4713_wait_stc()
534 if (jiffies_to_usecs(jiffies - start_jiffies) > usecs) si4713_wait_stc()
206 si4713_send_command(struct si4713_device *sdev, const u8 command, const u8 args[], const int argn, u8 response[], const int respn, const int usecs) si4713_send_command() argument
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
H A Dbe.h178 u32 min_eqd; /* in usecs */
179 u32 max_eqd; /* in usecs */
181 u32 cur_eqd; /* in usecs */
206 u32 min_eqd; /* in usecs */
207 u32 max_eqd; /* in usecs */
208 u32 prev_eqd; /* in usecs */
/linux-4.1.27/net/mac80211/
H A Drc80211_minstrel.c75 int usecs; minstrel_get_tp_avg() local
77 usecs = mr->perfect_tx_time; minstrel_get_tp_avg()
78 if (!usecs) minstrel_get_tp_avg()
79 usecs = 1000000; minstrel_get_tp_avg()
86 return MINSTREL_TRUNC(100000 * (MINSTREL_FRAC(90, 100) / usecs)); minstrel_get_tp_avg()
88 return MINSTREL_TRUNC(100000 * (prob_ewma / usecs)); minstrel_get_tp_avg()
/linux-4.1.27/drivers/tty/serial/
H A Dcrisv10.h102 unsigned long char_time_usec; /* The time for 1 char, in usecs */
H A Dbfin_uart.c251 suseconds_t usecs; bfin_serial_rx_chars() local
260 usecs = 0; bfin_serial_rx_chars()
262 usecs += USEC_PER_SEC; bfin_serial_rx_chars()
263 usecs += curr.tv_usec - anomaly_start.tv_usec; bfin_serial_rx_chars()
265 if (usecs > UART_GET_ANOMALY_THRESHOLD(uart)) bfin_serial_rx_chars()
H A Dsccnxp.c907 dev_info(&pdev->dev, "Using poll mode, resolution %u usecs\n", sccnxp_probe()
/linux-4.1.27/include/linux/mtd/
H A Dxip.h51 * return in usecs the elapsed timebetween now and the reference x as
/linux-4.1.27/tools/perf/bench/
H A Dsched-pipe.c163 printf(" %14lf usecs/op\n", bench_sched_pipe()
H A Dnuma.c164 OPT_UINTEGER('u', "usleep" , &p0.sleep_usecs, "usecs to sleep per loop iteration"),
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/
H A Dixgb_hw.c763 ** This may take as long as 64 usecs (we'll wait 100 usecs max) ixgb_read_phy_reg()
790 ** The read may take as long as 64 usecs (we'll wait 100 usecs max) ixgb_read_phy_reg()
859 ** This may take as long as 64 usecs (we'll wait 100 usecs max) ixgb_write_phy_reg()
886 ** The write may take as long as 64 usecs (we'll wait 100 usecs max) ixgb_write_phy_reg()
/linux-4.1.27/arch/hexagon/kernel/
H A Dtime.c247 void __udelay(unsigned long usecs) __udelay() argument
250 unsigned long long finish = (pcycle_freq_mhz * usecs) - fudgefactor; __udelay()
/linux-4.1.27/kernel/trace/
H A Dring_buffer_benchmark.c311 trace_printk("Time: %lld (usecs)\n", time); ring_buffer_producer()
323 /* Convert time from usecs to millisecs */ ring_buffer_producer()
H A Dtrace_output.c499 MARK(1000000ULL , '#'), /* 1000 usecs */
500 MARK(100000ULL , '!'), /* 100 usecs */
501 MARK(10000ULL , '+'), /* 10 usecs */
/linux-4.1.27/include/uapi/linux/
H A Dethtool.h338 * @rx_coalesce_usecs: How many usecs to delay an RX interrupt after
347 * @tx_coalesce_usecs: How many usecs to delay a TX interrupt after
356 * @stats_block_coalesce_usecs: How many usecs to delay in-memory
363 * @rx_coalesce_usecs_low: How many usecs to delay an RX interrupt after
367 * @tx_coalesce_usecs_low: How many usecs to delay a TX interrupt after
372 * @rx_coalesce_usecs_high: How many usecs to delay an RX interrupt after
376 * @tx_coalesce_usecs_high: How many usecs to delay a TX interrupt after
383 * Each pair of (usecs, max_frames) fields specifies that interrupts
385 * (usecs > 0 && time_since_first_completion >= usecs) ||
388 * It is illegal to set both usecs and max_frames to zero as this
390 * coalescing, set usecs = 0 and max_frames = 1.
393 * condition time_since_first_completion >= usecs
H A Dtaskstats.h124 /* Accumulated RSS usage in duration of a task, in MBytes-usecs.
H A Dtimex.h77 __kernel_long_t tick; /* (modified) usecs between clock ticks */
H A Dgfs2_ondisk.h333 __be32 lf_nsec; /* Last ins/del usecs */
/linux-4.1.27/drivers/media/pci/cx88/
H A Dcx88-i2c.c48 MODULE_PARM_DESC(i2c_udelay,"i2c delay at insmod time, in usecs "
/linux-4.1.27/net/sunrpc/xprtrdma/
H A Dfmr_ops.c11 * can take tens of usecs to complete.
/linux-4.1.27/arch/cris/arch-v10/drivers/
H A Di2c.c116 #define i2c_delay(usecs) udelay(usecs)
/linux-4.1.27/arch/cris/arch-v32/drivers/
H A Di2c.c80 #define i2c_delay(usecs) udelay(usecs)
/linux-4.1.27/net/bluetooth/
H A Dselftest.c204 BT_INFO("ECDH test passed in %llu usecs", duration); test_ecdh()
209 "PASS (%llu usecs)\n", duration); test_ecdh()
/linux-4.1.27/drivers/base/power/
H A Dmain.c214 pr_info("call %s+ returned %d after %Ld usecs\n", dev_name(dev), initcall_debug_report()
362 int usecs; dpm_show_time() local
367 usecs = usecs64; dpm_show_time()
368 if (usecs == 0) dpm_show_time()
369 usecs = 1; dpm_show_time()
372 usecs / USEC_PER_MSEC, usecs % USEC_PER_MSEC); dpm_show_time()
/linux-4.1.27/drivers/acpi/
H A Dec.c505 unsigned long usecs = ACPI_EC_UDELAY_POLL; ec_poll() local
509 usecs = ACPI_EC_MSI_UDELAY; ec_poll()
510 udelay(usecs); ec_poll()
516 usecs_to_jiffies(usecs))) ec_poll()
522 usecs_to_jiffies(usecs))) ec_poll()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dr600_dma.c268 DRM_INFO("ring test on %d succeeded in %d usecs\n", ring->idx, i); r600_dma_ring_test()
383 DRM_INFO("ib test on ring %d succeeded in %u usecs\n", ib.fence->ring, i); r600_dma_ib_test()
H A Duvd_v1_0.c444 DRM_INFO("ring test on %d succeeded in %d usecs\n", uvd_v1_0_ring_test()
H A Dcik_sdma.c684 DRM_INFO("ring test on %d succeeded in %d usecs\n", ring->idx, i); cik_sdma_ring_test()
752 DRM_INFO("ib test on ring %d succeeded in %u usecs\n", ib.fence->ring, i); cik_sdma_ib_test()
H A Dradeon_vce.c760 DRM_INFO("ring test on %d succeeded in %d usecs\n", radeon_vce_ring_test()
/linux-4.1.27/drivers/usb/musb/
H A Dmusb_cppi41.c298 unsigned long usecs = cppi41_channel->total_len / 10; cppi41_dma_callback() local
301 ktime_set(0, usecs * NSEC_PER_USEC), cppi41_dma_callback()
/linux-4.1.27/drivers/infiniband/hw/cxgb3/
H A Diwch.c251 * delay is between 1000-2023 usecs. iwch_event_handler()
/linux-4.1.27/drivers/media/pci/cx18/
H A Dcx18-i2c.c220 #define CX18_SCL_PERIOD (10) /* usecs. 10 usec is period for a 100 KHz clock */
/linux-4.1.27/drivers/soc/ti/
H A Dknav_qmss.h31 #define ACC_DEFAULT_PERIOD 25 /* usecs */
/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_protocol.h298 u32 offset; /* usecs the probe got sent after the reference time point */
/linux-4.1.27/arch/powerpc/platforms/52xx/
H A Dlite5200_sleep.S180 udelay: /* r11 - tb_ticks_per_usec, r12 - usecs, overwrites r13 */
/linux-4.1.27/arch/m68k/atari/
H A Dtime.c216 * If the UIP bit reads as 0, we have at least 244 usecs until the atari_tt_hwclk()
/linux-4.1.27/fs/freevxfs/
H A Dvxfs.h77 u_int32_t vs_cutime; /* create time - usecs */
/linux-4.1.27/drivers/mfd/
H A Dsi476x-cmd.c260 * @usecs: amount of time to wait before reading the response (in
261 * usecs)
272 const int usecs) si476x_core_send_command()
309 usecs_to_jiffies(usecs) + 1)) si476x_core_send_command()
324 usecs_to_jiffies(usecs) + 1)) si476x_core_send_command()
266 si476x_core_send_command(struct si476x_core *core, const u8 command, const u8 args[], const int argn, u8 resp[], const int respn, const int usecs) si476x_core_send_command() argument
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
H A Dlproc_osc.c596 seq_printf(seq, "snapshot_time: %lu.%lu (secs.usecs)\n", osc_rpc_stats_seq_show()
709 seq_printf(seq, "snapshot_time: %lu.%lu (secs.usecs)\n", osc_stats_seq_show()
/linux-4.1.27/arch/sparc/kernel/
H A Dtime_64.c794 void udelay(unsigned long usecs) udelay() argument
796 __delay(tb_ticks_per_usec * usecs); udelay()
H A Dentry.S1145 * 0 - nsecs or usecs to delay
/linux-4.1.27/drivers/media/pci/bt8xx/
H A Dbttv-i2c.c54 MODULE_PARM_DESC(i2c_udelay,"soft i2c delay at insmod time, in usecs "
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_stats.c288 * last error was almost a full interval ago, or just a few usecs ipath_get_faststats()
H A Dipath_init_chip.c166 * How often flowctrl sent. More or less in usecs; balance against bringup_link()
/linux-4.1.27/include/linux/pinctrl/
H A Dpinconf-generic.h76 * argument gives the debounce time in usecs. Setting the
/linux-4.1.27/drivers/watchdog/
H A Dts72xx_wdt.c162 * only after that (within 30 usecs) the configuration ts72xx_wdt_start()
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
H A Dreset.c95 * Translate usecs to hw clock units based on the current
112 * Translate hw clock units to usecs based on the current
115 * Returns number of usecs
H A Dqcu.c670 /* Set SIFS interval in usecs */ ath5k_hw_set_ifs_intervals()
/linux-4.1.27/drivers/scsi/
H A Dppa.c37 unsigned long recon_tmo; /* How many usecs to wait for reconnection (6th bit) */
551 * for about 100usecs. It is too expensive to wait a ppa_completion()
553 * 500usecs to give the drive a chance first. We do not ppa_completion()
H A Datari_NCR5380.c135 * while (!REQ is asserted) { sleep for N usecs; poll for M usecs }
1371 * no maximum so we can safely sleep for ceil(2.2) usecs to accommodate NCR5380_select()
H A DNCR5380.c148 * while (!REQ is asserted) { sleep for N usecs; poll for M usecs }
1257 * no maximum so we can safely sleep for ceil(2.2) usecs to accommodate NCR5380_select()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Dfw-api-scan.h523 * @duration: duration spent in channel, in usecs
540 * @tsf_low: TSF timer (lower half) in usecs
541 * @tsf_high: TSF timer (higher half) in usecs
H A Dfw-api-tx.h198 * @life_time: frame life time (usecs??)
H A Dfw-api.h525 * @timestamp: TSF in usecs.
940 * other value means apply new params after X usecs
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
H A Dlproc_llite.c1189 seq_printf(seq, "snapshot_time: %lu.%lu (secs.usecs)\n", ll_rw_extents_stats_pp_seq_show()
1267 seq_printf(seq, "snapshot_time: %lu.%lu (secs.usecs)\n", ll_rw_extents_stats_seq_show()
1447 seq_printf(seq, "snapshot_time: %lu.%lu (secs.usecs)\n", ll_rw_offset_stats_seq_show()
/linux-4.1.27/sound/core/
H A Dpcm_native.c480 int usecs; period_to_usecs() local
486 usecs = (750000 / runtime->rate) * runtime->period_size; period_to_usecs()
487 usecs += ((750000 % runtime->rate) * runtime->period_size) / period_to_usecs()
490 return usecs; period_to_usecs()
505 int err, usecs; snd_pcm_hw_params() local
588 if ((usecs = period_to_usecs(runtime)) >= 0) snd_pcm_hw_params()
590 PM_QOS_CPU_DMA_LATENCY, usecs); snd_pcm_hw_params()
/linux-4.1.27/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c243 unsigned int usecs) gfar_usecs2ticks()
262 * if usecs > 0 */ gfar_usecs2ticks()
263 return (usecs * 1000 + count - 1) / count; gfar_usecs2ticks()
242 gfar_usecs2ticks(struct gfar_private *priv, unsigned int usecs) gfar_usecs2ticks() argument
/linux-4.1.27/tools/perf/
H A Dbuiltin-script.c344 unsigned long usecs; print_sample_start() local
374 usecs = nsecs / NSECS_PER_USEC; print_sample_start()
375 printf("%5lu.%06lu: ", secs, usecs); print_sample_start()
H A Dbuiltin-kvm.c1311 " that take longer than duration usecs"), kvm_events_live()
/linux-4.1.27/drivers/iio/adc/
H A Dnau7802.c436 * After about 200 usecs, the device should be ready and then nau7802_probe()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_sprite.c55 static int usecs_to_scanlines(const struct drm_display_mode *mode, int usecs) usecs_to_scanlines() argument
61 return DIV_ROUND_UP(usecs * mode->crtc_clock, 1000 * mode->crtc_htotal); usecs_to_scanlines()
/linux-4.1.27/drivers/input/touchscreen/
H A Dads7846.c1207 of_property_read_u16(node, "ti,vref-delay-usecs", ads7846_probe_dt()
1216 of_property_read_u16(node, "ti,penirq-recheck-delay-usecs", ads7846_probe_dt()
/linux-4.1.27/arch/powerpc/kernel/
H A Dtime.c409 void udelay(unsigned long usecs) udelay() argument
411 __delay(tb_ticks_per_usec * usecs); udelay()
/linux-4.1.27/arch/blackfin/kernel/
H A Dsetup.c1259 unsigned long usecs_to_sclk(unsigned long usecs) usecs_to_sclk() argument
1261 u64 tmp = get_sclk() * (u64)usecs; usecs_to_sclk()
/linux-4.1.27/drivers/media/rc/
H A Dimon.c1163 int usecs = 0; tv2int() local
1167 usecs = 1000000; tv2int()
1171 usecs += a->tv_usec - b->tv_usec; tv2int()
1175 usecs /= 1000; tv2int()
1176 sec += usecs; tv2int()
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-eg20t.c284 /* Retry after some usecs */ pch_i2c_wait_for_bus_idle()
/linux-4.1.27/drivers/net/ethernet/cisco/enic/
H A Dvnic_devcmd.h343 * Interrupt coalescing timer in usecs can be obtained from
H A Dvnic_dev.c826 /* Default: hardware intr coal timer is in units of 1.5 usecs */ vnic_dev_intr_coal_timer_info_default()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c1745 netif_info(pf, drv, netdev, "rx-usecs=0, need to disable adaptive-rx for a complete disable\n"); i40e_set_coalesce()
1747 netif_info(pf, drv, netdev, "Invalid value, rx-usecs range is 0-8160\n"); i40e_set_coalesce()
1757 netif_info(pf, drv, netdev, "tx-usecs=0, need to disable adaptive-tx for a complete disable\n"); i40e_set_coalesce()
1760 "Invalid value, tx-usecs range is 0-8160\n"); i40e_set_coalesce()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/
H A Dvf.c558 /* for SFP+ modules and DA cables on 82599 it can take up to 500usecs ixgbevf_check_mac_link_vf()
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Defx.c1829 static unsigned int irq_mod_ticks(unsigned int usecs, unsigned int quantum_ns) irq_mod_ticks() argument
1831 if (usecs == 0) irq_mod_ticks()
1833 if (usecs * 1000 < quantum_ns) irq_mod_ticks()
1835 return usecs * 1000 / quantum_ns; irq_mod_ticks()
H A Dethtool.c571 * report and require that max_frames == (usecs != 0), but this would
/linux-4.1.27/drivers/net/wireless/iwlwifi/
H A Diwl-csr.h523 * default interrupt coalescing timer is 64 x 32 = 2048 usecs
/linux-4.1.27/drivers/staging/iio/adc/
H A Dad7280a.c886 /* Convert to usecs */ ad7280_probe()
/linux-4.1.27/drivers/parport/
H A Dieee1284.c178 usec = port->physport->spintime; /* usecs of fast polling */ parport_wait_peripheral()
/linux-4.1.27/drivers/pcmcia/
H A Dcs.c53 INT_MODULE_PARM(reset_time, 10); /* usecs */
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ethtool.c437 netdev_alert(netdev, "rx-usec is limited to %d usecs\n", xgbe_set_coalesce()
/linux-4.1.27/drivers/firmware/google/
H A Dgsmi.c211 * hundred-ish usecs to ensure the SMI has triggered. gsmi_exec()
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_drv.c51 MODULE_PARM_DESC(timestamp_precision_usec, "Max. error on timestamps [usecs]");
/linux-4.1.27/fs/ocfs2/
H A Docfs2.h163 /* Storing max wait in usecs saves 24 bytes per inode */
/linux-4.1.27/drivers/video/fbdev/geode/
H A Dlxfb_ops.c234 /* Wait 1000 usecs to ensure that the TGEN is clear */ lx_graphics_disable()
/linux-4.1.27/init/
H A Dmain.c771 printk(KERN_DEBUG "initcall %pF returned %d after %lld usecs\n", do_one_initcall_debug()
/linux-4.1.27/net/irda/
H A Dqos.c450 pr_debug("Setting MIN_TURN_TIME to %d usecs.\n", irlap_qos_negotiate()
/linux-4.1.27/kernel/power/
H A Dqos.c494 * @timeout_us: the effective duration of this qos request in usecs.
/linux-4.1.27/drivers/net/wireless/b43legacy/
H A Dradio.c1794 /*XXX: Using the longer of 2 timeouts (8000 vs 2000 usecs). Specs states b43legacy_radio_selectchannel()
1795 * that 2000 usecs might suffice. */ b43legacy_radio_selectchannel()
/linux-4.1.27/drivers/ata/
H A Dsata_mv.c97 "IRQ coalescing time threshold in usecs");
1101 unsigned int count, unsigned int usecs) mv_set_irq_coalescing()
1112 if (!usecs || !count) { mv_set_irq_coalescing()
1116 clks = usecs * COAL_CLOCKS_PER_USEC; mv_set_irq_coalescing()
1216 /* ata_port_info(ap, "%s: %u+ usecs\n", __func__, i); */ mv_wait_for_edma_empty_idle()
1100 mv_set_irq_coalescing(struct ata_host *host, unsigned int count, unsigned int usecs) mv_set_irq_coalescing() argument
/linux-4.1.27/drivers/net/can/
H A Dgrcan.c877 /* Waiting time in usecs corresponding to the transmission of three maximum
882 * usecs/sec * number of frames * bits/frame / bits/sec
/linux-4.1.27/drivers/atm/
H A Deni.c1588 udelay(10); /* 10 usecs */ \
1593 udelay(10); /* 10 usecs */ \
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_main.c424 * usecs to sleep while draining the dbfifo
429 "usecs to sleep while draining the dbfifo");
2194 static void drain_db_fifo(struct adapter *adap, int usecs) drain_db_fifo() argument
2212 schedule_timeout(usecs_to_jiffies(usecs)); drain_db_fifo()
/linux-4.1.27/drivers/misc/mei/
H A Dhw-txe.c235 dev_dbg(dev->dev, "aliveness settled after %lld usecs\n", mei_txe_aliveness_poll()
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
H A Dcalib.c707 IWL_DEBUG_CALIB(priv, "rx_enable_time = %u usecs\n", rx_enable_time); iwl_sensitivity_calibration()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A D4965-calib.c540 D_CALIB("rx_enable_time = %u usecs\n", rx_enable_time); il4965_sensitivity_calibration()
H A Dcommon.h1078 * default interrupt coalescing timer is 64 x 32 = 2048 usecs
1079 * default interrupt coalescing calibration timer is 16 x 32 = 512 usecs
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
H A Dsubr.c55 * @delay: delay in usecs between iterations
/linux-4.1.27/drivers/input/joystick/
H A Dgamecon.c549 MODULE_PARM_DESC(psx_delay, "Delay when accessing Sony PSX controller (usecs)");
/linux-4.1.27/drivers/block/aoe/
H A Daoecmd.c516 * worth of jiffies, or over 71 minutes worth of usecs. tsince_hr()
/linux-4.1.27/drivers/char/tpm/
H A Dtpm-interface.c602 * value wrong and apparently reports msecs rather than usecs. So we tpm_get_timeouts()
/linux-4.1.27/arch/arm/mach-omap2/
H A Domap_hwmod.h378 * @srst_udelay: Delay needed after doing a softreset in usecs
H A Domap_hwmod_44xx_data.c968 * 1usec delay is needed. Add an x2 margin to be safe (2 usecs).
1458 * 1usec delay is needed. Add an x2 margin to be safe (2 usecs).
/linux-4.1.27/arch/alpha/kernel/
H A Dosf_sys.c1253 long tick; /* (modified) usecs between clock ticks */
/linux-4.1.27/tools/lib/traceevent/
H A Devent-parse.c5210 unsigned long usecs; pevent_print_event() local
5252 usecs = nsecs; pevent_print_event()
5255 usecs = (nsecs + 500) / NSECS_PER_USEC; pevent_print_event()
5260 secs, p, usecs, event->name); pevent_print_event()
/linux-4.1.27/tools/power/acpi/os_specific/service_layers/
H A Dosunixxf.c967 * Arg to usleep() is in usecs and must be less than 1,000,000 (1 second). acpi_os_sleep()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c2231 e_info(probe, "rx-usecs value high enough to re-enable RSC\n"); ixgbe_update_rsc()
2237 e_info(probe, "rx-usecs set too low, disabling RSC\n"); ixgbe_update_rsc()
/linux-4.1.27/drivers/bluetooth/
H A Dbtusb.c2625 BT_INFO("%s: Firmware loaded in %llu usecs", hdev->name, duration); btusb_setup_intel_new()
2671 BT_INFO("%s: Device booted in %llu usecs", hdev->name, duration); btusb_setup_intel_new()

Completed in 6594 milliseconds

12