| /OK3568_Linux_fs/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()
|
| /OK3568_Linux_fs/kernel/drivers/devfreq/event/ |
| H A D | rockchip-nocp.c | 91 int time_ms = 0; in rockchip_nocp_get_event() local 93 time_ms = ktime_to_ms(ktime_sub(ktime_get(), nocp->time)); in rockchip_nocp_get_event() 99 if (time_ms > 0) in rockchip_nocp_get_event() 100 edata->load_count = (counter * 1000) / time_ms; in rockchip_nocp_get_event()
|
| /OK3568_Linux_fs/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()
|
| /OK3568_Linux_fs/kernel/drivers/iio/light/ |
| H A D | as73211.c | 491 int time_ms; in _as73211_write_raw() local 501 time_ms = (val_us * f_samp_1_024mhz) / 1000; /* 1 ms, 2 ms, ... (power of two) */ in _as73211_write_raw() 502 if (time_ms < 0 || !is_power_of_2(time_ms) || time_ms > AS73211_SAMPLE_TIME_MAX_MS) in _as73211_write_raw() 505 reg_bits = ilog2(time_ms); in _as73211_write_raw()
|
| /OK3568_Linux_fs/yocto/poky/scripts/pybootchartgui/pybootchartgui/ |
| H A D | parsing.py | 586 time_ms = float (t.group(1)) * 1000 593 if max_ts == 0 and not base_ts and time_ms > 1000: 594 base_ts = time_ms 596 max_ts = max(time_ms, max_ts) 599 time_ms -= base_ts 611 kernel.duration = time_ms / 10 623 processMap[func] = Process(writer, ppid + idx, name, ppid, time_ms / 10) 628 process.duration = (time_ms / 10) - process.start_time
|
| /OK3568_Linux_fs/buildroot/package/lvgl/lvgl/ |
| H A D | 0011-src-add-lv_systick.patch | 59 + uint32_t time_ms = now_ms - start_ms; 60 + return time_ms;
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | max96712.c | 645 int ret, i, time_ms; in max96712_check_link_lock_state() local 723 time_ms = 50; in max96712_check_link_lock_state() 724 msleep(time_ms); in max96712_check_link_lock_state() 730 dev_info(dev, "LinkA locked time: %d ms\n", time_ms); in max96712_check_link_lock_state() 736 dev_info(dev, "LinkB locked time: %d ms\n", time_ms); in max96712_check_link_lock_state() 742 dev_info(dev, "LinkC locked time: %d ms\n", time_ms); in max96712_check_link_lock_state() 748 dev_info(dev, "LinkD locked time: %d ms\n", time_ms); in max96712_check_link_lock_state() 752 dev_info(dev, "All Links are locked: 0x%x, time_ms = %d\n", lock_state, time_ms); in max96712_check_link_lock_state() 760 time_ms += 10; in max96712_check_link_lock_state() 764 dev_info(dev, "Partial links are locked: 0x%x, time_ms = %d\n", lock_state, time_ms); in max96712_check_link_lock_state() [all …]
|
| H A D | max96722.c | 673 int ret, i, time_ms; in max96722_check_link_lock_state() local 741 time_ms = 50; in max96722_check_link_lock_state() 742 msleep(time_ms); in max96722_check_link_lock_state() 748 dev_info(dev, "LinkA locked time: %d ms\n", time_ms); in max96722_check_link_lock_state() 754 dev_info(dev, "LinkB locked time: %d ms\n", time_ms); in max96722_check_link_lock_state() 760 dev_info(dev, "LinkC locked time: %d ms\n", time_ms); in max96722_check_link_lock_state() 766 dev_info(dev, "LinkD locked time: %d ms\n", time_ms); in max96722_check_link_lock_state() 770 dev_info(dev, "All Links are locked: 0x%x, time_ms = %d\n", lock_state, time_ms); in max96722_check_link_lock_state() 778 time_ms += 10; in max96722_check_link_lock_state() 782 dev_info(dev, "Partial links are locked: 0x%x, time_ms = %d\n", lock_state, time_ms); in max96722_check_link_lock_state() [all …]
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/ |
| H A D | dhdioctl.h | 108 uint64 time_ms; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/ |
| H A D | dhdioctl.h | 108 uint64 time_ms; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/ |
| H A D | dhdioctl.h | 108 uint64 time_ms; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/ |
| H A D | dhdioctl.h | 155 uint64 time_ms; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/ |
| H A D | dhdioctl.h | 155 uint64 time_ms; member
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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 + 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()
|
| /OK3568_Linux_fs/kernel/block/ |
| H A D | bfq-wf2q.c | 875 unsigned long time_ms) in bfq_bfqq_charge_time() argument 879 unsigned long bounded_time_ms = min(time_ms, timeout_ms); in bfq_bfqq_charge_time()
|
| H A D | bfq-iosched.h | 1044 unsigned long time_ms);
|
| /OK3568_Linux_fs/kernel/sound/pci/asihpi/ |
| H A D | hpi_internal.h | 935 u32 time_ms; member 939 u32 time_ms; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/ |
| H A D | halbb_env_mntr.c | 47 void halbb_ccx_ms_2_period_unit(struct bb_info *bb, u16 time_ms, u32 *period, in halbb_ccx_ms_2_period_unit() argument 50 if (time_ms >= 2097) in halbb_ccx_ms_2_period_unit() 51 time_ms = 2097; in halbb_ccx_ms_2_period_unit() 53 if (time_ms < 263) in halbb_ccx_ms_2_period_unit() 55 else if (time_ms < 525) in halbb_ccx_ms_2_period_unit() 57 else if (time_ms < 1049) in halbb_ccx_ms_2_period_unit() 62 *period = (u32)((time_ms * MS_TO_4US_RATIO) >> *unit_idx); in halbb_ccx_ms_2_period_unit()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/ |
| H A D | halbb_env_mntr.c | 47 void halbb_ccx_ms_2_period_unit(struct bb_info *bb, u16 time_ms, u32 *period, in halbb_ccx_ms_2_period_unit() argument 50 if (time_ms >= 2097) in halbb_ccx_ms_2_period_unit() 51 time_ms = 2097; in halbb_ccx_ms_2_period_unit() 53 if (time_ms < 263) in halbb_ccx_ms_2_period_unit() 55 else if (time_ms < 525) in halbb_ccx_ms_2_period_unit() 57 else if (time_ms < 1049) in halbb_ccx_ms_2_period_unit() 62 *period = (u32)((time_ms * MS_TO_4US_RATIO) >> *unit_idx); in halbb_ccx_ms_2_period_unit()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_common.c | 6435 dhd->tput_data.time_ms = time_taken; in dhd_tput_test() 6446 dhd->tput_data.tput_bps, dhd->tput_data.time_ms)); in dhd_tput_test()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_common.c | 6451 dhd->tput_data.time_ms = time_taken; in dhd_tput_test() 6462 dhd->tput_data.tput_bps, dhd->tput_data.time_ms)); in dhd_tput_test()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | dhd_common.c | 6451 dhd->tput_data.time_ms = time_taken; in dhd_tput_test() 6462 dhd->tput_data.tput_bps, dhd->tput_data.time_ms)); in dhd_tput_test()
|