Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_benchmark.c32 uint64_t saddr, uint64_t daddr, int n, s64 *time_ms) in amdgpu_benchmark_do_move() argument
53 *time_ms = ktime_ms_delta(etime, stime); in amdgpu_benchmark_do_move()
61 s64 time_ms, in amdgpu_benchmark_log_results() argument
67 throughput = div64_s64(throughput, time_ms); in amdgpu_benchmark_log_results()
71 kind, n, size >> 10, sdomain, ddomain, time_ms, in amdgpu_benchmark_log_results()
81 s64 time_ms; in amdgpu_benchmark_move() local
102 r = amdgpu_benchmark_do_move(adev, size, saddr, daddr, n, &time_ms); in amdgpu_benchmark_move()
106 amdgpu_benchmark_log_results(adev, n, size, time_ms, in amdgpu_benchmark_move()
/linux-6.6.21/tools/perf/scripts/python/
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-6.6.21/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-6.6.21/drivers/crypto/intel/qat/qat_common/
Dadf_heartbeat.h46 int adf_heartbeat_ms_to_ticks(struct adf_accel_dev *accel_dev, unsigned int time_ms,
Dadf_heartbeat.c243 int adf_heartbeat_ms_to_ticks(struct adf_accel_dev *accel_dev, unsigned int time_ms, in adf_heartbeat_ms_to_ticks() argument
254 *value = time_ms * (clk_per_sec / MSEC_PER_SEC); in adf_heartbeat_ms_to_ticks()
/linux-6.6.21/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-6.6.21/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-6.6.21/net/can/j1939/
Dsocket.c189 int time_ms = 0; in j1939_sk_queue_activate_next_locked() local
192 time_ms = 10 + get_random_u32_below(16); in j1939_sk_queue_activate_next_locked()
194 j1939_tp_schedule_txtimer(first, time_ms); in j1939_sk_queue_activate_next_locked()
/linux-6.6.21/block/
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()
Dbfq-iosched.h1147 unsigned long time_ms);
/linux-6.6.21/sound/pci/asihpi/
Dhpi_internal.h935 u32 time_ms; member
939 u32 time_ms; member
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
Dphy.c3272 u16 time_ms, u32 *period, in rtw89_phy_ccx_ms_to_period_unit() argument
3278 if (time_ms >= CCX_MAX_PERIOD) in rtw89_phy_ccx_ms_to_period_unit()
3279 time_ms = CCX_MAX_PERIOD; in rtw89_phy_ccx_ms_to_period_unit()
3281 quotient = CCX_MAX_PERIOD_UNIT * time_ms / CCX_MAX_PERIOD; in rtw89_phy_ccx_ms_to_period_unit()
3293 *period = (time_ms * MS_TO_4US_RATIO) >> idx; in rtw89_phy_ccx_ms_to_period_unit()
/linux-6.6.21/drivers/mtd/nand/raw/
Dqcom_nandc.c2660 static int qcom_wait_rdy_poll(struct nand_chip *chip, unsigned int time_ms) in qcom_wait_rdy_poll() argument
2663 unsigned long start = jiffies + msecs_to_jiffies(time_ms); in qcom_wait_rdy_poll()