Home
last modified time | relevance | path

Searched refs:usec (Results 1 – 25 of 143) sorted by relevance

123456

/linux-6.3-rc2/lib/dim/
A Dnet_dim.c21 {.usec = 1, .pkts = NET_DIM_DEFAULT_RX_CQ_PKTS_FROM_EQE,}, \
29 {.usec = 2, .pkts = 256,}, \
30 {.usec = 8, .pkts = 128,}, \
31 {.usec = 16, .pkts = 64,}, \
32 {.usec = 32, .pkts = 64,}, \
33 {.usec = 64, .pkts = 64,} \
45 {.usec = 5, .pkts = 128,}, \
46 {.usec = 8, .pkts = 64,}, \
47 {.usec = 16, .pkts = 32,}, \
48 {.usec = 32, .pkts = 32,}, \
[all …]
/linux-6.3-rc2/drivers/leds/
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-6.3-rc2/arch/xtensa/include/asm/
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-6.3-rc2/drivers/clocksource/
A Dtimer-tegra186.c89 struct clocksource usec; member
353 usec); in tegra186_timer_usec_read()
360 tegra->usec.name = "usec"; in tegra186_timer_usec_init()
361 tegra->usec.rating = 300; in tegra186_timer_usec_init()
362 tegra->usec.read = tegra186_timer_usec_read; in tegra186_timer_usec_init()
363 tegra->usec.mask = CLOCKSOURCE_MASK(32); in tegra186_timer_usec_init()
364 tegra->usec.flags = CLOCK_SOURCE_IS_CONTINUOUS; in tegra186_timer_usec_init()
366 return clocksource_register_hz(&tegra->usec, USEC_PER_SEC); in tegra186_timer_usec_init()
442 clocksource_unregister(&tegra->usec); in tegra186_timer_probe()
454 clocksource_unregister(&tegra->usec); in tegra186_timer_remove()
/linux-6.3-rc2/samples/timers/
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-6.3-rc2/drivers/hv/
A Dconnection.c469 u32 usec = 1; in vmbus_post_msg() local
514 if (can_sleep && usec > 1000) in vmbus_post_msg()
515 msleep(usec / 1000); in vmbus_post_msg()
516 else if (usec < MAX_UDELAY_MS * 1000) in vmbus_post_msg()
517 udelay(usec); in vmbus_post_msg()
519 mdelay(usec / 1000); in vmbus_post_msg()
522 usec *= 2; in vmbus_post_msg()
/linux-6.3-rc2/drivers/iio/light/
A Dbh1750.c70 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-6.3-rc2/include/linux/
A Dktime.h179 static inline ktime_t ktime_add_us(const ktime_t kt, const u64 usec) in ktime_add_us() argument
181 return ktime_add_ns(kt, usec * NSEC_PER_USEC); in ktime_add_us()
189 static inline ktime_t ktime_sub_us(const ktime_t kt, const u64 usec) in ktime_sub_us() argument
191 return ktime_sub_ns(kt, usec * NSEC_PER_USEC); in ktime_sub_us()
/linux-6.3-rc2/drivers/idle/
A Dintel_idle.c1674 unsigned int usec; in bxt_idle_state_table_update() local
1677 usec = irtl_2_usec(msr); in bxt_idle_state_table_update()
1678 if (usec) { in bxt_idle_state_table_update()
1684 usec = irtl_2_usec(msr); in bxt_idle_state_table_update()
1685 if (usec) { in bxt_idle_state_table_update()
1691 usec = irtl_2_usec(msr); in bxt_idle_state_table_update()
1692 if (usec) { in bxt_idle_state_table_update()
1698 usec = irtl_2_usec(msr); in bxt_idle_state_table_update()
1699 if (usec) { in bxt_idle_state_table_update()
1705 usec = irtl_2_usec(msr); in bxt_idle_state_table_update()
[all …]
/linux-6.3-rc2/tools/testing/selftests/kvm/include/aarch64/
A Ddelay.h20 static inline void udelay(unsigned long usec) in udelay() argument
22 __delay(usec_to_cycles(usec)); in udelay()
A Darch_timer.h23 #define usec_to_cycles(usec) \ argument
24 (timer_get_cntfrq() * (uint64_t)(usec) / 1000000)
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
A Dhwsq.c169 u8 shift = 0, usec = nsec / 1000; in nvkm_hwsq_nsec() local
170 while (usec & ~3) { in nvkm_hwsq_nsec()
171 usec >>= 2; in nvkm_hwsq_nsec()
176 hwsq_cmd(hwsq, 1, (u8[]){ 0x00 | (shift << 2) | usec }); in nvkm_hwsq_nsec()
/linux-6.3-rc2/arch/powerpc/sysdev/
A Dfsl_gtm.c243 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()
279 int gtm_set_exact_timer16(struct gtm_timer *tmr, u16 usec, bool reload) in gtm_set_exact_timer16() argument
291 return gtm_set_ref_timer16(tmr, freq, usec, reload); in gtm_set_exact_timer16()
/linux-6.3-rc2/include/trace/events/
A Drdma_core.h169 u16 usec
172 TP_ARGS(cq, comps, usec),
177 __field(unsigned int, usec)
183 __entry->usec = usec;
187 __entry->cq_id, __entry->comps, __entry->usec
/linux-6.3-rc2/Documentation/accounting/
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-6.3-rc2/arch/powerpc/include/asm/
A Dfsl_gtm.h36 extern int gtm_set_timer16(struct gtm_timer *tmr, unsigned long usec,
38 extern int gtm_set_exact_timer16(struct gtm_timer *tmr, u16 usec,
/linux-6.3-rc2/drivers/net/ethernet/fungible/funeth/
A Dfuneth_txrx.h44 #define FUN_IRQ_CQ_DB(usec, pkts) \ argument
45 (FUN_DB_IRQ_ARM_F | ((usec) << FUN_DB_INTCOAL_USEC_S) | \
49 #define FUN_IRQ_SQ_DB(usec, pkts) \ argument
51 ((usec) << FUN_DB_INTCOAL_USEC_S) | \
/linux-6.3-rc2/drivers/parport/
A Dieee1284.c110 int usec) in parport_poll_peripheral() argument
113 int count = usec / 5 + 2; in parport_poll_peripheral()
161 int usec; in parport_wait_peripheral() local
165 usec = port->physport->spintime; /* usecs of fast polling */ in parport_wait_peripheral()
169 usec = 35000; in parport_wait_peripheral()
177 ret = parport_poll_peripheral (port, mask, result, usec); in parport_wait_peripheral()
/linux-6.3-rc2/Documentation/devicetree/bindings/regulator/
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-6.3-rc2/drivers/staging/greybus/tools/
A DREADME.loopback182 ap-latency usec: min=1826 max=2560 average=2146.000000 jitter=734
183 apbridge-latency usec: min=1620 max=1982 average=1882.099976 jitter=362
184 gpbridge-latency usec: min=56 max=57 average=57.099998 jitter=1
196 ap-latency usec: min=1856 max=2514 average=2185.699951 jitter=658
197 apbridge-latency usec: min=1460 max=2296 average=1828.599976 jitter=836
198 gpbridge-latency usec: min=56 max=57 average=57.099998 jitter=1
/linux-6.3-rc2/drivers/input/
A Dinput-compat.c25 event->input_event_usec = compat_event.usec; in input_event_from_user()
45 compat_event.usec = event->input_event_usec; in input_event_to_user()
/linux-6.3-rc2/drivers/usb/chipidea/
A Dulpi.c21 unsigned long usec = 10000; in ci_ulpi_wait() local
23 while (usec--) { in ci_ulpi_wait()
/linux-6.3-rc2/drivers/net/ethernet/intel/igc/
A Digc_defines.h549 #define IGC_PTM_CTRL_SHRT_CYC(usec) (((usec) & 0x2f) << 2) argument
550 #define IGC_PTM_CTRL_PTM_TO(usec) (((usec) & 0xff) << 8) argument
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/disp/
A Ddp.c197 int tries = 0, usec = 0, i; in nvkm_dp_train_eq() local
202 usec = (data & DPCD_RC0E_AUX_RD_INTERVAL) * 4000; in nvkm_dp_train_eq()
216 usec = (lt->outp->dp.dpcd[DPCD_RC0E] & DPCD_RC0E_AUX_RD_INTERVAL) * 4000; in nvkm_dp_train_eq()
222 nvkm_dp_train_sense(lt, lt->pc2, usec ? usec : 400)) in nvkm_dp_train_eq()
244 int tries = 0, usec = 0, i; in nvkm_dp_train_cr() local
249 usec = (lt->outp->dp.dpcd[DPCD_RC0E] & DPCD_RC0E_AUX_RD_INTERVAL) * 4000; in nvkm_dp_train_cr()
253 nvkm_dp_train_sense(lt, false, usec ? usec : 100)) in nvkm_dp_train_cr()
/linux-6.3-rc2/drivers/infiniband/core/
A Dcq.c44 u16 usec = rdma_dim_prof[dim->profile_ix].usec; in ib_cq_rdma_dim_work() local
49 trace_cq_modify(cq, comps, usec); in ib_cq_rdma_dim_work()
50 cq->device->ops.modify_cq(cq, comps, usec); in ib_cq_rdma_dim_work()

Completed in 47 milliseconds

123456