Home
last modified time | relevance | path

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

/linux/tools/perf/scripts/python/
H A Dgecko.py88 time_ms: Milliseconds
177 def _add_sample(self, comm: str, stack: List[str], time_ms: Milliseconds) -> None:
193 time_ms=time_ms,
297 thread._add_sample(comm=comm, stack=stack, time_ms=time_stamp)
/linux/drivers/iio/light/
H A Das73211.c576 int time_ms; in _as73211_write_raw() local
586 time_ms = (val_us * f_samp_1_024mhz) / 1000; /* 1 ms, 2 ms, ... (power of two) */ in _as73211_write_raw()
587 if (time_ms < 0 || !is_power_of_2(time_ms) || time_ms > AS73211_SAMPLE_TIME_MAX_MS) in _as73211_write_raw()
590 reg_bits = ilog2(time_ms); in _as73211_write_raw()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_heartbeat.h58 int adf_heartbeat_ms_to_ticks(struct adf_accel_dev *accel_dev, unsigned int time_ms,
H A Dadf_heartbeat.c252 int adf_heartbeat_ms_to_ticks(struct adf_accel_dev *accel_dev, unsigned int time_ms, in adf_heartbeat_ms_to_ticks() argument
263 *value = time_ms * (clk_per_sec / MSEC_PER_SEC); in adf_heartbeat_ms_to_ticks()
/linux/drivers/misc/
H A 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/net/can/j1939/
H A Dsocket.c190 int time_ms = 0; in j1939_sk_queue_activate_next_locked() local
193 time_ms = 10 + get_random_u32_below(16); in j1939_sk_queue_activate_next_locked()
195 j1939_tp_schedule_txtimer(first, time_ms); in j1939_sk_queue_activate_next_locked()
/linux/block/
H A Dbfq-wf2q.c838 unsigned long time_ms) in bfq_bfqq_charge_time() argument
842 unsigned long bounded_time_ms = min(time_ms, timeout_ms); in bfq_bfqq_charge_time()
H A Dbfq-iosched.h1143 unsigned long time_ms);
/linux/sound/pci/asihpi/
H A Dhpi_internal.h935 u32 time_ms; member
939 u32 time_ms; member
/linux/tools/tracing/latency/
H A 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()
/linux/drivers/net/wireless/realtek/rtw89/
H A Dphy.c5837 u16 time_ms, u32 *period, in rtw89_phy_ccx_ms_to_period_unit() argument
5843 if (time_ms >= CCX_MAX_PERIOD) in rtw89_phy_ccx_ms_to_period_unit()
5844 time_ms = CCX_MAX_PERIOD; in rtw89_phy_ccx_ms_to_period_unit()
5846 quotient = CCX_MAX_PERIOD_UNIT * time_ms / CCX_MAX_PERIOD; in rtw89_phy_ccx_ms_to_period_unit()
5858 *period = (time_ms * MS_TO_4US_RATIO) >> idx; in rtw89_phy_ccx_ms_to_period_unit()