| /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 | 30 uint32_t delay_ms; 340 if (opts.delay_ms) in mainloop() 341 sleep_ms(opts.delay_ms); in mainloop() 412 opts.delay_ms = atoi(optarg); in parse_opts() 413 if (opts.delay_ms == 0) { in parse_opts() 28 uint32_t delay_ms; global() member
|
| /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/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 | 1805 int delay_ms = link_recovery_autoretrain_pending(link_training) ? 0 : 2000; in intel_dp_stop_link_train() 1807 intel_encoder_link_check_queue_work(encoder, delay_ms); 1802 int delay_ms = link_recovery_autoretrain_pending(link_training) ? 0 : 2000; intel_dp_stop_link_train() local
|
| /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 | 174 self.delay_ms = blkg.delay_nsec.counter.value_() / 1_000_000 176 self.delay_ms = 0 191 'delay_ms' : self.delay_ms, 204 f'{self.delay_ms:7.2f}'
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | ring_reconfig.py | 347 for delay_ms in [100, 200, 500]: 349 delay_ms * 1_000_000, pkt_size) 350 ksft_pr(f"Sent {pkt_count} SO_TXTIME packets (+{delay_ms}ms)") 351 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 | 531 unsigned long delay_ms; 1741 static void mod_tcpm_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_vdm_delayed_work() 1743 if (delay_ms) { in mod_vdm_delayed_work() 1744 hrtimer_start(&port->state_machine_timer, ms_to_ktime(delay_ms), HRTIMER_MODE_REL); in mod_vdm_delayed_work() 1751 static void mod_vdm_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_enable_frs_delayed_work() 1753 if (delay_ms) { in mod_enable_frs_delayed_work() 1754 hrtimer_start(&port->vdm_state_machine_timer, ms_to_ktime(delay_ms), in mod_enable_frs_delayed_work() 1762 static void mod_enable_frs_delayed_work(struct tcpm_port *port, unsigned int delay_ms) 1764 if (delay_ms) { in mod_vdm_discovery_delayed_work() 1765 hrtimer_start(&port->enable_frs_timer, ms_to_ktime(delay_ms), HRTIMER_MODE_RE in mod_vdm_discovery_delayed_work() 528 unsigned long delay_ms; global() member 1725 mod_tcpm_delayed_work(struct tcpm_port * port,unsigned int delay_ms) mod_tcpm_delayed_work() argument 1735 mod_vdm_delayed_work(struct tcpm_port * port,unsigned int delay_ms) mod_vdm_delayed_work() argument 1746 mod_enable_frs_delayed_work(struct tcpm_port * port,unsigned int delay_ms) mod_enable_frs_delayed_work() argument 1763 mod_vdm_discovery_delayed_work(struct tcpm_port * port,unsigned int delay_ms) mod_vdm_discovery_delayed_work() argument 1774 tcpm_set_state(struct tcpm_port * port,enum tcpm_state state,unsigned int delay_ms) tcpm_set_state() argument 1803 tcpm_set_state_cond(struct tcpm_port * port,enum tcpm_state state,unsigned int delay_ms) tcpm_set_state_cond() argument 3431 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 | 856 * @delay_ms: How far in the future the handler should run. 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() 939 * @delay_ms: How far in the future the handler should run. 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 | 357 int delay_ms, int timeout_ms);
|
| H A D | hisi_sas_v3_hw.c | 2844 int delay_ms, int timeout_ms) in wait_cmds_complete_timeout_v3_hw() 2849 for (time = 0; time < timeout_ms; time += delay_ms) { in intr_conv_v3_hw_show() 2855 msleep(delay_ms); in config_intr_coal_v3_hw() 2825 wait_cmds_complete_timeout_v3_hw(struct hisi_hba * hisi_hba,int delay_ms,int timeout_ms) wait_cmds_complete_timeout_v3_hw() argument
|
| /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()
|
| /linux/drivers/net/wireless/rsi/ |
| H A D | rsi_mgmt.h | 616 __le16 delay_ms; member
|
| /linux/drivers/pci/ |
| H A D | pci.c | 87 unsigned int delay_ms = max(dev->d3hot_delay, pci_pm_d3hot_delay); in pci_dev_d3_sleep() local 90 if (delay_ms) { in pci_dev_d3_sleep() 92 upper = max(DIV_ROUND_CLOSEST(delay_ms, 5), 1U); in pci_dev_d3_sleep() 93 usleep_range(delay_ms * USEC_PER_MSEC, in pci_dev_d3_sleep() 94 (delay_ms + upper) * USEC_PER_MSEC); in pci_dev_d3_sleep()
|
| /linux/fs/btrfs/ |
| H A D | fs.h | 448 u64 delay_ms; 449 u64 delay_ms; global() member
|
| /linux/drivers/infiniband/ulp/rtrs/ |
| H A D | rtrs-clt.c | 1520 int delay_ms; in rtrs_clt_err_recovery_work() 1524 delay_ms = clt->reconnect_delay_sec * 1000; in rtrs_clt_err_recovery_work() 1527 msecs_to_jiffies(delay_ms + in rtrs_clt_err_recovery_work() 1519 int delay_ms; rtrs_clt_err_recovery_work() local
|
| /linux/drivers/usb/core/ |
| H A D | hub.c | 3760 int status = 0, delay_ms = 0; in wait_for_connected() local 3762 while (delay_ms < 2000) { in wait_for_connected() 3770 delay_ms += 20; in wait_for_connected() 3773 dev_dbg(&udev->dev, "Waited %dms for CONNECT\n", delay_ms); in wait_for_connected()
|