| /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() 284 delay_ms((double)(t)->cpu_delay_max), \ 285 delay_ms((double)(t)->cpu_delay_min), \ 297 delay_ms((double)(t)->cpu_delay_max), \ 298 delay_ms((double)(t)->cpu_delay_min)); \ 321 delay_ms((double)(t)->max), \ 322 delay_ms((double)(t)->min)); \ 343 delay_ms((double)(t)->max), \ in print_delayacct() 344 delay_ms((double)(t)->min), \ in print_delayacct() 354 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()
|
| /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/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,
|
| /linux/drivers/usb/typec/tcpm/ |
| H A D | tcpm.c | 501 unsigned long delay_ms; member 1531 static void mod_tcpm_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_tcpm_delayed_work() argument 1533 if (delay_ms) { in mod_tcpm_delayed_work() 1534 hrtimer_start(&port->state_machine_timer, ms_to_ktime(delay_ms), HRTIMER_MODE_REL); in mod_tcpm_delayed_work() 1541 static void mod_vdm_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_vdm_delayed_work() argument 1543 if (delay_ms) { in mod_vdm_delayed_work() 1544 hrtimer_start(&port->vdm_state_machine_timer, ms_to_ktime(delay_ms), in mod_vdm_delayed_work() 1552 static void mod_enable_frs_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_enable_frs_delayed_work() argument 1554 if (delay_ms) { in mod_enable_frs_delayed_work() 1555 hrtimer_start(&port->enable_frs_timer, ms_to_ktime(delay_ms), HRTIMER_MODE_REL); in mod_enable_frs_delayed_work() [all …]
|
| /linux/fs/fuse/ |
| H A D | dax.c | 108 __kick_dmap_free_worker(struct fuse_conn_dax *fcd, unsigned long delay_ms) in __kick_dmap_free_worker() argument 117 msecs_to_jiffies(delay_ms)); in __kick_dmap_free_worker() 121 unsigned long delay_ms) in kick_dmap_free_worker() argument 124 __kick_dmap_free_worker(fcd, delay_ms); in kick_dmap_free_worker()
|
| /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/staging/rtl8723bs/include/ |
| H A D | rtw_pwrctrl.h | 236 s32 LPS_RF_ON_check(struct adapter *padapter, u32 delay_ms);
|
| /linux/drivers/scsi/hisi_sas/ |
| H A D | hisi_sas.h | 356 int delay_ms, int timeout_ms);
|
| /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/drivers/pci/ |
| H A D | pci.c | 85 unsigned int delay_ms = max(dev->d3hot_delay, pci_pm_d3hot_delay); in pci_dev_d3_sleep() local 88 if (delay_ms) { in pci_dev_d3_sleep() 90 upper = max(DIV_ROUND_CLOSEST(delay_ms, 5), 1U); in pci_dev_d3_sleep() 91 usleep_range(delay_ms * USEC_PER_MSEC, in pci_dev_d3_sleep() 92 (delay_ms + upper) * USEC_PER_MSEC); in pci_dev_d3_sleep()
|
| /linux/fs/btrfs/ |
| H A D | fs.h | 438 u64 delay_ms; member
|
| /linux/drivers/usb/core/ |
| H A D | hub.c | 3742 int status = 0, delay_ms = 0; in wait_for_connected() local 3744 while (delay_ms < 2000) { in wait_for_connected() 3752 delay_ms += 20; in wait_for_connected() 3755 dev_dbg(&udev->dev, "Waited %dms for CONNECT\n", delay_ms); in wait_for_connected()
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_nx.c | 497 const int delay_ms = 100, timeout_ms = 2000; in qla82xx_idc_lock() local 510 total += delay_ms; in qla82xx_idc_lock() 511 msleep(delay_ms); in qla82xx_idc_lock()
|