/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/ |
D | mali_kbase_js_backend.c | 119 u32 ticks = atom->ticks++; in timer_callback() local 148 ticks > soft_stop_ticks) in timer_callback() 149 ticks = atom->ticks = soft_stop_ticks; in timer_callback() 152 if (ticks == soft_stop_ticks) { in timer_callback() 189 } else if (ticks == hard_stop_ticks) { in timer_callback() 200 (unsigned long)ticks, in timer_callback() 205 } else if (ticks == gpu_reset_ticks) { in timer_callback() 220 if (ticks == js_devdata->soft_stop_ticks) { in timer_callback() 227 } else if (ticks == in timer_callback() 238 (unsigned long)ticks, in timer_callback() [all …]
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/ |
D | mali_kbase_js_backend.c | 114 u32 ticks = atom->ticks++; in timer_callback() local 134 if (backend->timeouts_updated && ticks > soft_stop_ticks) { in timer_callback() 135 ticks = atom->ticks = soft_stop_ticks; in timer_callback() 139 if (ticks == soft_stop_ticks) { in timer_callback() 172 } else if (ticks == hard_stop_ticks) { in timer_callback() 181 (unsigned long)ticks, (unsigned long)ms); in timer_callback() 184 } else if (ticks == gpu_reset_ticks) { in timer_callback() 199 if (ticks == js_devdata->soft_stop_ticks) { in timer_callback() 206 } else if (ticks == js_devdata->hard_stop_ticks_dumping) { in timer_callback() 214 (unsigned long)ticks, (unsigned long)ms); in timer_callback() [all …]
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/ |
D | mali_kbase_js_backend.c | 113 u32 ticks = atom->ticks++; in timer_callback() local 133 if (backend->timeouts_updated && ticks > soft_stop_ticks) { in timer_callback() 134 ticks = atom->ticks = soft_stop_ticks; in timer_callback() 138 if (ticks == soft_stop_ticks) { in timer_callback() 170 } else if (ticks == hard_stop_ticks) { in timer_callback() 179 (unsigned long)ticks, (unsigned long)ms); in timer_callback() 182 } else if (ticks == gpu_reset_ticks) { in timer_callback() 197 if (ticks == js_devdata->soft_stop_ticks) { in timer_callback() 204 } else if (ticks == js_devdata->hard_stop_ticks_dumping) { in timer_callback() 212 (unsigned long)ticks, (unsigned long)ms); in timer_callback() [all …]
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/ |
D | mali_kbase_js_backend.c | 120 u32 ticks = atom->ticks++; in timer_callback() local 148 ticks > soft_stop_ticks) in timer_callback() 149 ticks = atom->ticks = soft_stop_ticks; in timer_callback() 152 if (ticks == soft_stop_ticks) { in timer_callback() 187 } else if (ticks == hard_stop_ticks) { in timer_callback() 198 (unsigned long)ticks, in timer_callback() 203 } else if (ticks == gpu_reset_ticks) { in timer_callback() 218 if (ticks == js_devdata->soft_stop_ticks) { in timer_callback() 225 } else if (ticks == in timer_callback() 236 (unsigned long)ticks, in timer_callback() [all …]
|
/device/soc/winnermicro/wm800/board/src/bt/blehost/porting/w800/include/nimble/ |
D | nimble_npl_os.h | 203 …atic inline ble_npl_error_t ble_npl_callout_reset(struct ble_npl_callout *co, ble_npl_time_t ticks) in ble_npl_callout_reset() argument 205 return npl_freertos_callout_reset(co, ticks); in ble_npl_callout_reset() 243 static inline ble_npl_error_t ble_npl_time_ticks_to_ms(ble_npl_time_t ticks, uint32_t *out_ms) in ble_npl_time_ticks_to_ms() argument 245 return ble_npl_time_ticks_to_ms(ticks, out_ms); in ble_npl_time_ticks_to_ms() 253 static inline uint32_t ble_npl_time_ticks_to_ms32(ble_npl_time_t ticks) in ble_npl_time_ticks_to_ms32() argument 255 return ticks * 1000 / HZ; // 1000; BYTE ALIGNMENT in ble_npl_time_ticks_to_ms32() 258 static inline void ble_npl_time_delay(ble_npl_time_t ticks) in ble_npl_time_delay() argument 260 tls_os_time_delay(ticks); in ble_npl_time_delay()
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/key/ |
D | multi_button.c | 80 if ((handle->state) > 0) handle->ticks++; in button_handler() 98 handle->ticks = 0; in button_handler() 109 handle->ticks = 0; in button_handler() 112 } else if (handle->ticks > LONG_TICKS) { in button_handler() 128 handle->ticks = 0; in button_handler() 130 } else if (handle->ticks > SHORT_TICKS) { //released timeout in button_handler() 144 if (handle->ticks < SHORT_TICKS) { in button_handler() 145 handle->ticks = 0; in button_handler()
|
/device/soc/winnermicro/wm800/board/src/bt/blehost/porting/w800/src/ |
D | npl_os_freertos.c | 225 ble_npl_error_t npl_freertos_callout_reset(struct ble_npl_callout *co, ble_npl_time_t ticks) in npl_freertos_callout_reset() argument 227 tls_os_timer_change(co->handle, ticks); in npl_freertos_callout_reset() 247 uint64_t ticks; in npl_freertos_time_ms_to_ticks() local 248 ticks = ((uint64_t)ms * HZ) / 1000; // 1000:time unit in npl_freertos_time_ms_to_ticks() 249 if (ticks > UINT32_MAX) { in npl_freertos_time_ms_to_ticks() 253 *out_ticks = ticks; in npl_freertos_time_ms_to_ticks() 257 ble_npl_error_t npl_freertos_time_ticks_to_ms(ble_npl_time_t ticks, uint32_t *out_ms) in npl_freertos_time_ticks_to_ms() argument 260 ms = ((uint64_t)ticks * 1000) / HZ; // 1000:time unit in npl_freertos_time_ticks_to_ms()
|
/device/board/talkweb/niobe407/applications/003_system_timer/ |
D | README_zh.md | 34 /// \param[in] ticks \ref CMSIS_RTOS_TimeOutValue "time ticks" value of the timer. 36 osStatus_t osTimerStart(osTimerId_t timer_id, uint32_t ticks); 41 函数osTimerStart启动或重新启动指定参数timer_id的计时器。参数ticks指定计时器的计数值。 51 | ticks | 时间滴答计时器的值. | 81 … /// \param[in] ticks \ref CMSIS_RTOS_TimeOutValue "time ticks" value of the timer. 83 //osStatus_t osTimerStart(osTimerId_t timer_id, uint32_t ticks);
|
/device/soc/esp/esp32/components/bt/host/bluedroid/external/sbc/decoder/include/ |
D | oi_bt_spec.h | 214 #define OI_BT_TICKS_TO_SECONDS(ticks) ((ticks)/1600) argument 216 #define OI_BT_TICKS_TO_MSECS(ticks) (((ticks)*5)/8) argument
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/ |
D | hal_timer.c | 281 void BOOT_TEXT_SRAM_LOC hal_sys_timer_delay(uint32_t ticks) in hal_sys_timer_delay() argument 285 while (hal_sys_timer_get() - start < ticks); in hal_sys_timer_delay() 289 void SRAM_TEXT_LOC hal_sys_timer_delay_in_sleep(uint32_t ticks) in hal_sys_timer_delay_in_sleep() argument 293 while (hal_sys_timer_get_in_sleep() - start < ticks); in hal_sys_timer_delay_in_sleep() 296 void hal_sys_timer_delay_in_sleep(uint32_t ticks) __attribute__((alias("hal_sys_timer_delay"))); 299 void BOOT_TEXT_FLASH_LOC flash_hal_sys_timer_delay(uint32_t ticks) in flash_hal_sys_timer_delay() argument 303 while (flash_hal_sys_timer_get() - start < ticks); in flash_hal_sys_timer_delay() 310 uint32_t ticks = US_TO_FAST_TICKS(us); in hal_sys_timer_delay_us() local 312 while (hal_fast_sys_timer_get() - start < ticks); in hal_sys_timer_delay_us() 346 uint32_t ticks = NS_TO_FAST_TICKS(ns); in hal_sys_timer_delay_ns() local [all …]
|
D | hal_timer.h | 128 void hal_sys_timer_delay(uint32_t ticks); 130 void hal_sys_timer_delay_in_sleep(uint32_t ticks); 140 void flash_hal_sys_timer_delay(uint32_t ticks);
|
/device/soc/asrmicro/asr582x/liteos_m/sdk/rtos/ |
D | lega_rtos.c | 390 uint32_t ticks; in lega_rtos_ms_to_ticks() local 397 ticks = ((ms + padding) * LOSCFG_BASE_CORE_TICK_PER_SECOND) / MS_PER_SECONED; in lega_rtos_ms_to_ticks() 398 return ticks; in lega_rtos_ms_to_ticks() 528 uint32_t lega_rtos_ticks_to_ms(uint32_t ticks) in lega_rtos_ticks_to_ms() argument 536 time = ((ticks + padding) * 1000) / LOSCFG_BASE_CORE_TICK_PER_SECOND; in lega_rtos_ticks_to_ms() 553 uint32_t ticks; in lega_rtos_delay_milliseconds() local 555 ticks = lega_rtos_ms_to_ticks(num_ms); in lega_rtos_delay_milliseconds() 556 if (ticks == 0) { in lega_rtos_delay_milliseconds() 557 ticks = 1; in lega_rtos_delay_milliseconds() 560 osDelay(ticks); in lega_rtos_delay_milliseconds()
|
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/include/nimble/ |
D | nimble_npl.h | 122 ble_npl_time_t ticks); 141 ble_npl_error_t ble_npl_time_ticks_to_ms(ble_npl_time_t ticks, uint32_t *out_ms); 145 uint32_t ble_npl_time_ticks_to_ms32(ble_npl_time_t ticks); 147 void ble_npl_time_delay(ble_npl_time_t ticks);
|
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/cmsis/ |
D | cmsis_liteos2.c | 248 uint64_t ticks; in osKernelGetTickCount() local 253 ticks = g_ullTickCount; in osKernelGetTickCount() 255 ticks = g_tickCount; in osKernelGetTickCount() 260 ticks = g_ullTickCount; in osKernelGetTickCount() 262 ticks = g_tickCount; in osKernelGetTickCount() 267 return (uint32_t)ticks; in osKernelGetTickCount() 662 WEAK UINT32 LOS_HalDelay(UINT32 ticks) in LOS_HalDelay() argument 664 UNUSED(ticks); in LOS_HalDelay() 669 osStatus_t osDelay(uint32_t ticks) in osDelay() argument 672 if (ticks == 0) { in osDelay() [all …]
|
/device/soc/winnermicro/wm800/board/src/bt/blehost/porting/w800/include/os/ |
D | os_cputime.h | 132 uint32_t os_cputime_ticks_to_nsecs(uint32_t ticks); 165 uint32_t os_cputime_ticks_to_usecs(uint32_t ticks); 173 void os_cputime_delay_ticks(uint32_t ticks);
|
/device/soc/esp/esp32/components/hal/include/hal/ |
D | rtc_hal.h | 45 #define rtc_hal_set_wakeup_timer(ticks) rtc_cntl_ll_set_wakeup_timer(ticks) argument
|
/device/soc/esp/esp32/components/newlib/port/ |
D | esp_time_impl.c | 141 const uint64_t ticks = rtc_this_ticks - s_rtc_last_ticks; in esp_rtc_get_time_us() local 153 const uint64_t ticks_low = ticks & UINT32_MAX; in esp_rtc_get_time_us() 154 const uint64_t ticks_high = ticks >> 32; in esp_rtc_get_time_us()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/ |
D | mali_osk_time.c | 32 u32 _mali_osk_time_tickstoms(unsigned long ticks) in _mali_osk_time_tickstoms() argument 34 return jiffies_to_msecs(ticks); in _mali_osk_time_tickstoms()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/ |
D | mali_osk_time.c | 32 u32 _mali_osk_time_tickstoms(unsigned long ticks) in _mali_osk_time_tickstoms() argument 34 return jiffies_to_msecs(ticks); in _mali_osk_time_tickstoms()
|
/device/board/bearpi/bearpi_hm_nano/app/A2_kernel_timer/ |
D | README.md | 31 osStatus_t osTimerStart(osTimerId_t timer_id, uint32_t ticks) 35 函数osTimerStart启动或重新启动指定参数timer_id的计时器。参数ticks指定计时器的计数值。 45 | ticks | 时间滴答计时器的值。 |
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/utils/hwtimer_list/ |
D | hwtimer_list.h | 41 enum E_HWTIMER_T hwtimer_start(HWTIMER_ID id, unsigned int ticks); 43 …mer_update_then_start(HWTIMER_ID id, HWTIMER_CALLBACK_T callback, void *param, unsigned int ticks);
|
/device/soc/winnermicro/wm800/board/src/bt/blehost/porting/w800/include/hal/ |
D | hal_timer.h | 118 int hal_timer_delay(int timer_num, uint32_t ticks); 142 int hal_timer_start(struct hal_timer *tmr, uint32_t ticks);
|
/device/board/openvalley/niobeu4/liteos_m/hdf_drivers/watchdog/ |
D | watchdog_esp32u4.c | 225 int32_t ticks = 0; in WatchdogDevStart() local 242 ticks = XTAL_32K_TICK; in WatchdogDevStart() 245 ticks = CK8M_D256_OUT_TICK; in WatchdogDevStart() 248 ticks = SLOW_CK_TICK; in WatchdogDevStart() 254 REG32_WRITE(RWDT_CFG1, (timeout * ticks)); in WatchdogDevStart()
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/cmsis/inc/ |
D | best2003.h | 214 static inline uint32_t SysTick_Config(uint32_t ticks) in SysTick_Config() argument 216 if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk) in SysTick_Config() 221 SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ in SysTick_Config()
|
/device/soc/winnermicro/wm800/board/src/os/liteos/ |
D | wm_osal_liteos.c | 936 #define SET_PERIOD(usSwTmrID, uvIntSave, pstSwtmr, ticks) { \ argument 946 (pstSwtmr)->uwInterval = (ticks); \ 951 tls_os_status_t tls_os_timer_change(tls_os_timer_t *timer, u32 ticks) in tls_os_timer_change() argument 964 if (ticks == 0) in tls_os_timer_change() 965 ticks = 1; in tls_os_timer_change() 967 SET_PERIOD(usSwTmrID, uvIntSave, pstSwtmr, ticks); in tls_os_timer_change() 1115 void tls_os_time_delay(u32 ticks) in tls_os_time_delay() argument 1117 (void)LOS_TaskDelay(ticks); in tls_os_time_delay()
|