Home
last modified time | relevance | path

Searched refs:total_time (Results 1 - 25 of 35) sorted by relevance

12

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Dplat_pm.c73 unsigned long total_time; in firmware_download_function() local
99 total_time = (unsigned long)oal_ktime_to_us(trans_time); in firmware_download_function()
100 if (total_time > max_time) { in firmware_download_function()
101 max_time = total_time; in firmware_download_function()
105 oam_info_log3(0, 0, "download firmware, count [%lu], current time [%lu]us, max time [%lu]us", count, total_time, in firmware_download_function()
115 unsigned long long total_time; in wlan_power_on() local
137 total_time = (unsigned long long)oal_ktime_to_us(trans_time); in wlan_power_on()
138 if (total_time > max_download_time) { in wlan_power_on()
139 max_download_time = total_time; in wlan_power_on()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/platform/rk/
H A Dmali_kbase_config_rk.c372 unsigned long total_time; in utilisation_show() local
378 kbase_pm_get_dvfs_utilisation(kbdev, &total_time, &busy_time); in utilisation_show()
384 D("total_time : %lu, busy_time : %lu.", total_time, busy_time); in utilisation_show()
386 utilisation = busy_time * 0x64 / total_time; in utilisation_show()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/platform/rk/
H A Dmali_kbase_config_rk.c381 unsigned long total_time; in utilisation_show() local
387 kbase_pm_get_dvfs_utilisation(kbdev, &total_time, &busy_time); in utilisation_show()
393 D("total_time : %lu, busy_time : %lu.", total_time, busy_time); in utilisation_show()
395 utilisation = busy_time * 100 / total_time; in utilisation_show()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/platform/rk/
H A Dmali_kbase_config_rk.c393 u32 total_time = 0; in utilisation_show() local
403 total_time = metrics_diff.time_busy + metrics_diff.time_idle; in utilisation_show()
405 D("total_time : %u, busy_time : %u.", total_time, busy_time); in utilisation_show()
407 utilisation = busy_time * 0x64 / total_time; in utilisation_show()
/device/soc/rockchip/common/sdk_linux/kernel/power/
H A Dwakeup_reason.c334 struct timespec64 total_time; in last_suspend_time_show() local
338 * total_time is calculated from monotonic bootoffsets because in last_suspend_time_show()
341 total_time = ktime_to_timespec64(ktime_sub(curr_stime, last_stime)); in last_suspend_time_show()
349 /* sleep_time = total_time - suspend_resume_time */ in last_suspend_time_show()
350 sleep_time = timespec64_sub(total_time, suspend_resume_time); in last_suspend_time_show()
/device/soc/rockchip/rk3588/kernel/kernel/power/
H A Dwakeup_reason.c334 struct timespec64 total_time; in last_suspend_time_show() local
338 * total_time is calculated from monotonic bootoffsets because in last_suspend_time_show()
341 total_time = ktime_to_timespec64(ktime_sub(curr_stime, last_stime)); in last_suspend_time_show()
350 /* sleep_time = total_time - suspend_resume_time */ in last_suspend_time_show()
351 sleep_time = timespec64_sub(total_time, suspend_resume_time); in last_suspend_time_show()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ipa/
H A Dmali_kbase_ipa.c522 unsigned long total_time = max(status->total_time, 1ul); in kbase_get_real_power() local
523 u64 busy_time = min(status->busy_time, total_time); in kbase_get_real_power()
526 // *power = ((u64) *power * (u64) busy_time) / total_time; in kbase_get_real_power()
527 *power = div_u64_rem(((u64)*power * (u64)busy_time), total_time, &remainder); in kbase_get_real_power()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/platform/rk/
H A Drk.c103 unsigned long total_time; in utilisation_show() local
109 mali_pm_get_dvfs_utilisation(mdev, &total_time, &busy_time); in utilisation_show()
116 D("total_time : %lu, busy_time : %lu.", total_time, busy_time); in utilisation_show()
118 utilisation = busy_time / (total_time / 0x64); in utilisation_show()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/platform/rk/
H A Drk.c107 unsigned long total_time; in utilisation_show() local
113 mali_pm_get_dvfs_utilisation(mdev, &total_time, &busy_time); in utilisation_show()
120 D("total_time : %lu, busy_time : %lu.", total_time, busy_time); in utilisation_show()
122 utilisation = busy_time / (total_time / 100); in utilisation_show()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ipa/
H A Dmali_kbase_ipa.c560 unsigned long total_time = max(status->total_time, 1ul); in kbase_get_real_power() local
561 u64 busy_time = min(status->busy_time, total_time); in kbase_get_real_power()
564 // *power = ((u64) *power * (u64) busy_time) / total_time; in kbase_get_real_power()
565 *power = div_u64_rem(((u64) *power * (u64) busy_time), total_time, &remainder); in kbase_get_real_power()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/platform/rk/
H A Dmali_kbase_config_rk.c449 u32 total_time = 0; in utilisation_show() local
459 total_time = metrics_diff.time_busy + metrics_diff.time_idle; in utilisation_show()
461 D("total_time : %u, busy_time : %u.", total_time, busy_time); in utilisation_show()
463 utilisation = busy_time * 100 / total_time; in utilisation_show()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ipa/
H A Dmali_kbase_ipa.c561 u64 total_time; in kbase_get_real_power_locked() local
585 /* time_busy / total_time cannot be >1, so assigning the 64-bit in kbase_get_real_power_locked()
588 total_time = diff.time_busy + (u64)diff.time_idle; in kbase_get_real_power_locked()
589 *power = div_u64(*power * (u64)diff.time_busy, max(total_time, 1ull)); in kbase_get_real_power_locked()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/devfreq/
H A Dgovernor_utgard_ondemand.c83 total = status->total_time >> TIME_SHIFT; in devfreq_hisilicon_func()
/device/soc/rockchip/rk3588/hardware/mpp/include/
H A Dutils_mpp.h88 typedef void (*FpsCalcCb)(RK_S64 total_time, RK_S64 total_count, RK_S64 last_time, RK_S64 last_count);
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ipa/
H A Dmali_kbase_ipa.c645 u64 total_time; in kbase_get_real_power_locked() local
701 /* time_busy / total_time cannot be >1, so assigning the 64-bit in kbase_get_real_power_locked()
704 total_time = diff.time_busy + (u64) diff.time_idle; in kbase_get_real_power_locked()
706 max(total_time, 1ull)); in kbase_get_real_power_locked()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_devfreq.c146 mali_pm_get_dvfs_utilisation(mdev, &stat->total_time, &stat->busy_time); in mali_devfreq_status()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_devfreq.c148 &stat->total_time, &stat->busy_time); in mali_devfreq_status()
/device/soc/rockchip/common/vendor/drivers/devfreq/
H A Drockchip_dmc.c530 stat->total_time = edata.total_count; in rockchip_dmcfreq_get_dev_status()
557 devfreq->last_status.total_time = 1; in reset_last_status()
2392 if (stat->total_time == 0) { in devfreq_dmc_ondemand_func()
2398 if (stat->busy_time >= (1 << 0x18) || stat->total_time >= (1 << 0x18)) { in devfreq_dmc_ondemand_func()
2400 stat->total_time >>= 0x7; in devfreq_dmc_ondemand_func()
2404 if (stat->busy_time * 0x64 > stat->total_time * upthreshold) { in devfreq_dmc_ondemand_func()
2416 if (stat->busy_time * 0x64 > stat->total_time * (upthreshold - downdifferential)) { in devfreq_dmc_ondemand_func()
2424 b = div_u64(a, stat->total_time); in devfreq_dmc_ondemand_func()
/device/soc/rockchip/rk3588/kernel/drivers/devfreq/
H A Drockchip_dmc.c534 stat->total_time = edata.total_count; in rockchip_dmcfreq_get_dev_status()
563 devfreq->last_status.total_time = 1; in reset_last_status()
2546 if (stat->total_time == 0) { in devfreq_dmc_ondemand_func()
2552 if (stat->busy_time >= (1 << 24) || stat->total_time >= (1 << 24)) { in devfreq_dmc_ondemand_func()
2554 stat->total_time >>= 7; in devfreq_dmc_ondemand_func()
2559 stat->total_time * upthreshold) { in devfreq_dmc_ondemand_func()
2572 stat->total_time * (upthreshold - downdifferential)) { in devfreq_dmc_ondemand_func()
2580 b = div_u64(a, stat->total_time); in devfreq_dmc_ondemand_func()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/
H A Ddev.h305 * @total_time: totaltime of readout time in hdr
313 u64 total_time; member
H A Dprocfs.c321 time_val = div_u64(stream->readout.total_time, 1000000); in rkcif_show_format()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_devfreq.c199 &stat->total_time, &stat->busy_time); in kbase_devfreq_status()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_devfreq.c191 kbase_pm_get_dvfs_utilisation(kbdev, &stat->total_time, &stat->busy_time); in kbase_devfreq_status()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/
H A Ddev.h319 * @total_time: totaltime of readout time in hdr
327 u64 total_time; member
H A Dprocfs.c328 time_val = div_u64(stream->readout.total_time, 1000000); in rkcif_show_format()

Completed in 27 milliseconds

12