Home
last modified time | relevance | path

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

12345678910>>...21

/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/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/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/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/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/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/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/drivers/clocksource/
H A Dtimer-tegra186.c93 struct clocksource usec; member
402 usec); in tegra186_timer_usec_read()
409 tegra->usec.name = "usec"; in tegra186_timer_usec_init()
410 tegra->usec.rating = 300; in tegra186_timer_usec_init()
411 tegra->usec.read = tegra186_timer_usec_read; in tegra186_timer_usec_init()
412 tegra->usec.mask = CLOCKSOURCE_MASK(32); in tegra186_timer_usec_init()
413 tegra->usec.flags = CLOCK_SOURCE_IS_CONTINUOUS; in tegra186_timer_usec_init()
415 return clocksource_register_hz(&tegra->usec, USEC_PER_SEC); in tegra186_timer_usec_init()
462 dev_err(dev, "failed to register USEC counter: %d\n", err); in tegra186_timer_probe()
479 clocksource_unregister(&tegra->usec); in tegra186_timer_remove()
/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/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/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/tools/perf/bench/
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/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/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/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/arch/s390/pci/
H A Dpci_report.c57 unsigned long sec, usec; in debug_log_header_fn() local
64 usec = do_div(sec, USEC_PER_SEC); in debug_log_header_fn()
71 sec, usec, level, except_str, in debug_log_header_fn()
79 return scnprintf(out_buf, out_buf_size, "sec:usec level except cpu msg\n"); in debug_prolog_header()
/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/char/hw_random/
H A Dba431-rng.c14 #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 Dlp872x.txt14 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 */
/linux/samples/timers/
H A Dhpet_example.c139 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/Documentation/networking/
H A Dnet_dim.rst185 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/tools/testing/selftests/kvm/include/arm64/
H A Ddelay.h20 static inline void udelay(unsigned long usec) in udelay() argument
22 __delay(usec_to_cycles(usec)); in udelay()

12345678910>>...21