| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | apic_bus_clock_test.c | 58 static void apic_guest_code(u64 apic_hz, u64 delay_ms) in apic_guest_code() argument 79 udelay(delay_ms * 1000); in apic_guest_code() 124 static void run_apic_bus_clock_test(u64 apic_hz, u64 delay_ms, in run_apic_bus_clock_test() argument 145 vcpu_args_set(vcpu, 2, apic_hz, delay_ms); in run_apic_bus_clock_test() 176 u64 delay_ms = 100; in main() local 187 delay_ms = atoi_positive("Delay in milliseconds", optarg); in main() 196 run_apic_bus_clock_test(apic_hz, delay_ms, false); in main() 197 run_apic_bus_clock_test(apic_hz, delay_ms, true); in main()
|
| /linux/tools/accounting/ |
| H A D | getdelays.c | 222 #define delay_ms(t) (t / 1000000ULL) in format_timespec() 278 delay_ms((double)(t)->cpu_delay_max), \ 279 delay_ms((double)(t)->cpu_delay_min), \ 291 delay_ms((double)(t)->cpu_delay_max), \ 292 delay_ms((double)(t)->cpu_delay_min)); \ 315 delay_ms((double)(t)->max), \ 316 delay_ms((double)(t)->min)); \ 337 delay_ms((double)(t)->max), \ 338 delay_ms((double)(t)->min), \ 348 delay_ms((doubl in print_delayacct() 196 #define delay_ms( global() macro [all...] |
| /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/tools/testing/selftests/net/netfilter/ |
| H A D | nf_queue.c | 28 uint32_t delay_ms; member 323 if (opts.delay_ms) in mainloop() 324 sleep_ms(opts.delay_ms); in mainloop() 392 opts.delay_ms = atoi(optarg); in parse_opts() 393 if (opts.delay_ms == 0) { in parse_opts()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_encoder.c | 33 void intel_encoder_link_check_queue_work(struct intel_encoder *encoder, int delay_ms) in intel_encoder_link_check_queue_work() argument 38 &encoder->link_check_work, msecs_to_jiffies(delay_ms)); in intel_encoder_link_check_queue_work()
|
| H A D | intel_dp_link_training.c | 1802 int delay_ms = link_recovery_autoretrain_pending(link_training) ? 0 : 2000; in intel_dp_stop_link_train() local 1804 intel_encoder_link_check_queue_work(encoder, delay_ms); in intel_dp_stop_link_train()
|
| /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/drivers/usb/storage/ |
| H A D | usb.c | 130 u64 delay_ms = val; in format_delay_ms() local 131 unsigned int rem = do_div(delay_ms, int_pow(10, ndecimals)); in format_delay_ms() 137 ret = scnprintf(str, size, "%u\n", (unsigned int)delay_ms); in format_delay_ms() 143 unsigned int delay_ms; in delay_use_set() local 146 ret = parse_delay_str(skip_spaces(s), 3, "ms", &delay_ms); in delay_use_set() 150 *((unsigned int *)kp->arg) = delay_ms; in delay_use_set() 156 unsigned int delay_ms = *((unsigned int *)kp->arg); in delay_use_get() local 158 return format_delay_ms(delay_ms, 3, "ms", s, PAGE_SIZE); in delay_use_get()
|
| /linux/drivers/net/wireless/mediatek/mt76/ |
| H A D | mt792x_usb.c | 371 u32 delay_ms; member 380 .delay_ms = 0, 389 .delay_ms = 20, 443 if (desc->delay_ms) in mt792xu_wfsys_reset() 444 msleep(desc->delay_ms); in mt792xu_wfsys_reset()
|
| /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,
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | ring_reconfig.py | 363 for delay_ms in [100, 200, 500]: 365 delay_ms * 1_000_000, pkt_size) 367 time.sleep(delay_ms / 1000 + 0.3)
|
| /linux/drivers/spi/ |
| H A D | spi-loopback-test.c | 79 static unsigned int delay_ms = 100; variable 80 module_param(delay_ms, uint, 0644); 81 MODULE_PARM_DESC(delay_ms, 1112 if (delay_ms) in spi_test_run_tests() 1113 mdelay(delay_ms); in spi_test_run_tests()
|
| /linux/drivers/usb/typec/tcpm/ |
| H A D | tcpm.c | 528 unsigned long delay_ms; member 1725 static void mod_tcpm_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_tcpm_delayed_work() argument 1727 if (delay_ms) { in mod_tcpm_delayed_work() 1728 hrtimer_start(&port->state_machine_timer, ms_to_ktime(delay_ms), HRTIMER_MODE_REL); in mod_tcpm_delayed_work() 1735 static void mod_vdm_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_vdm_delayed_work() argument 1737 if (delay_ms) { in mod_vdm_delayed_work() 1738 hrtimer_start(&port->vdm_state_machine_timer, ms_to_ktime(delay_ms), in mod_vdm_delayed_work() 1746 static void mod_enable_frs_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_enable_frs_delayed_work() argument 1748 if (delay_ms) { in mod_enable_frs_delayed_work() 1749 hrtimer_start(&port->enable_frs_timer, ms_to_ktime(delay_ms), HRTIMER_MODE_RE in mod_enable_frs_delayed_work() 1762 mod_vdm_discovery_delayed_work(struct tcpm_port * port,unsigned int delay_ms) mod_vdm_discovery_delayed_work() argument 1773 tcpm_set_state(struct tcpm_port * port,enum tcpm_state state,unsigned int delay_ms) tcpm_set_state() argument 1802 tcpm_set_state_cond(struct tcpm_port * port,enum tcpm_state state,unsigned int delay_ms) tcpm_set_state_cond() argument 3430 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/ethernet/mellanox/mlx5/core/ |
| H A D | fw.c | 370 unsigned long end, delay_ms = mlx5_tout_ms(dev, TEARDOWN); in mlx5_cmd_fast_teardown_hca() local 398 end = jiffies + msecs_to_jiffies(delay_ms); in mlx5_cmd_fast_teardown_hca() 412 mlx5_get_nic_state(dev), delay_ms); in mlx5_cmd_fast_teardown_hca()
|
| /linux/drivers/media/i2c/ |
| H A D | ov5640.c | 373 u32 delay_ms; member 1717 u32 delay_ms; in ov5640_load_regs() local 1723 delay_ms = regs->delay_ms; in ov5640_load_regs() 1741 if (delay_ms) in ov5640_load_regs() 1742 usleep_range(1000 * delay_ms, 1000 * delay_ms + 100); in ov5640_load_regs()
|
| H A D | ov8865.c | 478 unsigned int delay_ms; member 1399 if (sequence[i].delay_ms) in ov8865_write_sequence() 1400 msleep(sequence[i].delay_ms); in ov8865_write_sequence()
|
| /linux/fs/resctrl/ |
| H A D | monitor.c | 860 void cqm_setup_limbo_handler(struct rdt_l3_mon_domain *dom, unsigned long delay_ms, in cqm_setup_limbo_handler() argument 863 unsigned long delay = msecs_to_jiffies(delay_ms); in cqm_setup_limbo_handler() 943 void mbm_setup_overflow_handler(struct rdt_l3_mon_domain *dom, unsigned long delay_ms, in mbm_setup_overflow_handler() argument 946 unsigned long delay = msecs_to_jiffies(delay_ms); in mbm_setup_overflow_handler()
|
| /linux/drivers/scsi/hisi_sas/ |
| H A D | hisi_sas.h | 356 int delay_ms, int timeout_ms);
|
| H A D | hisi_sas_v3_hw.c | 2825 int delay_ms, int timeout_ms) in wait_cmds_complete_timeout_v3_hw() argument 2830 for (time = 0; time < timeout_ms; time += delay_ms) { in wait_cmds_complete_timeout_v3_hw() 2836 msleep(delay_ms); in wait_cmds_complete_timeout_v3_hw()
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | wmi-ops.h | 138 u32 delay_ms); 1114 enum wmi_force_fw_hang_type type, u32 delay_ms) in ath10k_wmi_force_fw_hang() argument 1121 skb = ar->wmi.ops->gen_force_fw_hang(ar, type, delay_ms); in ath10k_wmi_force_fw_hang()
|
| H A D | wmi.c | 7966 enum wmi_force_fw_hang_type type, u32 delay_ms) in ath10k_wmi_op_gen_force_fw_hang() argument 7977 cmd->delay_ms = __cpu_to_le32(delay_ms); in ath10k_wmi_op_gen_force_fw_hang() 7980 type, delay_ms); in ath10k_wmi_op_gen_force_fw_hang()
|
| /linux/drivers/net/wireless/rsi/ |
| H A D | rsi_mgmt.h | 616 __le16 delay_ms; member
|
| /linux/fs/btrfs/ |
| H A D | fs.h | 449 u64 delay_ms; member
|
| /linux/drivers/infiniband/ulp/rtrs/ |
| H A D | rtrs-clt.c | 1519 int delay_ms; in rtrs_clt_err_recovery_work() local 1523 delay_ms = clt->reconnect_delay_sec * 1000; in rtrs_clt_err_recovery_work() 1526 msecs_to_jiffies(delay_ms + in rtrs_clt_err_recovery_work()
|
| /linux/drivers/ufs/core/ |
| H A D | ufshcd.c | 2131 msecs_to_jiffies(hba->clk_gating.delay_ms)); in __ufshcd_release() 2146 return sysfs_emit(buf, "%lu\n", hba->clk_gating.delay_ms); in ufshcd_clkgate_delay_show() 2154 hba->clk_gating.delay_ms = value; in ufshcd_clkgate_delay_set() 2238 hba->clk_gating.delay_ms = 150; in ufshcd_init_clk_gating()
|