/linux-6.12.1/tools/testing/selftests/kvm/x86_64/ |
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-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_display_power.h | 196 int delay_ms); 214 int delay_ms) in intel_display_power_put_async_delay() argument 216 __intel_display_power_put_async(i915, domain, wakeref, delay_ms); in intel_display_power_put_async_delay() 242 int delay_ms) in intel_display_power_put_async_delay() argument 244 __intel_display_power_put_async(i915, domain, -1, delay_ms); in intel_display_power_put_async_delay()
|
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()
|
D | intel_encoder.h | 14 void intel_encoder_link_check_queue_work(struct intel_encoder *encoder, int delay_ms);
|
D | intel_display_power.c | 608 int delay_ms) in queue_async_put_domains_work() argument 617 msecs_to_jiffies(delay_ms))); in queue_async_put_domains_work() 712 int delay_ms) in __intel_display_power_put_async() argument 718 delay_ms = delay_ms >= 0 ? delay_ms : 100; in __intel_display_power_put_async() 734 delay_ms); in __intel_display_power_put_async() 739 delay_ms); in __intel_display_power_put_async()
|
/linux-6.12.1/tools/testing/selftests/net/netfilter/ |
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-6.12.1/drivers/ntb/test/ |
D | ntb_pingpong.c | 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-6.12.1/drivers/media/usb/dvb-usb/ |
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-6.12.1/drivers/net/ethernet/chelsio/cxgb3/ |
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-6.12.1/drivers/usb/storage/ |
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-6.12.1/drivers/phy/ti/ |
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-6.12.1/tools/cgroup/ |
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-6.12.1/drivers/spi/ |
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-6.12.1/fs/btrfs/ |
D | discard.c | 387 u64 delay = discard_ctl->delay_ms * NSEC_PER_MSEC; in __btrfs_discard_schedule_work() 622 discard_ctl->delay_ms = delay; in btrfs_discard_calc_delay() 764 discard_ctl->delay_ms = BTRFS_DISCARD_MAX_DELAY_MSEC; in btrfs_discard_init()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | health.c | 224 unsigned long end, delay_ms = mlx5_tout_ms(dev, PCI_TOGGLE); in mlx5_error_sw_reset() local 238 delay_ms = mlx5_tout_ms(dev, FULL_CRDUMP); in mlx5_error_sw_reset() 247 end = jiffies + msecs_to_jiffies(delay_ms); in mlx5_error_sw_reset() 261 mlx5_get_nic_state(dev), delay_ms); in mlx5_error_sw_reset()
|
D | fw.c | 345 unsigned long end, delay_ms = mlx5_tout_ms(dev, TEARDOWN); in mlx5_cmd_fast_teardown_hca() local 373 end = jiffies + msecs_to_jiffies(delay_ms); in mlx5_cmd_fast_teardown_hca() 387 mlx5_get_nic_state(dev), delay_ms); in mlx5_cmd_fast_teardown_hca()
|
/linux-6.12.1/sound/ppc/ |
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-6.12.1/drivers/usb/typec/tcpm/ |
D | tcpm.c | 384 unsigned long delay_ms; member 1296 static void mod_tcpm_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_tcpm_delayed_work() argument 1298 if (delay_ms) { in mod_tcpm_delayed_work() 1299 hrtimer_start(&port->state_machine_timer, ms_to_ktime(delay_ms), HRTIMER_MODE_REL); in mod_tcpm_delayed_work() 1306 static void mod_vdm_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_vdm_delayed_work() argument 1308 if (delay_ms) { in mod_vdm_delayed_work() 1309 hrtimer_start(&port->vdm_state_machine_timer, ms_to_ktime(delay_ms), in mod_vdm_delayed_work() 1317 static void mod_enable_frs_delayed_work(struct tcpm_port *port, unsigned int delay_ms) in mod_enable_frs_delayed_work() argument 1319 if (delay_ms) { in mod_enable_frs_delayed_work() 1320 hrtimer_start(&port->enable_frs_timer, ms_to_ktime(delay_ms), HRTIMER_MODE_REL); in mod_enable_frs_delayed_work() [all …]
|
/linux-6.12.1/arch/x86/kernel/cpu/resctrl/ |
D | monitor.c | 901 void cqm_setup_limbo_handler(struct rdt_mon_domain *dom, unsigned long delay_ms, in cqm_setup_limbo_handler() argument 904 unsigned long delay = msecs_to_jiffies(delay_ms); in cqm_setup_limbo_handler() 967 void mbm_setup_overflow_handler(struct rdt_mon_domain *dom, unsigned long delay_ms, in mbm_setup_overflow_handler() argument 970 unsigned long delay = msecs_to_jiffies(delay_ms); in mbm_setup_overflow_handler()
|
D | internal.h | 639 unsigned long delay_ms, 644 void cqm_setup_limbo_handler(struct rdt_mon_domain *dom, unsigned long delay_ms,
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-io.h | 41 u32 val, u32 delay_ms);
|
D | iwl-io.c | 152 void iwl_write_prph_delay(struct iwl_trans *trans, u32 ofs, u32 val, u32 delay_ms) in iwl_write_prph_delay() argument 155 mdelay(delay_ms); in iwl_write_prph_delay()
|
/linux-6.12.1/drivers/md/ |
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-6.12.1/fs/fuse/ |
D | dax.c | 109 __kick_dmap_free_worker(struct fuse_conn_dax *fcd, unsigned long delay_ms) in __kick_dmap_free_worker() argument 118 msecs_to_jiffies(delay_ms)); in __kick_dmap_free_worker() 122 unsigned long delay_ms) in kick_dmap_free_worker() argument 125 __kick_dmap_free_worker(fcd, delay_ms); in kick_dmap_free_worker()
|
/linux-6.12.1/drivers/staging/rtl8723bs/core/ |
D | rtw_wlan_util.c | 1712 u32 delay_ms; in adaptive_early_32k() local 1726 delay_ms = do_div(tsf, (pmlmeinfo->bcn_interval*1024)); in adaptive_early_32k() 1727 delay_ms = delay_ms/1000; in adaptive_early_32k() 1729 if (delay_ms >= 8) in adaptive_early_32k() 1733 pmlmeext->bcn_delay_cnt[delay_ms]++; in adaptive_early_32k()
|