/linux-6.12.1/drivers/gpu/drm/lima/ |
D | lima_device.h | 125 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/ |
D | iopoll.h | 36 #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)
|
D | regmap.h | 121 #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)); \
|
D | phy.h | 1292 #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/ |
D | reset-eyeq.c | 130 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/ |
D | habanalabs.h | 2622 #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/ |
D | hp206c.c | 171 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/ |
D | phy-samsung-ufs.c | 52 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()
|
D | phy-gs101-ufs.c | 125 const unsigned int sleep_us = 40; in gs101_phy_wait_for_calibration() local 134 sleep_us, timeout_us); in gs101_phy_wait_for_calibration()
|
D | phy-exynos5-usbdrd.c | 673 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/ |
D | phy-mvebu-a3700-comphy.c | 417 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/ |
D | zynq-fpga.c | 149 #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/ |
D | nixge.c | 236 #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/ |
D | ops.h | 611 #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/ |
D | phy-rockchip-inno-hdmi.c | 550 #define inno_poll(inno, reg, val, cond, sleep_us, timeout_us) \ argument 552 sleep_us, timeout_us)
|
/linux-6.12.1/drivers/media/i2c/ |
D | thp7312.c | 355 #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/ |
D | tc358767.c | 412 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/ |
D | stm32-adc.c | 585 #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/ |
D | rtase_main.c | 819 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()
|