Home
last modified time | relevance | path

Searched refs:usSwTmrID (Results 1 – 5 of 5) sorted by relevance

/device/soc/winnermicro/wm800/board/src/os/liteos/
Dwm_osal_liteos.c936 #define SET_PERIOD(usSwTmrID, uvIntSave, pstSwtmr, ticks) { \ argument
939 (pstSwtmr) = g_swtmrCBArray + (usSwTmrID) % LOSCFG_BASE_CORE_SWTMR_LIMIT; \
940 …if ((pstSwtmr)->usTimerID % LOSCFG_BASE_CORE_SWTMR_LIMIT != (usSwTmrID) % LOSCFG_BASE_CORE_SWTMR_L…
943 printf("0x%x-%d-%d", (u32)(pstSwtmr), (pstSwtmr)->usTimerID, (usSwTmrID) ); \
959 UINT16 usSwTmrID = swtmr_cb->swtmrId; in tls_os_timer_change() local
966 err = LOS_SwtmrStop(usSwTmrID); in tls_os_timer_change()
967 SET_PERIOD(usSwTmrID, uvIntSave, pstSwtmr, ticks); in tls_os_timer_change()
968 err = LOS_SwtmrStart(usSwTmrID); in tls_os_timer_change()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_os/liteos_m_mst/
Drtos_pub.c851 UINT32 usSwTmrID; in rtos_init_oneshot_timer() local
867 …if (LOS_OK != LOS_SwtmrCreate(1, mode, (SWTMR_PROC_FUNC)timer_callback2, &usSwTmrID, (uint32_t)(UI… in rtos_init_oneshot_timer()
873 …if (LOS_OK != LOS_SwtmrCreate(1, mode, (SWTMR_PROC_FUNC)func, &usSwTmrID, (uint32_t)(UINTPTR)larg)… in rtos_init_oneshot_timer()
879 pstSwtmr = (SWTMR_CTRL_S *)OS_SWT_FROM_SID(usSwTmrID); in rtos_init_oneshot_timer()
941 UINT32 usSwTmrID; in rtos_init_timer() local
956 …if (LOS_OK != LOS_SwtmrCreate(1, mode, (SWTMR_PROC_FUNC)timer_callback1, &usSwTmrID, (uint32_t)(UI… in rtos_init_timer()
963 …if (LOS_OK != LOS_SwtmrCreate(1, mode, (SWTMR_PROC_FUNC)timer_callback1, &usSwTmrID, (uint32_t)(UI… in rtos_init_timer()
970 timer->handle = (void *)OS_SWT_FROM_SID(usSwTmrID); in rtos_init_timer()
/device/soc/chipsea/cst85/liteos_m/sdk/modules/rtos/src/os_al/
Drtos_al.c303 uint32_t usSwTmrID; in rtos_timer_create() local
307 …t = LOS_SwtmrCreate(xTimerPeriodInTicks, mode, (SWTMR_PROC_FUNC)pxCallbackFunction, &usSwTmrID, 0); in rtos_timer_create()
311 return (osTimerId_t)OS_SWT_FROM_SID(usSwTmrID); in rtos_timer_create()
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/rtos/liteos/liteos_m/kal/cmsis/
Dcmsis_liteos2.c699 UINT32 usSwTmrID; in osTimerNew() local
712 …if (LOS_OK != LOS_SwtmrCreate(1, mode, (SWTMR_PROC_FUNC)func, &usSwTmrID, (UINT32)(UINTPTR)argumen… in osTimerNew()
717 …if (LOS_OK != LOS_SwtmrCreate(1, mode, (SWTMR_PROC_FUNC)func, &usSwTmrID, (UINT32)(UINTPTR)argumen… in osTimerNew()
722 return (osTimerId_t)OS_SWT_FROM_SID(usSwTmrID); in osTimerNew()
731 UINT32 usSwTmrID; in osTimerExtNew() local
743 if (LOS_OK != LOS_SwtmrCreate(1, mode, (SWTMR_PROC_FUNC)func, &usSwTmrID, in osTimerExtNew()
748 return (osTimerId_t)OS_SWT_FROM_SID(usSwTmrID); in osTimerExtNew()
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/cmsis/
Dcmsis_liteos2.c713 UINT16 usSwTmrID; in osTimerNew() local
726 …if (LOS_OK != LOS_SwtmrCreate(1, mode, (SWTMR_PROC_FUNC)func, &usSwTmrID, (UINT32)(UINTPTR)argumen… in osTimerNew()
731 …if (LOS_OK != LOS_SwtmrCreate(1, mode, (SWTMR_PROC_FUNC)func, &usSwTmrID, (UINT32)(UINTPTR)argumen… in osTimerNew()
736 return (osTimerId_t)OS_SWT_FROM_SID(usSwTmrID); in osTimerNew()