/linux/lib/dim/ |
H A D | net_dim.c | 16 {.usec = 1, .pkts = NET_DIM_DEFAULT_RX_CQ_PKTS_FROM_EQE,}, \ 17 {.usec = 8, .pkts = NET_DIM_DEFAULT_RX_CQ_PKTS_FROM_EQE,}, \ 18 {.usec = 64, .pkts = NET_DIM_DEFAULT_RX_CQ_PKTS_FROM_EQE,}, \ 19 {.usec = 128, .pkts = NET_DIM_DEFAULT_RX_CQ_PKTS_FROM_EQE,}, \ 20 {.usec = 256, .pkts = NET_DIM_DEFAULT_RX_CQ_PKTS_FROM_EQE,} \ 24 {.usec = 2, .pkts = 256,}, \ 25 {.usec = 8, .pkts = 128,}, \ 26 {.usec = 16, .pkts = 64,}, \ 27 {.usec = 32, .pkts = 64,}, \ 28 {.usec = 64, .pkts = 64,} \ [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | sf.h | 39 /* SF Scenarios timers for default configuration (aligned to 32 uSec) */ 40 #define SF_SINGLE_UNICAST_IDLE_TIMER_DEF 160 /* 150 uSec */ 42 #define SF_AGG_UNICAST_IDLE_TIMER_DEF 160 /* 150 uSec */ 46 #define SF_BA_IDLE_TIMER_DEF 160 /* 150 uSec */ 48 #define SF_TX_RE_IDLE_TIMER_DEF 160 /* 150 uSec */ 51 /* SF Scenarios timers for BSS MAC configuration (aligned to 32 uSec) */ 52 #define SF_SINGLE_UNICAST_IDLE_TIMER 320 /* 300 uSec */ 54 #define SF_AGG_UNICAST_IDLE_TIMER 320 /* 300 uSec */ 58 #define SF_BA_IDLE_TIMER 320 /* 300 uSec */ 60 #define SF_TX_RE_IDLE_TIMER 320 /* 300 uSec */
|
/linux/drivers/leds/ |
H A D | leds-ti-lmu-common.c | 57 static unsigned int ti_lmu_common_convert_ramp_to_index(unsigned int usec) in ti_lmu_common_convert_ramp_to_index() argument 62 if (usec <= ramp_table[0]) in ti_lmu_common_convert_ramp_to_index() 65 if (usec > ramp_table[size - 1]) in ti_lmu_common_convert_ramp_to_index() 69 if (usec == ramp_table[i]) in ti_lmu_common_convert_ramp_to_index() 73 if (usec > ramp_table[i - 1] && usec < ramp_table[i]) { in ti_lmu_common_convert_ramp_to_index() 74 if (usec - ramp_table[i - 1] < ramp_table[i] - usec) in ti_lmu_common_convert_ramp_to_index()
|
/linux/tools/testing/selftests/kvm/aarch64/ |
H A D | arch_timer_edge_cases.c | 84 typedef void (*sleep_method_t)(enum arch_timer timer, uint64_t usec); 86 static void sleep_poll(enum arch_timer timer, uint64_t usec); 87 static void sleep_sched_poll(enum arch_timer timer, uint64_t usec); 88 static void sleep_in_userspace(enum arch_timer timer, uint64_t usec); 89 static void sleep_migrate(enum arch_timer timer, uint64_t usec); 274 * Sleep for usec microseconds by polling in the guest or in 277 static void guest_poll(enum arch_timer test_timer, uint64_t usec, in guest_poll() argument 280 uint64_t cycles = usec_to_cycles(usec); in guest_poll() 293 static void sleep_poll(enum arch_timer timer, uint64_t usec) in sleep_poll() argument 295 guest_poll(timer, usec, NO_USERSPACE_CMD); in sleep_poll() [all …]
|
/linux/Documentation/accounting/ |
H A D | taskstats-struct.rst | 81 /* The elapsed time of a task, in [usec]. */ 82 __u64 ac_etime; /* Elapsed time [usec] */ 84 /* The user CPU time of a task, in [usec]. */ 85 __u64 ac_utime; /* User CPU time [usec] */ 87 /* The system CPU time of a task, in [usec]. */ 88 __u64 ac_stime; /* System CPU time [usec] */ 159 __u64 coremem; /* accumulated RSS usage in MB-usec */ 164 __u64 virtmem; /* accumulated VM usage in MB-usec */
|
/linux/drivers/clocksource/ |
H A D | timer-tegra186.c | 88 struct clocksource usec; member 352 usec); in tegra186_timer_usec_read() 359 tegra->usec.name = "usec"; in tegra186_timer_usec_init() 360 tegra->usec.rating = 300; in tegra186_timer_usec_init() 361 tegra->usec.read = tegra186_timer_usec_read; in tegra186_timer_usec_init() 362 tegra->usec.mask = CLOCKSOURCE_MASK(32); in tegra186_timer_usec_init() 363 tegra->usec.flags = CLOCK_SOURCE_IS_CONTINUOUS; in tegra186_timer_usec_init() 365 return clocksource_register_hz(&tegra->usec, USEC_PER_SEC); in tegra186_timer_usec_init() 427 dev_err(dev, "failed to register USEC counter: %d\n", err); in tegra186_timer_probe() 441 clocksource_unregister(&tegra->usec); in tegra186_timer_probe() [all …]
|
/linux/fs/freevxfs/ |
H A D | vxfs_inode.h | 82 __fs32 vdi_autime; /* Last time accessed - usec */ 84 __fs32 vdi_mutime; /* Last modify time - usec */ 86 __fs32 vdi_cutime; /* Create time - usec */ 138 __u32 vii_autime; /* Last time accessed - usec */ 140 __u32 vii_mutime; /* Last modify time - usec */ 142 __u32 vii_cutime; /* Create time - usec */
|
/linux/tools/testing/selftests/kvm/include/riscv/ |
H A D | arch_timer.h | 19 #define usec_to_cycles(usec) \ argument 20 ((timer_freq) * (uint64_t)(usec) / 1000000) 66 static inline void udelay(unsigned long usec) in udelay() argument 68 __delay(usec_to_cycles(usec)); in udelay()
|
/linux/arch/powerpc/sysdev/ |
H A D | fsl_gtm.c | 233 * @usec: timer interval in microseconds 243 int gtm_set_timer16(struct gtm_timer *tmr, unsigned long usec, bool reload) in gtm_set_timer16() argument 249 bit = fls_long(usec); in gtm_set_timer16() 252 usec >>= bit - 15; in gtm_set_timer16() 258 return gtm_set_ref_timer16(tmr, freq, usec, reload); in gtm_set_timer16() 265 * @usec: timer interval in microseconds 276 * crop precision of the "usec" argument, thus usec is limited to 16 bits 279 int gtm_set_exact_timer16(struct gtm_timer *tmr, u16 usec, bool reload) in gtm_set_exact_timer16() argument 286 * dividing both frequency and usec by 2 until there is no remainder. in gtm_set_exact_timer16() 291 return gtm_set_ref_timer16(tmr, freq, usec, reload); in gtm_set_exact_timer16()
|
/linux/include/uapi/linux/ |
H A D | timex.h | 67 __kernel_long_t offset; /* time offset (usec) */ 69 __kernel_long_t maxerror;/* maximum error (usec) */ 70 __kernel_long_t esterror;/* estimated error (usec) */ 73 __kernel_long_t precision;/* clock precision (usec) (read only) */ 105 long long offset; /* time offset (usec) */ 107 long long maxerror;/* maximum error (usec) */ 108 long long esterror;/* estimated error (usec) */ 112 long long precision;/* clock precision (usec) (read only) */
|
/linux/arch/xtensa/include/asm/ |
H A D | delay.h | 47 static inline void udelay(unsigned long usec) in udelay() argument 49 if (__builtin_constant_p(usec) && usec >= __MAX_UDELAY) in udelay() 52 __udelay(usec); in udelay()
|
/linux/include/trace/events/ |
H A D | rdma_core.h | 169 u16 usec 172 TP_ARGS(cq, comps, usec), 177 __field(unsigned int, usec) 183 __entry->usec = usec; 186 TP_printk("cq.id=%u comps=%u usec=%u", 187 __entry->cq_id, __entry->comps, __entry->usec
|
/linux/tools/perf/bench/ |
H A D | synthesize.c | 97 printf(" Average %ssynthesis took: %.3f usec (+- %.3f usec)\n", in do_run_single_threaded() 105 printf(" Average time per event %.3f usec\n", in do_run_single_threaded() 191 printf(" Average synthesis took: %.3f usec (+- %.3f usec)\n", in do_run_multi_threaded() 199 printf(" Average time per event %.3f usec\n", in do_run_multi_threaded()
|
H A D | find-bit-bench.c | 111 printf(" Average for_each_set_bit took: %.3f usec (+- %.3f usec)\n", in do_for_each_set_bit() 115 printf(" Average test_bit loop took: %.3f usec (+- %.3f usec)\n", in do_for_each_set_bit()
|
/linux/arch/arm/common/ |
H A D | locomo.c | 638 udelay(DAC_SCL_LOW_HOLD_TIME); /* 4.7 usec */ in locomo_m62332_sendbit() 657 udelay(DAC_SCL_HIGH_HOLD_TIME); /* 4.0 usec */ in locomo_m62332_sendbit() 672 udelay(DAC_BUS_FREE_TIME); /* 5.0 usec */ in locomo_m62332_senddata() 677 udelay(DAC_SCL_HIGH_HOLD_TIME); /* 4.0 usec */ in locomo_m62332_senddata() 681 udelay(DAC_START_HOLD_TIME); /* 5.0 usec */ in locomo_m62332_senddata() 695 udelay(DAC_SCL_LOW_HOLD_TIME); /* 4.7 usec */ in locomo_m62332_senddata() 704 udelay(DAC_SCL_HIGH_HOLD_TIME); /* 4.7 usec */ in locomo_m62332_senddata() 723 udelay(DAC_SCL_LOW_HOLD_TIME); /* 4.7 usec */ in locomo_m62332_senddata() 732 udelay(DAC_SCL_HIGH_HOLD_TIME); /* 4.7 usec */ in locomo_m62332_senddata() 748 udelay(DAC_SCL_LOW_HOLD_TIME); /* 4.7 usec */ in locomo_m62332_senddata() [all …]
|
/linux/drivers/iio/light/ |
H A D | bh1750.c | 70 static int bh1750_change_int_time(struct bh1750_data *data, int usec) in bh1750_change_int_time() argument 77 if ((usec % chip_info->mtreg_to_usec) != 0) in bh1750_change_int_time() 80 val = usec / chip_info->mtreg_to_usec; in bh1750_change_int_time() 234 int ret, usec; in bh1750_probe() local 251 usec = data->chip_info->mtreg_to_usec * data->chip_info->mtreg_default; in bh1750_probe() 252 ret = bh1750_change_int_time(data, usec); in bh1750_probe()
|
/linux/drivers/staging/media/imx/ |
H A D | imx-media-fim.c | 36 #define FIM_CL_TOLERANCE_MIN_DEF 50 /* usec */ 56 unsigned long tolerance_min; /* usec */ 57 unsigned long tolerance_max; /* usec */ 64 unsigned long sum; /* usec */ 65 unsigned long nominal; /* usec */ 88 dev_dbg(fim->sd->dev, "FI=%lu usec\n", fim->nominal); in update_fim_nominal() 180 dev_dbg(fim->sd->dev, "FIM: error: %lu usec%s\n", in frame_interval_monitor()
|
/linux/tools/include/uapi/linux/ |
H A D | tcp.h | 130 #define TCP_TX_DELAY 37 /* delay outgoing packets by XX usec */ 270 __u64 tcpi_busy_time; /* Time (usec) busy sending data */ 271 __u64 tcpi_rwnd_limited; /* Time (usec) limited by receive window */ 272 __u64 tcpi_sndbuf_limited; /* Time (usec) limited by send buffer */ 292 TCP_NLA_BUSY, /* Time (usec) busy sending data */ 293 TCP_NLA_RWND_LIMITED, /* Time (usec) limited by receive window */ 294 TCP_NLA_SNDBUF_LIMITED, /* Time (usec) limited by send buffer */
|
/linux/drivers/staging/vt6656/ |
H A D | baseband.h | 30 #define C_SIFS_A 16 /* usec */ 33 #define C_EIFS 80 /* usec */ 35 #define C_SLOT_SHORT 9 /* usec */
|
/linux/drivers/net/wireless/ath/ath5k/ |
H A D | reset.c | 91 * ath5k_hw_htoclock() - Translate usec to hw clock units 93 * @usec: value in microseconds 101 ath5k_hw_htoclock(struct ath5k_hw *ah, unsigned int usec) in ath5k_hw_htoclock() argument 104 return usec * common->clockrate; in ath5k_hw_htoclock() 108 * ath5k_hw_clocktoh() - Translate hw clock units to usec 128 * Initialize core clock parameters (usec, usec32, latencies etc), 136 u32 usec_reg, txlat, rxlat, usec, clock, sclock, txf2txs; in ath5k_hw_init_core_clock() local 173 * Set USEC parameters in ath5k_hw_init_core_clock() 175 /* Set USEC counter on PCU*/ in ath5k_hw_init_core_clock() 176 usec = clock - 1; in ath5k_hw_init_core_clock() [all …]
|
/linux/drivers/hv/ |
H A D | connection.c | 431 u32 usec = 1; in vmbus_post_msg() local 476 if (can_sleep && usec > 1000) in vmbus_post_msg() 477 msleep(usec / 1000); in vmbus_post_msg() 478 else if (usec < MAX_UDELAY_MS * 1000) in vmbus_post_msg() 479 udelay(usec); in vmbus_post_msg() 481 mdelay(usec / 1000); in vmbus_post_msg() 484 usec *= 2; in vmbus_post_msg()
|
/linux/Documentation/networking/ |
H A D | net_dim.rst | 185 support for RX profile setting and supports modification of ``usec`` field 202 {.usec = 1, .pkts = 1, .comps = n/a,}, 203 {.usec = 2, .pkts = 2, .comps = n/a,}, 204 {.usec = 3, .pkts = 64, .comps = n/a,}, 205 {.usec = 64, .pkts = 4, .comps = n/a,}, 206 {.usec = 64, .pkts = 64, .comps = n/a,}
|
/linux/samples/timers/ |
H A D | hpet_example.c | 139 long usec; in hpet_poll() local 190 usec = stv.tv_sec * 1000000 + stv.tv_usec; in hpet_poll() 191 usec = (etv.tv_sec * 1000000 + etv.tv_usec) - usec; in hpet_poll() 194 "hpet_poll: expired time = 0x%lx\n", usec); in hpet_poll()
|
/linux/drivers/char/hw_random/ |
H A D | ba431-rng.c | 14 #define BA431_RESET_DELAY 1 /* usec */ 15 #define BA431_RESET_READ_STATUS_TIMEOUT 1000 /* usec */ 16 #define BA431_RESET_READ_STATUS_INTERVAL 10 /* usec */ 17 #define BA431_READ_RETRY_INTERVAL 1 /* usec */
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | lp872x.txt | 14 bit[0]: time step unit(usec). 1 = 25, 0 = 50 17 bit[7:6]: time step unit(usec). 00 = 32, 01 = 64, 10 = 128, 11 = 256 49 /* external DVS pin used, timestep is 25usec */ 101 /* Enable BUCK1,2, no DVS, normal LDO mode, timestep is 256usec */
|