usecs 6 arch/alpha/include/asm/delay.h extern void udelay(unsigned long usecs); usecs 43 arch/alpha/lib/udelay.c udelay(unsigned long usecs) usecs 45 arch/alpha/lib/udelay.c usecs *= (((unsigned long)HZ << 32) / 1000000) * LPJ; usecs 46 arch/alpha/lib/udelay.c __delay((long)usecs >> 32); usecs 54 arch/arc/include/asm/delay.h static inline void __udelay(unsigned long usecs) usecs 61 arch/arc/include/asm/delay.h loops = ((u64) usecs * 4295 * HZ * loops_per_jiffy) >> 32; usecs 90 arch/arm/include/asm/delay.h extern void __loop_udelay(unsigned long usecs); usecs 60 arch/arm/lib/delay.c static void __timer_udelay(unsigned long usecs) usecs 62 arch/arm/lib/delay.c __timer_const_udelay(usecs * UDELAY_MULT); usecs 49 arch/arm64/lib/delay.c void __udelay(unsigned long usecs) usecs 51 arch/arm64/lib/delay.c __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ usecs 29 arch/csky/lib/delay.c void __udelay(unsigned long usecs) usecs 31 arch/csky/lib/delay.c __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ usecs 31 arch/h8300/lib/delay.c void __udelay(unsigned long usecs) usecs 33 arch/h8300/lib/delay.c __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ usecs 12 arch/hexagon/include/asm/delay.h extern void __udelay(unsigned long usecs); usecs 14 arch/hexagon/include/asm/delay.h #define udelay(usecs) __udelay((usecs)) usecs 221 arch/hexagon/kernel/time.c void __udelay(unsigned long usecs) usecs 224 arch/hexagon/kernel/time.c unsigned long long finish = (pcycle_freq_mhz * usecs) - fudgefactor; usecs 87 arch/ia64/include/asm/delay.h extern void udelay (unsigned long usecs); usecs 19 arch/ia64/include/asm/timex.h extern void (*ia64_udelay)(unsigned long usecs); usecs 408 arch/ia64/kernel/time.c ia64_itc_udelay (unsigned long usecs) usecs 411 arch/ia64/kernel/time.c unsigned long end = start + usecs*local_cpu_data->cyc_per_usec; usecs 417 arch/ia64/kernel/time.c void (*ia64_udelay)(unsigned long usecs) = &ia64_itc_udelay; usecs 420 arch/ia64/kernel/time.c udelay (unsigned long usecs) usecs 422 arch/ia64/kernel/time.c (*ia64_udelay)(usecs); usecs 79 arch/m68k/include/asm/delay.h static inline void __udelay(unsigned long usecs) usecs 81 arch/m68k/include/asm/delay.h __const_udelay(usecs); usecs 20 arch/nds32/include/asm/delay.h static inline void __udelay(unsigned long usecs, unsigned long lpj) usecs 22 arch/nds32/include/asm/delay.h usecs *= (unsigned long)(((0x8000000000000000ULL / (500000 / HZ)) + usecs 24 arch/nds32/include/asm/delay.h usecs = (unsigned long)(((unsigned long long)usecs * lpj) >> 32); usecs 25 arch/nds32/include/asm/delay.h __delay(usecs); usecs 28 arch/nds32/include/asm/delay.h #define udelay(usecs) __udelay((usecs), loops_per_jiffy) usecs 30 arch/nios2/lib/delay.c void __udelay(unsigned long usecs) usecs 32 arch/nios2/lib/delay.c __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ usecs 48 arch/openrisc/lib/delay.c void __udelay(unsigned long usecs) usecs 50 arch/openrisc/lib/delay.c __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ usecs 13 arch/parisc/include/asm/delay.h extern void __udelay(unsigned long usecs); usecs 14 arch/parisc/include/asm/delay.h extern void __udelay_bad(unsigned long usecs); usecs 16 arch/parisc/include/asm/delay.h static inline void udelay(unsigned long usecs) usecs 18 arch/parisc/include/asm/delay.h if (__builtin_constant_p(usecs) && (usecs) > 20000) usecs 19 arch/parisc/include/asm/delay.h __udelay_bad(usecs); usecs 20 arch/parisc/include/asm/delay.h __udelay(usecs); usecs 68 arch/parisc/lib/delay.c void __udelay(unsigned long usecs) usecs 70 arch/parisc/lib/delay.c __cr16_delay(usecs * ((unsigned long)boot_cpu_data.cpu_hz / 1000000UL)); usecs 18 arch/powerpc/include/asm/delay.h extern void udelay(unsigned long usecs); usecs 476 arch/powerpc/kernel/time.c void udelay(unsigned long usecs) usecs 478 arch/powerpc/kernel/time.c __delay(tb_ticks_per_usec * usecs); usecs 13 arch/riscv/include/asm/delay.h extern void udelay(unsigned long usecs); usecs 81 arch/riscv/lib/delay.c void udelay(unsigned long usecs) usecs 83 arch/riscv/lib/delay.c u64 ucycles = (u64)usecs * lpj_fine * UDELAY_MULT; usecs 86 arch/riscv/lib/delay.c if (unlikely(usecs > MAX_UDELAY_US)) { usecs 87 arch/riscv/lib/delay.c n = (u64)usecs * riscv_timebase; usecs 17 arch/s390/include/asm/delay.h void __udelay(unsigned long long usecs); usecs 18 arch/s390/include/asm/delay.h void udelay_simple(unsigned long long usecs); usecs 34 arch/s390/lib/delay.c static void __udelay_disabled(unsigned long long usecs) usecs 40 arch/s390/lib/delay.c end = get_tod_clock() + (usecs << 12); usecs 54 arch/s390/lib/delay.c static void __udelay_enabled(unsigned long long usecs) usecs 58 arch/s390/lib/delay.c end = get_tod_clock_fast() + (usecs << 12); usecs 74 arch/s390/lib/delay.c void __udelay(unsigned long long usecs) usecs 81 arch/s390/lib/delay.c __udelay_disabled(usecs); usecs 86 arch/s390/lib/delay.c __udelay_disabled(usecs); usecs 88 arch/s390/lib/delay.c __udelay_enabled(usecs); usecs 93 arch/s390/lib/delay.c __udelay_disabled(usecs); usecs 97 arch/s390/lib/delay.c __udelay_enabled(usecs); usecs 108 arch/s390/lib/delay.c void udelay_simple(unsigned long long usecs) usecs 112 arch/s390/lib/delay.c end = get_tod_clock_fast() + (usecs << 12); usecs 45 arch/sh/lib/delay.c void __udelay(unsigned long usecs) usecs 47 arch/sh/lib/delay.c __const_udelay(usecs * 0x000010c6); /* 2**32 / 1000000 */ usecs 41 arch/sh/lib64/udelay.c void __udelay(unsigned long usecs) usecs 43 arch/sh/lib64/udelay.c __const_udelay(usecs * 0x000010c6); /* 2**32 / 1000000 */ usecs 24 arch/sparc/include/asm/delay_32.h void __udelay(unsigned long usecs, unsigned long lpj); usecs 13 arch/sparc/include/asm/delay_64.h void udelay(unsigned long usecs); usecs 788 arch/sparc/kernel/time_64.c void udelay(unsigned long usecs) usecs 790 arch/sparc/kernel/time_64.c __delay(tb_ticks_per_usec * usecs); usecs 132 arch/um/drivers/daemon_user.c int usecs; usecs 141 arch/um/drivers/daemon_user.c name.usecs = tv.tv_usec; usecs 37 arch/unicore32/include/asm/delay.h extern void __udelay(unsigned long usecs); usecs 179 arch/x86/lib/delay.c void __udelay(unsigned long usecs) usecs 181 arch/x86/lib/delay.c __const_udelay(usecs * 0x000010c7); /* 2**32 / 1000000 (rounded up) */ usecs 47 arch/x86/um/delay.c void __udelay(unsigned long usecs) usecs 49 arch/x86/um/delay.c __const_udelay(usecs * 0x000010c7); /* 2**32 / 1000000 (rounded up) */ usecs 37 arch/xtensa/include/asm/delay.h static inline void __udelay(unsigned long usecs) usecs 40 arch/xtensa/include/asm/delay.h unsigned long cycles = (usecs * (ccount_freq >> 15)) >> 5; usecs 7141 drivers/ata/libata-core.c unsigned long usecs = msecs * USEC_PER_MSEC; usecs 7142 drivers/ata/libata-core.c usleep_range(usecs, usecs + 50); usecs 1088 drivers/ata/sata_mv.c unsigned int count, unsigned int usecs) usecs 1099 drivers/ata/sata_mv.c if (!usecs || !count) { usecs 1103 drivers/ata/sata_mv.c clks = usecs * COAL_CLOCKS_PER_USEC; usecs 458 drivers/base/power/main.c int usecs; usecs 463 drivers/base/power/main.c usecs = usecs64; usecs 464 drivers/base/power/main.c if (usecs == 0) usecs 465 drivers/base/power/main.c usecs = 1; usecs 470 drivers/base/power/main.c usecs / USEC_PER_MSEC, usecs % USEC_PER_MSEC); usecs 105 drivers/cpufreq/sparc-us2e-cpufreq.c unsigned long usecs; usecs 110 drivers/cpufreq/sparc-us2e-cpufreq.c usecs = (MCTRL0_REFR_CLKS_P_CNT * usecs 114 drivers/cpufreq/sparc-us2e-cpufreq.c udelay(usecs + 1UL); usecs 755 drivers/gpio/gpio-aspeed.c static int usecs_to_cycles(struct aspeed_gpio *gpio, unsigned long usecs, usecs 766 drivers/gpio/gpio-aspeed.c n = rate * usecs; usecs 845 drivers/gpio/gpio-aspeed.c unsigned long usecs) usecs 856 drivers/gpio/gpio-aspeed.c rc = usecs_to_cycles(gpio, usecs, &requested_cycles); usecs 859 drivers/gpio/gpio-aspeed.c usecs, clk_get_rate(gpio->clk), rc); usecs 895 drivers/gpio/gpio-aspeed.c usecs); usecs 946 drivers/gpio/gpio-aspeed.c unsigned long usecs) usecs 953 drivers/gpio/gpio-aspeed.c if (usecs) usecs 954 drivers/gpio/gpio-aspeed.c return enable_debounce(chip, offset, usecs); usecs 65 drivers/gpu/drm/i915/display/intel_sprite.c int usecs) usecs 71 drivers/gpu/drm/i915/display/intel_sprite.c return DIV_ROUND_UP(usecs * adjusted_mode->crtc_clock, usecs 22 drivers/gpu/drm/i915/display/intel_sprite.h int usecs); usecs 130 drivers/gpu/drm/msm/adreno/a5xx_gpu.h static inline int spin_usecs(struct msm_gpu *gpu, uint32_t usecs, usecs 133 drivers/gpu/drm/msm/adreno/a5xx_gpu.h while (usecs--) { usecs 1217 drivers/gpu/drm/vc4/vc4_hdmi.c const u32 usecs = 1000000 / CEC_CLOCK_FREQ; usecs 1223 drivers/gpu/drm/vc4/vc4_hdmi.c val |= ((4700 / usecs) << VC4_HDMI_CEC_CNT_TO_4700_US_SHIFT) | usecs 1224 drivers/gpu/drm/vc4/vc4_hdmi.c ((4500 / usecs) << VC4_HDMI_CEC_CNT_TO_4500_US_SHIFT); usecs 1231 drivers/gpu/drm/vc4/vc4_hdmi.c ((1500 / usecs) << VC4_HDMI_CEC_CNT_TO_1500_US_SHIFT) | usecs 1232 drivers/gpu/drm/vc4/vc4_hdmi.c ((1300 / usecs) << VC4_HDMI_CEC_CNT_TO_1300_US_SHIFT) | usecs 1233 drivers/gpu/drm/vc4/vc4_hdmi.c ((800 / usecs) << VC4_HDMI_CEC_CNT_TO_800_US_SHIFT) | usecs 1234 drivers/gpu/drm/vc4/vc4_hdmi.c ((600 / usecs) << VC4_HDMI_CEC_CNT_TO_600_US_SHIFT) | usecs 1235 drivers/gpu/drm/vc4/vc4_hdmi.c ((400 / usecs) << VC4_HDMI_CEC_CNT_TO_400_US_SHIFT)); usecs 1237 drivers/gpu/drm/vc4/vc4_hdmi.c ((2750 / usecs) << VC4_HDMI_CEC_CNT_TO_2750_US_SHIFT) | usecs 1238 drivers/gpu/drm/vc4/vc4_hdmi.c ((2400 / usecs) << VC4_HDMI_CEC_CNT_TO_2400_US_SHIFT) | usecs 1239 drivers/gpu/drm/vc4/vc4_hdmi.c ((2050 / usecs) << VC4_HDMI_CEC_CNT_TO_2050_US_SHIFT) | usecs 1240 drivers/gpu/drm/vc4/vc4_hdmi.c ((1700 / usecs) << VC4_HDMI_CEC_CNT_TO_1700_US_SHIFT)); usecs 1242 drivers/gpu/drm/vc4/vc4_hdmi.c ((4300 / usecs) << VC4_HDMI_CEC_CNT_TO_4300_US_SHIFT) | usecs 1243 drivers/gpu/drm/vc4/vc4_hdmi.c ((3900 / usecs) << VC4_HDMI_CEC_CNT_TO_3900_US_SHIFT) | usecs 1244 drivers/gpu/drm/vc4/vc4_hdmi.c ((3600 / usecs) << VC4_HDMI_CEC_CNT_TO_3600_US_SHIFT) | usecs 1245 drivers/gpu/drm/vc4/vc4_hdmi.c ((3500 / usecs) << VC4_HDMI_CEC_CNT_TO_3500_US_SHIFT)); usecs 129 drivers/media/cec/cec-pin-error-inj.c u32 usecs; usecs 131 drivers/media/cec/cec-pin-error-inj.c if (kstrtou32(p, 0, &usecs) || usecs > 10000000) usecs 133 drivers/media/cec/cec-pin-error-inj.c pin->tx_custom_low_usecs = usecs; usecs 137 drivers/media/cec/cec-pin-error-inj.c u32 usecs; usecs 139 drivers/media/cec/cec-pin-error-inj.c if (kstrtou32(p, 0, &usecs) || usecs > 10000000) usecs 141 drivers/media/cec/cec-pin-error-inj.c pin->tx_custom_high_usecs = usecs; usecs 67 drivers/media/cec/cec-pin.c unsigned int usecs; usecs 848 drivers/media/cec/cec-pin.c u32 usecs; usecs 1007 drivers/media/cec/cec-pin.c usecs = pin->tx_custom_low_usecs; usecs 1012 drivers/media/cec/cec-pin.c usecs = pin->tx_custom_high_usecs; usecs 1015 drivers/media/cec/cec-pin.c usecs = states[pin->state].usecs; usecs 1019 drivers/media/cec/cec-pin.c if (!adap->monitor_pin_cnt || usecs <= 150) { usecs 1021 drivers/media/cec/cec-pin.c pin->timer_ts = ktime_add_us(ts, usecs); usecs 1023 drivers/media/cec/cec-pin.c ns_to_ktime(usecs * 1000)); usecs 1026 drivers/media/cec/cec-pin.c pin->wait_usecs = usecs - 100; usecs 170 drivers/media/platform/vivid/vivid-cec.c dev->cec_xfer_time_jiffies = usecs_to_jiffies(cw->usecs); usecs 204 drivers/media/platform/vivid/vivid-cec.c cw->usecs = CEC_FREE_TIME_TO_USEC(signal_free_time) + usecs 213 drivers/media/platform/vivid/vivid-cec.c dev->cec_xfer_time_jiffies = usecs_to_jiffies(cw->usecs); usecs 118 drivers/media/platform/vivid/vivid-core.h unsigned int usecs; usecs 156 drivers/media/radio/si4713/si4713.c static int usecs_to_dev(unsigned long usecs, unsigned long const array[], usecs 163 drivers/media/radio/si4713/si4713.c if (array[(i * 2) + 1] >= usecs) { usecs 195 drivers/media/radio/si4713/si4713.c u8 response[], const int respn, const int usecs) usecs 217 drivers/media/radio/si4713/si4713.c until_jiffies = jiffies + usecs_to_jiffies(usecs) + 1; usecs 222 drivers/media/radio/si4713/si4713.c usecs_to_jiffies(usecs) + 1)) usecs 243 drivers/media/radio/si4713/si4713.c if (usecs <= 1000) usecs 244 drivers/media/radio/si4713/si4713.c usleep_range(usecs, 1000); usecs 494 drivers/media/radio/si4713/si4713.c static int si4713_wait_stc(struct si4713_device *sdev, const int usecs) usecs 502 drivers/media/radio/si4713/si4713.c !wait_for_completion_timeout(&sdev->work, usecs_to_jiffies(usecs) + 1)) usecs 521 drivers/media/radio/si4713/si4713.c if (jiffies_to_usecs(jiffies - start_jiffies) > usecs) usecs 263 drivers/mfd/si476x-cmd.c const int usecs) usecs 300 drivers/mfd/si476x-cmd.c usecs_to_jiffies(usecs) + 1)) usecs 315 drivers/mfd/si476x-cmd.c usecs_to_jiffies(usecs) + 1)) usecs 1204 drivers/mmc/host/omap.c int usecs = 250; usecs 1210 drivers/mmc/host/omap.c while (usecs > 0 && (OMAP_MMC_READ(host, STAT) & 1) == 0) { usecs 1212 drivers/mmc/host/omap.c usecs--; usecs 561 drivers/net/ethernet/broadcom/bcmsysport.c u32 usecs, u32 pkts) usecs 569 drivers/net/ethernet/broadcom/bcmsysport.c reg |= DIV_ROUND_UP(usecs * 1000, 8192) << RDMA_TIMEOUT_SHIFT; usecs 613 drivers/net/ethernet/broadcom/bcmsysport.c u32 usecs, pkts; usecs 636 drivers/net/ethernet/broadcom/bcmsysport.c usecs = priv->rx_coalesce_usecs; usecs 641 drivers/net/ethernet/broadcom/bcmsysport.c usecs = moder.usec; usecs 648 drivers/net/ethernet/broadcom/bcmsysport.c bcm_sysport_set_rx_coalesce(priv, usecs, pkts); usecs 1450 drivers/net/ethernet/broadcom/bcmsysport.c u32 usecs, pkts; usecs 1452 drivers/net/ethernet/broadcom/bcmsysport.c usecs = priv->rx_coalesce_usecs; usecs 1458 drivers/net/ethernet/broadcom/bcmsysport.c usecs = moder.usec; usecs 1462 drivers/net/ethernet/broadcom/bcmsysport.c bcm_sysport_set_rx_coalesce(priv, usecs, pkts); usecs 626 drivers/net/ethernet/broadcom/genet/bcmgenet.c u32 usecs, u32 pkts) usecs 636 drivers/net/ethernet/broadcom/genet/bcmgenet.c reg |= DIV_ROUND_UP(usecs * 1000, 8192); usecs 644 drivers/net/ethernet/broadcom/genet/bcmgenet.c u32 usecs, pkts; usecs 648 drivers/net/ethernet/broadcom/genet/bcmgenet.c usecs = ring->rx_coalesce_usecs; usecs 653 drivers/net/ethernet/broadcom/genet/bcmgenet.c usecs = moder.usec; usecs 658 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_set_rx_coalesce(ring, usecs, pkts); usecs 2099 drivers/net/ethernet/broadcom/genet/bcmgenet.c u32 usecs, pkts; usecs 2101 drivers/net/ethernet/broadcom/genet/bcmgenet.c usecs = ring->rx_coalesce_usecs; usecs 2107 drivers/net/ethernet/broadcom/genet/bcmgenet.c usecs = moder.usec; usecs 2111 drivers/net/ethernet/broadcom/genet/bcmgenet.c bcmgenet_set_rx_coalesce(ring, usecs, pkts); usecs 949 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c static int set_dbqtimer_tick(struct net_device *dev, int usecs) usecs 961 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c if (s->dbqtimer_tick == usecs) usecs 967 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c val = usecs; usecs 971 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c s->dbqtimer_tick = usecs; usecs 983 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c static int set_dbqtimer(struct net_device *dev, int usecs) usecs 1002 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c delta = s->dbqtimer_val[timerix] - usecs; usecs 2005 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c static void drain_db_fifo(struct adapter *adap, int usecs) usecs 2023 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c schedule_timeout(usecs_to_jiffies(usecs)); usecs 195 drivers/net/ethernet/freescale/gianfar_ethtool.c unsigned int usecs) usecs 217 drivers/net/ethernet/freescale/gianfar_ethtool.c return DIV_ROUND_UP(usecs * 1000, count); usecs 153 drivers/net/ethernet/intel/ice/ice_txrx.h #define ICE_GLINT_DYN_CTL_WB_ON_ITR(usecs, itr_idx) \ usecs 154 drivers/net/ethernet/intel/ice/ice_txrx.h ((((usecs) << (GLINT_DYN_CTL_INTERVAL_S - ICE_ITR_GRAN_S)) & \ usecs 375 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c u32 usecs; usecs 423 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c usecs = ionic_coal_hw_to_usec(lif->ionic, coal); usecs 425 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c if (usecs != lif->rx_coalesce_usecs) { usecs 426 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c lif->rx_coalesce_usecs = usecs; usecs 201 drivers/net/ethernet/pensando/ionic/ionic_lif.h static inline u32 ionic_coal_usec_to_hw(struct ionic *ionic, u32 usecs) usecs 211 drivers/net/ethernet/pensando/ionic/ionic_lif.h usecs += (div / mult) >> 1; usecs 214 drivers/net/ethernet/pensando/ionic/ionic_lif.h return (usecs * mult) / div; usecs 485 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 max_retries, u32 usecs) usecs 487 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 cnt = 0, msecs = DIV_ROUND_UP(usecs, 1000); usecs 515 drivers/net/ethernet/qlogic/qed/qed_mcp.c udelay(usecs); usecs 547 drivers/net/ethernet/qlogic/qed/qed_mcp.c udelay(usecs); usecs 587 drivers/net/ethernet/qlogic/qed/qed_mcp.c (cnt * usecs) / 1000, (cnt * usecs) % 1000); usecs 605 drivers/net/ethernet/qlogic/qed/qed_mcp.c u32 usecs = QED_MCP_RESP_ITER_US; usecs 631 drivers/net/ethernet/qlogic/qed/qed_mcp.c usecs *= 1000; usecs 635 drivers/net/ethernet/qlogic/qed/qed_mcp.c usecs); usecs 1905 drivers/net/ethernet/realtek/r8169_main.c u32 *usecs; usecs 1929 drivers/net/ethernet/realtek/r8169_main.c *p->usecs = w & RTL_COALESCE_MASK; usecs 1934 drivers/net/ethernet/realtek/r8169_main.c *p->usecs = (*p->usecs * scale->nsecs[i]) / 1000; usecs 1940 drivers/net/ethernet/realtek/r8169_main.c if (!*p->usecs && !*p->max_frames) usecs 1976 drivers/net/ethernet/realtek/r8169_main.c u32 usecs; usecs 1988 drivers/net/ethernet/realtek/r8169_main.c max(p[0].usecs, p[1].usecs) * 1000, &cp01); usecs 2011 drivers/net/ethernet/realtek/r8169_main.c units = p->usecs * 1000 / scale->nsecs[i]; usecs 2075 drivers/net/ethernet/sfc/ef10.c unsigned int mode, usecs; usecs 2080 drivers/net/ethernet/sfc/ef10.c usecs = channel->irq_moderation_us; usecs 2083 drivers/net/ethernet/sfc/ef10.c usecs = 0; usecs 2088 drivers/net/ethernet/sfc/ef10.c unsigned int ns = usecs * 1000; usecs 2099 drivers/net/ethernet/sfc/ef10.c unsigned int ticks = efx_usecs_to_ticks(efx, usecs); usecs 2108 drivers/net/ethernet/sfc/ef10.c unsigned int ticks = efx_usecs_to_ticks(efx, usecs); usecs 2040 drivers/net/ethernet/sfc/efx.c unsigned int efx_usecs_to_ticks(struct efx_nic *efx, unsigned int usecs) usecs 2042 drivers/net/ethernet/sfc/efx.c if (usecs == 0) usecs 2044 drivers/net/ethernet/sfc/efx.c if (usecs * 1000 < efx->timer_quantum_ns) usecs 2046 drivers/net/ethernet/sfc/efx.c return usecs * 1000 / efx->timer_quantum_ns; usecs 236 drivers/net/ethernet/sfc/efx.h unsigned int efx_usecs_to_ticks(struct efx_nic *efx, unsigned int usecs); usecs 1890 drivers/net/ethernet/sfc/falcon/efx.c unsigned int ef4_usecs_to_ticks(struct ef4_nic *efx, unsigned int usecs) usecs 1892 drivers/net/ethernet/sfc/falcon/efx.c if (usecs == 0) usecs 1894 drivers/net/ethernet/sfc/falcon/efx.c if (usecs * 1000 < efx->timer_quantum_ns) usecs 1896 drivers/net/ethernet/sfc/falcon/efx.c return usecs * 1000 / efx->timer_quantum_ns; usecs 200 drivers/net/ethernet/sfc/falcon/efx.h unsigned int ef4_usecs_to_ticks(struct ef4_nic *efx, unsigned int usecs); usecs 436 drivers/net/vmxnet3/vmxnet3_int.h #define VMXNET3_COAL_RBC_RATE(usecs) (1000000 / usecs) usecs 70 drivers/net/wireless/ath/ath9k/hw.c static u32 ath9k_hw_mac_to_clks(struct ath_hw *ah, u32 usecs) usecs 74 drivers/net/wireless/ath/ath9k/hw.c return usecs * common->clockrate; usecs 1009 drivers/scsi/aacraid/src.c unsigned long usecs = 0; usecs 1040 drivers/scsi/aacraid/src.c usecs = 1 * USEC_PER_MSEC; usecs 1041 drivers/scsi/aacraid/src.c usleep_range(usecs, usecs + 50); usecs 68 drivers/spi/spi-lp8841-rtc.c unsigned usecs, unsigned cpol, unsigned flags, usecs 81 drivers/spi/spi-lp8841-rtc.c usleep_range(usecs, usecs + 1); /* T(setup) */ usecs 89 drivers/spi/spi-lp8841-rtc.c usleep_range(usecs, usecs + 1); usecs 53 drivers/spi/spi-sc18is602.c int usecs = 1000000 * len / hw->speed + 1; usecs 60 drivers/spi/spi-sc18is602.c usleep_range(usecs, usecs * 2); usecs 616 drivers/usb/host/ehci-dbg.c (scratch >> 8) & 0x000f, type, qh->ps.usecs, usecs 808 drivers/usb/host/ehci-q.c qh->ps.usecs = NS_TO_US(usb_calc_bus_time(USB_SPEED_HIGH, usecs 843 drivers/usb/host/ehci-q.c qh->ps.c_usecs = qh->ps.usecs + HS_USECS(0); usecs 844 drivers/usb/host/ehci-q.c qh->ps.usecs = HS_USECS(1); usecs 846 drivers/usb/host/ehci-q.c qh->ps.usecs += HS_USECS(1); usecs 203 drivers/usb/host/ehci-sched.c ps->usecs, ps->c_usecs, ps->cs_mask); usecs 211 drivers/usb/host/ehci-sched.c int usecs = qh->ps.usecs; usecs 223 drivers/usb/host/ehci-sched.c usecs = -usecs; usecs 231 drivers/usb/host/ehci-sched.c ehci->bandwidth[i] += usecs; usecs 376 drivers/usb/host/ehci-sched.c unsigned usecs = ps->tt_usecs; usecs 386 drivers/usb/host/ehci-sched.c if (tt->bandwidth[frame] + usecs > 900) usecs 401 drivers/usb/host/ehci-sched.c if (usecs > 125) { usecs 402 drivers/usb/host/ehci-sched.c int ufs = (usecs / 125); usecs 409 drivers/usb/host/ehci-sched.c tt_usecs[uframe] += usecs; usecs 543 drivers/usb/host/ehci-sched.c qh, qh->ps.phase, qh->ps.usecs, qh->ps.c_usecs); usecs 591 drivers/usb/host/ehci-sched.c ? ((qh->ps.usecs + qh->ps.c_usecs) / qh->ps.bw_period) usecs 592 drivers/usb/host/ehci-sched.c : (qh->ps.usecs * 8); usecs 629 drivers/usb/host/ehci-sched.c ? ((qh->ps.usecs + qh->ps.c_usecs) / qh->ps.bw_period) usecs 630 drivers/usb/host/ehci-sched.c : (qh->ps.usecs * 8); usecs 636 drivers/usb/host/ehci-sched.c qh, qh->ps.phase, qh->ps.usecs, qh->ps.c_usecs); usecs 760 drivers/usb/host/ehci-sched.c unsigned usecs usecs 769 drivers/usb/host/ehci-sched.c usecs = ehci->uframe_periodic_max - usecs; usecs 773 drivers/usb/host/ehci-sched.c if (ehci->bandwidth[uframe] > usecs) usecs 796 drivers/usb/host/ehci-sched.c if (!check_period(ehci, frame, uframe, qh->ps.bw_uperiod, qh->ps.usecs)) usecs 1069 drivers/usb/host/ehci-sched.c stream->ps.usecs = HS_USECS_ISO(maxp); usecs 1080 drivers/usb/host/ehci-sched.c stream->bandwidth = stream->ps.usecs * 8 / usecs 1095 drivers/usb/host/ehci-sched.c stream->ps.usecs = HS_USECS_ISO(maxp); usecs 1104 drivers/usb/host/ehci-sched.c stream->ps.c_usecs = stream->ps.usecs; usecs 1105 drivers/usb/host/ehci-sched.c stream->ps.usecs = HS_USECS_ISO(1); usecs 1124 drivers/usb/host/ehci-sched.c stream->bandwidth = (stream->ps.usecs + stream->ps.c_usecs) / usecs 1322 drivers/usb/host/ehci-sched.c int usecs = stream->ps.usecs; usecs 1334 drivers/usb/host/ehci-sched.c usecs = -usecs; usecs 1342 drivers/usb/host/ehci-sched.c ehci->bandwidth[i] += usecs; usecs 1354 drivers/usb/host/ehci-sched.c ehci->bandwidth[i+j] += usecs; usecs 1379 drivers/usb/host/ehci-sched.c unsigned usecs; usecs 1382 drivers/usb/host/ehci-sched.c usecs = ehci->uframe_periodic_max - stream->ps.usecs; usecs 1386 drivers/usb/host/ehci-sched.c if (ehci->bandwidth[uframe] > usecs) usecs 1440 drivers/usb/host/ehci-sched.c max_used = ehci->uframe_periodic_max - stream->ps.usecs; usecs 59 drivers/usb/host/ehci.h u8 usecs, c_usecs; /* times on the HS bus */ usecs 509 drivers/usb/host/fotg210-hcd.c (scratch >> 8) & 0x000f, type, qh->usecs, usecs 2755 drivers/usb/host/fotg210-hcd.c qh->usecs = NS_TO_US(usb_calc_bus_time(USB_SPEED_HIGH, usecs 2784 drivers/usb/host/fotg210-hcd.c qh->c_usecs = qh->usecs + HS_USECS(0); usecs 2785 drivers/usb/host/fotg210-hcd.c qh->usecs = HS_USECS(1); usecs 2787 drivers/usb/host/fotg210-hcd.c qh->usecs += HS_USECS(1); usecs 3343 drivers/usb/host/fotg210-hcd.c unsigned usecs = 0; usecs 3352 drivers/usb/host/fotg210-hcd.c usecs += q->qh->usecs; usecs 3356 drivers/usb/host/fotg210-hcd.c usecs += q->qh->c_usecs; usecs 3373 drivers/usb/host/fotg210-hcd.c usecs += q->itd->stream->usecs; usecs 3379 drivers/usb/host/fotg210-hcd.c if (usecs > fotg210->uframe_periodic_max) usecs 3381 drivers/usb/host/fotg210-hcd.c frame * 8 + uframe, usecs); usecs 3382 drivers/usb/host/fotg210-hcd.c return usecs; usecs 3492 drivers/usb/host/fotg210-hcd.c (QH_CMASK | QH_SMASK), qh, qh->start, qh->usecs, usecs 3540 drivers/usb/host/fotg210-hcd.c ? ((qh->usecs + qh->c_usecs) / qh->period) usecs 3541 drivers/usb/host/fotg210-hcd.c : (qh->usecs * 8); usecs 3581 drivers/usb/host/fotg210-hcd.c ? ((qh->usecs + qh->c_usecs) / qh->period) usecs 3582 drivers/usb/host/fotg210-hcd.c : (qh->usecs * 8); usecs 3587 drivers/usb/host/fotg210-hcd.c (QH_CMASK | QH_SMASK), qh, qh->start, qh->usecs, usecs 3675 drivers/usb/host/fotg210-hcd.c unsigned uframe, unsigned period, unsigned usecs) usecs 3686 drivers/usb/host/fotg210-hcd.c usecs = fotg210->uframe_periodic_max - usecs; usecs 3696 drivers/usb/host/fotg210-hcd.c if (claimed > usecs) usecs 3705 drivers/usb/host/fotg210-hcd.c if (claimed > usecs) usecs 3723 drivers/usb/host/fotg210-hcd.c if (!check_period(fotg210, frame, uframe, qh->period, qh->usecs)) usecs 3958 drivers/usb/host/fotg210-hcd.c stream->usecs = NS_TO_US(usb_calc_bus_time(dev->speed, usecs 3960 drivers/usb/host/fotg210-hcd.c stream->usecs /= 8; usecs 3963 drivers/usb/host/fotg210-hcd.c stream->usecs = HS_USECS_ISO(maxp); usecs 3965 drivers/usb/host/fotg210-hcd.c bandwidth = stream->usecs * 8; usecs 4138 drivers/usb/host/fotg210-hcd.c u8 usecs, u32 period) usecs 4144 drivers/usb/host/fotg210-hcd.c > (fotg210->uframe_periodic_max - usecs)) usecs 4245 drivers/usb/host/fotg210-hcd.c stream->usecs, period)) usecs 461 drivers/usb/host/fotg210.h u8 usecs; /* intr bandwidth */ usecs 519 drivers/usb/host/fotg210.h u8 usecs, c_usecs; usecs 345 drivers/usb/host/oxu210hp-hcd.c u8 usecs; /* intr bandwidth */ usecs 1810 drivers/usb/host/oxu210hp-hcd.c qh->usecs = NS_TO_US(usb_calc_bus_time(USB_SPEED_HIGH, usecs 1839 drivers/usb/host/oxu210hp-hcd.c qh->c_usecs = qh->usecs + HS_USECS(0); usecs 1840 drivers/usb/host/oxu210hp-hcd.c qh->usecs = HS_USECS(1); usecs 1842 drivers/usb/host/oxu210hp-hcd.c qh->usecs += HS_USECS(1); usecs 2272 drivers/usb/host/oxu210hp-hcd.c unsigned usecs = 0; usecs 2280 drivers/usb/host/oxu210hp-hcd.c usecs += q->qh->usecs; usecs 2283 drivers/usb/host/oxu210hp-hcd.c usecs += q->qh->c_usecs; usecs 2290 drivers/usb/host/oxu210hp-hcd.c if (usecs > 100) usecs 2292 drivers/usb/host/oxu210hp-hcd.c frame * 8 + uframe, usecs); usecs 2294 drivers/usb/host/oxu210hp-hcd.c return usecs; usecs 2360 drivers/usb/host/oxu210hp-hcd.c qh, qh->start, qh->usecs, qh->c_usecs); usecs 2407 drivers/usb/host/oxu210hp-hcd.c ? ((qh->usecs + qh->c_usecs) / qh->period) usecs 2408 drivers/usb/host/oxu210hp-hcd.c : (qh->usecs * 8); usecs 2440 drivers/usb/host/oxu210hp-hcd.c ? ((qh->usecs + qh->c_usecs) / qh->period) usecs 2441 drivers/usb/host/oxu210hp-hcd.c : (qh->usecs * 8); usecs 2447 drivers/usb/host/oxu210hp-hcd.c qh, qh->start, qh->usecs, qh->c_usecs); usecs 2485 drivers/usb/host/oxu210hp-hcd.c unsigned period, unsigned usecs) usecs 2499 drivers/usb/host/oxu210hp-hcd.c usecs = 100 - usecs; usecs 2508 drivers/usb/host/oxu210hp-hcd.c if (claimed > usecs) usecs 2517 drivers/usb/host/oxu210hp-hcd.c if (claimed > usecs) usecs 2534 drivers/usb/host/oxu210hp-hcd.c if (!check_period(oxu, frame, uframe, qh->period, qh->usecs)) usecs 317 drivers/usb/musb/musb_cppi41.c unsigned long usecs = cppi41_channel->total_len / 10; usecs 320 drivers/usb/musb/musb_cppi41.c usecs * NSEC_PER_USEC, usecs 9 include/asm-generic/delay.h extern void __udelay(unsigned long usecs); usecs 31 include/linux/latencytop.h void __account_scheduler_latency(struct task_struct *task, int usecs, int inter); usecs 33 include/linux/latencytop.h account_scheduler_latency(struct task_struct *task, int usecs, int inter) usecs 36 include/linux/latencytop.h __account_scheduler_latency(task, usecs, inter); usecs 47 include/linux/latencytop.h account_scheduler_latency(struct task_struct *task, int usecs, int inter) usecs 159 include/trace/events/ufs.h TP_PROTO(const char *dev_name, int err, s64 usecs, usecs 162 include/trace/events/ufs.h TP_ARGS(dev_name, err, usecs, dev_state, link_state), usecs 165 include/trace/events/ufs.h __field(s64, usecs) usecs 173 include/trace/events/ufs.h __entry->usecs = usecs; usecs 183 include/trace/events/ufs.h __entry->usecs, usecs 191 include/trace/events/ufs.h TP_PROTO(const char *dev_name, int err, s64 usecs, usecs 193 include/trace/events/ufs.h TP_ARGS(dev_name, err, usecs, dev_state, link_state)); usecs 196 include/trace/events/ufs.h TP_PROTO(const char *dev_name, int err, s64 usecs, usecs 198 include/trace/events/ufs.h TP_ARGS(dev_name, err, usecs, dev_state, link_state)); usecs 201 include/trace/events/ufs.h TP_PROTO(const char *dev_name, int err, s64 usecs, usecs 203 include/trace/events/ufs.h TP_ARGS(dev_name, err, usecs, dev_state, link_state)); usecs 206 include/trace/events/ufs.h TP_PROTO(const char *dev_name, int err, s64 usecs, usecs 208 include/trace/events/ufs.h TP_ARGS(dev_name, err, usecs, dev_state, link_state)); usecs 211 include/trace/events/ufs.h TP_PROTO(const char *dev_name, int err, s64 usecs, usecs 213 include/trace/events/ufs.h TP_ARGS(dev_name, err, usecs, dev_state, link_state)); usecs 151 kernel/latencytop.c __account_scheduler_latency(struct task_struct *tsk, int usecs, int inter) usecs 158 kernel/latencytop.c if (inter && usecs > 5000) usecs 163 kernel/latencytop.c if (usecs <= 0) usecs 168 kernel/latencytop.c lat.time = usecs; usecs 169 kernel/latencytop.c lat.max = usecs; usecs 28 kernel/time/test_udelay.c static int udelay_test_single(struct seq_file *s, int usecs, uint32_t iters) usecs 35 kernel/time/test_udelay.c int allowed_error_ns = usecs * 5; usecs 42 kernel/time/test_udelay.c udelay(usecs); usecs 50 kernel/time/test_udelay.c if ((time_passed + allowed_error_ns) / 1000 < usecs) usecs 59 kernel/time/test_udelay.c usecs, iters, usecs * 1000, usecs 60 kernel/time/test_udelay.c (usecs * 1000) - allowed_error_ns, min, avg, max); usecs 70 kernel/time/test_udelay.c int usecs; usecs 75 kernel/time/test_udelay.c usecs = udelay_test_usecs; usecs 79 kernel/time/test_udelay.c if (usecs > 0 && iters > 0) { usecs 80 kernel/time/test_udelay.c return udelay_test_single(s, usecs, iters); usecs 81 kernel/time/test_udelay.c } else if (usecs == 0) { usecs 105 kernel/time/test_udelay.c int usecs; usecs 115 kernel/time/test_udelay.c ret = sscanf(lbuf, "%d %d", &usecs, &iters); usecs 122 kernel/time/test_udelay.c udelay_test_usecs = usecs; usecs 504 kernel/trace/trace_functions_graph.c unsigned long long usecs; usecs 506 kernel/trace/trace_functions_graph.c usecs = iter->ts - iter->trace_buffer->time_start; usecs 507 kernel/trace/trace_functions_graph.c do_div(usecs, NSEC_PER_USEC); usecs 509 kernel/trace/trace_functions_graph.c trace_seq_printf(s, "%9llu us | ", usecs); usecs 75 net/mac80211/rc80211_minstrel.c int usecs; usecs 77 net/mac80211/rc80211_minstrel.c usecs = mr->perfect_tx_time; usecs 78 net/mac80211/rc80211_minstrel.c if (!usecs) usecs 79 net/mac80211/rc80211_minstrel.c usecs = 1000000; usecs 86 net/mac80211/rc80211_minstrel.c return MINSTREL_TRUNC(100000 * (MINSTREL_FRAC(90, 100) / usecs)); usecs 88 net/mac80211/rc80211_minstrel.c return MINSTREL_TRUNC(100000 * (prob_ewma / usecs)); usecs 1799 net/sctp/sm_make_chunk.c suseconds_t usecs = ktime_to_us(ktime_sub(kt, bear_cookie->expiration)); usecs 1800 net/sctp/sm_make_chunk.c __be32 n = htonl(usecs); usecs 538 sound/core/pcm_native.c int usecs; usecs 544 sound/core/pcm_native.c usecs = (750000 / runtime->rate) * runtime->period_size; usecs 545 sound/core/pcm_native.c usecs += ((750000 % runtime->rate) * runtime->period_size) / usecs 548 sound/core/pcm_native.c return usecs; usecs 637 sound/core/pcm_native.c int err, usecs; usecs 728 sound/core/pcm_native.c if ((usecs = period_to_usecs(runtime)) >= 0) usecs 730 sound/core/pcm_native.c PM_QOS_CPU_DMA_LATENCY, usecs); usecs 1836 tools/perf/builtin-sched.c unsigned long usecs; usecs 1840 tools/perf/builtin-sched.c usecs = nsecs / NSEC_PER_USEC; usecs 1841 tools/perf/builtin-sched.c printf("%*lu.%03lu ", width, msecs, usecs); usecs 61 tools/perf/util/debug.c u64 secs, usecs, nsecs = t; usecs 65 tools/perf/util/debug.c usecs = nsecs / NSEC_PER_USEC; usecs 68 tools/perf/util/debug.c secs, usecs); usecs 42 tools/testing/selftests/powerpc/benchmarks/null_syscall.c static void cpu_soak_usecs(unsigned long usecs) usecs 47 tools/testing/selftests/powerpc/benchmarks/null_syscall.c val.it_value.tv_usec = usecs;