/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H 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()
|
/openbmc/u-boot/arch/arm/cpu/armv7/s5p-common/ |
H A D | timer.c | 67 unsigned long long time_ms; in get_timer() local 80 time_ms = gd->arch.timer_reset_value; in get_timer() 81 do_div(time_ms, 1000); in get_timer() 82 return time_ms - base; in get_timer()
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | gecko.py | 88 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)
|
/openbmc/u-boot/cmd/ |
H A D | sf.c | 403 unsigned time_ms[STAGE_COUNT]; member 412 if (test->time_ms[stage]) in show_time() 413 do_div(speed, test->time_ms[stage] * 1024); in show_time() 417 stage_name[stage], test->time_ms[stage], in show_time() 423 test->time_ms[test->stage] = get_timer(test->base_ms); in spi_test_next_stage()
|
/openbmc/linux/drivers/iio/light/ |
H A D | as73211.c | 496 int time_ms; in _as73211_write_raw() local 506 time_ms = (val_us * f_samp_1_024mhz) / 1000; /* 1 ms, 2 ms, ... (power of two) */ in _as73211_write_raw() 507 if (time_ms < 0 || !is_power_of_2(time_ms) || time_ms > AS73211_SAMPLE_TIME_MAX_MS) in _as73211_write_raw() 510 reg_bits = ilog2(time_ms); in _as73211_write_raw()
|
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/ |
H A D | parsing.py | 612 time_ms = float (t.group(1)) * 1000 619 if max_ts == 0 and not base_ts and time_ms > 1000: 620 base_ts = time_ms 622 max_ts = max(time_ms, max_ts) 625 time_ms -= base_ts 637 kernel.duration = time_ms / 10 649 processMap[func] = Process(writer, ppid + idx, name, ppid, time_ms / 10) 654 process.duration = (time_ms / 10) - process.start_time
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_heartbeat.h | 46 int adf_heartbeat_ms_to_ticks(struct adf_accel_dev *accel_dev, unsigned int time_ms,
|
H A D | adf_heartbeat.c | 243 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()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/ |
H 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()
|
H A 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()
|
/openbmc/linux/drivers/misc/ |
H 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()
|
/openbmc/linux/net/can/j1939/ |
H A D | socket.c | 189 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()
|
/openbmc/linux/block/ |
H A D | bfq-wf2q.c | 838 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 D | bfq-iosched.h | 1147 unsigned long time_ms);
|
/openbmc/linux/sound/pci/asihpi/ |
H A D | hpi_internal.h | 935 u32 time_ms; member 939 u32 time_ms; member
|
/openbmc/linux/tools/tracing/latency/ |
H A 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()
|
/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | phy.c | 3273 u16 time_ms, u32 *period, in rtw89_phy_ccx_ms_to_period_unit() argument 3279 if (time_ms >= CCX_MAX_PERIOD) in rtw89_phy_ccx_ms_to_period_unit() 3280 time_ms = CCX_MAX_PERIOD; in rtw89_phy_ccx_ms_to_period_unit() 3282 quotient = CCX_MAX_PERIOD_UNIT * time_ms / CCX_MAX_PERIOD; in rtw89_phy_ccx_ms_to_period_unit() 3294 *period = (time_ms * MS_TO_4US_RATIO) >> idx; in rtw89_phy_ccx_ms_to_period_unit()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | qcom_nandc.c | 2660 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()
|