/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_mdio.c | 62 if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, in stmmac_xgmac2_c22_format() 98 if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, in stmmac_xgmac2_mdio_read() 107 if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, in stmmac_xgmac2_mdio_read() 139 if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, in stmmac_xgmac2_mdio_write() 148 return readl_poll_timeout(priv->ioaddr + mii_data, tmp, in stmmac_xgmac2_mdio_write() 180 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_read() 186 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_read() 226 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_write() 235 return readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_write()
|
D | dwmac5.c | 314 ret = readl_poll_timeout(ioaddr + MTL_RXP_CONTROL_STATUS, val, in dwmac5_rxp_disable() 341 ret = readl_poll_timeout(ioaddr + MTL_RXP_IACC_CTRL_STATUS, in dwmac5_rxp_update_single_entry() 363 ret = readl_poll_timeout(ioaddr + MTL_RXP_IACC_CTRL_STATUS, in dwmac5_rxp_update_single_entry()
|
/Linux-v4.19/drivers/iio/adc/ |
D | mt6577_auxadc.c | 105 ret = readl_poll_timeout(reg_channel, val, in mt6577_auxadc_read() 124 ret = readl_poll_timeout(adc_dev->reg_base + MT6577_AUXADC_CON2, val, in mt6577_auxadc_read() 135 ret = readl_poll_timeout(reg_channel, val, in mt6577_auxadc_read()
|
/Linux-v4.19/drivers/net/ethernet/qualcomm/emac/ |
D | emac-phy.c | 67 if (readl_poll_timeout(adpt->base + EMAC_MDIO_CTRL, reg, in emac_mdio_read() 91 if (readl_poll_timeout(adpt->base + EMAC_MDIO_CTRL, reg, in emac_mdio_write()
|
/Linux-v4.19/drivers/dma/qcom/ |
D | hidma_ll.c | 334 ret = readl_poll_timeout(lldev->trca + HIDMA_TRCA_CTRLSTS_REG, val, in hidma_ll_reset() 351 ret = readl_poll_timeout(lldev->evca + HIDMA_EVCA_CTRLSTS_REG, val, in hidma_ll_reset() 476 ret = readl_poll_timeout(lldev->evca + HIDMA_EVCA_CTRLSTS_REG, val, in hidma_ll_enable() 489 ret = readl_poll_timeout(lldev->trca + HIDMA_TRCA_CTRLSTS_REG, val, in hidma_ll_enable() 577 ret = readl_poll_timeout(lldev->trca + HIDMA_TRCA_CTRLSTS_REG, val, in hidma_ll_disable() 592 ret = readl_poll_timeout(lldev->evca + HIDMA_EVCA_CTRLSTS_REG, val, in hidma_ll_disable()
|
/Linux-v4.19/drivers/gpu/drm/bridge/synopsys/ |
D | dw-mipi-dsi.c | 338 ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, in dw_mipi_dsi_gen_pkt_hdr_write() 349 ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, in dw_mipi_dsi_gen_pkt_hdr_write() 381 ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, in dw_mipi_dsi_write() 404 ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, in dw_mipi_dsi_read() 414 ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, in dw_mipi_dsi_read() 718 ret = readl_poll_timeout(dsi->base + DSI_PHY_STATUS, val, in dw_mipi_dsi_dphy_enable() 723 ret = readl_poll_timeout(dsi->base + DSI_PHY_STATUS, in dw_mipi_dsi_dphy_enable()
|
/Linux-v4.19/drivers/staging/media/imx/ |
D | imx6-mipi-csi2.c | 231 ret = readl_poll_timeout(csi2->base + CSI2_PHY_STATE, reg, in csi2_dphy_wait_ulp() 239 ret = readl_poll_timeout(csi2->base + CSI2_ERR1, reg, in csi2_dphy_wait_ulp() 258 ret = readl_poll_timeout(csi2->base + CSI2_PHY_STATE, reg, in csi2_dphy_wait_stopstate() 274 ret = readl_poll_timeout(csi2->base + CSI2_PHY_STATE, reg, in csi2_dphy_wait_clock_lane()
|
/Linux-v4.19/drivers/gpu/drm/tegra/ |
D | falcon.c | 32 return readl_poll_timeout(falcon->regs + FALCON_IDLESTATE, value, in falcon_wait_idle() 40 return readl_poll_timeout(falcon->regs + FALCON_DMATRFCMD, value, in falcon_dma_wait_idle()
|
/Linux-v4.19/drivers/gpu/drm/mxsfb/ |
D | mxsfb_crtc.c | 155 readl_poll_timeout(mxsfb->base + LCDC_CTRL, reg, !(reg & CTRL_RUN), in mxsfb_disable_controller() 179 return readl_poll_timeout(addr, reg, !(reg & mask), 0, RESET_TIMEOUT); in clear_poll_bit()
|
/Linux-v4.19/drivers/gpu/drm/msm/adreno/ |
D | a6xx_gmu.h | 107 readl_poll_timeout((gmu)->mmio + ((addr) << 2), val, cond, \
|
/Linux-v4.19/drivers/phy/qualcomm/ |
D | phy-qcom-ufs-i.h | 27 #define readl_poll_timeout(addr, val, cond, sleep_us, timeout_us) \ macro
|
D | phy-qcom-ufs-qmp-14nm.c | 117 err = readl_poll_timeout(phy_common->mmio + UFS_PHY_PCS_READY_STATUS, in ufs_qcom_phy_qmp_14nm_is_pcs_ready()
|
D | phy-qcom-ufs-qmp-20nm.c | 175 err = readl_poll_timeout(phy_common->mmio + UFS_PHY_PCS_READY_STATUS, in ufs_qcom_phy_qmp_20nm_is_pcs_ready()
|
/Linux-v4.19/drivers/gpu/drm/stm/ |
D | dw_mipi_dsi-stm.c | 199 ret = readl_poll_timeout(dsi->base + DSI_WISR, val, val & WISR_RRS, in dw_mipi_dsi_phy_init() 206 ret = readl_poll_timeout(dsi->base + DSI_WISR, val, val & WISR_PLLLS, in dw_mipi_dsi_phy_init()
|
/Linux-v4.19/drivers/remoteproc/ |
D | qcom_q6v5_wcss.c | 113 ret = readl_poll_timeout(wcss->reg_base + Q6SS_XO_CBCR, in q6v5_wcss_reset() 293 ret = readl_poll_timeout(wcss->rmb_base + SSCAON_STATUS, in q6v5_wcss_powerdown() 366 ret = readl_poll_timeout(wcss->reg_base + Q6SS_BHS_STATUS, in q6v5_q6_powerdown()
|
/Linux-v4.19/drivers/mmc/host/ |
D | sdhci-cadence.c | 115 ret = readl_poll_timeout(reg, tmp, tmp & SDHCI_CDNS_HRS04_ACK, 0, 10); in sdhci_cdns_write_phy_reg() 274 ret = readl_poll_timeout(reg, tmp, in sdhci_cdns_set_tune_val()
|
/Linux-v4.19/drivers/net/phy/ |
D | mdio-hisi-femac.c | 44 return readl_poll_timeout(data->membase + MDIO_RWCTRL, in hisi_femac_mdio_wait_ready()
|
D | mdio-mscc-miim.c | 46 readl_poll_timeout(miim->regs + MSCC_MIIM_REG_STATUS, val, in mscc_miim_wait_ready()
|
/Linux-v4.19/drivers/clk/microchip/ |
D | clk-core.c | 181 err = readl_poll_timeout(pb->ctrl_reg, v, v & PB_DIV_READY, in pbclk_set_rate() 203 err = readl_poll_timeout(pb->ctrl_reg, v, v & PB_DIV_READY, in pbclk_set_rate() 457 err = readl_poll_timeout(refo->ctrl_reg, v, !(v & REFO_ACTIVE), in roclk_set_parent() 497 err = readl_poll_timeout(refo->ctrl_reg, v, in roclk_set_rate_and_parent()
|
/Linux-v4.19/drivers/gpu/drm/rockchip/ |
D | dw-mipi-dsi.c | 501 ret = readl_poll_timeout(dsi->base + DSI_PHY_STATUS, in dw_mipi_dsi_phy_init() 508 ret = readl_poll_timeout(dsi->base + DSI_PHY_STATUS, in dw_mipi_dsi_phy_init() 634 ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, in dw_mipi_dsi_gen_pkt_hdr_write() 646 ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, in dw_mipi_dsi_gen_pkt_hdr_write() 709 ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, in dw_mipi_dsi_dcs_long_write()
|
/Linux-v4.19/drivers/usb/mtu3/ |
D | mtu3_plat.c | 30 ret = readl_poll_timeout(ibase + U3D_SSUSB_IP_PW_STS1, value, in ssusb_check_clocks() 37 ret = readl_poll_timeout(ibase + U3D_SSUSB_IP_PW_STS2, value, in ssusb_check_clocks()
|
/Linux-v4.19/include/linux/ |
D | iopoll.h | 114 #define readl_poll_timeout(addr, val, cond, delay_us, timeout_us) \ macro
|
/Linux-v4.19/drivers/regulator/ |
D | stm32-vrefbuf.c | 53 ret = readl_poll_timeout(priv->base + STM32_VREFBUF_CSR, val, in stm32_vrefbuf_enable()
|
/Linux-v4.19/drivers/nvmem/ |
D | sunxi_sid.c | 100 ret = readl_poll_timeout(sid->base + SUN8I_SID_PRCTL, reg_val, in sun8i_sid_register_readout()
|
/Linux-v4.19/drivers/char/hw_random/ |
D | exynos-trng.c | 66 val = readl_poll_timeout(trng->mem + EXYNOS_TRNG_FIFO_CTRL, val, in exynos_trng_do_read()
|