/linux-6.6.21/sound/pci/asihpi/ |
D | hpios.c | 20 if ((usecs_to_jiffies(num_micro_sec) > 1) && !in_interrupt()) { in hpios_delay_micro_seconds() 22 schedule_timeout_uninterruptible(usecs_to_jiffies in hpios_delay_micro_seconds()
|
/linux-6.6.21/drivers/char/tpm/ |
D | tpm1-cmd.c | 412 chip->timeout_a = usecs_to_jiffies(timeout_eff[0]); in tpm1_get_timeouts() 413 chip->timeout_b = usecs_to_jiffies(timeout_eff[1]); in tpm1_get_timeouts() 414 chip->timeout_c = usecs_to_jiffies(timeout_eff[2]); in tpm1_get_timeouts() 415 chip->timeout_d = usecs_to_jiffies(timeout_eff[3]); in tpm1_get_timeouts() 424 usecs_to_jiffies(be32_to_cpu(cap.duration.tpm_short)); in tpm1_get_timeouts() 426 usecs_to_jiffies(be32_to_cpu(cap.duration.tpm_medium)); in tpm1_get_timeouts() 428 usecs_to_jiffies(be32_to_cpu(cap.duration.tpm_long)); in tpm1_get_timeouts()
|
/linux-6.6.21/arch/powerpc/platforms/cell/ |
D | cpufreq_spudemand.c | 60 delay = usecs_to_jiffies(info->poll_int); in spu_gov_work() 66 int delay = usecs_to_jiffies(info->poll_int); in spu_gov_init_work()
|
/linux-6.6.21/drivers/i2c/muxes/ |
D | i2c-arb-gpio-challenge.c | 48 stop_time = jiffies + usecs_to_jiffies(arb->wait_free_us) + 1; in i2c_arbitrator_select() 55 stop_retry = jiffies + usecs_to_jiffies(arb->wait_retry_us) + 1; in i2c_arbitrator_select()
|
/linux-6.6.21/net/bridge/ |
D | br_cfm.c | 138 usecs_to_jiffies(interval_us / 4)); in ccm_rx_timer_start() 289 usecs_to_jiffies(interval_us)); in ccm_tx_work_expired() 785 usecs_to_jiffies(tx_info->period * 1000000); in br_cfm_cc_ccm_tx() 798 usecs_to_jiffies(tx_info->period * 1000000); in br_cfm_cc_ccm_tx() 811 mep->ccm_tx_end = jiffies + usecs_to_jiffies(tx_info->period * 1000000); in br_cfm_cc_ccm_tx()
|
D | br_mrp.c | 345 usecs_to_jiffies(mrp->test_interval)); in br_mrp_test_work_expired() 422 usecs_to_jiffies(mrp->in_test_interval)); in br_mrp_in_test_work_expired() 724 mrp->test_end = jiffies + usecs_to_jiffies(test->period); in br_mrp_start_test() 729 usecs_to_jiffies(test->interval)); in br_mrp_start_test() 865 mrp->in_test_end = jiffies + usecs_to_jiffies(in_test->period); in br_mrp_start_in_test() 869 usecs_to_jiffies(in_test->interval)); in br_mrp_start_in_test()
|
/linux-6.6.21/arch/arm/mach-versatile/ |
D | spc.c | 306 &info->done, usecs_to_jiffies(TIMEOUT_US)); in ve_spc_waitforcompletion() 332 if (down_timeout(&info->sem, usecs_to_jiffies(TIMEOUT_US))) in ve_spc_set_performance() 351 if (down_timeout(&info->sem, usecs_to_jiffies(TIMEOUT_US))) in ve_spc_read_sys_cfg()
|
/linux-6.6.21/drivers/leds/ |
D | leds-el15203000.c | 124 led->priv->delay = jiffies + usecs_to_jiffies(EL_FW_DELAY_USEC); in el15203000_cmd() 311 usecs_to_jiffies(EL_FW_DELAY_USEC); in el15203000_probe()
|
/linux-6.6.21/net/dccp/ccids/ |
D | ccid3.c | 258 jiffies + usecs_to_jiffies(t_nfb)); in ccid3_hc_tx_no_feedback_timer() 289 usecs_to_jiffies(TFRC_INITIAL_TIMEOUT))); in ccid3_hc_tx_send_packet() 451 dccp_role(sk), sk, usecs_to_jiffies(t_nfb), t_nfb); in ccid3_hc_tx_packet_recv() 454 jiffies + usecs_to_jiffies(t_nfb)); in ccid3_hc_tx_packet_recv()
|
/linux-6.6.21/drivers/comedi/drivers/ |
D | comedi_test.c | 240 jiffies + usecs_to_jiffies(time_increment)); in waveform_ai_timer() 397 jiffies + usecs_to_jiffies(devpriv->ai_convert_period) + 1; in waveform_ai_cmd() 499 jiffies + usecs_to_jiffies(time_inc)); in waveform_ao_timer() 521 jiffies + usecs_to_jiffies(devpriv->ao_scan_period); in waveform_ao_inttrig_start()
|
/linux-6.6.21/include/net/ |
D | pie.h | 92 params->tupdate = usecs_to_jiffies(15 * USEC_PER_MSEC); /* 15 ms */ in pie_params_init()
|
/linux-6.6.21/drivers/gpu/drm/hisilicon/hibmc/ |
D | hibmc_drm_i2c.c | 91 connector->bit_data.timeout = usecs_to_jiffies(2000); in hibmc_ddc_create()
|
/linux-6.6.21/drivers/gpu/drm/gma500/ |
D | intel_i2c.c | 125 chan->algo.timeout = usecs_to_jiffies(2200); in gma_i2c_create()
|
D | oaktrail_lvds_i2c.c | 153 chan->algo.timeout = usecs_to_jiffies(2200); in oaktrail_lvds_i2c_init()
|
/linux-6.6.21/drivers/char/hw_random/ |
D | jh7110-trng.c | 155 if (!wait_for_completion_timeout(&trng->random_done, usecs_to_jiffies(wait_time))) in starfive_trng_cmd() 163 if (!wait_for_completion_timeout(&trng->reseed_done, usecs_to_jiffies(wait_time))) in starfive_trng_cmd()
|
/linux-6.6.21/drivers/acpi/ |
D | acpi_pcc.c | 129 usecs_to_jiffies(usecs_lat)); in acpi_pcc_address_space_handler()
|
/linux-6.6.21/net/rxrpc/ |
D | rtt.c | 25 return usecs_to_jiffies((peer->srtt_us >> 3) + peer->rttvar_us); in __rxrpc_set_rto()
|
/linux-6.6.21/drivers/net/ |
D | ntb_netdev.c | 158 mod_timer(&dev->tx_timer, jiffies + usecs_to_jiffies(tx_time)); in __ntb_netdev_maybe_stop_tx() 236 mod_timer(&dev->tx_timer, jiffies + usecs_to_jiffies(tx_time)); in ntb_netdev_tx_timer()
|
/linux-6.6.21/drivers/infiniband/hw/erdma/ |
D | erdma_qp.c | 183 usecs_to_jiffies(100)); in erdma_modify_qp_internal() 535 usecs_to_jiffies(100)); in erdma_post_send() 593 usecs_to_jiffies(100)); in erdma_post_recv()
|
/linux-6.6.21/drivers/media/radio/si4713/ |
D | radio-usb-si4713.c | 154 unsigned long until_jiffies = jiffies + usecs_to_jiffies(USB_RESP_TIMEOUT) + 1; in si4713_send_startup_command() 314 unsigned long until_jiffies = jiffies + usecs_to_jiffies(USB_RESP_TIMEOUT) + 1; in si4713_i2c_read()
|
/linux-6.6.21/drivers/staging/media/omap4iss/ |
D | iss.h | 235 unsigned long __timeout = jiffies + usecs_to_jiffies(timeout); \
|
/linux-6.6.21/drivers/gpu/drm/loongson/ |
D | lsdc_i2c.c | 151 li2c->bit.timeout = usecs_to_jiffies(2200); in lsdc_create_i2c_chan()
|
/linux-6.6.21/Documentation/translations/zh_CN/scheduler/ |
D | completion.rst | 190 超时最好用msecs_to_jiffies()或usecs_to_jiffies()计算,以使代码在很大程度上不受
|
/linux-6.6.21/net/ipv4/ |
D | tcp_recovery.c | 107 timeout = usecs_to_jiffies(timeout + TCP_TIMEOUT_MIN_US); in tcp_rack_mark_lost()
|
/linux-6.6.21/drivers/fpga/ |
D | xilinx-spi.c | 173 unsigned long timeout = jiffies + usecs_to_jiffies(info->config_complete_timeout_us); in xilinx_spi_write_complete()
|