/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/devfreq/ |
H A D | governor_utgard_ondemand.c | 55 unsigned long busy, total; in devfreq_hisilicon_func() local 82 busy = status->busy_time >> TIME_SHIFT; in devfreq_hisilicon_func() 113 if ((HUNDRED * busy / total < max_utilization) && (HUNDRED * busy / total > min_utilization)) { in devfreq_hisilicon_func() 120 next_rate = (next_rate / HUNDRED) * (busy * HUNDRED / total) ; /* avoid over precision */ in devfreq_hisilicon_func() 142 status->current_frequency, next_rate, busy*HUNDRED/total); in devfreq_hisilicon_func()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/ |
H A D | mali_kbase_pm_metrics.c | 185 unsigned long flags, busy, total; in kbase_pm_get_dvfs_utilisation() local 190 busy = kbdev->pm.backend.metrics.time_busy; in kbase_pm_get_dvfs_utilisation() 191 total = busy + kbdev->pm.backend.metrics.time_idle; in kbase_pm_get_dvfs_utilisation() 199 busy += kbdev->pm.backend.metrics.prev_busy; in kbase_pm_get_dvfs_utilisation() 203 *busy_out = busy; in kbase_pm_get_dvfs_utilisation() 216 int busy; in kbase_pm_get_dvfs_utilisation_old() local 236 busy = in kbase_pm_get_dvfs_utilisation_old() 239 if (busy != 0) { in kbase_pm_get_dvfs_utilisation_old() 241 *util_gl_share = (0x64 * kbdev->pm.backend.metrics.busy_gl) / busy; in kbase_pm_get_dvfs_utilisation_old() 244 util_cl_share[0] = (0x64 * kbdev->pm.backend.metrics.busy_cl[0]) / busy; in kbase_pm_get_dvfs_utilisation_old() [all...] |
H A D | mali_kbase_pm_internal.h | 68 * turned on *and* busy). 480 void kbase_pm_get_dvfs_utilisation(struct kbase_device *kbdev, unsigned long *total, unsigned long *busy);
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/ |
H A D | mali_kbase_pm_metrics.c | 193 unsigned long flags, busy, total; in kbase_pm_get_dvfs_utilisation() local 198 busy = kbdev->pm.backend.metrics.time_busy; in kbase_pm_get_dvfs_utilisation() 199 total = busy + kbdev->pm.backend.metrics.time_idle; in kbase_pm_get_dvfs_utilisation() 208 busy += kbdev->pm.backend.metrics.prev_busy; in kbase_pm_get_dvfs_utilisation() 212 *busy_out = busy; in kbase_pm_get_dvfs_utilisation() 228 int busy; in kbase_pm_get_dvfs_utilisation_old() local 249 busy = kbdev->pm.backend.metrics.busy_gl + in kbase_pm_get_dvfs_utilisation_old() 253 if (busy != 0) { in kbase_pm_get_dvfs_utilisation_old() 257 busy; in kbase_pm_get_dvfs_utilisation_old() 261 busy; in kbase_pm_get_dvfs_utilisation_old() [all...] |
H A D | mali_kbase_pm_internal.h | 74 * turned on *and* busy). 491 unsigned long *total, unsigned long *busy);
|
/device/soc/rockchip/common/vendor/drivers/mmc/host/ |
H A D | rk_sdmmc_ops.c | 96 * Wait for the card to finish the busy state 100 int ret, busy; in rk_emmc_wait_busy() local 103 busy = 0; in rk_emmc_wait_busy() 116 if (!busy && rk_emmc_busy(&cmd)) { in rk_emmc_wait_busy() 117 busy = 1; in rk_emmc_wait_busy() 120 "wait for busy state to end.\n", in rk_emmc_wait_busy()
|
/device/soc/rockchip/rk3588/kernel/drivers/mmc/host/ |
H A D | rk_sdmmc_ops.c | 100 * Wait for the card to finish the busy state 104 int ret, busy; in rk_emmc_wait_busy() local 107 busy = 0; in rk_emmc_wait_busy() 119 if (!busy && rk_emmc_busy(&cmd)) { in rk_emmc_wait_busy() 120 busy = 1; in rk_emmc_wait_busy() 123 "wait for busy state to end.\n", in rk_emmc_wait_busy()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/ |
H A D | mali_kbase_pm_metrics.c | 185 int busy; in kbase_pm_get_dvfs_action() local 196 busy = max(diff->busy_gl + diff->busy_cl[0] + diff->busy_cl[1], 1u); in kbase_pm_get_dvfs_action() 197 util_gl_share = (UTILISATION_TIME * diff->busy_gl) / busy; in kbase_pm_get_dvfs_action() 198 util_cl_share[0] = (UTILISATION_TIME * diff->busy_cl[0]) / busy; in kbase_pm_get_dvfs_action() 199 util_cl_share[1] = (UTILISATION_TIME * diff->busy_cl[1]) / busy; in kbase_pm_get_dvfs_action() 301 /* Track how long CL and/or GL jobs have been busy for */ in kbase_pm_metrics_update()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_pm_metrics.c | 220 u64 busy = 0; in mali_pm_get_dvfs_utilisation() local 227 busy = mdev->mali_metrics.time_busy; in mali_pm_get_dvfs_utilisation() 228 total = busy + mdev->mali_metrics.time_idle; in mali_pm_get_dvfs_utilisation() 236 busy += mdev->mali_metrics.prev_busy; in mali_pm_get_dvfs_utilisation() 240 *busy_out = (unsigned long)busy; in mali_pm_get_dvfs_utilisation()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_pm_metrics.c | 220 u64 busy = 0; in mali_pm_get_dvfs_utilisation() local 227 busy = mdev->mali_metrics.time_busy; in mali_pm_get_dvfs_utilisation() 228 total = busy + mdev->mali_metrics.time_idle; in mali_pm_get_dvfs_utilisation() 237 busy += mdev->mali_metrics.prev_busy; in mali_pm_get_dvfs_utilisation() 241 *busy_out = (unsigned long)busy; in mali_pm_get_dvfs_utilisation()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/ |
H A D | mali_kbase_pm_metrics.c | 254 * GPU is 100% busy while in protected mode, so we should add in kbase_pm_get_dvfs_utilisation_calc() 361 int busy; in kbase_pm_get_dvfs_action() local 377 busy = max(diff->busy_gl + diff->busy_cl[0] + diff->busy_cl[1], 1u); in kbase_pm_get_dvfs_action() 379 util_gl_share = (100 * diff->busy_gl) / busy; in kbase_pm_get_dvfs_action() 380 util_cl_share[0] = (100 * diff->busy_cl[0]) / busy; in kbase_pm_get_dvfs_action() 381 util_cl_share[1] = (100 * diff->busy_cl[1]) / busy; in kbase_pm_get_dvfs_action() 388 * probably just cares whether the GPU is busy or not; time in in kbase_pm_get_dvfs_action() 389 * protected mode is already added to busy-time at this point, though, in kbase_pm_get_dvfs_action() 519 /* Track how much of time has been spent busy or idle. For JM GPUs, in kbase_pm_metrics_update() 520 * this also evaluates how long CL and/or GL jobs have been busy fo in kbase_pm_metrics_update() [all...] |
/device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/include/ |
H A D | drv_trng.h | 44 uint32_t busy : 1; member
|
H A D | drv_sha.h | 64 uint32_t busy : 1; ///< calculate busy flag member
|
H A D | drv_spiflash.h | 53 uint32_t busy : 1; ///< Flash busy flag member
|
H A D | drv_crc.h | 69 uint32_t busy : 1; ///< busy flag member
|
H A D | drv_eflash.h | 53 uint32_t busy : 1; ///< Flash busy flag member
|
H A D | drv_rsa.h | 86 uint32_t busy : 1; ///< Calculate busy flag member
|
H A D | drv_spi.h | 93 uint32_t busy : 1; ///< Transmitter/Receiver busy flag member
|
H A D | drv_iic.h | 61 uint32_t busy : 1; ///< Transmitter/Receiver busy flag member
|
H A D | drv_aes.h | 79 uint32_t busy : 1; ///< busy flag member
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/uart/ |
H A D | hi_uart.c | 106 BSP_RAM_TEXT_SECTION hi_u32 hi_uart_is_busy(hi_uart_idx id, hi_bool *busy) in hi_uart_is_busy() argument 111 if (port_num >= UART_NUM || busy == HI_NULL) { in hi_uart_is_busy() 117 *busy = HI_TRUE; in hi_uart_is_busy() 119 *busy = HI_FALSE; in hi_uart_is_busy()
|
/device/soc/rockchip/common/sdk_linux/include/trace/events/ |
H A D | sched.h | 436 TP_PROTO(unsigned int cpu, unsigned int busy, unsigned int old_is_busy, unsigned int is_busy,
438 TP_ARGS(cpu, busy, old_is_busy, is_busy, high_irqload),
439 TP_STRUCT__entry(__field(u32, cpu) __field(u32, busy) __field(u32, old_is_busy) __field(u32, is_busy)
441 TP_fast_assign(__entry->cpu = cpu; __entry->busy = busy; __entry->old_is_busy = old_is_busy;
443 TP_printk("cpu=%u, busy=%u, old_is_busy=%u, new_is_busy=%u high_irqload=%d", __entry->cpu, __entry->busy,
|
/device/soc/rockchip/common/sdk_linux/drivers/i2c/busses/ |
H A D | i2c-rk3x.c | 211 * @busy: the condition for the event to wait for
239 bool busy;
member 357 i2c->busy = false;
in rk3x_i2c_stop() 527 i2c->busy = false;
in rk3x_i2c_handle_stop() 1075 i2c->busy = true;
in rk3x_i2c_setup() 1088 while (READ_ONCE(i2c->busy) && ktime_compare(ktime_get(), timeout) < 0) {
in rk3x_i2c_wait_xfer_poll() 1093 return !i2c->busy;
in rk3x_i2c_wait_xfer_poll() 1126 timeout = wait_event_timeout(i2c->wait, !i2c->busy, msecs_to_jiffies(WAIT_TIMEOUT));
in rk3x_i2c_xfer_common() 1178 while (tmo-- && i2c->busy) {
in rk3x_i2c_restart_notify()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
H A D | hi_uart.h | 363 * @brief Determine UART is busy. CNcomment:判断UART是否忙。CNend 366 * Determine UART is busy. CNcomment:判断指定UART是否忙。CNend 372 * @param busy [OUT] type #hi_bool*,Store query result, HI_TRUE means busy, HI_FALSE means not busy. 381 BSP_RAM_TEXT_SECTION hi_u32 hi_uart_is_busy(hi_uart_idx id, hi_bool *busy);
|
/device/soc/hisilicon/common/platform/pwm/ |
H A D | pwm_hi35xx.c | 186 hp->dev.busy = false; in HiPwmProbe()
|