Home
last modified time | relevance | path

Searched refs:sleep_us (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/lima/
Dlima_device.h125 int sleep_us, int timeout_us) in lima_poll_timeout() argument
129 might_sleep_if(sleep_us); in lima_poll_timeout()
137 if (sleep_us) in lima_poll_timeout()
138 usleep_range((sleep_us >> 2) + 1, sleep_us); in lima_poll_timeout()
/linux-6.12.1/include/linux/
Diopoll.h36 #define read_poll_timeout(op, val, cond, sleep_us, timeout_us, \ argument
40 unsigned long __sleep_us = (sleep_us); \
134 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ argument
135 read_poll_timeout(op, val, cond, sleep_us, timeout_us, false, addr)
Dregmap.h121 #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_us) \ argument
125 sleep_us, timeout_us, false, (map), (addr), &(val)); \
192 #define regmap_field_read_poll_timeout(field, val, cond, sleep_us, timeout_us) \ argument
196 sleep_us, timeout_us, false, (field), &(val)); \
Dphy.h1292 #define phy_read_poll_timeout(phydev, regnum, val, cond, sleep_us, \ argument
1298 sleep_us, timeout_us, sleep_before_read, phydev, regnum); \
1391 sleep_us, timeout_us, sleep_before_read) \ argument
1396 sleep_us, timeout_us, sleep_before_read, \
/linux-6.12.1/drivers/reset/
Dreset-eyeq.c130 unsigned long sleep_us; member
185 unsigned long sleep_us = eqr_timings[domain_type].sleep_us; in eqr_busy_wait_locked() local
198 sleep_us, timeout_us); in eqr_busy_wait_locked()
209 sleep_us, timeout_us); in eqr_busy_wait_locked()
226 sleep_us, timeout_us, false, in eqr_busy_wait_locked()
/linux-6.12.1/drivers/accel/habanalabs/common/
Dhabanalabs.h2622 #define hl_poll_timeout_common(hdev, addr, val, cond, sleep_us, timeout_us, elbi) \ argument
2628 might_sleep_if(sleep_us); \
2651 if (sleep_us) \
2652 usleep_range((sleep_us >> 2) + 1, sleep_us); \
2657 #define hl_poll_timeout(hdev, addr, val, cond, sleep_us, timeout_us) \ argument
2658 hl_poll_timeout_common(hdev, addr, val, cond, sleep_us, timeout_us, false)
2660 #define hl_poll_timeout_elbi(hdev, addr, val, cond, sleep_us, timeout_us) \ argument
2661 hl_poll_timeout_common(hdev, addr, val, cond, sleep_us, timeout_us, true)
2670 #define hl_poll_reg_array_timeout_common(hdev, addr_arr, arr_size, expected_val, sleep_us, \ argument
2680 might_sleep_if(sleep_us); \
[all …]
/linux-6.12.1/drivers/iio/pressure/
Dhp206c.c171 unsigned int sleep_us) in hp206c_conv_and_read() argument
189 usleep_range(sleep_us, sleep_us * 3 / 2); in hp206c_conv_and_read()
/linux-6.12.1/drivers/phy/samsung/
Dphy-samsung-ufs.c52 const unsigned int sleep_us = 10; in samsung_ufs_phy_wait_for_lock_acq() local
58 val, (val & PHY_PLL_LOCK_BIT), sleep_us, timeout_us); in samsung_ufs_phy_wait_for_lock_acq()
68 val, (val & PHY_CDR_LOCK_BIT), sleep_us, timeout_us); in samsung_ufs_phy_wait_for_lock_acq()
Dphy-gs101-ufs.c125 const unsigned int sleep_us = 40; in gs101_phy_wait_for_calibration() local
134 sleep_us, timeout_us); in gs101_phy_wait_for_calibration()
Dphy-exynos5-usbdrd.c673 static const unsigned int sleep_us = 40; in exynos5_usbdrd_usbdp_g2_v4_pma_check_pll_lock() local
681 reg, (reg & locked) == locked, sleep_us, timeout_us); in exynos5_usbdrd_usbdp_g2_v4_pma_check_pll_lock()
693 static const unsigned int sleep_us = 40; in exynos5_usbdrd_usbdp_g2_v4_pma_check_cdr_lock() local
704 reg, (reg & locked) == locked, sleep_us, timeout_us); in exynos5_usbdrd_usbdp_g2_v4_pma_check_cdr_lock()
714 reg, (reg & locked) == locked, sleep_us, timeout_us); in exynos5_usbdrd_usbdp_g2_v4_pma_check_cdr_lock()
/linux-6.12.1/drivers/phy/marvell/
Dphy-mvebu-a3700-comphy.c417 ulong sleep_us, ulong timeout_us) in comphy_lane_reg_poll() argument
432 sleep_us, timeout_us); in comphy_lane_reg_poll()
441 sleep_us, timeout_us); in comphy_lane_reg_poll()
456 ulong sleep_us, ulong timeout_us) in comphy_periph_reg_poll() argument
463 sleep_us, timeout_us); in comphy_periph_reg_poll()
/linux-6.12.1/drivers/fpga/
Dzynq-fpga.c149 #define zynq_fpga_poll_timeout(priv, addr, val, cond, sleep_us, timeout_us) \ argument
150 readl_poll_timeout(priv->io_base + addr, val, cond, sleep_us, \
/linux-6.12.1/drivers/net/ethernet/ni/
Dnixge.c236 #define nixge_ctrl_poll_timeout(priv, addr, val, cond, sleep_us, timeout_us) \ argument
238 (sleep_us), (timeout_us))
240 #define nixge_dma_poll_timeout(priv, addr, val, cond, sleep_us, timeout_us) \ argument
242 (sleep_us), (timeout_us))
/linux-6.12.1/sound/soc/sof/
Dops.h611 #define snd_sof_dsp_read_poll_timeout(sdev, bar, offset, val, cond, sleep_us, timeout_us) \ argument
614 unsigned long __sleep_us = (sleep_us); \
/linux-6.12.1/drivers/phy/rockchip/
Dphy-rockchip-inno-hdmi.c550 #define inno_poll(inno, reg, val, cond, sleep_us, timeout_us) \ argument
552 sleep_us, timeout_us)
/linux-6.12.1/drivers/media/i2c/
Dthp7312.c355 #define thp7312_read_poll_timeout(dev, addr, val, cond, sleep_us, timeout_us) \ argument
358 __ret = read_poll_timeout(cci_read, __err, __err || (cond), sleep_us, \
/linux-6.12.1/drivers/gpu/drm/bridge/
Dtc358767.c412 unsigned long sleep_us, u64 timeout_us) in tc_poll_timeout() argument
418 sleep_us, timeout_us); in tc_poll_timeout()
/linux-6.12.1/drivers/iio/adc/
Dstm32-adc.c585 #define stm32_adc_readl_poll_timeout(reg, val, cond, sleep_us, timeout_us) \ argument
587 cond, sleep_us, timeout_us)
/linux-6.12.1/drivers/net/ethernet/realtek/rtase/
Drtase_main.c819 u32 sleep_us, u64 timeout_us, u16 reg) in rtase_poll_timeout() argument
824 err = read_poll_timeout(rtase_r8, val, val & cond, sleep_us, in rtase_poll_timeout()