| /Linux-v5.15/drivers/leds/ | 
| 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()  argument62 	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-v5.15/arch/xtensa/include/asm/ | 
| D | delay.h | 47 static inline void udelay(unsigned long usec)  in udelay()  argument49 	if (__builtin_constant_p(usec) && usec >= __MAX_UDELAY)  in udelay()
 52 		__udelay(usec);  in udelay()
 
 | 
| /Linux-v5.15/drivers/hv/ | 
| D | connection.c | 380 	u32 usec = 1;  in vmbus_post_msg()  local425 		if (can_sleep && usec > 1000)  in vmbus_post_msg()
 426 			msleep(usec / 1000);  in vmbus_post_msg()
 427 		else if (usec < MAX_UDELAY_MS * 1000)  in vmbus_post_msg()
 428 			udelay(usec);  in vmbus_post_msg()
 430 			mdelay(usec / 1000);  in vmbus_post_msg()
 433 			usec *= 2;  in vmbus_post_msg()
 
 | 
| /Linux-v5.15/samples/timers/ | 
| D | hpet_example.c | 139 	long			usec;  in hpet_poll()  local190 			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-v5.15/drivers/idle/ | 
| D | intel_idle.c | 1406 	unsigned int usec;  in bxt_idle_state_table_update()  local1409 	usec = irtl_2_usec(msr);  in bxt_idle_state_table_update()
 1410 	if (usec) {  in bxt_idle_state_table_update()
 1411 		bxt_cstates[2].exit_latency = usec;  in bxt_idle_state_table_update()
 1412 		bxt_cstates[2].target_residency = usec;  in bxt_idle_state_table_update()
 1416 	usec = irtl_2_usec(msr);  in bxt_idle_state_table_update()
 1417 	if (usec) {  in bxt_idle_state_table_update()
 1418 		bxt_cstates[3].exit_latency = usec;  in bxt_idle_state_table_update()
 1419 		bxt_cstates[3].target_residency = usec;  in bxt_idle_state_table_update()
 1423 	usec = irtl_2_usec(msr);  in bxt_idle_state_table_update()
 [all …]
 
 | 
| /Linux-v5.15/drivers/iio/light/ | 
| D | bh1750.c | 70 static int bh1750_change_int_time(struct bh1750_data *data, int usec)  in bh1750_change_int_time()  argument77 	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-v5.15/include/linux/ | 
| D | ktime.h | 179 static inline ktime_t ktime_add_us(const ktime_t kt, const u64 usec)  in ktime_add_us()  argument181 	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-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ | 
| D | hwsq.c | 169 	u8 shift = 0, usec = nsec / 1000;  in nvkm_hwsq_nsec()  local170 	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-v5.15/include/trace/events/ | 
| D | rdma_core.h | 169 		u16 usec172 	TP_ARGS(cq, comps, usec),
 177 		__field(unsigned int, usec)
 183 		__entry->usec = usec;
 187 		__entry->cq_id, __entry->comps, __entry->usec
 
 | 
| /Linux-v5.15/arch/powerpc/sysdev/ | 
| D | fsl_gtm.c | 243 int gtm_set_timer16(struct gtm_timer *tmr, unsigned long usec, bool reload)  in gtm_set_timer16()  argument249 	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-v5.15/Documentation/accounting/ | 
| 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-v5.15/arch/powerpc/include/asm/ | 
| D | fsl_gtm.h | 36 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-v5.15/drivers/parport/ | 
| D | ieee1284.c | 110 			    int usec)  in parport_poll_peripheral()  argument113 	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-v5.15/Documentation/devicetree/bindings/regulator/ | 
| D | lp872x.txt | 14     bit[0]: time step unit(usec). 1 = 25, 0 = 5017     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-v5.15/drivers/staging/greybus/tools/ | 
| D | README.loopback | 182     ap-latency usec:            min=1826 max=2560 average=2146.000000 jitter=734183     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-v5.15/drivers/usb/chipidea/ | 
| D | ulpi.c | 21 	unsigned long usec = 10000;  in ci_ulpi_wait()  local23 	while (usec--) {  in ci_ulpi_wait()
 
 | 
| /Linux-v5.15/drivers/input/ | 
| D | input-compat.c | 25 		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()
 
 | 
| D | input-compat.h | 19 	compat_ulong_t usec;  member
 | 
| /Linux-v5.15/drivers/net/ethernet/intel/igc/ | 
| D | igc_defines.h | 538 #define IGC_PTM_CTRL_SHRT_CYC(usec)	(((usec) & 0x2f) << 2)  argument539 #define IGC_PTM_CTRL_PTM_TO(usec)	(((usec) & 0xff) << 8)  argument
 
 | 
| /Linux-v5.15/drivers/infiniband/core/ | 
| D | cq.c | 45 	u16 usec = rdma_dim_prof[dim->profile_ix].usec;  in ib_cq_rdma_dim_work()  local50 	trace_cq_modify(cq, comps, usec);  in ib_cq_rdma_dim_work()
 51 	cq->device->ops.modify_cq(cq, comps, usec);  in ib_cq_rdma_dim_work()
 
 | 
| /Linux-v5.15/drivers/net/wireless/ath/ath5k/ | 
| D | reset.c | 101 ath5k_hw_htoclock(struct ath5k_hw *ah, unsigned int usec)  in ath5k_hw_htoclock()  argument104 	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-v5.15/drivers/net/ethernet/broadcom/bnxt/ | 
| D | bnxt_dim.c | 26 	cpr->rx_ring_coal.coal_ticks = cur_moder.usec;  in bnxt_dim_work()
 | 
| /Linux-v5.15/tools/testing/selftests/timers/ | 
| D | valid-adjtimex.c | 231 int set_bad_offset(long sec, long usec, int use_nano)  in set_bad_offset()  argument241 	tmx.time.tv_usec = usec;  in set_bad_offset()
 
 | 
| /Linux-v5.15/drivers/net/wireless/intel/iwlwifi/dvm/ | 
| D | devices.c | 87 static u32 iwl_usecs_to_beacons(struct iwl_priv *priv, u32 usec,  in iwl_usecs_to_beacons()  argument94 	if (!interval || !usec)  in iwl_usecs_to_beacons()
 97 	quot = (usec / interval) &  in iwl_usecs_to_beacons()
 100 	rem = (usec % interval) & iwl_beacon_time_mask_low(priv,  in iwl_usecs_to_beacons()
 
 | 
| /Linux-v5.15/include/media/ | 
| D | rc-core.h | 312 #define US_TO_NS(usec)		((usec) * 1000)  argument
 |