/linux-6.1.9/kernel/time/ |
D | test_udelay.c | 27 static int udelay_test_single(struct seq_file *s, int usecs, uint32_t iters) in udelay_test_single() argument 34 int allowed_error_ns = usecs * 5; in udelay_test_single() 41 udelay(usecs); in udelay_test_single() 49 if ((time_passed + allowed_error_ns) / 1000 < usecs) in udelay_test_single() 58 usecs, iters, usecs * 1000, in udelay_test_single() 59 (usecs * 1000) - allowed_error_ns, min, avg, max); in udelay_test_single() 69 int usecs; in udelay_test_show() local 74 usecs = udelay_test_usecs; in udelay_test_show() 78 if (usecs > 0 && iters > 0) { in udelay_test_show() 79 return udelay_test_single(s, usecs, iters); in udelay_test_show() [all …]
|
/linux-6.1.9/arch/parisc/include/asm/ |
D | delay.h | 13 extern void __udelay(unsigned long usecs); 14 extern void __udelay_bad(unsigned long usecs); 16 static inline void udelay(unsigned long usecs) in udelay() argument 18 if (__builtin_constant_p(usecs) && (usecs) > 20000) in udelay() 19 __udelay_bad(usecs); in udelay() 20 __udelay(usecs); in udelay()
|
/linux-6.1.9/include/linux/ |
D | delay.h | 81 static inline void fsleep(unsigned long usecs) in fsleep() argument 83 if (usecs <= 10) in fsleep() 84 udelay(usecs); in fsleep() 85 else if (usecs <= 20000) in fsleep() 86 usleep_range(usecs, 2 * usecs); in fsleep() 88 msleep(DIV_ROUND_UP(usecs, 1000)); in fsleep()
|
D | latencytop.h | 31 void __account_scheduler_latency(struct task_struct *task, int usecs, int inter); 33 account_scheduler_latency(struct task_struct *task, int usecs, int inter) in account_scheduler_latency() argument 36 __account_scheduler_latency(task, usecs, inter); in account_scheduler_latency() 44 account_scheduler_latency(struct task_struct *task, int usecs, int inter) in account_scheduler_latency() argument
|
/linux-6.1.9/include/trace/events/ |
D | ufs.h | 193 TP_PROTO(const char *dev_name, int err, s64 usecs, 196 TP_ARGS(dev_name, err, usecs, dev_state, link_state), 199 __field(s64, usecs) 207 __entry->usecs = usecs; 217 __entry->usecs, 225 TP_PROTO(const char *dev_name, int err, s64 usecs, 227 TP_ARGS(dev_name, err, usecs, dev_state, link_state)); 230 TP_PROTO(const char *dev_name, int err, s64 usecs, 232 TP_ARGS(dev_name, err, usecs, dev_state, link_state)); 235 TP_PROTO(const char *dev_name, int err, s64 usecs, [all …]
|
/linux-6.1.9/arch/riscv/lib/ |
D | delay.c | 85 void udelay(unsigned long usecs) in udelay() argument 87 u64 ucycles = (u64)usecs * lpj_fine * UDELAY_MULT; in udelay() 90 if (unlikely(usecs > MAX_UDELAY_US)) { in udelay() 91 n = (u64)usecs * riscv_timebase; in udelay()
|
/linux-6.1.9/arch/hexagon/include/asm/ |
D | delay.h | 12 extern void __udelay(unsigned long usecs); 14 #define udelay(usecs) __udelay((usecs)) argument
|
/linux-6.1.9/arch/um/include/asm/ |
D | delay.h | 19 static inline void um_udelay(unsigned long usecs) in um_udelay() argument 23 time_travel_ndelay(1000 * usecs); in um_udelay() 26 udelay(usecs); in um_udelay()
|
/linux-6.1.9/arch/alpha/lib/ |
D | udelay.c | 43 udelay(unsigned long usecs) in udelay() argument 45 usecs *= (((unsigned long)HZ << 32) / 1000000) * LPJ; in udelay() 46 __delay((long)usecs >> 32); in udelay()
|
/linux-6.1.9/drivers/media/cec/core/ |
D | cec-pin-error-inj.c | 129 u32 usecs; in cec_pin_error_inj_parse_line() local 131 if (kstrtou32(p, 0, &usecs) || usecs > 10000000) in cec_pin_error_inj_parse_line() 133 pin->tx_custom_low_usecs = usecs; in cec_pin_error_inj_parse_line() 137 u32 usecs; in cec_pin_error_inj_parse_line() local 139 if (kstrtou32(p, 0, &usecs) || usecs > 10000000) in cec_pin_error_inj_parse_line() 141 pin->tx_custom_high_usecs = usecs; in cec_pin_error_inj_parse_line()
|
/linux-6.1.9/tools/include/nolibc/ |
D | unistd.h | 41 int usleep(unsigned int usecs) in usleep() argument 43 struct timeval my_timeval = { usecs / 1000000, usecs % 1000000 }; in usleep()
|
/linux-6.1.9/Documentation/trace/ |
D | hwlat_detector.rst | 50 - width - time period to sample with CPUs held (usecs) 52 - window - total period of sampling, width being inside (usecs) 55 for every 1,000,000 usecs (1s) the hwlat detector will spin for 500,000 usecs 57 change to a default of 10 usecs. If any latencies that exceed the threshold is 74 - tracing_threshold - minimum latency value to be considered (usecs) 75 - tracing_max_latency - maximum hardware latency actually observed (usecs) 77 - hwlat_detector/width - specified amount of time to spin within window (usecs) 78 - hwlat_detector/window - amount of time between (width) runs (usecs)
|
/linux-6.1.9/kernel/ |
D | latencytop.c | 177 __account_scheduler_latency(struct task_struct *tsk, int usecs, int inter) in __account_scheduler_latency() argument 184 if (inter && usecs > 5000) in __account_scheduler_latency() 189 if (usecs <= 0) in __account_scheduler_latency() 194 lat.time = usecs; in __account_scheduler_latency() 195 lat.max = usecs; in __account_scheduler_latency()
|
/linux-6.1.9/drivers/usb/host/ |
D | ehci-sched.c | 203 ps->usecs, ps->c_usecs, ps->cs_mask); in bandwidth_dbg() 211 int usecs = qh->ps.usecs; in reserve_release_intr_bandwidth() local 223 usecs = -usecs; in reserve_release_intr_bandwidth() 231 ehci->bandwidth[i] += usecs; in reserve_release_intr_bandwidth() 362 unsigned usecs = ps->tt_usecs; in tt_available() local 372 if (tt->bandwidth[frame] + usecs > 900) in tt_available() 387 if (usecs > 125) { in tt_available() 388 int ufs = (usecs / 125); in tt_available() 395 tt_usecs[uframe] += usecs; in tt_available() 529 qh, qh->ps.phase, qh->ps.usecs, qh->ps.c_usecs); in qh_link_periodic() [all …]
|
/linux-6.1.9/drivers/spi/ |
D | spi-lp8841-rtc.c | 68 unsigned usecs, unsigned cpol, unsigned flags, in bitbang_txrx_be_cpha0_lsb() argument 81 usleep_range(usecs, usecs + 1); /* T(setup) */ in bitbang_txrx_be_cpha0_lsb() 89 usleep_range(usecs, usecs + 1); in bitbang_txrx_be_cpha0_lsb()
|
/linux-6.1.9/arch/sh/lib/ |
D | delay.c | 45 void __udelay(unsigned long usecs) in __udelay() argument 47 __const_udelay(usecs * 0x000010c6); /* 2**32 / 1000000 */ in __udelay()
|
/linux-6.1.9/arch/arc/include/asm/ |
D | delay.h | 54 static inline void __udelay(unsigned long usecs) in __udelay() argument 61 loops = ((u64) usecs * 4295 * HZ * loops_per_jiffy) >> 32; in __udelay()
|
/linux-6.1.9/arch/csky/lib/ |
D | delay.c | 29 void __udelay(unsigned long usecs) in __udelay() argument 31 __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ in __udelay()
|
/linux-6.1.9/arch/x86/um/ |
D | delay.c | 47 void __udelay(unsigned long usecs) in __udelay() argument 49 __const_udelay(usecs * 0x000010c7); /* 2**32 / 1000000 (rounded up) */ in __udelay()
|
/linux-6.1.9/arch/s390/lib/ |
D | delay.c | 33 void __udelay(unsigned long usecs) in __udelay() argument 35 delay_loop(usecs << 12); in __udelay()
|
/linux-6.1.9/arch/nios2/lib/ |
D | delay.c | 30 void __udelay(unsigned long usecs) in __udelay() argument 32 __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ in __udelay()
|
/linux-6.1.9/arch/openrisc/lib/ |
D | delay.c | 49 void __udelay(unsigned long usecs) in __udelay() argument 51 __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ in __udelay()
|
/linux-6.1.9/arch/parisc/lib/ |
D | delay.c | 68 void __udelay(unsigned long usecs) in __udelay() argument 70 __cr16_delay(usecs * ((unsigned long)boot_cpu_data.cpu_hz / 1000000UL)); in __udelay()
|
/linux-6.1.9/arch/xtensa/include/asm/ |
D | delay.h | 37 static inline void __udelay(unsigned long usecs) in __udelay() argument 40 unsigned long cycles = (usecs * (ccount_freq >> 15)) >> 5; in __udelay()
|
/linux-6.1.9/arch/arm64/lib/ |
D | delay.c | 59 void __udelay(unsigned long usecs) in __udelay() argument 61 __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ in __udelay()
|