Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/
Diopoll.h36 #define read_poll_timeout(op, val, cond, sleep_us, timeout_us, \ argument
40 unsigned long __sleep_us = (sleep_us); \
120 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ argument
121 read_poll_timeout(op, val, cond, sleep_us, timeout_us, false, addr)
Dregmap.h103 #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_us) \ argument
107 sleep_us, timeout_us, false, (map), (addr), &(val)); \
174 #define regmap_field_read_poll_timeout(field, val, cond, sleep_us, timeout_us) \ argument
178 sleep_us, timeout_us, false, (field), &(val)); \
Dphy.h946 #define phy_read_poll_timeout(phydev, regnum, val, cond, sleep_us, \ argument
950 sleep_us, timeout_us, sleep_before_read, phydev, regnum); \
1044 sleep_us, timeout_us, sleep_before_read) \ argument
1047 sleep_us, timeout_us, sleep_before_read, \
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dhabanalabs.h1335 #define hl_poll_timeout(hdev, addr, val, cond, sleep_us, timeout_us) \ argument
1344 might_sleep_if(sleep_us); \
1353 if (sleep_us) \
1354 usleep_range((sleep_us >> 2) + 1, sleep_us); \
1371 #define hl_poll_timeout_memory(hdev, addr, val, cond, sleep_us, timeout_us, \ argument
1381 might_sleep_if(sleep_us); \
1396 if (sleep_us) \
1397 usleep_range((sleep_us >> 2) + 1, sleep_us); \
1402 #define hl_poll_timeout_device_memory(hdev, addr, val, cond, sleep_us, \ argument
1412 might_sleep_if(sleep_us); \
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
67 val, (val & PHY_CDR_LOCK_BIT), sleep_us, timeout_us); in samsung_ufs_phy_wait_for_lock_acq()
/kernel/linux/linux-5.10/sound/soc/sof/
Dops.h506 #define snd_sof_dsp_read_poll_timeout(sdev, bar, offset, val, cond, sleep_us, timeout_us) \ argument
509 unsigned long __sleep_us = (sleep_us); \
/kernel/linux/linux-5.10/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, \
/kernel/linux/linux-5.10/drivers/net/ethernet/ni/
Dnixge.c237 #define nixge_ctrl_poll_timeout(priv, addr, val, cond, sleep_us, timeout_us) \ argument
239 (sleep_us), (timeout_us))
241 #define nixge_dma_poll_timeout(priv, addr, val, cond, sleep_us, timeout_us) \ argument
243 (sleep_us), (timeout_us))
/kernel/linux/linux-5.10/drivers/phy/rockchip/
Dphy-rockchip-inno-hdmi.c402 #define inno_poll(inno, reg, val, cond, sleep_us, timeout_us) \ argument
404 sleep_us, timeout_us)
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
Dtc358767.c288 unsigned long sleep_us, u64 timeout_us) in tc_poll_timeout() argument
294 sleep_us, timeout_us); in tc_poll_timeout()
/kernel/linux/linux-5.10/drivers/iio/adc/
Dstm32-adc.c467 #define stm32_adc_readl_poll_timeout(reg, val, cond, sleep_us, timeout_us) \ argument
469 cond, sleep_us, timeout_us)
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0020_linux_drivers_gpu.patch6039 +#define mhdp_readx_poll_timeout(op, addr, offset, val, cond, sleep_us, timeout_us) \
6042 + unsigned long __sleep_us = (sleep_us); \