/openbmc/linux/drivers/gpu/drm/lima/ |
H A 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()
|
/openbmc/u-boot/include/ |
H A D | regmap.h | 265 #define regmap_read_poll_timeout_test(map, addr, val, cond, sleep_us, \ argument 282 if ((sleep_us)) \ 283 udelay((sleep_us)); \ 288 #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_ms) \ argument 289 regmap_read_poll_timeout_test(map, addr, val, cond, sleep_us, \
|
/openbmc/linux/include/linux/ |
H A 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)
|
H A 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)); \
|
H A D | phy.h | 1244 #define phy_read_poll_timeout(phydev, regnum, val, cond, sleep_us, \ argument 1250 sleep_us, timeout_us, sleep_before_read, phydev, regnum); \ 1343 sleep_us, timeout_us, sleep_before_read) \ argument 1348 sleep_us, timeout_us, sleep_before_read, \
|
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | habanalabs.h | 2558 #define hl_poll_timeout_common(hdev, addr, val, cond, sleep_us, timeout_us, elbi) \ argument 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) \ argument 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) \ argument 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, \ argument 2616 might_sleep_if(sleep_us); \ [all …]
|
/openbmc/qemu/contrib/plugins/ |
H A D | ips.c | 70 int64_t sleep_us = time_advance_ns / 1000; in update_system_time() local 71 g_usleep(sleep_us); in update_system_time()
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/iio/pressure/ |
H A 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()
|
/openbmc/linux/drivers/phy/marvell/ |
H A 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()
|
/openbmc/linux/drivers/fpga/ |
H A 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, \
|
/openbmc/linux/sound/soc/sof/ |
H A D | ops.h | 576 #define snd_sof_dsp_read_poll_timeout(sdev, bar, offset, val, cond, sleep_us, timeout_us) \ argument 579 unsigned long __sleep_us = (sleep_us); \
|
/openbmc/linux/drivers/net/ethernet/ni/ |
H A 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))
|
/openbmc/linux/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-hdmi.c | 550 #define inno_poll(inno, reg, val, cond, sleep_us, timeout_us) \ argument 552 sleep_us, timeout_us)
|
/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | tc358767.c | 334 unsigned long sleep_us, u64 timeout_us) in tc_poll_timeout() argument 340 sleep_us, timeout_us); in tc_poll_timeout()
|
/openbmc/linux/drivers/iio/adc/ |
H A 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)
|