/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/posix/src/ |
H A D | time.c | 74 UINT64 tick, ns; in OsTimeSpec2Tick() local 78 tick = (ns * LOSCFG_BASE_CORE_TICK_PER_SECOND + (OS_SYS_NS_PER_SECOND - 1)) / OS_SYS_NS_PER_SECOND; in OsTimeSpec2Tick() 79 if (tick > LOS_WAIT_FOREVER) { in OsTimeSpec2Tick() 80 tick = LOS_WAIT_FOREVER; in OsTimeSpec2Tick() 82 return (UINT32)tick; in OsTimeSpec2Tick() 85 STATIC INLINE VOID OsTick2TimeSpec(struct timespec *tp, UINT32 tick) in OsTick2TimeSpec() argument 87 UINT64 ns = ((UINT64)tick * OS_SYS_NS_PER_SECOND) / LOSCFG_BASE_CORE_TICK_PER_SECOND; in OsTick2TimeSpec() 95 UINT64 tick; in nanosleep() local 106 tick = (nseconds + nsPerTick - 1) / nsPerTick; // Round up for ticks in nanosleep() 108 if (tick > in nanosleep() 239 UINT32 tick = 0; timer_gettime() local [all...] |
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
H A D | os_sys.c | 23 hi_u32 tick; in ms2systick() local 27 tick = ms / HI_MILLISECOND_PER_TICK; /* convert from ms to ticks */ in ms2systick() 32 tick = 0; in ms2systick() 34 tick = 1; in ms2systick() 38 return tick; in ms2systick()
|
H A D | hi_event.c | 162 hi_u32 tick = HI_SYS_WAIT_FOREVER; in hi_event_wait() local 184 tick = ms2systick(timeout, HI_TRUE); in hi_event_wait() 187 tmp_bits = LOS_EventRead(&(item->os_event), mask, flag, tick); in hi_event_wait()
|
H A D | hi_task.c | 159 hi_u32 tick = ms2systick(ms, HI_FALSE); in hi_sleep() local 161 ret = LOS_TaskDelay(tick); in hi_sleep()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/ |
H A D | lowpower.h | 53 #define SET_TMR_TICK(tick, val) do { \ 55 if ((tick) == 0) { \ 56 (tick) = (val); \ 58 (tick) = (tick) > (val) ? (val) : (tick); \ 124 #define STEP_TICK_TO_TIMEOUT(tick, type) (((tick) * TIMEOUT_TICK) / lwip_cyclic_timers[(type)].interval_ms)
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/ |
H A D | app_demo_flash.c | 35 hi_u32 tick[2]; /* 2 */ in test_flash_body2() local 38 tick[0] = hi_get_tick(); in test_flash_body2() 63 tick[1] = hi_get_tick(); in test_flash_body2() 64 if ((tick[1] - tick[0]) >= (g_tf_test_time * 100)) { /* 100 */ in test_flash_body2()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/ |
H A D | at_lowpower.c | 77 hi_u32 tick; in ms_to_systick() local 81 tick = ms / MILLISECOND_PER_TICK; /* convert from ms to ticks */ in ms_to_systick() 84 tick = 0; in ms_to_systick() 86 tick = 1; in ms_to_systick() 90 return tick; in ms_to_systick()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/sys/ |
H A D | timex.h | 25 long tick, ppsfreq, jitter; member
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/kernel/include/ |
H A D | los_swtmr.h | 326 * @param tick [OUT] Number of remaining Ticks configured on the software timer. 337 extern UINT32 LOS_SwtmrTimeGet(UINT16 swtmrID, UINT32 *tick);
|
H A D | los_task.h | 658 * @param tick [IN] Type #UINT32 Number of Ticks for which the task is delayed. 669 extern UINT32 LOS_TaskDelay(UINT32 tick);
|
/device/soc/rockchip/common/sdk_linux/arch/arm64/kernel/ |
H A D | process.c | 37 #include <linux/tick.h>
|
/device/soc/rockchip/common/sdk_linux/init/ |
H A D | main.c | 51 #include <linux/tick.h>
|
/device/soc/rockchip/common/sdk_linux/kernel/ |
H A D | cpu.c | 28 #include <linux/tick.h>
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | dhd.h | 2150 uint32 tick; /* O/S tick time (usec) */ member
|
H A D | dhd_linux.c | 2397 tmo->tick = jiffies_to_usecs(1); in dhd_timeout_start() 2415 if ((!CAN_SLEEP()) || tmo->increment < tmo->tick) { in dhd_timeout_expired() 2418 if (tmo->increment > tmo->tick) in dhd_timeout_expired() 2419 tmo->increment = tmo->tick; in dhd_timeout_expired() 5150 /* Count the tick for reference */ in dhd_watchdog_thread() 5198 /* Count the tick for reference */ in dhd_watchdog()
|