/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/ |
H A D | a5xx_gpu.h | 138 static inline int spin_usecs(struct msm_gpu *gpu, uint32_t usecs, in spin_usecs() argument 141 while (usecs--) { in spin_usecs()
|
/kernel/linux/linux-6.6/arch/x86/lib/ |
H A D | delay.c | 221 void __udelay(unsigned long usecs) in __udelay() argument 223 __const_udelay(usecs * 0x000010c7); /* 2**32 / 1000000 (rounded up) */ in __udelay()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/adreno/ |
H A D | a5xx_gpu.h | 138 static inline int spin_usecs(struct msm_gpu *gpu, uint32_t usecs, in spin_usecs() argument 141 while (usecs--) { in spin_usecs()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/benchmarks/ |
H A D | null_syscall.c | 43 static void cpu_soak_usecs(unsigned long usecs) in cpu_soak_usecs() argument 48 val.it_value.tv_usec = usecs; in cpu_soak_usecs()
|
/kernel/liteos_a/arch/arm/arm/src/ |
H A D | arm_generic_timer.c | 149 VOID HalDelayUs(UINT32 usecs)
in HalDelayUs() argument 151 UINT64 cycles = (UINT64)usecs * g_sysClock / OS_SYS_US_PER_SECOND;
in HalDelayUs()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkDeviceMemoryExternalMac.hpp | 49 uint64_t usecs = (uint64_t)((double)time * convert_ratio - secs * 1e9); in GetTime() local 51 tv.tv_nsec = usecs; in GetTime()
|
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | rc80211_minstrel.c | 75 int usecs; in minstrel_get_tp_avg() local 77 usecs = mr->perfect_tx_time; in minstrel_get_tp_avg() 78 if (!usecs) in minstrel_get_tp_avg() 79 usecs = 1000000; in minstrel_get_tp_avg() 86 return MINSTREL_TRUNC(100000 * (MINSTREL_FRAC(90, 100) / usecs)); in minstrel_get_tp_avg() 88 return MINSTREL_TRUNC(100000 * (prob_avg / usecs)); in minstrel_get_tp_avg()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
H A D | vc4_hdmi.c | 1398 const u32 usecs = 1000000 / CEC_CLOCK_FREQ; in vc4_hdmi_cec_adap_enable() local 1404 val |= ((4700 / usecs) << VC4_HDMI_CEC_CNT_TO_4700_US_SHIFT) | in vc4_hdmi_cec_adap_enable() 1405 ((4500 / usecs) << VC4_HDMI_CEC_CNT_TO_4500_US_SHIFT); in vc4_hdmi_cec_adap_enable() 1412 ((1500 / usecs) << VC4_HDMI_CEC_CNT_TO_1500_US_SHIFT) | in vc4_hdmi_cec_adap_enable() 1413 ((1300 / usecs) << VC4_HDMI_CEC_CNT_TO_1300_US_SHIFT) | in vc4_hdmi_cec_adap_enable() 1414 ((800 / usecs) << VC4_HDMI_CEC_CNT_TO_800_US_SHIFT) | in vc4_hdmi_cec_adap_enable() 1415 ((600 / usecs) << VC4_HDMI_CEC_CNT_TO_600_US_SHIFT) | in vc4_hdmi_cec_adap_enable() 1416 ((400 / usecs) << VC4_HDMI_CEC_CNT_TO_400_US_SHIFT)); in vc4_hdmi_cec_adap_enable() 1418 ((2750 / usecs) << VC4_HDMI_CEC_CNT_TO_2750_US_SHIFT) | in vc4_hdmi_cec_adap_enable() 1419 ((2400 / usecs) << VC4_HDMI_CEC_CNT_TO_2400_US_SHIF in vc4_hdmi_cec_adap_enable() [all...] |
/kernel/linux/linux-5.10/drivers/media/cec/core/ |
H A D | cec-pin.c | 67 unsigned int usecs; member 848 u32 usecs; in cec_pin_timer() local 1007 usecs = pin->tx_custom_low_usecs; in cec_pin_timer() 1012 usecs = pin->tx_custom_high_usecs; in cec_pin_timer() 1015 usecs = states[pin->state].usecs; in cec_pin_timer() 1019 if (!adap->monitor_pin_cnt || usecs <= 150) { in cec_pin_timer() 1021 pin->timer_ts = ktime_add_us(ts, usecs); in cec_pin_timer() 1023 ns_to_ktime(usecs * 1000)); in cec_pin_timer() 1026 pin->wait_usecs = usecs in cec_pin_timer() [all...] |
/kernel/linux/linux-5.10/drivers/media/radio/si4713/ |
H A D | si4713.c | 156 static int usecs_to_dev(unsigned long usecs, unsigned long const array[], in usecs_to_dev() argument 163 if (array[(i * 2) + 1] >= usecs) { in usecs_to_dev() 191 * @usecs: amount of time to wait before reading the response (in usecs) 195 u8 response[], const int respn, const int usecs) in si4713_send_command() 217 until_jiffies = jiffies + usecs_to_jiffies(usecs) + 1; in si4713_send_command() 222 usecs_to_jiffies(usecs) + 1)) in si4713_send_command() 243 if (usecs <= 1000) in si4713_send_command() 244 usleep_range(usecs, 1000); in si4713_send_command() 492 * @usecs 193 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 494 si4713_wait_stc(struct si4713_device *sdev, const int usecs) si4713_wait_stc() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/radio/si4713/ |
H A D | si4713.c | 156 static int usecs_to_dev(unsigned long usecs, unsigned long const array[], in usecs_to_dev() argument 163 if (array[(i * 2) + 1] >= usecs) { in usecs_to_dev() 191 * @usecs: amount of time to wait before reading the response (in usecs) 195 u8 response[], const int respn, const int usecs) in si4713_send_command() 217 until_jiffies = jiffies + usecs_to_jiffies(usecs) + 1; in si4713_send_command() 222 usecs_to_jiffies(usecs) + 1)) in si4713_send_command() 243 if (usecs <= 1000) in si4713_send_command() 244 usleep_range(usecs, 1000); in si4713_send_command() 492 * @usecs 193 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 494 si4713_wait_stc(struct si4713_device *sdev, const int usecs) si4713_wait_stc() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/cec/core/ |
H A D | cec-pin.c | 67 unsigned int usecs; member 848 u32 usecs; in cec_pin_timer() local 1007 usecs = pin->tx_custom_low_usecs; in cec_pin_timer() 1012 usecs = pin->tx_custom_high_usecs; in cec_pin_timer() 1015 usecs = states[pin->state].usecs; in cec_pin_timer() 1019 if (!adap->monitor_pin_cnt || usecs <= 150) { in cec_pin_timer() 1021 pin->timer_ts = ktime_add_us(ts, usecs); in cec_pin_timer() 1023 ns_to_ktime(usecs * 1000)); in cec_pin_timer() 1026 pin->wait_usecs = usecs in cec_pin_timer() [all...] |
/third_party/skia/third_party/externals/dawn/src/utils/ |
H A D | SystemUtils.h | 20 void USleep(unsigned int usecs);
|
/device/soc/rockchip/rk2206/hardware/include/lz_hardware/ |
H A D | delay.h | 19 void ToyUdelay(unsigned int usecs);
|
/kernel/linux/linux-5.10/arch/alpha/include/asm/ |
H A D | delay.h | 6 extern void udelay(unsigned long usecs);
|
/kernel/linux/linux-6.6/arch/alpha/include/asm/ |
H A D | delay.h | 6 extern void udelay(unsigned long usecs);
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
H A D | delay.h | 13 extern void udelay(unsigned long usecs);
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
H A D | delay_64.h | 13 void udelay(unsigned long usecs);
|
/kernel/linux/linux-6.6/arch/riscv/include/asm/ |
H A D | delay.h | 13 extern void udelay(unsigned long usecs);
|
/kernel/linux/linux-6.6/arch/sparc/include/asm/ |
H A D | delay_64.h | 13 void udelay(unsigned long usecs);
|
/device/qemu/arm_virt/liteos_a/board/include/soc/ |
H A D | timer.h | 28 VOID LOS_Udelay(UINT32 usecs);
|
/kernel/linux/linux-6.6/arch/s390/include/asm/ |
H A D | delay.h | 17 void __udelay(unsigned long usecs);
|
/kernel/linux/linux-5.10/arch/hexagon/kernel/ |
H A D | time.c | 224 void __udelay(unsigned long usecs) in __udelay() argument 227 unsigned long long finish = (pcycle_freq_mhz * usecs) - fudgefactor; in __udelay()
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | daemon_user.c | 133 int usecs; in daemon_user_init() member 142 name.usecs = tv.tv_usec; in daemon_user_init()
|
/kernel/linux/linux-6.6/arch/hexagon/kernel/ |
H A D | time.c | 224 void __udelay(unsigned long usecs) in __udelay() argument 227 unsigned long long finish = (pcycle_freq_mhz * usecs) - fudgefactor; in __udelay()
|