| /OK3568_Linux_fs/kernel/arch/powerpc/kexec/ |
| H A D | crash.c | 106 unsigned int msecs; in crash_kexec_prepare_cpus() local 125 msecs = IPI_TIMEOUT; in crash_kexec_prepare_cpus() 126 while ((atomic_read(&cpus_in_crash) < ncpus) && (--msecs > 0)) in crash_kexec_prepare_cpus() 185 int msecs = SECONDARY_TIMEOUT; in crash_kexec_secondary() local 191 if (--msecs < 0) { in crash_kexec_secondary() 229 unsigned int msecs; in crash_kexec_wait_realmode() local 232 msecs = REAL_MODE_TIMEOUT; in crash_kexec_wait_realmode() 233 for (i=0; i < nr_cpu_ids && msecs > 0; i++) { in crash_kexec_wait_realmode() 239 if (!cpu_possible(i) || !cpu_online(i) || (msecs <= 0)) in crash_kexec_wait_realmode() 241 msecs--; in crash_kexec_wait_realmode()
|
| /OK3568_Linux_fs/kernel/drivers/staging/rts5208/ |
| H A D | rtsx.h | 61 #define wait_timeout_x(task_state, msecs) \ argument 64 schedule_timeout((msecs) * HZ / 1000); \ 66 #define wait_timeout(msecs) wait_timeout_x(TASK_INTERRUPTIBLE, (msecs)) argument
|
| /OK3568_Linux_fs/kernel/arch/mips/kernel/ |
| H A D | crash.c | 58 unsigned int msecs; in crash_kexec_prepare_cpus() local 74 msecs = 10000; in crash_kexec_prepare_cpus() 75 while ((cpumask_weight(&cpus_in_crash) < ncpus) && (--msecs > 0)) { in crash_kexec_prepare_cpus()
|
| /OK3568_Linux_fs/kernel/arch/arm/kernel/ |
| H A D | machine_kexec.c | 98 unsigned long msecs; in crash_smp_send_stop() local 105 msecs = 1000; /* Wait at most a second for the other cpus to stop */ in crash_smp_send_stop() 106 while ((atomic_read(&waiting_for_crash_ipi) > 0) && msecs) { in crash_smp_send_stop() 108 msecs--; in crash_smp_send_stop()
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | misc.c | 73 ulong msecs = get_timer(start) * 1000 / CONFIG_SYS_HZ; in do_timer() local 74 printf("%ld.%03d\n", msecs / 1000, (int)(msecs % 1000)); in do_timer()
|
| /OK3568_Linux_fs/kernel/drivers/ide/ |
| H A D | ide-park.c | 98 unsigned int msecs; in ide_park_show() local 107 msecs = jiffies_to_msecs(drive->sleep - now); in ide_park_show() 109 msecs = 0; in ide_park_show() 112 return snprintf(buf, 20, "%u\n", msecs); in ide_park_show()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ |
| H A D | atmel-i2c.c | 68 cmd->msecs = MAX_EXEC_TIME_READ; in atmel_i2c_init_read_cmd() 83 cmd->msecs = MAX_EXEC_TIME_RANDOM; in atmel_i2c_init_random_cmd() 99 cmd->msecs = MAX_EXEC_TIME_GENKEY; in atmel_i2c_init_genkey_cmd() 130 cmd->msecs = MAX_EXEC_TIME_ECDH; in atmel_i2c_init_ecdh_cmd() 234 msleep(cmd->msecs); in atmel_i2c_send_receive()
|
| /OK3568_Linux_fs/kernel/net/batman-adv/ |
| H A D | bat_v_ogm.c | 89 unsigned int msecs = BATADV_MAX_AGGREGATION_MS * 1000; in batadv_v_ogm_start_queue_timer() local 92 msecs += prandom_u32_max(msecs / 5) - (msecs / 10); in batadv_v_ogm_start_queue_timer() 94 msecs_to_jiffies(msecs / 1000)); in batadv_v_ogm_start_queue_timer() 103 unsigned long msecs; in batadv_v_ogm_start_timer() local 110 msecs = atomic_read(&bat_priv->orig_interval) - BATADV_JITTER; in batadv_v_ogm_start_timer() 111 msecs += prandom_u32_max(2 * BATADV_JITTER); in batadv_v_ogm_start_timer() 113 msecs_to_jiffies(msecs)); in batadv_v_ogm_start_timer()
|
| H A D | bat_v_elp.c | 50 unsigned int msecs; in batadv_v_elp_start_timer() local 52 msecs = atomic_read(&hard_iface->bat_v.elp_interval) - BATADV_JITTER; in batadv_v_elp_start_timer() 53 msecs += prandom_u32_max(2 * BATADV_JITTER); in batadv_v_elp_start_timer() 56 msecs_to_jiffies(msecs)); in batadv_v_elp_start_timer()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | delay.h | 60 void msleep(unsigned int msecs); 61 unsigned long msleep_interruptible(unsigned int msecs);
|
| H A D | blk-mq.h | 504 void blk_mq_delay_kick_requeue_list(struct request_queue *q, unsigned long msecs); 516 void blk_mq_delay_run_hw_queue(struct blk_mq_hw_ctx *hctx, unsigned long msecs); 519 void blk_mq_delay_run_hw_queues(struct request_queue *q, unsigned long msecs);
|
| H A D | gameport.h | 208 static inline void gameport_set_poll_interval(struct gameport *gameport, unsigned int msecs) in gameport_set_poll_interval() argument 210 gameport->poll_interval = msecs; in gameport_set_poll_interval()
|
| /OK3568_Linux_fs/app/forlinx/quectelCM/ |
| H A D | util.c | 116 int pthread_cond_timeout_np(pthread_cond_t *cond, pthread_mutex_t * mutex, unsigned msecs) { in pthread_cond_timeout_np() argument 117 if (msecs != 0) { in pthread_cond_timeout_np() 119 unsigned t = msecs/4; in pthread_cond_timeout_np() 125 for (i = 0; i < msecs; i += t) { in pthread_cond_timeout_np() 131 if(ret) dbg_time("ret=%d, msecs=%u, t=%u", ret, msecs, t); in pthread_cond_timeout_np()
|
| /OK3568_Linux_fs/kernel/block/ |
| H A D | blk-stat.h | 162 unsigned int msecs) in blk_stat_activate_msecs() argument 164 mod_timer(&cb->timer, jiffies + msecs_to_jiffies(msecs)); in blk_stat_activate_msecs()
|
| /OK3568_Linux_fs/kernel/include/trace/hooks/ |
| H A D | typec.h | 54 TP_PROTO(const char *state, enum typec_timer timer, unsigned int *msecs), 55 TP_ARGS(state, timer, msecs));
|
| /OK3568_Linux_fs/kernel/Documentation/locking/ |
| H A D | hwspinlock.rst | 93 msecs). If the hwspinlock is already taken, the function will busy loop 101 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs). 109 msecs). If the hwspinlock is already taken, the function will busy loop 116 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs). 125 msecs). If the hwspinlock is already taken, the function will busy loop 133 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs). 142 msecs). If the hwspinlock is already taken, the function will busy loop 150 notably -ETIMEDOUT if the hwspinlock is still busy after timeout msecs). 159 msecs). If the hwspinlock is already taken, the function will busy loop 163 value shall not exceed a few msecs. [all …]
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/ |
| H A D | reboot.c | 840 unsigned long msecs; in nmi_shootdown_cpus() local 864 msecs = 1000; /* Wait at most a second for the other cpus to stop */ in nmi_shootdown_cpus() 865 while ((atomic_read(&waiting_for_crash_ipi) > 0) && msecs) { in nmi_shootdown_cpus() 867 msecs--; in nmi_shootdown_cpus()
|
| /OK3568_Linux_fs/kernel/drivers/net/dsa/mv88e6xxx/ |
| H A D | global1_atu.c | 43 unsigned int msecs) in mv88e6xxx_g1_atu_set_age_time() argument 52 if (msecs < min || msecs > max) in mv88e6xxx_g1_atu_set_age_time() 56 age_time = (msecs + coeff / 2) / coeff; in mv88e6xxx_g1_atu_set_age_time()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/ |
| H A D | mali_kbase_csf_firmware.h | 773 static inline long kbase_csf_timeout_in_jiffies(const unsigned int msecs) in kbase_csf_timeout_in_jiffies() argument 776 return (fw_debug ? MAX_SCHEDULE_TIMEOUT : msecs_to_jiffies(msecs)); in kbase_csf_timeout_in_jiffies() 778 return msecs_to_jiffies(msecs); in kbase_csf_timeout_in_jiffies()
|
| /OK3568_Linux_fs/kernel/drivers/staging/vt6656/ |
| H A D | wcmd.c | 31 static void vnt_cmd_timer_wait(struct vnt_private *priv, unsigned long msecs) in vnt_cmd_timer_wait() argument 33 schedule_delayed_work(&priv->run_command_work, msecs_to_jiffies(msecs)); in vnt_cmd_timer_wait()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | rx.c | 144 unsigned int msecs) in iwlagn_good_plcp_health() argument 163 if ((delta * 100 / msecs) > threshold) { in iwlagn_good_plcp_health() 166 threshold, delta, msecs); in iwlagn_good_plcp_health() 218 unsigned int msecs; in iwlagn_recover_from_statistics() local 223 msecs = jiffies_to_msecs(stamp - priv->rx_statistics_jiffies); in iwlagn_recover_from_statistics() 230 if (msecs < 99) in iwlagn_recover_from_statistics() 233 if (!iwlagn_good_plcp_health(priv, cur_ofdm, cur_ofdm_ht, msecs)) in iwlagn_recover_from_statistics()
|
| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A D | dm-rq.c | 171 static void __dm_mq_kick_requeue_list(struct request_queue *q, unsigned long msecs) in __dm_mq_kick_requeue_list() argument 173 blk_mq_delay_kick_requeue_list(q, msecs); in __dm_mq_kick_requeue_list() 182 static void dm_mq_delay_requeue_request(struct request *rq, unsigned long msecs) in dm_mq_delay_requeue_request() argument 185 __dm_mq_kick_requeue_list(rq->q, msecs); in dm_mq_delay_requeue_request()
|
| /OK3568_Linux_fs/kernel/Documentation/timers/ |
| H A D | timers-howto.rst | 28 mdelay(unsigned long msecs) 55 msleep(unsigned long msecs) 56 msleep_interruptible(unsigned long msecs)
|
| /OK3568_Linux_fs/app/forlinx/flapp/src/plugins/allwinner/camera/CameraUI/src/ |
| H A D | AutoMount.cpp | 592 int msecs = 1000; in enhanceUsbStability() local 601 if (fprintf(fp, "%d\n", msecs) <= 0) { in enhanceUsbStability() 604 SLOGD("Success to write %d to %s ", msecs, path); in enhanceUsbStability()
|
| /OK3568_Linux_fs/kernel/drivers/net/phy/ |
| H A D | marvell.c | 1221 static int m88e1540_get_fld(struct phy_device *phydev, u8 *msecs) in m88e1540_get_fld() argument 1230 *msecs = ETHTOOL_PHY_FAST_LINK_DOWN_OFF; in m88e1540_get_fld() 1238 *msecs = 0; in m88e1540_get_fld() 1241 *msecs = 10; in m88e1540_get_fld() 1244 *msecs = 20; in m88e1540_get_fld() 1247 *msecs = 40; in m88e1540_get_fld() 1256 static int m88e1540_set_fld(struct phy_device *phydev, const u8 *msecs) in m88e1540_set_fld() argument 1261 if (*msecs == ETHTOOL_PHY_FAST_LINK_DOWN_OFF) in m88e1540_set_fld() 1274 if (*msecs <= 5) in m88e1540_set_fld() 1276 else if (*msecs <= 15) in m88e1540_set_fld() [all …]
|