/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_benchmark.c | 32 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-v6.1/drivers/iio/light/ |
D | as73211.c | 490 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-v6.1/drivers/net/ethernet/hisilicon/ |
D | hisi_femac.c | 701 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()
|
D | hix5hd2_gmac.c | 1060 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-v6.1/drivers/misc/ |
D | apds990x.c | 306 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-v6.1/net/can/j1939/ |
D | socket.c | 189 int time_ms = 0; in j1939_sk_queue_activate_next_locked() local 192 time_ms = 10 + prandom_u32_max(16); in j1939_sk_queue_activate_next_locked() 194 j1939_tp_schedule_txtimer(first, time_ms); in j1939_sk_queue_activate_next_locked()
|
/Linux-v6.1/block/ |
D | bfq-wf2q.c | 857 unsigned long time_ms) in bfq_bfqq_charge_time() argument 861 unsigned long bounded_time_ms = min(time_ms, timeout_ms); in bfq_bfqq_charge_time()
|
D | bfq-iosched.h | 1068 unsigned long time_ms);
|
/Linux-v6.1/sound/pci/asihpi/ |
D | hpi_internal.h | 935 u32 time_ms; member 939 u32 time_ms; member
|
/Linux-v6.1/tools/tracing/latency/ |
D | latency-collector.c | 539 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-v6.1/drivers/net/wireless/realtek/rtw89/ |
D | phy.c | 2731 u16 time_ms, u32 *period, in rtw89_phy_ccx_ms_to_period_unit() argument 2737 if (time_ms >= CCX_MAX_PERIOD) in rtw89_phy_ccx_ms_to_period_unit() 2738 time_ms = CCX_MAX_PERIOD; in rtw89_phy_ccx_ms_to_period_unit() 2740 quotient = CCX_MAX_PERIOD_UNIT * time_ms / CCX_MAX_PERIOD; in rtw89_phy_ccx_ms_to_period_unit() 2752 *period = (time_ms * MS_TO_4US_RATIO) >> idx; in rtw89_phy_ccx_ms_to_period_unit()
|