| /linux/tools/accounting/ |
| H A D | getdelays.c | 196 #define delay_ms(t) (t / 1000000ULL) macro 258 delay_ms((double)(t)->cpu_delay_max), \ 259 delay_ms((double)(t)->cpu_delay_min), \ 271 delay_ms((double)(t)->cpu_delay_max), \ 272 delay_ms((double)(t)->cpu_delay_min)); \ 295 delay_ms((double)(t)->max), \ 296 delay_ms((double)(t)->min)); \ 317 delay_ms((double)(t)->max), \ 318 delay_ms((double)(t)->min), \ 328 delay_ms((double)(t)->max), \ [all …]
|
| /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/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()
|
| /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 | 411 unsigned long delay_ms; member 1370 static void mod_tcpm_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_tcpm_delayed_work() argument 1372 if (delay_ms) { in mod_tcpm_delayed_work() 1373 hrtimer_start(&port->state_machine_timer, ms_to_ktime(delay_ms), HRTIMER_MODE_REL); in mod_tcpm_delayed_work() 1380 static void mod_vdm_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_vdm_delayed_work() argument 1382 if (delay_ms) { in mod_vdm_delayed_work() 1383 hrtimer_start(&port->vdm_state_machine_timer, ms_to_ktime(delay_ms), in mod_vdm_delayed_work() 1391 static void mod_enable_frs_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_enable_frs_delayed_work() argument 1393 if (delay_ms) { in mod_enable_frs_delayed_work() 1394 hrtimer_start(&port->enable_frs_timer, ms_to_ktime(delay_ms), HRTIMER_MODE_REL); in mod_enable_frs_delayed_work() [all …]
|
| /linux/drivers/staging/rtl8723bs/core/ |
| H A D | rtw_wlan_util.c | 1666 u32 delay_ms; in adaptive_early_32k() local 1680 delay_ms = do_div(tsf, (pmlmeinfo->bcn_interval * 1024)); in adaptive_early_32k() 1681 delay_ms = delay_ms / 1000; in adaptive_early_32k() 1683 if (delay_ms >= 8) in adaptive_early_32k() 1687 pmlmeext->bcn_delay_cnt[delay_ms]++; in adaptive_early_32k()
|
| /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/staging/rtl8723bs/include/ |
| H A D | rtw_pwrctrl.h | 236 s32 LPS_RF_ON_check(struct adapter *padapter, u32 delay_ms);
|
| /linux/fs/resctrl/ |
| H A D | monitor.c | 821 void cqm_setup_limbo_handler(struct rdt_l3_mon_domain *dom, unsigned long delay_ms, in cqm_setup_limbo_handler() argument 824 unsigned long delay = msecs_to_jiffies(delay_ms); in cqm_setup_limbo_handler() 887 void mbm_setup_overflow_handler(struct rdt_l3_mon_domain *dom, unsigned long delay_ms, in mbm_setup_overflow_handler() argument 890 unsigned long delay = msecs_to_jiffies(delay_ms); in mbm_setup_overflow_handler()
|
| /linux/drivers/net/wireless/intel/iwlwifi/ |
| 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/gpu/drm/xe/ |
| H A D | xe_guc_submit.c | 965 static inline void relaxed_ms_sleep(unsigned int delay_ms) in relaxed_ms_sleep() argument 969 if (!delay_ms) in relaxed_ms_sleep() 972 if (delay_ms > 20) { in relaxed_ms_sleep() 973 msleep(delay_ms); in relaxed_ms_sleep() 977 min_us = mul_u32_u32(delay_ms, 1000); in relaxed_ms_sleep()
|
| /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-tlv.c | 3166 u32 delay_ms) in ath10k_wmi_tlv_op_gen_force_fw_hang() argument 3181 cmd->delay_ms = __cpu_to_le32(delay_ms); in ath10k_wmi_tlv_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 | 436 u64 delay_ms; member
|
| /linux/include/ufs/ |
| H A D | ufshcd.h | 396 * delay_ms 403 * @delay_ms: gating delay in ms 421 unsigned long 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/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()
|