Home
last modified time | relevance | path

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

12345

/Linux-v4.19/arch/xtensa/include/asm/
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-v4.19/drivers/idle/
Dintel_idle.c1231 unsigned int usec; in bxt_idle_state_table_update() local
1234 usec = irtl_2_usec(msr); in bxt_idle_state_table_update()
1235 if (usec) { in bxt_idle_state_table_update()
1236 bxt_cstates[2].exit_latency = usec; in bxt_idle_state_table_update()
1237 bxt_cstates[2].target_residency = usec; in bxt_idle_state_table_update()
1241 usec = irtl_2_usec(msr); in bxt_idle_state_table_update()
1242 if (usec) { in bxt_idle_state_table_update()
1243 bxt_cstates[3].exit_latency = usec; in bxt_idle_state_table_update()
1244 bxt_cstates[3].target_residency = usec; in bxt_idle_state_table_update()
1248 usec = irtl_2_usec(msr); in bxt_idle_state_table_update()
[all …]
/Linux-v4.19/drivers/hv/
Dconnection.c390 u32 usec = 1; in vmbus_post_msg() local
435 if (can_sleep && usec > 1000) in vmbus_post_msg()
436 msleep(usec / 1000); in vmbus_post_msg()
437 else if (usec < MAX_UDELAY_MS * 1000) in vmbus_post_msg()
438 udelay(usec); in vmbus_post_msg()
440 mdelay(usec / 1000); in vmbus_post_msg()
443 usec *= 2; in vmbus_post_msg()
/Linux-v4.19/samples/timers/
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-v4.19/drivers/iio/light/
Dbh1750.c73 static int bh1750_change_int_time(struct bh1750_data *data, int usec) in bh1750_change_int_time() argument
80 if ((usec % chip_info->mtreg_to_usec) != 0) in bh1750_change_int_time()
83 val = usec / chip_info->mtreg_to_usec; in bh1750_change_int_time()
237 int ret, usec; in bh1750_probe() local
254 usec = data->chip_info->mtreg_to_usec * data->chip_info->mtreg_default; in bh1750_probe()
255 ret = bh1750_change_int_time(data, usec); in bh1750_probe()
/Linux-v4.19/include/linux/
Dktime.h196 static inline ktime_t ktime_add_us(const ktime_t kt, const u64 usec) in ktime_add_us() argument
198 return ktime_add_ns(kt, usec * NSEC_PER_USEC); in ktime_add_us()
206 static inline ktime_t ktime_sub_us(const ktime_t kt, const u64 usec) in ktime_sub_us() argument
208 return ktime_sub_ns(kt, usec * NSEC_PER_USEC); in ktime_sub_us()
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
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-v4.19/arch/powerpc/sysdev/
Dfsl_gtm.c247 int gtm_set_timer16(struct gtm_timer *tmr, unsigned long usec, bool reload) in gtm_set_timer16() argument
253 bit = fls_long(usec); in gtm_set_timer16()
256 usec >>= bit - 15; in gtm_set_timer16()
262 return gtm_set_ref_timer16(tmr, freq, usec, reload); in gtm_set_timer16()
283 int gtm_set_exact_timer16(struct gtm_timer *tmr, u16 usec, bool reload) in gtm_set_exact_timer16() argument
295 return gtm_set_ref_timer16(tmr, freq, usec, reload); in gtm_set_exact_timer16()
/Linux-v4.19/Documentation/accounting/
Dtaskstats-struct.txt70 /* The elapsed time of a task, in [usec]. */
71 __u64 ac_etime; /* Elapsed time [usec] */
73 /* The user CPU time of a task, in [usec]. */
74 __u64 ac_utime; /* User CPU time [usec] */
76 /* The system CPU time of a task, in [usec]. */
77 __u64 ac_stime; /* System CPU time [usec] */
146 __u64 coremem; /* accumulated RSS usage in MB-usec */
151 __u64 virtmem; /* accumulated VM usage in MB-usec */
/Linux-v4.19/arch/powerpc/include/asm/
Dfsl_gtm.h40 extern int gtm_set_timer16(struct gtm_timer *tmr, unsigned long usec,
42 extern int gtm_set_exact_timer16(struct gtm_timer *tmr, u16 usec,
/Linux-v4.19/drivers/isdn/hardware/eicon/
Ddebug.c38 dword usec; member
373 dword sec, usec; in DI_register() local
377 diva_os_get_time(&sec, &usec); in DI_register()
427 clients[free_id].usec = usec; in DI_register()
466 pmsg->time_usec = usec; in DI_register()
484 dword sec, usec; in DI_deregister() local
489 diva_os_get_time(&sec, &usec); in DI_deregister()
538 pmsg->time_usec = usec; in DI_deregister()
575 dword sec, usec; in DI_format() local
595 diva_os_get_time(&sec, &usec); in DI_format()
[all …]
Ddivamnt.c88 void diva_os_get_time(dword *sec, dword *usec) in diva_os_get_time() argument
95 *usec = (dword) (time.tv_nsec / NSEC_PER_USEC); in diva_os_get_time()
/Linux-v4.19/drivers/usb/phy/
Dphy-ulpi-viewport.c23 unsigned long usec = 2000; in ulpi_viewport_wait() local
25 while (usec--) { in ulpi_viewport_wait()
/Linux-v4.19/drivers/parport/
Dieee1284.c116 int usec) in parport_poll_peripheral() argument
119 int count = usec / 5 + 2; in parport_poll_peripheral()
167 int usec; in parport_wait_peripheral() local
171 usec = port->physport->spintime; /* usecs of fast polling */ in parport_wait_peripheral()
175 usec = 35000; in parport_wait_peripheral()
183 ret = parport_poll_peripheral (port, mask, result, usec); in parport_wait_peripheral()
/Linux-v4.19/Documentation/devicetree/bindings/regulator/
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-v4.19/drivers/staging/greybus/tools/
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-v4.19/drivers/input/
Dinput-compat.c28 event->input_event_usec = compat_event.usec; in input_event_from_user()
48 compat_event.usec = event->input_event_usec; in input_event_to_user()
Dinput-compat.h22 compat_ulong_t usec; member
/Linux-v4.19/drivers/usb/chipidea/
Dulpi.c21 unsigned long usec = 10000; in ci_ulpi_wait() local
23 while (usec--) { in ci_ulpi_wait()
/Linux-v4.19/drivers/phy/samsung/
Dphy-exynos5-usbdrd.c562 u32 usec = 100; in crport_handshake() local
573 } while (usec-- > 0); in crport_handshake()
575 if (!usec) { in crport_handshake()
581 usec = 100; in crport_handshake()
591 } while (usec-- > 0); in crport_handshake()
593 if (!usec) { in crport_handshake()
/Linux-v4.19/drivers/net/wireless/ath/ath5k/
Dreset.c101 ath5k_hw_htoclock(struct ath5k_hw *ah, unsigned int usec) in ath5k_hw_htoclock() argument
104 return usec * common->clockrate; in ath5k_hw_htoclock()
136 u32 usec_reg, txlat, rxlat, usec, clock, sclock, txf2txs; in ath5k_hw_init_core_clock() local
176 usec = clock - 1; in ath5k_hw_init_core_clock()
177 usec = AR5K_REG_SM(usec, AR5K_USEC_1); in ath5k_hw_init_core_clock()
256 usec_reg = (usec | sclock | txlat | rxlat); in ath5k_hw_init_core_clock()
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/dvm/
Ddevices.c99 static u32 iwl_usecs_to_beacons(struct iwl_priv *priv, u32 usec, in iwl_usecs_to_beacons() argument
106 if (!interval || !usec) in iwl_usecs_to_beacons()
109 quot = (usec / interval) & in iwl_usecs_to_beacons()
112 rem = (usec % interval) & iwl_beacon_time_mask_low(priv, in iwl_usecs_to_beacons()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_dim.c27 cpr->rx_ring_coal.coal_ticks = cur_moder.usec; in bnxt_dim_work()
/Linux-v4.19/tools/testing/selftests/timers/
Dvalid-adjtimex.c230 int set_bad_offset(long sec, long usec, int use_nano) in set_bad_offset() argument
240 tmx.time.tv_usec = usec; in set_bad_offset()
/Linux-v4.19/include/media/
Drc-core.h329 #define US_TO_NS(usec) ((usec) * 1000) argument

12345