Home
last modified time | relevance | path

Searched refs:millisec (Results 1 – 13 of 13) sorted by relevance

/kernel/liteos_m/testsuites/unittest/xts/cmsis/
Dcmsis_timer_func_test.c171 UINT32 millisec = MILLISEC_NUM_INT4; variable
174 uwRet = osTimerStart(id, millisec);
190 UINT32 millisec = MILLISEC_NUM_INT4; variable
193 uwRet = osTimerStart(id, millisec);
210 UINT32 millisec = MILLISEC_NUM_INT4; variable
214 uwRet = osTimerStart(id, millisec);
235 UINT32 millisec = MILLISEC_NUM_INT4; variable
239 uwRet = osTimerStart(id, millisec);
292 UINT32 millisec = MILLISEC_NUM_INT4; variable
293 UINT32 uwRet = osTimerStart(NULL, millisec);
[all …]
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Dfsm.c132 int millisec, int event, void *arg, int where) in mISDN_FsmAddTimer() argument
138 (long) ft, millisec, where); in mISDN_FsmAddTimer()
152 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in mISDN_FsmAddTimer()
160 int millisec, int event, void *arg, int where) in mISDN_FsmRestartTimer() argument
166 (long) ft, millisec, where); in mISDN_FsmRestartTimer()
173 ft->tl.expires = jiffies + (millisec * HZ) / 1000; in mISDN_FsmRestartTimer()
/kernel/liteos_a/kernel/base/core/
Dlos_sys.c48 LITE_OS_SEC_TEXT_MINOR UINT32 LOS_MS2Tick(UINT32 millisec) in LOS_MS2Tick() argument
50 if (millisec == OS_MAX_VALUE) { in LOS_MS2Tick()
54 return ((UINT64)millisec * LOSCFG_BASE_CORE_TICK_PER_SECOND) / OS_SYS_MS_PER_SECOND; in LOS_MS2Tick()
/kernel/linux/linux-5.10/drivers/s390/net/
Dfsm.c165 fsm_addtimer(fsm_timer *this, int millisec, int event, void *arg) in fsm_addtimer() argument
170 this->fi->name, this, millisec); in fsm_addtimer()
176 this->tl.expires = jiffies + (millisec * HZ) / 1000; in fsm_addtimer()
183 fsm_modtimer(fsm_timer *this, int millisec, int event, void *arg) in fsm_modtimer() argument
188 this->fi->name, this, millisec); in fsm_modtimer()
195 this->tl.expires = jiffies + (millisec * HZ) / 1000; in fsm_modtimer()
Dfsm.h254 extern int fsm_addtimer(fsm_timer *timer, int millisec, int event, void *arg);
264 extern void fsm_modtimer(fsm_timer *timer, int millisec, int event, void *arg);
/kernel/liteos_m/kernel/src/
Dlos_tick.c315 LITE_OS_SEC_TEXT_MINOR UINT32 LOS_MS2Tick(UINT32 millisec) in LOS_MS2Tick() argument
317 if (millisec == OS_NULL_INT) { in LOS_MS2Tick()
321 return ((UINT64)millisec * LOSCFG_BASE_CORE_TICK_PER_SECOND) / OS_SYS_MS_PER_SECOND; in LOS_MS2Tick()
442 VOID LOS_MDelay(UINT32 millisec) in LOS_MDelay() argument
445 while (millisec > UINT32_MAX / OS_SYS_US_PER_MS) { in LOS_MDelay()
447 millisec -= (UINT32_MAX / OS_SYS_US_PER_MS); in LOS_MDelay()
449 LOS_UDelay(millisec * OS_SYS_US_PER_MS); in LOS_MDelay()
/kernel/liteos_m/kernel/include/
Dlos_tick.h400 extern UINT32 LOS_MS2Tick(UINT32 millisec);
456 extern VOID LOS_MDelay(UINT32 millisec);
/kernel/linux/linux-5.10/drivers/scsi/
Dhptiop.c39 static int iop_send_sync_msg(struct hptiop_hba *hba, u32 msg, u32 millisec);
46 static int iop_wait_ready_itl(struct hptiop_hba *hba, u32 millisec) in iop_wait_ready_itl() argument
51 for (i = 0; i < millisec; i++) { in iop_wait_ready_itl()
67 static int iop_wait_ready_mv(struct hptiop_hba *hba, u32 millisec) in iop_wait_ready_mv() argument
69 return iop_send_sync_msg(hba, IOPMU_INBOUND_MSG0_NOP, millisec); in iop_wait_ready_mv()
72 static int iop_wait_ready_mvfrey(struct hptiop_hba *hba, u32 millisec) in iop_wait_ready_mvfrey() argument
74 return iop_send_sync_msg(hba, IOPMU_INBOUND_MSG0_NOP, millisec); in iop_wait_ready_mvfrey()
299 void __iomem *_req, u32 millisec) in iop_send_sync_request_itl() argument
310 for (i = 0; i < millisec; i++) { in iop_send_sync_request_itl()
321 u32 size_bits, u32 millisec) in iop_send_sync_request_mv() argument
[all …]
Dhptiop.h346 int (*iop_wait_ready)(struct hptiop_hba *hba, u32 millisec);
Ddpti.h309 static void adpt_delay(int millisec);
Ddpt_i2o.c3223 static static void adpt_delay(int millisec) in adpt_delay() argument
3226 for (i = 0; i < millisec; i++) { in adpt_delay()
/kernel/liteos_a/kernel/include/
Dlos_sys.h194 extern UINT32 LOS_MS2Tick(UINT32 millisec);
/kernel/linux/linux-5.10/Documentation/scheduler/
Dsched-nice-design.rst47 millisec) rescheduling. (and would thus trash the cache, etc. Remember,