Home
last modified time | relevance | path

Searched full:usec (Results 1 – 25 of 596) sorted by relevance

12345678910>>...24

/linux/lib/dim/
H A Dnet_dim.c16 {.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 Dsf.h39 /* 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 Dleds-ti-lmu-common.c57 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/include/asm-generic/
H A Ddelay.h33 * @usec: requested delay in microseconds
56 static __always_inline void udelay(unsigned long usec) in udelay() argument
58 if (__builtin_constant_p(usec)) { in udelay()
59 if (usec >= DELAY_CONST_MAX) in udelay()
62 __const_udelay(usec * UDELAY_CONST_MULT); in udelay()
64 __udelay(usec); in udelay()
/linux/tools/testing/selftests/kvm/arm64/
H A Darch_timer_edge_cases.c85 typedef void (*sleep_method_t)(enum arch_timer timer, uint64_t usec);
87 static void sleep_poll(enum arch_timer timer, uint64_t usec);
88 static void sleep_sched_poll(enum arch_timer timer, uint64_t usec);
89 static void sleep_in_userspace(enum arch_timer timer, uint64_t usec);
90 static void sleep_migrate(enum arch_timer timer, uint64_t usec);
275 * Sleep for usec microseconds by polling in the guest or in
278 static void guest_poll(enum arch_timer test_timer, uint64_t usec, in guest_poll() argument
281 uint64_t cycles = usec_to_cycles(usec); in guest_poll()
294 static void sleep_poll(enum arch_timer timer, uint64_t usec) in sleep_poll() argument
296 guest_poll(timer, usec, NO_USERSPACE_CMD); in sleep_poll()
[all …]
/linux/Documentation/accounting/
H A Dtaskstats-struct.rst81 /* 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/fs/freevxfs/
H A Dvxfs_inode.h82 __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/drivers/clocksource/
H A Dtimer-tegra186.c93 struct clocksource usec; member
405 usec); in tegra186_timer_usec_read()
412 tegra->usec.name = "usec"; in tegra186_timer_usec_init()
413 tegra->usec.rating = 300; in tegra186_timer_usec_init()
414 tegra->usec.read = tegra186_timer_usec_read; in tegra186_timer_usec_init()
415 tegra->usec.mask = CLOCKSOURCE_MASK(32); in tegra186_timer_usec_init()
416 tegra->usec.flags = CLOCK_SOURCE_IS_CONTINUOUS; in tegra186_timer_usec_init()
417 tegra->usec.owner = THIS_MODULE; in tegra186_timer_usec_init()
419 return clocksource_register_hz(&tegra->usec, USEC_PER_SEC); in tegra186_timer_usec_init()
466 dev_err(dev, "failed to register USEC counter: %d\n", err); in tegra186_timer_probe()
[all …]
/linux/tools/testing/selftests/kvm/include/riscv/
H A Darch_timer.h19 #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 Dfsl_gtm.c233 * @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 Dtimex.h67 __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/tools/testing/selftests/kvm/include/loongarch/
H A Darch_timer.h13 #define usec_to_cycles(usec) (TIMER_FREQ * (unsigned long)(usec) / 1000000) argument
81 static inline void udelay(unsigned long usec) in udelay() argument
83 __delay(usec_to_cycles(usec)); in udelay()
/linux/arch/xtensa/include/asm/
H A Ddelay.h47 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/linux/
H A Dieee80211-ht.h180 IEEE80211_HT_MPDU_DENSITY_0_25 = 1, /* 1/4 usec */
181 IEEE80211_HT_MPDU_DENSITY_0_5 = 2, /* 1/2 usec */
182 IEEE80211_HT_MPDU_DENSITY_1 = 3, /* 1 usec */
183 IEEE80211_HT_MPDU_DENSITY_2 = 4, /* 2 usec */
184 IEEE80211_HT_MPDU_DENSITY_4 = 5, /* 4 usec */
185 IEEE80211_HT_MPDU_DENSITY_8 = 6, /* 8 usec */
186 IEEE80211_HT_MPDU_DENSITY_16 = 7 /* 16 usec */
/linux/include/trace/events/
H A Drdma_core.h169 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/testing/selftests/bpf/
H A Dio_helpers.c6 int read_with_timeout(int fd, char *buf, size_t count, long usec) in read_with_timeout() argument
9 struct timeval tv = { usec / M, usec % M }; in read_with_timeout()
/linux/tools/perf/bench/
H A Dsynthesize.c98 printf(" Average %ssynthesis took: %.3f usec (+- %.3f usec)\n", in do_run_single_threaded()
106 printf(" Average time per event %.3f usec\n", in do_run_single_threaded()
201 printf(" Average synthesis took: %.3f usec (+- %.3f usec)\n", in do_run_multi_threaded()
209 printf(" Average time per event %.3f usec\n", in do_run_multi_threaded()
H A Dfind-bit-bench.c111 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 Dlocomo.c638 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/staging/media/imx/
H A Dimx-media-fim.c36 #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 Dtcp.h130 #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/iio/light/
H A Dbh1750.c75 static int bh1750_change_int_time(struct bh1750_data *data, int usec) in bh1750_change_int_time() argument
82 if ((usec % chip_info->mtreg_to_usec) != 0) in bh1750_change_int_time()
85 val = usec / chip_info->mtreg_to_usec; in bh1750_change_int_time()
239 int ret, usec; in bh1750_probe() local
275 usec = data->chip_info->mtreg_to_usec * data->chip_info->mtreg_default; in bh1750_probe()
276 ret = bh1750_change_int_time(data, usec); in bh1750_probe()
/linux/drivers/net/wireless/ath/ath5k/
H A Dreset.c91 * 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/tools/testing/vsock/
H A Dtimeout.c70 int timeout_usleep(useconds_t usec) in timeout_usleep() argument
73 .tv_sec = usec / 1000000, in timeout_usleep()
74 .tv_nsec = (usec % 1000000) * 1000, in timeout_usleep()
/linux/arch/s390/pci/
H A Dpci_report.c56 unsigned long sec, usec; in debug_log_header_fn() local
63 usec = do_div(sec, USEC_PER_SEC); in debug_log_header_fn()
70 sec, usec, level, except_str, in debug_log_header_fn()
78 return scnprintf(out_buf, out_buf_size, "sec:usec level except cpu msg\n"); in debug_prolog_header()

12345678910>>...24