/linux-6.1.9/drivers/ntb/test/ |
D | ntb_pingpong.c | 95 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-6.1.9/tools/testing/selftests/netfilter/ |
D | nf-queue.c | 25 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-6.1.9/drivers/media/usb/dvb-usb/ |
D | dvb-usb-urb.c | 13 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-6.1.9/drivers/net/ethernet/chelsio/cxgb3/ |
D | ael1002.c | 251 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-6.1.9/tools/cgroup/ |
D | iocost_monitor.py | 166 self.delay_ms = blkg.delay_nsec.counter.value_() / 1_000_000 168 self.delay_ms = 0 181 'delay_ms' : self.delay_ms,
|
/linux-6.1.9/drivers/phy/ti/ |
D | phy-tusb1210.c | 188 int delay_ms) in tusb1210_chg_det_set_state() argument 190 if (delay_ms) in tusb1210_chg_det_set_state() 192 tusb1210_chg_det_states[new_state], delay_ms); in tusb1210_chg_det_set_state() 196 msecs_to_jiffies(delay_ms)); in tusb1210_chg_det_set_state()
|
/linux-6.1.9/arch/x86/kernel/cpu/resctrl/ |
D | monitor.c | 647 void cqm_setup_limbo_handler(struct rdt_domain *dom, unsigned long delay_ms) in cqm_setup_limbo_handler() argument 649 unsigned long delay = msecs_to_jiffies(delay_ms); in cqm_setup_limbo_handler() 692 void mbm_setup_overflow_handler(struct rdt_domain *dom, unsigned long delay_ms) in mbm_setup_overflow_handler() argument 694 unsigned long delay = msecs_to_jiffies(delay_ms); in mbm_setup_overflow_handler()
|
D | internal.h | 530 unsigned long delay_ms); 534 void cqm_setup_limbo_handler(struct rdt_domain *dom, unsigned long delay_ms);
|
/linux-6.1.9/drivers/usb/typec/tcpm/ |
D | tcpm.c | 362 unsigned long delay_ms; member 1199 static void mod_tcpm_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_tcpm_delayed_work() argument 1201 if (delay_ms) { in mod_tcpm_delayed_work() 1202 hrtimer_start(&port->state_machine_timer, ms_to_ktime(delay_ms), HRTIMER_MODE_REL); in mod_tcpm_delayed_work() 1209 static void mod_vdm_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_vdm_delayed_work() argument 1211 if (delay_ms) { in mod_vdm_delayed_work() 1212 hrtimer_start(&port->vdm_state_machine_timer, ms_to_ktime(delay_ms), in mod_vdm_delayed_work() 1220 static void mod_enable_frs_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_enable_frs_delayed_work() argument 1222 if (delay_ms) { in mod_enable_frs_delayed_work() 1223 hrtimer_start(&port->enable_frs_timer, ms_to_ktime(delay_ms), HRTIMER_MODE_REL); in mod_enable_frs_delayed_work() [all …]
|
/linux-6.1.9/fs/btrfs/ |
D | discard.c | 345 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-6.1.9/sound/ppc/ |
D | snd_ps3.c | 539 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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | health.c | 236 unsigned long end, delay_ms = mlx5_tout_ms(dev, PCI_TOGGLE); in mlx5_error_sw_reset() local 250 delay_ms = mlx5_tout_ms(dev, FULL_CRDUMP); in mlx5_error_sw_reset() 259 end = jiffies + msecs_to_jiffies(delay_ms); in mlx5_error_sw_reset() 269 mlx5_get_nic_state(dev), delay_ms); in mlx5_error_sw_reset()
|
D | fw.c | 350 unsigned long end, delay_ms = mlx5_tout_ms(dev, TEARDOWN); in mlx5_cmd_fast_teardown_hca() local 378 end = jiffies + msecs_to_jiffies(delay_ms); in mlx5_cmd_fast_teardown_hca() 388 mlx5_get_nic_state(dev), delay_ms); in mlx5_cmd_fast_teardown_hca()
|
/linux-6.1.9/drivers/staging/r8188eu/core/ |
D | rtw_pwrctrl.c | 258 static s32 LPS_RF_ON_check(struct adapter *padapter, u32 delay_ms) in LPS_RF_ON_check() argument 260 unsigned long timeout = jiffies + msecs_to_jiffies(delay_ms); in LPS_RF_ON_check()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-io.h | 41 u32 val, u32 delay_ms);
|
D | iwl-io.c | 150 void iwl_write_prph_delay(struct iwl_trans *trans, u32 ofs, u32 val, u32 delay_ms) in iwl_write_prph_delay() argument 153 mdelay(delay_ms); in iwl_write_prph_delay()
|
/linux-6.1.9/drivers/md/ |
D | dm-rq.c | 190 unsigned long delay_ms = delay_requeue ? 100 : 0; in dm_requeue_original_request() local 198 dm_mq_delay_requeue_request(rq, delay_ms); in dm_requeue_original_request()
|
/linux-6.1.9/fs/fuse/ |
D | dax.c | 109 __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-6.1.9/drivers/staging/rtl8723bs/core/ |
D | rtw_wlan_util.c | 1717 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()
|
D | rtw_pwrctrl.c | 413 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-6.1.9/drivers/staging/rtl8723bs/include/ |
D | rtw_pwrctrl.h | 274 s32 LPS_RF_ON_check(struct adapter *padapter, u32 delay_ms);
|
/linux-6.1.9/drivers/media/i2c/ |
D | ov5640.c | 373 u32 delay_ms; member 1707 u32 delay_ms; in ov5640_load_regs() local 1713 delay_ms = regs->delay_ms; in ov5640_load_regs() 1731 if (delay_ms) in ov5640_load_regs() 1732 usleep_range(1000 * delay_ms, 1000 * delay_ms + 100); in ov5640_load_regs()
|
D | ov5648.c | 507 unsigned int delay_ms; member 1018 if (sequence[i].delay_ms) in ov5648_write_sequence() 1019 msleep(sequence[i].delay_ms); in ov5648_write_sequence()
|
/linux-6.1.9/drivers/thermal/ |
D | thermal_core.c | 1146 static void thermal_set_delay_jiffies(unsigned long *delay_jiffies, int delay_ms) in thermal_set_delay_jiffies() argument 1148 *delay_jiffies = msecs_to_jiffies(delay_ms); in thermal_set_delay_jiffies() 1149 if (delay_ms > 1000) in thermal_set_delay_jiffies()
|
/linux-6.1.9/drivers/scsi/hisi_sas/ |
D | hisi_sas.h | 343 int delay_ms, int timeout_ms);
|