/linux-4.1.27/arch/parisc/include/asm/ |
H A D | delay.h | 12 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 D | delay.h | 17 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 D | delay.c | 30 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 D | test_udelay.c | 7 * 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 D | ntp.c | 29 /* USER_HZ period (usecs): */ 38 #define MAX_TICKADJ 500LL /* usecs */ 62 /* maximum error (usecs): */ 65 /* estimated error (usecs): */
|
H A D | timer.c | 1712 * @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 D | delay.h | 5 extern void udelay(unsigned long usecs);
|
/linux-4.1.27/include/linux/ |
H A D | latencytop.h | 30 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 D | timeriomem-rng.h | 14 /* measures in usecs */
|
H A D | hil_mlc.h | 71 * within arg usecs. 76 * within arg usecs, any other packet is considered an error.
|
H A D | dccp.h | 260 * @dccps_syn_rtt - RTT sample from Request/Response exchange (in usecs)
|
H A D | tcp.h | 208 u32 srtt_us; /* smoothed round trip time << 3 in usecs */
|
/linux-4.1.27/arch/cris/include/asm/ |
H A D | delay.h | 18 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 D | delay.c | 20 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 D | delay_64.h | 12 void udelay(unsigned long usecs);
|
H A D | delay_32.h | 23 void __udelay(unsigned long usecs, unsigned long lpj);
|
/linux-4.1.27/arch/s390/include/asm/ |
H A D | delay.h | 16 void __udelay(unsigned long long usecs); 17 void udelay_simple(unsigned long long usecs);
|
/linux-4.1.27/arch/mn10300/lib/ |
H A D | delay.c | 39 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 D | delay.h | 25 extern void __udelay(unsigned long usecs); 27 #define udelay(usecs) __udelay((usecs))
|
/linux-4.1.27/arch/alpha/lib/ |
H A D | udelay.c | 41 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 D | delay.c | 44 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 D | delay.h | 39 static inline void udelay(unsigned long usecs) udelay() argument 41 __delay(__to_delay(usecs)); udelay()
|
H A D | bfin-global.h | 50 extern unsigned long usecs_to_sclk(unsigned long usecs);
|
/linux-4.1.27/drivers/staging/media/lirc/ |
H A D | lirc_parallel.h | 21 #define LIRC_SFH506_DELAY 0 /* delay t_phl in usecs */
|
H A D | lirc_sir.c | 182 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 D | lirc_parallel.c | 291 /* adjust value to usecs */ lirc_lirc_irq_handler() 397 /* adjust values from usecs */ lirc_write()
|
H A D | lirc_serial.c | 308 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 D | delay.h | 35 * 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 D | dfs_pri_detector.h | 27 * @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 D | dfs_pattern_detector.h | 82 * @last_pulse_ts: time stamp of last valid pulse in usecs
|
H A D | dfs_pattern_detector.c | 25 * tolerated deviation of radar time stamp in usecs on both sides
|
H A D | dfs_pri_detector.c | 31 * @ts: time stamp in usecs
|
/linux-4.1.27/arch/x86/um/ |
H A D | delay.c | 50 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 D | udelay.c | 41 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 D | delay.c | 46 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 D | delay.c | 50 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 D | delay.c | 49 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 D | delay.h | 43 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 D | timer.c | 44 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 D | delay.h | 14 extern void __udelay(unsigned long usecs);
|
/linux-4.1.27/arch/metag/include/asm/ |
H A D | delay.h | 14 extern void __udelay(unsigned long usecs);
|
/linux-4.1.27/arch/microblaze/include/asm/ |
H A D | delay.h | 30 * 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 D | delay.h | 23 /* make sure "usecs *= ..." in udelay do not overflow. */
|
/linux-4.1.27/include/asm-generic/ |
H A D | delay.h | 8 extern void __udelay(unsigned long usecs);
|
/linux-4.1.27/arch/xtensa/include/asm/ |
H A D | delay.h | 37 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 D | delay.c | 42 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 D | delay.c | 69 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 D | delay.c | 45 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 D | delay.c | 116 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 D | watchdog.h | 48 * 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 D | debug.c | 54 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 D | delay.h | 22 extern void __udelay(unsigned long usecs);
|
/linux-4.1.27/drivers/usb/dwc2/ |
H A D | hcd_queue.c | 105 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 D | hcd.h | 237 * @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 D | delay.c | 129 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 D | delay.c | 72 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 D | latencytop.c | 159 * @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 D | async.c | 127 pr_debug("initcall %lli_%pF returned 0 after %lld usecs\n", async_run_entry_fn()
|
H A D | sysctl.c | 263 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 D | netdebug.c | 156 " 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 D | be.h | 88 u32 min_eqd; /* in usecs */ 89 u32 max_eqd; /* in usecs */ 90 u32 prev_eqd; /* in usecs */
|
H A D | be_main.h | 1051 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 D | ccid3.h | 82 * @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 D | sys_timer.c | 44 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 D | sound_timer.c | 40 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 D | dev_table.h | 336 unsigned int (*tmr_start)(int dev, unsigned int usecs);
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | delay.h | 80 static inline void __udelay(unsigned long usecs) __udelay() argument 82 __const_udelay(usecs); __udelay()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | ehci-sched.c | 215 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 D | fotg210-hcd.c | 609 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 D | fusbh200-hcd.c | 583 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 D | oxu210hp-hcd.c | 1390 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 D | fotg210.h | 451 u8 usecs; /* intr bandwidth */ member in struct:fotg210_qh 509 u8 usecs, c_usecs; member in struct:fotg210_iso_stream
|
H A D | fusbh200.h | 441 u8 usecs; /* intr bandwidth */ member in struct:fusbh200_qh 499 u8 usecs, c_usecs; member in struct:fusbh200_iso_stream
|
H A D | ehci-q.c | 802 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 D | oxu210hp.h | 315 u8 usecs; /* intr bandwidth */ member in struct:ehci_qh
|
H A D | ehci-dbg.c | 712 p.qh->ps.usecs, fill_periodic_buffer()
|
H A D | ehci.h | 72 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 D | delay.h | 40 extern void __udelay(unsigned long usecs);
|
/linux-4.1.27/include/linux/platform_data/ |
H A D | serial-sccnxp.h | 84 /* Timer value for polling mode (usecs) */
|
/linux-4.1.27/include/linux/usb/ |
H A D | irda.h | 49 /* Min turnaround times in usecs */
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | delay.h | 86 extern void udelay (unsigned long usecs);
|
H A D | timex.h | 18 extern void (*ia64_udelay)(unsigned long usecs);
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | delay.h | 62 extern void __loop_udelay(unsigned long usecs);
|
/linux-4.1.27/arch/ia64/kernel/ |
H A D | time.c | 405 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 D | dfs.c | 33 /* convert pulse duration to usecs, considering clock mode */ dur_to_usecs() 122 /* convert duration to usecs */ ath9k_postprocess_radar_event()
|
H A D | reg_wow.h | 71 #define AR_WOW_BACK_OFF_SHIFT(x) ((x & 0xf) << 27) /* in usecs */
|
H A D | htc_drv_beacon.c | 66 * Both nexttbtt and intval have to be in usecs.
|
H A D | beacon.c | 442 * Both nexttbtt and intval have to be in usecs.
|
H A D | hw.c | 70 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 D | daemon_user.c | 132 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 D | sdhci-of-hlwd.c | 34 #define SDHCI_HLWD_WRITE_DELAY 5 /* usecs */
|
H A D | omap.c | 1199 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 D | io_delay.c | 34 * 2 usecs is an upper-bound for the outb delay but native_io_delay()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | delay.h | 21 extern void udelay(unsigned long usecs);
|
/linux-4.1.27/drivers/spi/ |
H A D | spi-sc18is602.c | 58 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 D | sparc-us2e-cpufreq.c | 104 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 D | powernow-k8.c | 892 /* value in usecs, needs to be in nanoseconds */ get_transition_latency()
|
/linux-4.1.27/drivers/media/radio/si4713/ |
H A D | si4713.c | 169 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 D | be.h | 178 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 D | rc80211_minstrel.c | 75 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 D | crisv10.h | 102 unsigned long char_time_usec; /* The time for 1 char, in usecs */
|
H A D | bfin_uart.c | 251 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 D | sccnxp.c | 907 dev_info(&pdev->dev, "Using poll mode, resolution %u usecs\n", sccnxp_probe()
|
/linux-4.1.27/include/linux/mtd/ |
H A D | xip.h | 51 * return in usecs the elapsed timebetween now and the reference x as
|
/linux-4.1.27/tools/perf/bench/ |
H A D | sched-pipe.c | 163 printf(" %14lf usecs/op\n", bench_sched_pipe()
|
H A D | numa.c | 164 OPT_UINTEGER('u', "usleep" , &p0.sleep_usecs, "usecs to sleep per loop iteration"),
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/ |
H A D | ixgb_hw.c | 763 ** 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 D | time.c | 247 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 D | ring_buffer_benchmark.c | 311 trace_printk("Time: %lld (usecs)\n", time); ring_buffer_producer() 323 /* Convert time from usecs to millisecs */ ring_buffer_producer()
|
H A D | trace_output.c | 499 MARK(1000000ULL , '#'), /* 1000 usecs */ 500 MARK(100000ULL , '!'), /* 100 usecs */ 501 MARK(10000ULL , '+'), /* 10 usecs */
|
/linux-4.1.27/include/uapi/linux/ |
H A D | ethtool.h | 338 * @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 D | taskstats.h | 124 /* Accumulated RSS usage in duration of a task, in MBytes-usecs.
|
H A D | timex.h | 77 __kernel_long_t tick; /* (modified) usecs between clock ticks */
|
H A D | gfs2_ondisk.h | 333 __be32 lf_nsec; /* Last ins/del usecs */
|
/linux-4.1.27/drivers/media/pci/cx88/ |
H A D | cx88-i2c.c | 48 MODULE_PARM_DESC(i2c_udelay,"i2c delay at insmod time, in usecs "
|
/linux-4.1.27/net/sunrpc/xprtrdma/ |
H A D | fmr_ops.c | 11 * can take tens of usecs to complete.
|
/linux-4.1.27/arch/cris/arch-v10/drivers/ |
H A D | i2c.c | 116 #define i2c_delay(usecs) udelay(usecs)
|
/linux-4.1.27/arch/cris/arch-v32/drivers/ |
H A D | i2c.c | 80 #define i2c_delay(usecs) udelay(usecs)
|
/linux-4.1.27/net/bluetooth/ |
H A D | selftest.c | 204 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 D | main.c | 214 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 D | ec.c | 505 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 D | r600_dma.c | 268 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 D | uvd_v1_0.c | 444 DRM_INFO("ring test on %d succeeded in %d usecs\n", uvd_v1_0_ring_test()
|
H A D | cik_sdma.c | 684 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 D | radeon_vce.c | 760 DRM_INFO("ring test on %d succeeded in %d usecs\n", radeon_vce_ring_test()
|
/linux-4.1.27/drivers/usb/musb/ |
H A D | musb_cppi41.c | 298 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 D | iwch.c | 251 * delay is between 1000-2023 usecs. iwch_event_handler()
|
/linux-4.1.27/drivers/media/pci/cx18/ |
H A D | cx18-i2c.c | 220 #define CX18_SCL_PERIOD (10) /* usecs. 10 usec is period for a 100 KHz clock */
|
/linux-4.1.27/drivers/soc/ti/ |
H A D | knav_qmss.h | 31 #define ACC_DEFAULT_PERIOD 25 /* usecs */
|
/linux-4.1.27/drivers/block/drbd/ |
H A D | drbd_protocol.h | 298 u32 offset; /* usecs the probe got sent after the reference time point */
|
/linux-4.1.27/arch/powerpc/platforms/52xx/ |
H A D | lite5200_sleep.S | 180 udelay: /* r11 - tb_ticks_per_usec, r12 - usecs, overwrites r13 */
|
/linux-4.1.27/arch/m68k/atari/ |
H A D | time.c | 216 * 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 D | vxfs.h | 77 u_int32_t vs_cutime; /* create time - usecs */
|
/linux-4.1.27/drivers/mfd/ |
H A D | si476x-cmd.c | 260 * @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 D | lproc_osc.c | 596 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 D | time_64.c | 794 void udelay(unsigned long usecs) udelay() argument 796 __delay(tb_ticks_per_usec * usecs); udelay()
|
H A D | entry.S | 1145 * 0 - nsecs or usecs to delay
|
/linux-4.1.27/drivers/media/pci/bt8xx/ |
H A D | bttv-i2c.c | 54 MODULE_PARM_DESC(i2c_udelay,"soft i2c delay at insmod time, in usecs "
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
H A D | ipath_stats.c | 288 * last error was almost a full interval ago, or just a few usecs ipath_get_faststats()
|
H A D | ipath_init_chip.c | 166 * How often flowctrl sent. More or less in usecs; balance against bringup_link()
|
/linux-4.1.27/include/linux/pinctrl/ |
H A D | pinconf-generic.h | 76 * argument gives the debounce time in usecs. Setting the
|
/linux-4.1.27/drivers/watchdog/ |
H A D | ts72xx_wdt.c | 162 * only after that (within 30 usecs) the configuration ts72xx_wdt_start()
|
/linux-4.1.27/drivers/net/wireless/ath/ath5k/ |
H A D | reset.c | 95 * 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 D | qcu.c | 670 /* Set SIFS interval in usecs */ ath5k_hw_set_ifs_intervals()
|
/linux-4.1.27/drivers/scsi/ |
H A D | ppa.c | 37 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 D | atari_NCR5380.c | 135 * 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 D | NCR5380.c | 148 * 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 D | fw-api-scan.h | 523 * @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 D | fw-api-tx.h | 198 * @life_time: frame life time (usecs??)
|
H A D | fw-api.h | 525 * @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 D | lproc_llite.c | 1189 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 D | pcm_native.c | 480 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 D | gianfar_ethtool.c | 243 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 D | builtin-script.c | 344 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 D | builtin-kvm.c | 1311 " that take longer than duration usecs"), kvm_events_live()
|
/linux-4.1.27/drivers/iio/adc/ |
H A D | nau7802.c | 436 * After about 200 usecs, the device should be ready and then nau7802_probe()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | intel_sprite.c | 55 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 D | ads7846.c | 1207 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 D | time.c | 409 void udelay(unsigned long usecs) udelay() argument 411 __delay(tb_ticks_per_usec * usecs); udelay()
|
/linux-4.1.27/arch/blackfin/kernel/ |
H A D | setup.c | 1259 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 D | imon.c | 1163 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 D | i2c-eg20t.c | 284 /* Retry after some usecs */ pch_i2c_wait_for_bus_idle()
|
/linux-4.1.27/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_devcmd.h | 343 * Interrupt coalescing timer in usecs can be obtained from
|
H A D | vnic_dev.c | 826 /* 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 D | i40e_ethtool.c | 1745 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 D | vf.c | 558 /* 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 D | efx.c | 1829 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 D | ethtool.c | 571 * report and require that max_frames == (usecs != 0), but this would
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/ |
H A D | iwl-csr.h | 523 * default interrupt coalescing timer is 64 x 32 = 2048 usecs
|
/linux-4.1.27/drivers/staging/iio/adc/ |
H A D | ad7280a.c | 886 /* Convert to usecs */ ad7280_probe()
|
/linux-4.1.27/drivers/parport/ |
H A D | ieee1284.c | 178 usec = port->physport->spintime; /* usecs of fast polling */ parport_wait_peripheral()
|
/linux-4.1.27/drivers/pcmcia/ |
H A D | cs.c | 53 INT_MODULE_PARM(reset_time, 10); /* usecs */
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-ethtool.c | 437 netdev_alert(netdev, "rx-usec is limited to %d usecs\n", xgbe_set_coalesce()
|
/linux-4.1.27/drivers/firmware/google/ |
H A D | gsmi.c | 211 * hundred-ish usecs to ensure the SMI has triggered. gsmi_exec()
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_drv.c | 51 MODULE_PARM_DESC(timestamp_precision_usec, "Max. error on timestamps [usecs]");
|
/linux-4.1.27/fs/ocfs2/ |
H A D | ocfs2.h | 163 /* Storing max wait in usecs saves 24 bytes per inode */
|
/linux-4.1.27/drivers/video/fbdev/geode/ |
H A D | lxfb_ops.c | 234 /* Wait 1000 usecs to ensure that the TGEN is clear */ lx_graphics_disable()
|
/linux-4.1.27/init/ |
H A D | main.c | 771 printk(KERN_DEBUG "initcall %pF returned %d after %lld usecs\n", do_one_initcall_debug()
|
/linux-4.1.27/net/irda/ |
H A D | qos.c | 450 pr_debug("Setting MIN_TURN_TIME to %d usecs.\n", irlap_qos_negotiate()
|
/linux-4.1.27/kernel/power/ |
H A D | qos.c | 494 * @timeout_us: the effective duration of this qos request in usecs.
|
/linux-4.1.27/drivers/net/wireless/b43legacy/ |
H A D | radio.c | 1794 /*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 D | sata_mv.c | 97 "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 D | grcan.c | 877 /* 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 D | eni.c | 1588 udelay(10); /* 10 usecs */ \ 1593 udelay(10); /* 10 usecs */ \
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_main.c | 424 * 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 D | hw-txe.c | 235 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 D | calib.c | 707 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 D | 4965-calib.c | 540 D_CALIB("rx_enable_time = %u usecs\n", rx_enable_time); il4965_sensitivity_calibration()
|
H A D | common.h | 1078 * 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 D | subr.c | 55 * @delay: delay in usecs between iterations
|
/linux-4.1.27/drivers/input/joystick/ |
H A D | gamecon.c | 549 MODULE_PARM_DESC(psx_delay, "Delay when accessing Sony PSX controller (usecs)");
|
/linux-4.1.27/drivers/block/aoe/ |
H A D | aoecmd.c | 516 * worth of jiffies, or over 71 minutes worth of usecs. tsince_hr()
|
/linux-4.1.27/drivers/char/tpm/ |
H A D | tpm-interface.c | 602 * value wrong and apparently reports msecs rather than usecs. So we tpm_get_timeouts()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | omap_hwmod.h | 378 * @srst_udelay: Delay needed after doing a softreset in usecs
|
H A D | omap_hwmod_44xx_data.c | 968 * 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 D | osf_sys.c | 1253 long tick; /* (modified) usecs between clock ticks */
|
/linux-4.1.27/tools/lib/traceevent/ |
H A D | event-parse.c | 5210 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 D | osunixxf.c | 967 * 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 D | ixgbe_ethtool.c | 2231 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 D | btusb.c | 2625 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()
|