Home
last modified time | relevance | path

Searched refs:readl_poll_timeout (Results 1 – 25 of 84) sorted by relevance

1234

/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_mdio.c62 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()
Ddwmac5.c314 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/
Dmt6577_auxadc.c105 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/
Demac-phy.c67 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/
Dhidma_ll.c334 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/
Ddw-mipi-dsi.c338 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/
Dimx6-mipi-csi2.c231 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/
Dfalcon.c32 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/
Dmxsfb_crtc.c155 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/
Da6xx_gmu.h107 readl_poll_timeout((gmu)->mmio + ((addr) << 2), val, cond, \
/Linux-v4.19/drivers/phy/qualcomm/
Dphy-qcom-ufs-i.h27 #define readl_poll_timeout(addr, val, cond, sleep_us, timeout_us) \ macro
Dphy-qcom-ufs-qmp-14nm.c117 err = readl_poll_timeout(phy_common->mmio + UFS_PHY_PCS_READY_STATUS, in ufs_qcom_phy_qmp_14nm_is_pcs_ready()
Dphy-qcom-ufs-qmp-20nm.c175 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/
Ddw_mipi_dsi-stm.c199 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/
Dqcom_q6v5_wcss.c113 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/
Dsdhci-cadence.c115 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/
Dmdio-hisi-femac.c44 return readl_poll_timeout(data->membase + MDIO_RWCTRL, in hisi_femac_mdio_wait_ready()
Dmdio-mscc-miim.c46 readl_poll_timeout(miim->regs + MSCC_MIIM_REG_STATUS, val, in mscc_miim_wait_ready()
/Linux-v4.19/drivers/clk/microchip/
Dclk-core.c181 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/
Ddw-mipi-dsi.c501 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/
Dmtu3_plat.c30 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/
Diopoll.h114 #define readl_poll_timeout(addr, val, cond, delay_us, timeout_us) \ macro
/Linux-v4.19/drivers/regulator/
Dstm32-vrefbuf.c53 ret = readl_poll_timeout(priv->base + STM32_VREFBUF_CSR, val, in stm32_vrefbuf_enable()
/Linux-v4.19/drivers/nvmem/
Dsunxi_sid.c100 ret = readl_poll_timeout(sid->base + SUN8I_SID_PRCTL, reg_val, in sun8i_sid_register_readout()
/Linux-v4.19/drivers/char/hw_random/
Dexynos-trng.c66 val = readl_poll_timeout(trng->mem + EXYNOS_TRNG_FIFO_CTRL, val, in exynos_trng_do_read()

1234