Home
last modified time | relevance | path

Searched refs:usecs_to_jiffies (Results 1 – 25 of 172) sorted by relevance

1234567

/linux-6.6.21/sound/pci/asihpi/
Dhpios.c20 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/
Dtpm1-cmd.c412 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/
Dcpufreq_spudemand.c60 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/
Di2c-arb-gpio-challenge.c48 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/
Dbr_cfm.c138 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()
Dbr_mrp.c345 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/
Dspc.c306 &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/
Dleds-el15203000.c124 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/
Dccid3.c258 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/
Dcomedi_test.c240 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/
Dpie.h92 params->tupdate = usecs_to_jiffies(15 * USEC_PER_MSEC); /* 15 ms */ in pie_params_init()
/linux-6.6.21/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_drm_i2c.c91 connector->bit_data.timeout = usecs_to_jiffies(2000); in hibmc_ddc_create()
/linux-6.6.21/drivers/gpu/drm/gma500/
Dintel_i2c.c125 chan->algo.timeout = usecs_to_jiffies(2200); in gma_i2c_create()
Doaktrail_lvds_i2c.c153 chan->algo.timeout = usecs_to_jiffies(2200); in oaktrail_lvds_i2c_init()
/linux-6.6.21/drivers/char/hw_random/
Djh7110-trng.c155 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/
Dacpi_pcc.c129 usecs_to_jiffies(usecs_lat)); in acpi_pcc_address_space_handler()
/linux-6.6.21/net/rxrpc/
Drtt.c25 return usecs_to_jiffies((peer->srtt_us >> 3) + peer->rttvar_us); in __rxrpc_set_rto()
/linux-6.6.21/drivers/net/
Dntb_netdev.c158 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/
Derdma_qp.c183 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/
Dradio-usb-si4713.c154 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/
Diss.h235 unsigned long __timeout = jiffies + usecs_to_jiffies(timeout); \
/linux-6.6.21/drivers/gpu/drm/loongson/
Dlsdc_i2c.c151 li2c->bit.timeout = usecs_to_jiffies(2200); in lsdc_create_i2c_chan()
/linux-6.6.21/Documentation/translations/zh_CN/scheduler/
Dcompletion.rst190 超时最好用msecs_to_jiffies()或usecs_to_jiffies()计算,以使代码在很大程度上不受
/linux-6.6.21/net/ipv4/
Dtcp_recovery.c107 timeout = usecs_to_jiffies(timeout + TCP_TIMEOUT_MIN_US); in tcp_rack_mark_lost()
/linux-6.6.21/drivers/fpga/
Dxilinx-spi.c173 unsigned long timeout = jiffies + usecs_to_jiffies(info->config_complete_timeout_us); in xilinx_spi_write_complete()

1234567