/linux/tools/testing/selftests/kvm/x86/ |
H A D | apic_bus_clock_test.c | 58 static void apic_guest_code(uint64_t apic_hz, uint64_t delay_ms) in apic_guest_code() argument 79 udelay(delay_ms * 1000); in apic_guest_code() 124 static void run_apic_bus_clock_test(uint64_t apic_hz, uint64_t delay_ms, in run_apic_bus_clock_test() argument 141 vcpu_args_set(vcpu, 2, apic_hz, delay_ms); in run_apic_bus_clock_test() 172 uint64_t delay_ms = 100; in main() local 183 delay_ms = atoi_positive("Delay in milliseconds", optarg); in main() 192 run_apic_bus_clock_test(apic_hz, delay_ms, false); in main() 193 run_apic_bus_clock_test(apic_hz, delay_ms, true); in main()
|
/linux/drivers/ntb/test/ |
H A D | ntb_pingpong.c | 63 * root@self# insmod ntb_pingpong.ko delay_ms=1000 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/tools/testing/selftests/net/netfilter/ |
H A 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/drivers/media/usb/dvb-usb/ |
H A 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/drivers/gpu/drm/i915/display/ |
H A D | intel_encoder.c | 32 void intel_encoder_link_check_queue_work(struct intel_encoder *encoder, int delay_ms) in intel_encoder_link_check_queue_work() argument 37 &encoder->link_check_work, msecs_to_jiffies(delay_ms)); in intel_encoder_link_check_queue_work()
|
H A D | intel_encoder.h | 14 void intel_encoder_link_check_queue_work(struct intel_encoder *encoder, int delay_ms);
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A 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/tools/accounting/ |
H A D | getdelays.c | 195 #define delay_ms(t) (t / 1000000ULL) macro 224 delay_ms((double)(t)->cpu_delay_max), \ 225 delay_ms((double)(t)->cpu_delay_min)); \ 248 delay_ms((double)(t)->max), \ 249 delay_ms((double)(t)->min)); \
|
/linux/drivers/phy/ti/ |
H A D | phy-tusb1210.c | 193 int delay_ms) in tusb1210_chg_det_set_state() argument 195 if (delay_ms) in tusb1210_chg_det_set_state() 197 tusb1210_chg_det_states[new_state], delay_ms); in tusb1210_chg_det_set_state() 201 msecs_to_jiffies(delay_ms)); in tusb1210_chg_det_set_state()
|
/linux/tools/cgroup/ |
H A D | iocost_monitor.py | 171 self.delay_ms = blkg.delay_nsec.counter.value_() / 1_000_000 173 self.delay_ms = 0 188 'delay_ms' : self.delay_ms, 201 f'{self.delay_ms:7.2f}'
|
/linux/fs/resctrl/ |
H A D | internal.h | 354 unsigned long delay_ms, 361 void cqm_setup_limbo_handler(struct rdt_mon_domain *dom, unsigned long delay_ms,
|
H A D | monitor.c | 678 * @delay_ms: How far in the future the handler should run. 682 void cqm_setup_limbo_handler(struct rdt_mon_domain *dom, unsigned long delay_ms, in cqm_setup_limbo_handler() argument 685 unsigned long delay = msecs_to_jiffies(delay_ms); in cqm_setup_limbo_handler() 744 * @delay_ms: How far in the future the handler should run. 748 void mbm_setup_overflow_handler(struct rdt_mon_domain *dom, unsigned long delay_ms, in mbm_setup_overflow_handler() argument 751 unsigned long delay = msecs_to_jiffies(delay_ms); in mbm_setup_overflow_handler()
|
/linux/drivers/spi/ |
H A D | spi-loopback-test.c | 80 static unsigned int delay_ms = 100; variable 81 module_param(delay_ms, uint, 0644); 82 MODULE_PARM_DESC(delay_ms, 1113 if (delay_ms) in spi_test_run_tests() 1114 mdelay(delay_ms); in spi_test_run_tests()
|
/linux/fs/btrfs/ |
H A D | discard.c | 397 u64 delay = discard_ctl->delay_ms * NSEC_PER_MSEC; in __btrfs_discard_schedule_work() 635 discard_ctl->delay_ms = delay; in btrfs_discard_calc_delay() 777 discard_ctl->delay_ms = BTRFS_DISCARD_MAX_DELAY_MSEC; in btrfs_discard_init()
|
/linux/sound/ppc/ |
H A 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/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | health.c | 229 unsigned long end, delay_ms = mlx5_tout_ms(dev, PCI_TOGGLE); in mlx5_error_sw_reset() local 243 delay_ms = mlx5_tout_ms(dev, FULL_CRDUMP); in mlx5_error_sw_reset() 252 end = jiffies + msecs_to_jiffies(delay_ms); in mlx5_error_sw_reset() 266 mlx5_get_nic_state(dev), delay_ms); in mlx5_error_sw_reset()
|
H A D | fw.c | 358 unsigned long end, delay_ms = mlx5_tout_ms(dev, TEARDOWN); in mlx5_cmd_fast_teardown_hca() local 386 end = jiffies + msecs_to_jiffies(delay_ms); in mlx5_cmd_fast_teardown_hca() 400 mlx5_get_nic_state(dev), delay_ms); in mlx5_cmd_fast_teardown_hca()
|
/linux/drivers/usb/typec/tcpm/ |
H A D | tcpm.c | 411 unsigned long delay_ms; member 1357 static void mod_tcpm_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_tcpm_delayed_work() argument 1359 if (delay_ms) { in mod_tcpm_delayed_work() 1360 hrtimer_start(&port->state_machine_timer, ms_to_ktime(delay_ms), HRTIMER_MODE_REL); in mod_tcpm_delayed_work() 1367 static void mod_vdm_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_vdm_delayed_work() argument 1369 if (delay_ms) { in mod_vdm_delayed_work() 1370 hrtimer_start(&port->vdm_state_machine_timer, ms_to_ktime(delay_ms), in mod_vdm_delayed_work() 1378 static void mod_enable_frs_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_enable_frs_delayed_work() argument 1380 if (delay_ms) { in mod_enable_frs_delayed_work() 1381 hrtimer_start(&port->enable_frs_timer, ms_to_ktime(delay_ms), HRTIMER_MODE_RE in mod_enable_frs_delayed_work() 1388 mod_send_discover_delayed_work(struct tcpm_port * port,unsigned int delay_ms) mod_send_discover_delayed_work() argument 1399 tcpm_set_state(struct tcpm_port * port,enum tcpm_state state,unsigned int delay_ms) tcpm_set_state() argument 1428 tcpm_set_state_cond(struct tcpm_port * port,enum tcpm_state state,unsigned int delay_ms) tcpm_set_state_cond() argument 3047 tcpm_pd_handle_state(struct tcpm_port * port,enum tcpm_state state,enum tcpm_ams ams,unsigned int delay_ms) tcpm_pd_handle_state() argument [all...] |
/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-io.h | 46 u32 val, u32 delay_ms);
|
H A D | iwl-io.c | 146 void iwl_write_prph_delay(struct iwl_trans *trans, u32 ofs, u32 val, u32 delay_ms) in iwl_write_prph_delay() argument 149 mdelay(delay_ms); in iwl_write_prph_delay()
|
H A D | iwl-trans.c | 102 unsigned int delay_ms) in iwl_trans_schedule_reprobe() argument 123 schedule_delayed_work(&reprobe->work, msecs_to_jiffies(delay_ms)); in iwl_trans_schedule_reprobe()
|
/linux/drivers/md/ |
H A D | dm-rq.c | 192 unsigned long delay_ms = delay_requeue ? 100 : 0; in dm_requeue_original_request() local 200 dm_mq_delay_requeue_request(rq, delay_ms); in dm_requeue_original_request()
|
/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_wlan_util.c | 1669 u32 delay_ms; in adaptive_early_32k() local 1682 /* delay_ms = do_div(tsf, (pmlmeinfo->bcn_interval*1024))/1000; */ in adaptive_early_32k() 1683 delay_ms = do_div(tsf, (pmlmeinfo->bcn_interval*1024)); in adaptive_early_32k() 1684 delay_ms = delay_ms/1000; in adaptive_early_32k() 1686 if (delay_ms >= 8) in adaptive_early_32k() 1690 pmlmeext->bcn_delay_cnt[delay_ms]++; in adaptive_early_32k() 1691 /* pmlmeext->bcn_delay_ratio[delay_ms] = (pmlmeext->bcn_delay_cnt[delay_ms] * 100) /pmlmeext->bcn_cnt; */ in adaptive_early_32k()
|
H A D | rtw_pwrctrl.c | 405 s32 LPS_RF_ON_check(struct adapter *padapter, u32 delay_ms) in LPS_RF_ON_check() argument 423 if (jiffies_to_msecs(jiffies - start_time) > delay_ms) { in LPS_RF_ON_check()
|
/linux/drivers/staging/rtl8723bs/include/ |
H A D | rtw_pwrctrl.h | 236 s32 LPS_RF_ON_check(struct adapter *padapter, u32 delay_ms);
|