/kernel/linux/linux-5.10/drivers/gpu/drm/lima/ |
H A D | lima_device.h | 125 int sleep_us, int timeout_us) in lima_poll_timeout() 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() 124 lima_poll_timeout(struct lima_ip *ip, lima_poll_func_t func, int sleep_us, int timeout_us) lima_poll_timeout() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/lima/ |
H A D | lima_device.h | 125 int sleep_us, int timeout_us) in lima_poll_timeout() 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() 124 lima_poll_timeout(struct lima_ip *ip, lima_poll_func_t func, int sleep_us, int timeout_us) lima_poll_timeout() argument
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | iopoll.h | 22 * @sleep_us: Maximum time to sleep between reads in us (0 26 * @sleep_before_read: if it is true, sleep @sleep_us before read. 31 * be called from atomic context if sleep_us or timeout_us are used. 36 #define read_poll_timeout(op, val, cond, sleep_us, timeout_us, \ 40 unsigned long __sleep_us = (sleep_us); \ 110 * @sleep_us: Maximum time to sleep between reads in us (0 117 * be called from atomic context if sleep_us or timeout_us are used. 122 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ 123 read_poll_timeout(op, val, cond, sleep_us, timeout_us, false, addr)
|
H A D | regmap.h | 91 * @sleep_us: Maximum time to sleep between reads in us (0 99 * from atomic context if sleep_us or timeout_us are used. 103 #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_us) \ 107 sleep_us, timeout_us, false, (map), (addr), &(val)); \ 162 * @sleep_us: Maximum time to sleep between reads in us (0 170 * from atomic context if sleep_us or timeout_us are used. 174 #define regmap_field_read_poll_timeout(field, val, cond, sleep_us, timeout_us) \ 178 sleep_us, timeout_us, false, (field), &(val)); \
|
H A D | phy.h | 946 #define phy_read_poll_timeout(phydev, regnum, val, cond, sleep_us, \ 950 sleep_us, timeout_us, sleep_before_read, phydev, regnum); \ 1034 * @sleep_us: Maximum time to sleep between reads in us (0 1038 * @sleep_before_read: if it is true, sleep @sleep_us before read. 1041 * be called from atomic context if sleep_us or timeout_us are used. 1044 sleep_us, timeout_us, sleep_before_read) \ 1047 sleep_us, timeout_us, sleep_before_read, \
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | iopoll.h | 22 * @sleep_us: Maximum time to sleep between reads in us (0 26 * @sleep_before_read: if it is true, sleep @sleep_us before read. 31 * be called from atomic context if sleep_us or timeout_us are used. 36 #define read_poll_timeout(op, val, cond, sleep_us, timeout_us, \ 40 unsigned long __sleep_us = (sleep_us); \ 122 * @sleep_us: Maximum time to sleep between reads in us (0 129 * be called from atomic context if sleep_us or timeout_us are used. 134 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ 135 read_poll_timeout(op, val, cond, sleep_us, timeout_us, false, addr)
|
H A D | phy.h | 1244 #define phy_read_poll_timeout(phydev, regnum, val, cond, sleep_us, \ 1250 sleep_us, timeout_us, sleep_before_read, phydev, regnum); \ 1333 * @sleep_us: Maximum time to sleep between reads in us (0 1337 * @sleep_before_read: if it is true, sleep @sleep_us before read. 1340 * be called from atomic context if sleep_us or timeout_us are used. 1343 sleep_us, timeout_us, sleep_before_read) \ 1348 sleep_us, timeout_us, sleep_before_read, \
|
H A D | regmap.h | 109 * @sleep_us: Maximum time to sleep between reads in us (0 117 * from atomic context if sleep_us or timeout_us are used. 121 #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_us) \ 125 sleep_us, timeout_us, false, (map), (addr), &(val)); \ 180 * @sleep_us: Maximum time to sleep between reads in us (0 188 * from atomic context if sleep_us or timeout_us are used. 192 #define regmap_field_read_poll_timeout(field, val, cond, sleep_us, timeout_us) \ 196 sleep_us, timeout_us, false, (field), &(val)); \
|
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/ |
H A D | habanalabs.h | 1335 #define hl_poll_timeout(hdev, addr, val, cond, sleep_us, timeout_us) \ 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, \ 1381 might_sleep_if(sleep_us); \ 1396 if (sleep_us) \ 1397 usleep_range((sleep_us >> 2) + 1, sleep_us); \ [all...] |
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/ |
H A D | habanalabs.h | 2558 #define hl_poll_timeout_common(hdev, addr, val, cond, sleep_us, timeout_us, elbi) \ 2564 might_sleep_if(sleep_us); \ 2587 if (sleep_us) \ 2588 usleep_range((sleep_us >> 2) + 1, sleep_us); \ 2593 #define hl_poll_timeout(hdev, addr, val, cond, sleep_us, timeout_us) \ 2594 hl_poll_timeout_common(hdev, addr, val, cond, sleep_us, timeout_us, false) 2596 #define hl_poll_timeout_elbi(hdev, addr, val, cond, sleep_us, timeout_us) \ 2597 hl_poll_timeout_common(hdev, addr, val, cond, sleep_us, timeout_us, true) 2606 #define hl_poll_reg_array_timeout_common(hdev, addr_arr, arr_size, expected_val, sleep_us, \ [all...] |
/kernel/linux/linux-5.10/drivers/iio/pressure/ |
H A D | hp206c.c | 171 unsigned int sleep_us) in hp206c_conv_and_read() 189 usleep_range(sleep_us, sleep_us * 3 / 2); in hp206c_conv_and_read() 169 hp206c_conv_and_read(struct iio_dev *indio_dev, u8 conv_cmd, u8 read_cmd, unsigned int sleep_us) hp206c_conv_and_read() argument
|
/kernel/linux/linux-5.10/drivers/phy/samsung/ |
H A 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() 67 val, (val & PHY_CDR_LOCK_BIT), sleep_us, timeout_us); in samsung_ufs_phy_wait_for_lock_acq()
|
/kernel/linux/linux-6.6/drivers/phy/samsung/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/iio/pressure/ |
H A D | hp206c.c | 171 unsigned int sleep_us) in hp206c_conv_and_read() 189 usleep_range(sleep_us, sleep_us * 3 / 2); in hp206c_conv_and_read() 169 hp206c_conv_and_read(struct iio_dev *indio_dev, u8 conv_cmd, u8 read_cmd, unsigned int sleep_us) hp206c_conv_and_read() argument
|
/kernel/linux/linux-6.6/drivers/phy/marvell/ |
H A D | phy-mvebu-a3700-comphy.c | 417 ulong sleep_us, ulong timeout_us) in comphy_lane_reg_poll() 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() 463 sleep_us, timeout_us); in comphy_periph_reg_poll() 415 comphy_lane_reg_poll(struct mvebu_a3700_comphy_lane *lane, u16 reg, u16 bits, ulong sleep_us, ulong timeout_us) comphy_lane_reg_poll() argument 454 comphy_periph_reg_poll(struct mvebu_a3700_comphy_lane *lane, u8 reg, u32 bits, ulong sleep_us, ulong timeout_us) comphy_periph_reg_poll() argument
|
/kernel/linux/linux-5.10/drivers/fpga/ |
H A D | zynq-fpga.c | 149 #define zynq_fpga_poll_timeout(priv, addr, val, cond, sleep_us, timeout_us) \ 150 readl_poll_timeout(priv->io_base + addr, val, cond, sleep_us, \
|
/kernel/linux/linux-5.10/sound/soc/sof/ |
H A D | ops.h | 495 * @sleep_us: Maximum time to sleep between reads in us (0 502 * be called from atomic context if sleep_us or timeout_us are used. 506 #define snd_sof_dsp_read_poll_timeout(sdev, bar, offset, val, cond, sleep_us, timeout_us) \ 509 unsigned long __sleep_us = (sleep_us); \
|
/kernel/linux/linux-6.6/drivers/fpga/ |
H A D | zynq-fpga.c | 149 #define zynq_fpga_poll_timeout(priv, addr, val, cond, sleep_us, timeout_us) \ 150 readl_poll_timeout(priv->io_base + addr, val, cond, sleep_us, \
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ni/ |
H A D | nixge.c | 237 #define nixge_ctrl_poll_timeout(priv, addr, val, cond, sleep_us, timeout_us) \ 239 (sleep_us), (timeout_us)) 241 #define nixge_dma_poll_timeout(priv, addr, val, cond, sleep_us, timeout_us) \ 243 (sleep_us), (timeout_us))
|
/kernel/linux/linux-6.6/drivers/net/ethernet/ni/ |
H A D | nixge.c | 236 #define nixge_ctrl_poll_timeout(priv, addr, val, cond, sleep_us, timeout_us) \ 238 (sleep_us), (timeout_us)) 240 #define nixge_dma_poll_timeout(priv, addr, val, cond, sleep_us, timeout_us) \ 242 (sleep_us), (timeout_us))
|
/kernel/linux/linux-6.6/sound/soc/sof/ |
H A D | ops.h | 565 * @sleep_us: Maximum time to sleep between reads in us (0 572 * be called from atomic context if sleep_us or timeout_us are used. 576 #define snd_sof_dsp_read_poll_timeout(sdev, bar, offset, val, cond, sleep_us, timeout_us) \ 579 unsigned long __sleep_us = (sleep_us); \
|
/kernel/linux/linux-5.10/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-hdmi.c | 402 #define inno_poll(inno, reg, val, cond, sleep_us, timeout_us) \ 404 sleep_us, timeout_us)
|
/kernel/linux/linux-6.6/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-hdmi.c | 550 #define inno_poll(inno, reg, val, cond, sleep_us, timeout_us) \ 552 sleep_us, timeout_us)
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/ |
H A D | tc358767.c | 288 unsigned long sleep_us, u64 timeout_us) in tc_poll_timeout() 294 sleep_us, timeout_us); in tc_poll_timeout() 285 tc_poll_timeout(struct tc_data *tc, unsigned int addr, unsigned int cond_mask, unsigned int cond_value, unsigned long sleep_us, u64 timeout_us) tc_poll_timeout() argument
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
H A D | stm32-adc.c | 467 #define stm32_adc_readl_poll_timeout(reg, val, cond, sleep_us, timeout_us) \ 469 cond, sleep_us, timeout_us)
|