/kernel/linux/linux-5.10/arch/s390/lib/ |
D | delay.c | 34 static void __udelay_disabled(unsigned long long usecs) in __udelay_disabled() argument 40 end = get_tod_clock() + (usecs << 12); in __udelay_disabled() 55 static void __udelay_enabled(unsigned long long usecs) in __udelay_enabled() argument 59 end = get_tod_clock_fast() + (usecs << 12); in __udelay_enabled() 75 void __udelay(unsigned long long usecs) in __udelay() argument 82 __udelay_disabled(usecs); in __udelay() 87 __udelay_disabled(usecs); in __udelay() 89 __udelay_enabled(usecs); in __udelay() 94 __udelay_disabled(usecs); in __udelay() 98 __udelay_enabled(usecs); in __udelay() [all …]
|
/kernel/linux/linux-5.10/kernel/time/ |
D | test_udelay.c | 28 static int udelay_test_single(struct seq_file *s, int usecs, uint32_t iters) in udelay_test_single() argument 35 int allowed_error_ns = usecs * 5; in udelay_test_single() 42 udelay(usecs); in udelay_test_single() 50 if ((time_passed + allowed_error_ns) / 1000 < usecs) in udelay_test_single() 59 usecs, iters, usecs * 1000, in udelay_test_single() 60 (usecs * 1000) - allowed_error_ns, min, avg, max); in udelay_test_single() 70 int usecs; in udelay_test_show() local 75 usecs = udelay_test_usecs; in udelay_test_show() 79 if (usecs > 0 && iters > 0) { in udelay_test_show() 80 return udelay_test_single(s, usecs, iters); in udelay_test_show() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/nds32/include/asm/ |
D | delay.h | 20 static inline void __udelay(unsigned long usecs, unsigned long lpj) in __udelay() argument 22 usecs *= (unsigned long)(((0x8000000000000000ULL / (500000 / HZ)) + in __udelay() 24 usecs = (unsigned long)(((unsigned long long)usecs * lpj) >> 32); in __udelay() 25 __delay(usecs); in __udelay() 28 #define udelay(usecs) __udelay((usecs), loops_per_jiffy) argument
|
/kernel/linux/linux-5.10/include/linux/ |
D | delay.h | 69 static inline void fsleep(unsigned long usecs) in fsleep() argument 71 if (usecs <= 10) in fsleep() 72 udelay(usecs); in fsleep() 73 else if (usecs <= 20000) in fsleep() 74 usleep_range(usecs, 2 * usecs); in fsleep() 76 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() 47 account_scheduler_latency(struct task_struct *task, int usecs, int inter) in account_scheduler_latency() argument
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | ufs.h | 159 TP_PROTO(const char *dev_name, int err, s64 usecs, 162 TP_ARGS(dev_name, err, usecs, dev_state, link_state), 165 __field(s64, usecs) 173 __entry->usecs = usecs; 183 __entry->usecs, 191 TP_PROTO(const char *dev_name, int err, s64 usecs, 193 TP_ARGS(dev_name, err, usecs, dev_state, link_state)); 196 TP_PROTO(const char *dev_name, int err, s64 usecs, 198 TP_ARGS(dev_name, err, usecs, dev_state, link_state)); 201 TP_PROTO(const char *dev_name, int err, s64 usecs, [all …]
|
/kernel/linux/linux-5.10/arch/riscv/lib/ |
D | delay.c | 81 void udelay(unsigned long usecs) in udelay() argument 83 u64 ucycles = (u64)usecs * lpj_fine * UDELAY_MULT; in udelay() 86 if (unlikely(usecs > MAX_UDELAY_US)) { in udelay() 87 n = (u64)usecs * riscv_timebase; in udelay()
|
/kernel/linux/linux-5.10/arch/hexagon/include/asm/ |
D | delay.h | 12 extern void __udelay(unsigned long usecs); 14 #define udelay(usecs) __udelay((usecs)) argument
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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)
|
/kernel/linux/linux-5.10/kernel/ |
D | latencytop.c | 151 __account_scheduler_latency(struct task_struct *tsk, int usecs, int inter) in __account_scheduler_latency() argument 158 if (inter && usecs > 5000) in __account_scheduler_latency() 163 if (usecs <= 0) in __account_scheduler_latency() 168 lat.time = usecs; in __account_scheduler_latency() 169 lat.max = usecs; in __account_scheduler_latency()
|
/kernel/linux/linux-5.10/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() 356 unsigned usecs = ps->tt_usecs; in tt_available() local 366 if (tt->bandwidth[frame] + usecs > 900) in tt_available() 381 if (usecs > 125) { in tt_available() 382 int ufs = (usecs / 125); in tt_available() 389 tt_usecs[uframe] += usecs; in tt_available() 523 qh, qh->ps.phase, qh->ps.usecs, qh->ps.c_usecs); in qh_link_periodic() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | delay.h | 17 void __udelay(unsigned long long usecs); 18 void udelay_simple(unsigned long long usecs);
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/h8300/lib/ |
D | delay.c | 31 void __udelay(unsigned long usecs) in __udelay() argument 33 __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ in __udelay()
|
/kernel/linux/linux-5.10/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()
|
/kernel/liteos_a/kernel/include/ |
D | los_tick.h | 153 extern VOID LOS_Udelay(UINT32 usecs); 172 extern VOID LOS_Mdelay(UINT32 usecs);
|
/kernel/linux/linux-5.10/arch/openrisc/lib/ |
D | delay.c | 48 void __udelay(unsigned long usecs) in __udelay() argument 50 __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ in __udelay()
|