Searched refs:time_ms (Results 1 – 9 of 9) sorted by relevance
| /drivers/gpu/drm/amd/amdgpu/ |
| A 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()
|
| /drivers/iio/light/ |
| A D | as73211.c | 576 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()
|
| /drivers/crypto/intel/qat/qat_common/ |
| A D | adf_heartbeat.h | 58 int adf_heartbeat_ms_to_ticks(struct adf_accel_dev *accel_dev, unsigned int time_ms,
|
| A D | adf_heartbeat.c | 252 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()
|
| /drivers/net/ethernet/hisilicon/ |
| A 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()
|
| A D | hix5hd2_gmac.c | 1061 u32 time_ms; in hix5hd2_sleep_us() local 1066 time_ms = DIV_ROUND_UP(time_us, 1000); in hix5hd2_sleep_us() 1067 if (time_ms < 20) in hix5hd2_sleep_us() 1070 msleep(time_ms); in hix5hd2_sleep_us()
|
| /drivers/misc/ |
| A 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()
|
| /drivers/mtd/nand/raw/ |
| A D | qcom_nandc.c | 1668 static int qcom_wait_rdy_poll(struct nand_chip *chip, unsigned int time_ms) in qcom_wait_rdy_poll() argument 1671 unsigned long start = jiffies + msecs_to_jiffies(time_ms); in qcom_wait_rdy_poll()
|
| /drivers/net/wireless/realtek/rtw89/ |
| A D | phy.c | 5372 u16 time_ms, u32 *period, in rtw89_phy_ccx_ms_to_period_unit() argument 5378 if (time_ms >= CCX_MAX_PERIOD) in rtw89_phy_ccx_ms_to_period_unit() 5379 time_ms = CCX_MAX_PERIOD; in rtw89_phy_ccx_ms_to_period_unit() 5381 quotient = CCX_MAX_PERIOD_UNIT * time_ms / CCX_MAX_PERIOD; in rtw89_phy_ccx_ms_to_period_unit() 5393 *period = (time_ms * MS_TO_4US_RATIO) >> idx; in rtw89_phy_ccx_ms_to_period_unit()
|
Completed in 37 milliseconds