Home
last modified time | relevance | path

Searched refs:busy (Results 1 – 25 of 86) sorted by relevance

1234

/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/devfreq/
Dgovernor_utgard_ondemand.c55 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 prec… in devfreq_hisilicon_func()
142 status->current_frequency, next_rate, busy*HUNDRED/total); in devfreq_hisilicon_func()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/
Dmali_kbase_pm_metrics.c193 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 …]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/
Dmali_kbase_pm_metrics.c185 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 …]
/device/soc/rockchip/rk3588/kernel/drivers/mmc/host/
Drk_sdmmc_ops.c104 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()
/device/soc/rockchip/common/vendor/drivers/mmc/host/
Drk_sdmmc_ops.c100 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()
/device/soc/winnermicro/wm800/board/platform/common/fwup/
Dwm_fwup.c324 if (fwup->busy == TRUE) { in tls_fwup_enter()
346 fwup->busy = TRUE; in tls_fwup_enter()
365 if ((fwup == NULL) || (fwup->busy == FALSE)) { in tls_fwup_exit()
387 fwup->busy = FALSE; in tls_fwup_exit()
421 return fwup->busy; in tls_fwup_get_status()
543 if ((fwup == NULL) || (fwup->busy == FALSE)) {return TLS_FWUP_STATUS_EPERM;} in tls_fwup_reset()
566 if ((fwup == NULL) || (fwup->busy == FALSE)) {return TLS_FWUP_STATUS_EPERM;} in tls_fwup_clear_error()
603 fwup->busy = FALSE; in tls_fwup_init()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/
Dmali_pm_metrics.c220 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/vendor/drivers/gpu/arm/mali400/mali/common/
Dmali_pm_metrics.c220 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/vendor/drivers/gpu/arm/bifrost/backend/gpu/
Dmali_kbase_pm_metrics.c185 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()
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/core/
Dbtc_profile_queue.c147 if (p_head->busy) { in btc_queue_connect_next()
151 p_head->busy = true; in btc_queue_connect_next()
/device/soc/winnermicro/wm800/board/platform/drivers/spi/
Dwm_spi_hal.h247 static __inline void spi_get_status(u8 *busy, u8 *rx_fifo_level, u8 *tx_fifo_level) in spi_get_status() argument
253 if (busy) {*busy = SPI_IS_BUSY(reg_val);} in spi_get_status()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/
Dmali_kbase_pm_metrics.c361 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()
/device/soc/esp/esp32/components/spi_flash/
Dspi_flash_chip_generic.c123 chip->busy = 1; in spi_flash_chip_generic_erase_chip()
147 chip->busy = 1; in spi_flash_chip_generic_erase_sector()
171 chip->busy = 1; in spi_flash_chip_generic_erase_block()
227 chip->busy = 1; in spi_flash_chip_generic_page_program()
363 if (chip->busy == 1) { in spi_flash_chip_generic_wait_idle()
364 chip->busy = 0; in spi_flash_chip_generic_wait_idle()
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/mesh/src/
Dadv.c177 if (BT_MESH_ADV(buf)->busy) { in mesh_adv_thread()
178 BT_MESH_ADV(buf)->busy = 0; in mesh_adv_thread()
234 BT_MESH_ADV(buf)->busy = 1; in bt_mesh_adv_send()
Dadv.h41 busy : 1; member
/device/soc/rockchip/common/sdk_linux/include/trace/events/
Dsched.h436 … 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_bu…
441 … TP_fast_assign(__entry->cpu = cpu; __entry->busy = busy; __entry->old_is_busy = old_is_busy;
443 …ntk("cpu=%u, busy=%u, old_is_busy=%u, new_is_busy=%u high_irqload=%d", __entry->cpu, __entry->busy,
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/include/btc/
Dbtc_profile_queue.h39 bool busy; member
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/
Dxmit_linux.c346 bool busy = _FALSE; in rtw_os_check_stop_queue() local
353 busy = _TRUE; in rtw_os_check_stop_queue()
360 busy = _TRUE; in rtw_os_check_stop_queue()
363 return busy; in rtw_os_check_stop_queue()
/device/soc/rockchip/common/sdk_linux/drivers/i2c/busses/
Di2c-rk3x.c239 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/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/include/
Ddrv_trng.h44 uint32_t busy : 1; member
Ddrv_spiflash.h53 uint32_t busy : 1; ///< Flash busy flag member
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/uart/
Dhi_uart.c106 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/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/bk7235/soc/
Di2c_struct.h56 uint32_t busy: 1; /**< bit[15] */ member
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_addr.c242 p_mgnt_cb->busy = 0; in btm_ble_resolve_address_cmpl()
408 if ( !p_mgnt_cb->busy) { in btm_ble_resolve_random_addr()
410 p_mgnt_cb->busy = 1; in btm_ble_resolve_random_addr()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/lowlevel_sun8iw8/
Ddisp_al.c324 int busy = 0; in disp_al_lcd_tri_busy() local
327 busy |= tcon0_tri_busy(screen_id); in disp_al_lcd_tri_busy()
329 busy |= dsi_inst_busy(screen_id); in disp_al_lcd_tri_busy()
331 ret = (busy == 0) ? 0 : 1; in disp_al_lcd_tri_busy()

1234