/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/devfreq/ |
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 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/ |
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 …]
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/ |
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 …]
|
/device/soc/rockchip/rk3588/kernel/drivers/mmc/host/ |
D | rk_sdmmc_ops.c | 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()
|
/device/soc/rockchip/common/vendor/drivers/mmc/host/ |
D | rk_sdmmc_ops.c | 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()
|
/device/soc/winnermicro/wm800/board/platform/common/fwup/ |
D | wm_fwup.c | 324 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/ |
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/vendor/drivers/gpu/arm/mali400/mali/common/ |
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/vendor/drivers/gpu/arm/bifrost/backend/gpu/ |
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()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/core/ |
D | btc_profile_queue.c | 147 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/ |
D | wm_spi_hal.h | 247 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/ |
D | mali_kbase_pm_metrics.c | 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()
|
/device/soc/esp/esp32/components/spi_flash/ |
D | spi_flash_chip_generic.c | 123 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/ |
D | adv.c | 177 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()
|
D | adv.h | 41 busy : 1; member
|
/device/soc/rockchip/common/sdk_linux/include/trace/events/ |
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_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/ |
D | btc_profile_queue.h | 39 bool busy; member
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/ |
D | xmit_linux.c | 346 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/ |
D | i2c-rk3x.c | 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/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/include/ |
D | drv_trng.h | 44 uint32_t busy : 1; member
|
D | drv_spiflash.h | 53 uint32_t busy : 1; ///< Flash busy flag member
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/uart/ |
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/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/bk7235/soc/ |
D | i2c_struct.h | 56 uint32_t busy: 1; /**< bit[15] */ member
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/btm/ |
D | btm_ble_addr.c | 242 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/ |
D | disp_al.c | 324 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()
|