Home
last modified time | relevance | path

Searched refs:tick (Results 1 - 15 of 15) sorted by relevance

/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/posix/src/
H A Dtime.c74 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 Dos_sys.c23 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 Dhi_event.c162 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 Dhi_task.c159 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 Dlowpower.h53 #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 Dapp_demo_flash.c35 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 Dat_lowpower.c77 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 Dtimex.h25 long tick, ppsfreq, jitter; member
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/kernel/include/
H A Dlos_swtmr.h326 * @param tick [OUT] Number of remaining Ticks configured on the software timer.
337 extern UINT32 LOS_SwtmrTimeGet(UINT16 swtmrID, UINT32 *tick);
H A Dlos_task.h658 * @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 Dprocess.c37 #include <linux/tick.h>
/device/soc/rockchip/common/sdk_linux/init/
H A Dmain.c51 #include <linux/tick.h>
/device/soc/rockchip/common/sdk_linux/kernel/
H A Dcpu.c28 #include <linux/tick.h>
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd.h2150 uint32 tick; /* O/S tick time (usec) */ member
H A Ddhd_linux.c2397 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()

Completed in 40 milliseconds