| /OK3568_Linux_fs/kernel/include/trace/events/ |
| H A D | ufs.h | 128 TP_PROTO(const char *dev_name, const char *profile_info, s64 time_us, 131 TP_ARGS(dev_name, profile_info, time_us, err), 136 __field(s64, time_us) 143 __entry->time_us = time_us; 149 __entry->time_us, __entry->err) 153 TP_PROTO(const char *dev_name, const char *profile_info, s64 time_us, 155 TP_ARGS(dev_name, profile_info, time_us, err)); 158 TP_PROTO(const char *dev_name, const char *profile_info, s64 time_us, 160 TP_ARGS(dev_name, profile_info, time_us, err)); 163 TP_PROTO(const char *dev_name, const char *profile_info, s64 time_us, [all …]
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | bootstage.c | 25 ulong time_us; member 110 rec->time_us = mark; in bootstage_add_record() 194 rec->time_us += duration; in bootstage_accum() 226 print_grouped_ull(rec->time_us, BOOTSTAGE_DIGITS); in print_time_record() 228 print_grouped_ull(rec->time_us, BOOTSTAGE_DIGITS); in print_time_record() 229 print_grouped_ull(rec->time_us - prev, BOOTSTAGE_DIGITS); in print_time_record() 233 return rec->time_us; in print_time_record() 240 return rec1->time_us > rec2->time_us ? 1 : -1; in h_compare_record() 277 if (rec->id != BOOTSTAGE_ID_AWAKE && rec->time_us == 0) in add_bootstages_devicetree() 292 rec->time_us)) in add_bootstages_devicetree()
|
| /OK3568_Linux_fs/kernel/drivers/iio/light/ |
| H A D | as73211.c | 211 unsigned int time_us = as73211_integration_time_us(data, BIT(i)); in as73211_integration_time_calc_avail() local 213 data->int_time_avail[i * 2 + 0] = time_us / USEC_PER_SEC; in as73211_integration_time_calc_avail() 214 data->int_time_avail[i * 2 + 1] = time_us % USEC_PER_SEC; in as73211_integration_time_calc_avail() 227 unsigned int time_us = as73211_integration_time_us(data, in as73211_req_data() local 264 time_us += time_us / 3; in as73211_req_data() 266 ret = wait_for_completion_timeout(&data->completion, usecs_to_jiffies(time_us)); in as73211_req_data() 274 usleep_range(time_us, 2 * time_us); in as73211_req_data() 395 unsigned int time_us; in as73211_read_raw() local 398 time_us = as73211_integration_time_us(data, as73211_integration_time_1024cyc(data)); in as73211_read_raw() 400 *val = time_us / USEC_PER_SEC; in as73211_read_raw() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/rockchip/ |
| H A D | clk-pvtm.c | 37 unsigned int time_us); 94 u32 time_us) in rockchip_clock_pvtm_get_value() argument 101 clk_cnt = time_us * 24; in rockchip_clock_pvtm_get_value() 106 rockchip_clock_pvtm_delay(time_us); in rockchip_clock_pvtm_get_value() 132 u32 div, time_us; in rockchip_clock_pvtm_init_freq() local 135 time_us = 1000; in rockchip_clock_pvtm_init_freq() 136 pvtm_cnt = pvtm->info->get_value(pvtm, time_us); in rockchip_clock_pvtm_init_freq()
|
| /OK3568_Linux_fs/kernel/include/linux/soc/rockchip/ |
| H A D | pvtm.h | 7 unsigned int time_us); 11 unsigned int time_us) in rockchip_get_pvtm_value() argument
|
| /OK3568_Linux_fs/kernel/drivers/soc/rockchip/ |
| H A D | rockchip_pvtm.c | 44 unsigned int time_us); 209 unsigned int time_us) in rockchip_get_pvtm_value() argument 235 return pvtm->ops->get_value(pvtm, ring_sel, time_us); in rockchip_get_pvtm_value() 290 unsigned int time_us) in rockchip_pvtm_get_value() argument 321 clk_cnt = time_us * 24; in rockchip_pvtm_get_value() 327 rockchip_pvtm_delay(time_us); in rockchip_pvtm_get_value() 370 unsigned int time_us) in rv1126_pvtm_get_value() argument 401 clk_cnt = time_us * 24; in rv1126_pvtm_get_value() 407 rockchip_pvtm_delay(time_us); in rv1126_pvtm_get_value()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/sti/bdisp/ |
| H A D | bdisp-debug.c | 21 s64 time_us; in bdisp_dbg_perf_end() local 23 time_us = ktime_us_delta(ktime_get(), bdisp->dbg.hw_start); in bdisp_dbg_perf_end() 26 bdisp->dbg.min_duration = time_us; in bdisp_dbg_perf_end() 28 bdisp->dbg.min_duration = min(time_us, bdisp->dbg.min_duration); in bdisp_dbg_perf_end() 30 bdisp->dbg.last_duration = time_us; in bdisp_dbg_perf_end() 31 bdisp->dbg.max_duration = max(time_us, bdisp->dbg.max_duration); in bdisp_dbg_perf_end() 32 bdisp->dbg.tot_duration += time_us; in bdisp_dbg_perf_end()
|
| /OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/ |
| H A D | dib7000p.c | 1799 u64 time_us, tmp64; in dib7000p_get_time_us() local 1883 time_us = rate_denum * (1008 * 1562500L); in dib7000p_get_time_us() 1884 tmp64 = time_us; in dib7000p_get_time_us() 1886 time_us = time_us + tmp64; in dib7000p_get_time_us() 1887 time_us += denom / 2; in dib7000p_get_time_us() 1888 do_div(time_us, denom); in dib7000p_get_time_us() 1891 time_us += tmp + tmp / guard; in dib7000p_get_time_us() 1893 return time_us; in dib7000p_get_time_us() 1901 u32 time_us = 0, val, snr; in dib7000p_get_stats() local 1952 if (!time_us) in dib7000p_get_stats() [all …]
|
| H A D | dib8000.c | 4012 u64 time_us, tmp64; in dib8000_get_time_us() local 4108 time_us = rate_denum * (1008 * 1562500L); in dib8000_get_time_us() 4109 tmp64 = time_us; in dib8000_get_time_us() 4111 time_us = time_us + tmp64; in dib8000_get_time_us() 4112 time_us += denom / 2; in dib8000_get_time_us() 4113 do_div(time_us, denom); in dib8000_get_time_us() 4116 time_us += tmp + tmp / guard; in dib8000_get_time_us() 4118 return time_us; in dib8000_get_time_us() 4127 u32 time_us = 0, snr, val; in dib8000_get_stats() local 4185 if (!time_us) in dib8000_get_stats() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/tpm/ |
| H A D | tpm_tis_lpc.c | 143 u32 time_us = MAX_DELAY_US; in tis_wait_reg() local 145 while (time_us > 0) { in tis_wait_reg() 150 time_us--; in tis_wait_reg()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/ |
| H A D | hisi_femac.c | 699 static void hisi_femac_sleep_us(u32 time_us) in hisi_femac_sleep_us() argument 703 if (!time_us) in hisi_femac_sleep_us() 706 time_ms = DIV_ROUND_UP(time_us, 1000); in hisi_femac_sleep_us() 708 usleep_range(time_us, time_us + 500); in hisi_femac_sleep_us()
|
| H A D | hix5hd2_gmac.c | 1058 static void hix5hd2_sleep_us(u32 time_us) in hix5hd2_sleep_us() argument 1062 if (!time_us) in hix5hd2_sleep_us() 1065 time_ms = DIV_ROUND_UP(time_us, 1000); in hix5hd2_sleep_us() 1067 usleep_range(time_us, time_us + 500); in hix5hd2_sleep_us()
|
| /OK3568_Linux_fs/u-boot/cmd/ddr_tool/stressapptest/ |
| H A D | stressapptest.c | 445 u64 time_us; in print_time_stamp() local 447 time_us = run_time_us(); in print_time_stamp() 449 printf("[%5d.%06d] ", (u32)(time_us / 1000000), (u32)(time_us % 1000000)); in print_time_stamp()
|
| /OK3568_Linux_fs/kernel/drivers/cpufreq/ |
| H A D | s3c24xx-cpufreq.c | 521 static inline u32 calc_locktime(u32 freq, u32 time_us) in calc_locktime() argument 525 result = freq * time_us; in calc_locktime()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_cs.c | 300 s64 time_us, increment_us; in amdgpu_cs_get_threshold_for_moves() local 325 time_us = ktime_to_us(ktime_get()); in amdgpu_cs_get_threshold_for_moves() 326 increment_us = time_us - adev->mm_stats.last_update_us; in amdgpu_cs_get_threshold_for_moves() 327 adev->mm_stats.last_update_us = time_us; in amdgpu_cs_get_threshold_for_moves()
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | ec_commands.h | 1227 uint32_t time_us; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/ |
| H A D | halbb_env_mntr.c | 71 u32 time_us = 0; in halbb_ccx_idx_cnt_2_us() local 73 time_us = (u32)(idx_cnt << (2 + env->ccx_unit_idx)); in halbb_ccx_idx_cnt_2_us() 75 return time_us; in halbb_ccx_idx_cnt_2_us() 78 u16 halbb_ccx_us_2_idx_cnt(struct bb_info *bb, u32 time_us) in halbb_ccx_us_2_idx_cnt() argument 83 idx_cnt = (u16)(time_us >> (2 + env->ccx_unit_idx)); in halbb_ccx_us_2_idx_cnt()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/ |
| H A D | halbb_env_mntr.c | 71 u32 time_us = 0; in halbb_ccx_idx_cnt_2_us() local 73 time_us = (u32)(idx_cnt << (2 + env->ccx_unit_idx)); in halbb_ccx_idx_cnt_2_us() 75 return time_us; in halbb_ccx_idx_cnt_2_us() 78 u16 halbb_ccx_us_2_idx_cnt(struct bb_info *bb, u32 time_us) in halbb_ccx_us_2_idx_cnt() argument 83 idx_cnt = (u16)(time_us >> (2 + env->ccx_unit_idx)); in halbb_ccx_us_2_idx_cnt()
|
| /OK3568_Linux_fs/kernel/include/linux/platform_data/ |
| H A D | cros_ec_commands.h | 3302 uint32_t time_us; member
|