/linux-6.1.9/include/linux/ |
D | iopoll.h | 120 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ macro 144 readx_poll_timeout(readb, addr, val, cond, delay_us, timeout_us) 150 readx_poll_timeout(readw, addr, val, cond, delay_us, timeout_us) 156 readx_poll_timeout(readl, addr, val, cond, delay_us, timeout_us) 162 readx_poll_timeout(readq, addr, val, cond, delay_us, timeout_us) 168 readx_poll_timeout(readb_relaxed, addr, val, cond, delay_us, timeout_us) 174 readx_poll_timeout(readw_relaxed, addr, val, cond, delay_us, timeout_us) 180 readx_poll_timeout(readl_relaxed, addr, val, cond, delay_us, timeout_us) 186 readx_poll_timeout(readq_relaxed, addr, val, cond, delay_us, timeout_us)
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | sdio_mcu.c | 112 err = readx_poll_timeout(mt76s_read_pcr, &dev->mt76, status, in mt7921s_mcu_drv_pmctrl() 116 err = readx_poll_timeout(mt7921s_read_rm3r, dev, status, in mt7921s_mcu_drv_pmctrl() 147 err = readx_poll_timeout(mt7921s_clear_rm3r_drv_own, in mt7921s_mcu_fw_pmctrl() 159 err = readx_poll_timeout(mt76s_read_pcr, &dev->mt76, status, in mt7921s_mcu_fw_pmctrl()
|
D | sdio_mac.c | 58 readx_poll_timeout(mt7921s_read_whcr, &dev->mt76, status, in mt7921s_wfsys_reset()
|
/linux-6.1.9/drivers/regulator/ |
D | stm32-pwr.c | 77 ret = readx_poll_timeout(stm32_pwr_reg_is_ready, rdev, val, val, in stm32_pwr_reg_enable() 96 ret = readx_poll_timeout(stm32_pwr_reg_is_ready, rdev, val, !val, in stm32_pwr_reg_disable()
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | sdio_mcu.c | 67 ret = readx_poll_timeout(mt76s_read_pcr, &dev->mt76, status, in __mt7663s_mcu_drv_pmctrl() 115 ret = readx_poll_timeout(mt76s_read_pcr, &dev->mt76, status, in mt7663s_mcu_fw_pmctrl()
|
/linux-6.1.9/drivers/soc/mediatek/ |
D | mtk-pmic-wrap.c | 1258 ret = readx_poll_timeout(pwrap_is_fsm_idle, wrp, tmp, tmp, in pwrap_read16() 1271 ret = readx_poll_timeout(pwrap_is_fsm_vldclr, wrp, tmp, tmp, in pwrap_read16() 1294 ret = readx_poll_timeout(pwrap_is_fsm_idle, wrp, tmp, tmp, in pwrap_read32() 1305 ret = readx_poll_timeout(pwrap_is_fsm_vldclr, wrp, tmp, tmp, in pwrap_read32() 1329 ret = readx_poll_timeout(pwrap_is_fsm_idle, wrp, tmp, tmp, in pwrap_write16() 1353 ret = readx_poll_timeout(pwrap_is_fsm_idle, wrp, tmp, tmp, in pwrap_write32() 1415 ret = readx_poll_timeout(pwrap_is_sync_idle, wrp, tmp, tmp, in pwrap_reset_spislave() 1474 ret = readx_poll_timeout(pwrap_is_fsm_idle_and_sync_idle, wrp, tmp, tmp, in pwrap_init_dual_io() 1635 ret = readx_poll_timeout(pwrap_is_cipher_ready, wrp, tmp, tmp, in pwrap_init_cipher() 1643 ret = readx_poll_timeout(pwrap_is_pmic_cipher_ready, wrp, tmp, tmp, in pwrap_init_cipher() [all …]
|
D | mtk-pm-domains.c | 226 ret = readx_poll_timeout(scpsys_domain_is_on, pd, tmp, tmp, MTK_POLL_DELAY_US, in scpsys_power_on() 285 ret = readx_poll_timeout(scpsys_domain_is_on, pd, tmp, !tmp, MTK_POLL_DELAY_US, in scpsys_power_off()
|
/linux-6.1.9/drivers/bluetooth/ |
D | btmtksdio.c | 322 err = readx_poll_timeout(btmtksdio_drv_own_query_79xx, bdev, in btmtksdio_fw_pmctrl() 336 err = readx_poll_timeout(btmtksdio_drv_own_query, bdev, status, in btmtksdio_fw_pmctrl() 360 err = readx_poll_timeout(btmtksdio_drv_own_query, bdev, status, in btmtksdio_drv_pmctrl() 365 err = readx_poll_timeout(btmtksdio_drv_own_query_79xx, bdev, in btmtksdio_drv_pmctrl() 803 err = readx_poll_timeout(btmtksdio_func_query, hdev, status, in mt76xx_setup() 1268 err = readx_poll_timeout(btmtksdio_chcr_query, bdev, status, in btmtksdio_cmd_timeout()
|
/linux-6.1.9/drivers/net/dsa/ |
D | mt7530.c | 320 ret = readx_poll_timeout(_mt7530_read, &p, val, in mt7530_fdb_cmd() 635 ret = readx_poll_timeout(_mt7530_unlocked_read, &p, val, in mt7531_ind_c45_phy_read() 646 ret = readx_poll_timeout(_mt7530_unlocked_read, &p, val, in mt7531_ind_c45_phy_read() 657 ret = readx_poll_timeout(_mt7530_unlocked_read, &p, val, in mt7531_ind_c45_phy_read() 684 ret = readx_poll_timeout(_mt7530_unlocked_read, &p, val, in mt7531_ind_c45_phy_write() 695 ret = readx_poll_timeout(_mt7530_unlocked_read, &p, val, in mt7531_ind_c45_phy_write() 706 ret = readx_poll_timeout(_mt7530_unlocked_read, &p, val, in mt7531_ind_c45_phy_write() 731 ret = readx_poll_timeout(_mt7530_unlocked_read, &p, val, in mt7531_ind_c22_phy_read() 743 ret = readx_poll_timeout(_mt7530_unlocked_read, &p, val, in mt7531_ind_c22_phy_read() 770 ret = readx_poll_timeout(_mt7530_unlocked_read, &p, reg, in mt7531_ind_c22_phy_write() [all …]
|
/linux-6.1.9/drivers/mfd/ |
D | ocelot-core.c | 77 return readx_poll_timeout(ocelot_gcb_chip_rst_status, ddata, val, !val, in ocelot_chip_reset()
|
/linux-6.1.9/drivers/platform/x86/amd/pmf/ |
D | core.c | 168 rc = readx_poll_timeout(ioread32, dev->regbase + AMD_PMF_REGISTER_RESPONSE, in amd_pmf_send_cmd() 186 rc = readx_poll_timeout(ioread32, dev->regbase + AMD_PMF_REGISTER_RESPONSE, in amd_pmf_send_cmd()
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/ |
D | sdio.c | 56 err = readx_poll_timeout(mt76s_read_whisr, dev, status, in mt76s_read_mailbox() 118 err = readx_poll_timeout(mt76s_read_whisr, dev, status, in mt76s_write_mailbox() 245 ret = readx_poll_timeout(mt76s_read_pcr, dev, status, in mt76s_hw_init()
|
/linux-6.1.9/drivers/dma/mediatek/ |
D | mtk-uart-apdma.c | 288 ret = readx_poll_timeout(readl, c->base + VFF_EN, in mtk_uart_apdma_alloc_chan_resources() 406 ret = readx_poll_timeout(readl, c->base + VFF_FLUSH, in mtk_uart_apdma_terminate_all() 419 ret = readx_poll_timeout(readl, c->base + VFF_EN, in mtk_uart_apdma_terminate_all()
|
/linux-6.1.9/drivers/iommu/ |
D | rockchip-iommu.c | 423 ret = readx_poll_timeout(rk_iommu_is_stall_active, iommu, val, in rk_iommu_enable_stall() 444 ret = readx_poll_timeout(rk_iommu_is_stall_active, iommu, val, in rk_iommu_disable_stall() 465 ret = readx_poll_timeout(rk_iommu_is_paging_enabled, iommu, val, in rk_iommu_enable_paging() 486 ret = readx_poll_timeout(rk_iommu_is_paging_enabled, iommu, val, in rk_iommu_disable_paging() 522 ret = readx_poll_timeout(rk_iommu_is_reset_done, iommu, val, in rk_iommu_force_reset()
|
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/ |
D | enetc_mdio.c | 54 return readx_poll_timeout(enetc_mdio_is_busy, mdio_priv, in enetc_mdio_wait_complete()
|
/linux-6.1.9/drivers/char/hw_random/ |
D | ba431-rng.c | 86 if (readx_poll_timeout(ba431_trng_is_in_error, ba431, ret, !ret, in ba431_trng_reset()
|
/linux-6.1.9/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet_mdio.c | 28 return readx_poll_timeout(axinet_ior_read_mcr, lp, in axienet_mdio_wait_until_ready()
|
/linux-6.1.9/drivers/gpu/drm/bridge/cadence/ |
D | cdns-mhdp8546-hdcp.c | 24 ret = readx_poll_timeout(readl, mhdp->sapb_regs + CDNS_MAILBOX_EMPTY, in cdns_mhdp_secure_mailbox_read() 40 ret = readx_poll_timeout(readl, mhdp->sapb_regs + CDNS_MAILBOX_FULL, in cdns_mhdp_secure_mailbox_write()
|
/linux-6.1.9/drivers/gpu/drm/rockchip/ |
D | cdn-dp-reg.c | 82 ret = readx_poll_timeout(readl, dp->regs + MAILBOX_EMPTY_ADDR, in cdn_dp_mailbox_read() 95 ret = readx_poll_timeout(readl, dp->regs + MAILBOX_FULL_ADDR, in cdp_dp_mailbox_write() 301 ret = readx_poll_timeout(readl, dp->regs + KEEP_ALIVE, in cdn_dp_load_firmware()
|
/linux-6.1.9/drivers/mmc/host/ |
D | litex_mmc.c | 107 ret = readx_poll_timeout(litex_read8, reg, evt, evt & SD_BIT_DONE, in litex_mmc_sdcard_wait_done() 182 ret = readx_poll_timeout(litex_read8, reg, evt, evt & SD_BIT_DONE, in litex_mmc_send_cmd()
|
/linux-6.1.9/drivers/net/dsa/ocelot/ |
D | felix_vsc9959.c | 865 err = readx_poll_timeout(vsc9959_gcb_soft_rst_status, ocelot, val, !val, in vsc9959_reset() 874 err = readx_poll_timeout(vsc9959_sys_ram_init_status, ocelot, val, !val, in vsc9959_reset() 1492 ret = readx_poll_timeout(vsc9959_tas_read_cfg_status, ocelot, val, in vsc9959_qos_port_tas_set() 1859 return readx_poll_timeout(vsc9959_sfi_access_status, ocelot, val, in vsc9959_psfp_sfi_set() 1883 return readx_poll_timeout(vsc9959_sfi_access_status, ocelot, val, in vsc9959_psfp_sfi_set() 1907 return readx_poll_timeout(vsc9959_sfi_access_status, ocelot, val, in vsc9959_psfp_sfidmask_set() 2122 return readx_poll_timeout(vsc9959_sgi_cfg_status, ocelot, val, in vsc9959_psfp_sgi_set()
|
/linux-6.1.9/drivers/media/i2c/ |
D | dw9807-vcm.c | 88 ret = readx_poll_timeout(dw9807_i2c_check, client, val, val <= 0, in dw9807_set_dac()
|
/linux-6.1.9/drivers/phy/rockchip/ |
D | phy-rockchip-typec.c | 775 ret = readx_poll_timeout(readl, tcphy->base + PMA_CMN_CTRL1, in tcphy_phy_init() 983 ret = readx_poll_timeout(readl, tcphy->base + DP_MODE_CTL, in rockchip_dp_phy_power_on() 995 ret = readx_poll_timeout(readl, tcphy->base + DP_MODE_CTL, in rockchip_dp_phy_power_on()
|
/linux-6.1.9/drivers/gpu/drm/panel/ |
D | panel-samsung-atna33xc20.c | 104 ret = readx_poll_timeout(gpiod_get_value_cansleep, p->hpd_gpio, in atana33xc20_resume()
|
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_vlan.c | 19 return readx_poll_timeout(lan966x_vlan_get_status, in lan966x_vlan_wait_for_completion()
|