Home
last modified time | relevance | path

Searched refs:delay_ms (Results 1 – 25 of 41) sorted by relevance

12

/linux/tools/testing/selftests/netfilter/
A Dnf-queue.c25 uint32_t delay_ms; member
313 if (opts.delay_ms) in mainloop()
314 sleep_ms(opts.delay_ms); in mainloop()
357 opts.delay_ms = atoi(optarg); in parse_opts()
358 if (opts.delay_ms == 0) { in parse_opts()
/linux/drivers/ntb/test/
A Dntb_pingpong.c95 static unsigned int delay_ms = 1000; variable
96 module_param(delay_ms, uint, 0644);
97 MODULE_PARM_DESC(delay_ms, "Milliseconds to delay the response to peer");
158 hrtimer_start(&pp->timer, ms_to_ktime(delay_ms), HRTIMER_MODE_REL); in pp_setup()
211 hrtimer_start(&pp->timer, ms_to_ktime(delay_ms), HRTIMER_MODE_REL); in pp_pong()
/linux/drivers/media/usb/dvb-usb/
A Ddvb-usb-urb.c13 u16 rlen, int delay_ms) in dvb_usb_generic_rw() argument
42 if (delay_ms) in dvb_usb_generic_rw()
43 msleep(delay_ms); in dvb_usb_generic_rw()
/linux/drivers/thermal/
A Dthermal_helpers.c178 void thermal_set_delay_jiffies(unsigned long *delay_jiffies, int delay_ms) in thermal_set_delay_jiffies() argument
180 *delay_jiffies = msecs_to_jiffies(delay_ms); in thermal_set_delay_jiffies()
181 if (delay_ms > 1000) in thermal_set_delay_jiffies()
A Dthermal_core.h129 void thermal_set_delay_jiffies(unsigned long *delay_jiffies, int delay_ms);
/linux/drivers/net/ethernet/chelsio/cxgb3/
A Dael1002.c251 static int ael2xxx_get_module_type(struct cphy *phy, int delay_ms) in ael2xxx_get_module_type() argument
255 if (delay_ms) in ael2xxx_get_module_type()
256 msleep(delay_ms); in ael2xxx_get_module_type()
361 static int ael2005_get_module_type(struct cphy *phy, int delay_ms) in ael2005_get_module_type() argument
373 return ael2xxx_get_module_type(phy, delay_ms); in ael2005_get_module_type()
604 static int ael2020_get_module_type(struct cphy *phy, int delay_ms) in ael2020_get_module_type() argument
618 return ael2xxx_get_module_type(phy, delay_ms); in ael2020_get_module_type()
/linux/tools/cgroup/
A Diocost_monitor.py166 self.delay_ms = blkg.delay_nsec.counter.value_() / 1_000_000
168 self.delay_ms = 0
181 'delay_ms' : self.delay_ms,
/linux/arch/x86/kernel/cpu/resctrl/
A Dmonitor.c566 void cqm_setup_limbo_handler(struct rdt_domain *dom, unsigned long delay_ms) in cqm_setup_limbo_handler() argument
568 unsigned long delay = msecs_to_jiffies(delay_ms); in cqm_setup_limbo_handler()
611 void mbm_setup_overflow_handler(struct rdt_domain *dom, unsigned long delay_ms) in mbm_setup_overflow_handler() argument
613 unsigned long delay = msecs_to_jiffies(delay_ms); in mbm_setup_overflow_handler()
A Dinternal.h541 unsigned long delay_ms);
547 void cqm_setup_limbo_handler(struct rdt_domain *dom, unsigned long delay_ms);
/linux/drivers/staging/r8188eu/core/
A Drtw_pwrctrl.c241 s32 LPS_RF_ON_check(struct adapter *padapter, u32 delay_ms) in LPS_RF_ON_check() argument
259 if (rtw_get_passing_time_ms(start_time) > delay_ms) { in LPS_RF_ON_check()
261 DBG_88E("%s: Wait for FW LPS leave more than %u ms!!!\n", __func__, delay_ms); in LPS_RF_ON_check()
/linux/drivers/usb/typec/tcpm/
A Dtcpm.c362 unsigned long delay_ms; member
1193 if (delay_ms) { in mod_tcpm_delayed_work()
1203 if (delay_ms) { in mod_vdm_delayed_work()
1214 if (delay_ms) { in mod_enable_frs_delayed_work()
1224 if (delay_ms) { in mod_send_discover_delayed_work()
1233 unsigned int delay_ms) in tcpm_set_state() argument
1235 if (delay_ms) { in tcpm_set_state()
1242 port->delay_ms = delay_ms; in tcpm_set_state()
1262 unsigned int delay_ms) in tcpm_set_state_cond() argument
1269 delay_ms ? "delayed " : "", in tcpm_set_state_cond()
[all …]
/linux/fs/btrfs/
A Ddiscard.c345 u64 delay = discard_ctl->delay_ms * NSEC_PER_MSEC; in __btrfs_discard_schedule_work()
576 discard_ctl->delay_ms = delay; in btrfs_discard_calc_delay()
710 discard_ctl->delay_ms = BTRFS_DISCARD_MAX_DELAY_MSEC; in btrfs_discard_init()
/linux/sound/ppc/
A Dsnd_ps3.c539 unsigned int delay_ms) in snd_ps3_delay_to_bytes() argument
546 rate * delay_ms / 1000) in snd_ps3_delay_to_bytes()
551 delay_ms, in snd_ps3_delay_to_bytes()
554 rate * delay_ms / 1000, in snd_ps3_delay_to_bytes()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Dhealth.c237 unsigned long end, delay_ms = mlx5_tout_ms(dev, PCI_TOGGLE); in mlx5_error_sw_reset() local
251 delay_ms = mlx5_tout_ms(dev, FULL_CRDUMP); in mlx5_error_sw_reset()
260 end = jiffies + msecs_to_jiffies(delay_ms); in mlx5_error_sw_reset()
270 mlx5_get_nic_state(dev), delay_ms); in mlx5_error_sw_reset()
A Dfw.c335 unsigned long end, delay_ms = mlx5_tout_ms(dev, TEARDOWN); in mlx5_cmd_fast_teardown_hca() local
363 end = jiffies + msecs_to_jiffies(delay_ms); in mlx5_cmd_fast_teardown_hca()
373 mlx5_get_nic_state(dev), delay_ms); in mlx5_cmd_fast_teardown_hca()
/linux/drivers/staging/r8188eu/include/
A Drtw_pwrctrl.h127 s32 LPS_RF_ON_check(struct adapter *adapter, u32 delay_ms);
/linux/drivers/net/wireless/intel/iwlwifi/
A Diwl-io.h41 u32 val, u32 delay_ms);
A Diwl-io.c148 void iwl_write_prph_delay(struct iwl_trans *trans, u32 ofs, u32 val, u32 delay_ms) in iwl_write_prph_delay() argument
151 mdelay(delay_ms); in iwl_write_prph_delay()
/linux/drivers/media/i2c/
A Dov5640.c186 u32 delay_ms; member
1140 u32 delay_ms; in ov5640_load_regs() local
1146 delay_ms = regs->delay_ms; in ov5640_load_regs()
1164 if (delay_ms) in ov5640_load_regs()
1165 usleep_range(1000 * delay_ms, 1000 * delay_ms + 100); in ov5640_load_regs()
/linux/fs/fuse/
A Ddax.c109 __kick_dmap_free_worker(struct fuse_conn_dax *fcd, unsigned long delay_ms) in __kick_dmap_free_worker() argument
118 msecs_to_jiffies(delay_ms)); in __kick_dmap_free_worker()
122 unsigned long delay_ms) in kick_dmap_free_worker() argument
125 __kick_dmap_free_worker(fcd, delay_ms); in kick_dmap_free_worker()
/linux/drivers/staging/rtl8723bs/core/
A Drtw_wlan_util.c1717 u32 delay_ms; in adaptive_early_32k() local
1731 delay_ms = do_div(tsf, (pmlmeinfo->bcn_interval*1024)); in adaptive_early_32k()
1732 delay_ms = delay_ms/1000; in adaptive_early_32k()
1734 if (delay_ms >= 8) in adaptive_early_32k()
1738 pmlmeext->bcn_delay_cnt[delay_ms]++; in adaptive_early_32k()
A Drtw_pwrctrl.c413 s32 LPS_RF_ON_check(struct adapter *padapter, u32 delay_ms) in LPS_RF_ON_check() argument
431 if (jiffies_to_msecs(jiffies - start_time) > delay_ms) { in LPS_RF_ON_check()
/linux/drivers/md/
A Ddm-rq.c191 unsigned long delay_ms = delay_requeue ? 100 : 0; in dm_requeue_original_request() local
199 dm_mq_delay_requeue_request(rq, delay_ms); in dm_requeue_original_request()
/linux/drivers/staging/rtl8723bs/include/
A Drtw_pwrctrl.h274 s32 LPS_RF_ON_check(struct adapter *padapter, u32 delay_ms);
/linux/drivers/infiniband/ulp/rtrs/
A Drtrs-clt.c307 unsigned int delay_ms; in rtrs_rdma_error_recovery() local
312 delay_ms = clt->reconnect_delay_sec * 1000; in rtrs_rdma_error_recovery()
314 msecs_to_jiffies(delay_ms + in rtrs_rdma_error_recovery()
2624 unsigned int delay_ms; in rtrs_clt_reconnect_work() local
2655 delay_ms = clt->reconnect_delay_sec * 1000; in rtrs_clt_reconnect_work()
2657 msecs_to_jiffies(delay_ms + in rtrs_clt_reconnect_work()

Completed in 76 milliseconds

12