Home
last modified time | relevance | path

Searched refs:time_ms (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.15/drivers/iio/light/
Das73211.c490 int time_ms; in _as73211_write_raw() local
500 time_ms = (val_us * f_samp_1_024mhz) / 1000; /* 1 ms, 2 ms, ... (power of two) */ in _as73211_write_raw()
501 if (time_ms < 0 || !is_power_of_2(time_ms) || time_ms > AS73211_SAMPLE_TIME_MAX_MS) in _as73211_write_raw()
504 reg_bits = ilog2(time_ms); in _as73211_write_raw()
/Linux-v5.15/drivers/net/ethernet/hisilicon/
Dhisi_femac.c701 u32 time_ms; in hisi_femac_sleep_us() local
706 time_ms = DIV_ROUND_UP(time_us, 1000); in hisi_femac_sleep_us()
707 if (time_ms < 20) in hisi_femac_sleep_us()
710 msleep(time_ms); in hisi_femac_sleep_us()
Dhix5hd2_gmac.c1060 u32 time_ms; in hix5hd2_sleep_us() local
1065 time_ms = DIV_ROUND_UP(time_us, 1000); in hix5hd2_sleep_us()
1066 if (time_ms < 20) in hix5hd2_sleep_us()
1069 msleep(time_ms); in hix5hd2_sleep_us()
/Linux-v5.15/drivers/misc/
Dapds990x.c306 static inline int apds990x_set_atime(struct apds990x_chip *chip, u32 time_ms) in apds990x_set_atime() argument
310 chip->atime = time_ms; in apds990x_set_atime()
312 reg_value = 256 - ((time_ms * TIME_STEP_SCALER) / TIMESTEP); in apds990x_set_atime()
/Linux-v5.15/net/can/j1939/
Dsocket.c186 int time_ms = 0; in j1939_sk_queue_activate_next_locked() local
189 time_ms = 10 + prandom_u32_max(16); in j1939_sk_queue_activate_next_locked()
191 j1939_tp_schedule_txtimer(first, time_ms); in j1939_sk_queue_activate_next_locked()
/Linux-v5.15/block/
Dbfq-wf2q.c872 unsigned long time_ms) in bfq_bfqq_charge_time() argument
876 unsigned long bounded_time_ms = min(time_ms, timeout_ms); in bfq_bfqq_charge_time()
Dbfq-iosched.h1064 unsigned long time_ms);
/Linux-v5.15/sound/pci/asihpi/
Dhpi_internal.h935 u32 time_ms; member
939 u32 time_ms; member
/Linux-v5.15/tools/tracing/latency/
Dlatency-collector.c539 static bool mutex_trylock_limit(pthread_mutex_t *mutex, int time_ms) in mutex_trylock_limit() argument
541 long time_us = time_ms * USEC_PER_MSEC; in mutex_trylock_limit()