Home
last modified time | relevance | path

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

123456789

/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_mdio.c96 if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, in stmmac_xgmac2_mdio_read()
121 if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, in stmmac_xgmac2_mdio_read()
132 if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, in stmmac_xgmac2_mdio_read()
162 if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, in stmmac_xgmac2_mdio_write()
188 if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, in stmmac_xgmac2_mdio_write()
199 ret = readl_poll_timeout(priv->ioaddr + mii_data, tmp, in stmmac_xgmac2_mdio_write()
251 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_read()
260 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_read()
321 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_write()
332 ret = readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_write()
Ddwmac5.c338 return readl_poll_timeout(ioaddr + MTL_RXP_CONTROL_STATUS, val, in dwmac5_rxp_disable()
362 ret = readl_poll_timeout(ioaddr + MTL_RXP_IACC_CTRL_STATUS, in dwmac5_rxp_update_single_entry()
384 ret = readl_poll_timeout(ioaddr + MTL_RXP_IACC_CTRL_STATUS, in dwmac5_rxp_update_single_entry()
589 return readl_poll_timeout(ioaddr + MTL_EST_GCL_CONTROL, in dwmac5_est_write()
/linux-6.1.9/drivers/usb/cdns3/
Dcdns3-imx.c123 ret = readl_poll_timeout(data->noncore + USB3_SSPHY_STATUS, value, in cdns_imx_noncore_init()
278 ret = readl_poll_timeout(data->noncore + USB3_CORE_STATUS, value, in cdns_imx_platform_suspend()
286 ret = readl_poll_timeout(data->noncore + USB3_INT_REG, value, in cdns_imx_platform_suspend()
294 ret = readl_poll_timeout(data->noncore + USB3_SSPHY_STATUS, value, in cdns_imx_platform_suspend()
322 ret = readl_poll_timeout(data->noncore + USB3_INT_REG, value, in cdns_imx_platform_suspend()
330 ret = readl_poll_timeout(data->noncore + USB3_CORE_STATUS, value, in cdns_imx_platform_suspend()
338 ret = readl_poll_timeout(otg_regs + OTGSTS, value, in cdns_imx_platform_suspend()
/linux-6.1.9/drivers/phy/marvell/
Dphy-mvebu-a3700-utmi.c128 ret = readl_poll_timeout(utmi->regs + USB2_PHY_CAL_CTRL, reg, in mvebu_a3700_utmi_phy_power_on()
137 ret = readl_poll_timeout(utmi->regs + USB2_PHY_CAL_CTRL, reg, in mvebu_a3700_utmi_phy_power_on()
146 ret = readl_poll_timeout(utmi->regs + USB2_RX_CHAN_CTRL1, reg, in mvebu_a3700_utmi_phy_power_on()
155 ret = readl_poll_timeout(utmi->regs + USB2_PHY_PLL_CTRL_REG0, reg, in mvebu_a3700_utmi_phy_power_on()
Dphy-mvebu-cp110-utmi.c238 ret = readl_poll_timeout(PORT_REGS(port) + UTMI_CAL_CTRL_REG, reg, in mvebu_cp110_utmi_phy_power_on()
247 ret = readl_poll_timeout(PORT_REGS(port) + UTMI_CAL_CTRL_REG, reg, in mvebu_cp110_utmi_phy_power_on()
256 ret = readl_poll_timeout(PORT_REGS(port) + UTMI_PLL_CTRL_REG, reg, in mvebu_cp110_utmi_phy_power_on()
/linux-6.1.9/sound/soc/amd/acp/
Dacp-renoir.c169 return readl_poll_timeout(base + ACP_PGFSM_STATUS, val, !val, DELAY_US, ACP_TIMEOUT); in acp3x_power_on()
178 return readl_poll_timeout(base + ACP_PGFSM_STATUS, val, in acp3x_power_off()
190 ret = readl_poll_timeout(base + ACP_SOFT_RESET, val, val & ACP_SOFT_RST_DONE_MASK, in acp3x_reset()
197 return readl_poll_timeout(base + ACP_SOFT_RESET, val, !val, DELAY_US, ACP_TIMEOUT); in acp3x_reset()
/linux-6.1.9/drivers/gpu/drm/tegra/
Dfalcon.c29 return readl_poll_timeout(falcon->regs + FALCON_IDLESTATE, value, in falcon_wait_idle()
37 return readl_poll_timeout(falcon->regs + FALCON_DMATRFCMD, value, in falcon_dma_wait_idle()
169 err = readl_poll_timeout(falcon->regs + FALCON_DMACTL, value, in falcon_boot()
/linux-6.1.9/drivers/mmc/host/
Dsdhci-cadence.c100 ret = readl_poll_timeout(reg, tmp, !(tmp & SDHCI_CDNS_HRS04_ACK), in sdhci_cdns_write_phy_reg()
112 ret = readl_poll_timeout(reg, tmp, tmp & SDHCI_CDNS_HRS04_ACK, 0, 10); in sdhci_cdns_write_phy_reg()
119 ret = readl_poll_timeout(reg, tmp, !(tmp & SDHCI_CDNS_HRS04_ACK), in sdhci_cdns_write_phy_reg()
228 ret = readl_poll_timeout(reg, tmp, in sdhci_cdns_set_tune_val()
/linux-6.1.9/drivers/net/ethernet/qualcomm/emac/
Demac-phy.c59 if (readl_poll_timeout(adpt->base + EMAC_MDIO_CTRL, reg, in emac_mdio_read()
83 if (readl_poll_timeout(adpt->base + EMAC_MDIO_CTRL, reg, in emac_mdio_write()
/linux-6.1.9/drivers/gpu/drm/msm/adreno/
Da6xx_gmu.h131 readl_poll_timeout((gmu)->mmio + ((addr) << 2), val, cond, \
145 readl_poll_timeout((gmu)->rscc + ((addr) << 2), val, cond, \
/linux-6.1.9/drivers/iio/adc/
Dmt6577_auxadc.c127 ret = readl_poll_timeout(reg_channel, val, in mt6577_auxadc_read()
147 ret = readl_poll_timeout(adc_dev->reg_base + MT6577_AUXADC_CON2, in mt6577_auxadc_read()
159 ret = readl_poll_timeout(reg_channel, val, in mt6577_auxadc_read()
/linux-6.1.9/drivers/dma/qcom/
Dhidma_ll.c326 ret = readl_poll_timeout(lldev->trca + HIDMA_TRCA_CTRLSTS_REG, val, in hidma_ll_reset()
343 ret = readl_poll_timeout(lldev->evca + HIDMA_EVCA_CTRLSTS_REG, val, in hidma_ll_reset()
468 ret = readl_poll_timeout(lldev->evca + HIDMA_EVCA_CTRLSTS_REG, val, in hidma_ll_enable()
481 ret = readl_poll_timeout(lldev->trca + HIDMA_TRCA_CTRLSTS_REG, val, in hidma_ll_enable()
569 ret = readl_poll_timeout(lldev->trca + HIDMA_TRCA_CTRLSTS_REG, val, in hidma_ll_disable()
584 ret = readl_poll_timeout(lldev->evca + HIDMA_EVCA_CTRLSTS_REG, val, in hidma_ll_disable()
/linux-6.1.9/drivers/soc/imx/
Dimx93-pd.c52 ret = readl_poll_timeout(addr + MIX_FUNC_STAT_OFF, val, in imx93_pd_on()
74 ret = readl_poll_timeout(addr + MIX_FUNC_STAT_OFF, val, in imx93_pd_off()
/linux-6.1.9/sound/soc/intel/catpt/
Dregisters.h163 readl_poll_timeout(catpt_shim_addr(cdev) + CATPT_SHIM_##reg, \
175 readl_poll_timeout((cdev)->pci_ba + CATPT_PCI_##reg, \
/linux-6.1.9/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c403 ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, in dw_mipi_dsi_gen_pkt_hdr_write()
414 ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, in dw_mipi_dsi_gen_pkt_hdr_write()
446 ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, in dw_mipi_dsi_write()
469 ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, in dw_mipi_dsi_read()
479 ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, in dw_mipi_dsi_read()
828 ret = readl_poll_timeout(dsi->base + DSI_PHY_STATUS, val, in dw_mipi_dsi_dphy_enable()
833 ret = readl_poll_timeout(dsi->base + DSI_PHY_STATUS, in dw_mipi_dsi_dphy_enable()
/linux-6.1.9/drivers/net/mdio/
Dmdio-aspeed.c66 return readl_poll_timeout(ctx->base + ASPEED_MDIO_CTRL, ctrl, in aspeed_mdio_op()
78 rc = readl_poll_timeout(ctx->base + ASPEED_MDIO_DATA, data, in aspeed_mdio_get_data()
/linux-6.1.9/drivers/clk/imx/
Dclk-frac-pll.c48 return readl_poll_timeout(pll->base, val, val & PLL_LOCK_STATUS, 0, in clk_wait_lock()
61 return readl_poll_timeout(pll->base, val, val & PLL_NEWDIV_ACK, 0, in clk_wait_ack()
/linux-6.1.9/drivers/clk/xilinx/
Dclk-xlnx-clock-wizard.c163 err = readl_poll_timeout(divider->base + WZRD_DR_STATUS_REG_OFFSET, in clk_wzrd_dynamic_reconfig()
176 err = readl_poll_timeout(divider->base + WZRD_DR_STATUS_REG_OFFSET, in clk_wzrd_dynamic_reconfig()
246 err = readl_poll_timeout(divider->base + WZRD_DR_STATUS_REG_OFFSET, value, in clk_wzrd_dynamic_reconfig_f()
259 return readl_poll_timeout(divider->base + WZRD_DR_STATUS_REG_OFFSET, value, in clk_wzrd_dynamic_reconfig_f()
/linux-6.1.9/drivers/spi/
Dspi-rockchip-sfc.c194 err = readl_poll_timeout(sfc->regbase + SFC_RCVR, status, in rockchip_sfc_reset()
254 ret = readl_poll_timeout(sfc->regbase + SFC_FSR, status, in rockchip_sfc_wait_txfifo_ready()
271 ret = readl_poll_timeout(sfc->regbase + SFC_FSR, status, in rockchip_sfc_wait_rxfifo_ready()
475 ret = readl_poll_timeout(sfc->regbase + SFC_SR, status, in rockchip_sfc_xfer_done()
Dspi-mxic.c359 ret = readl_poll_timeout(mxic->regs + INT_STS, sts, in mxic_spi_data_xfer()
366 ret = readl_poll_timeout(mxic->regs + INT_STS, sts, in mxic_spi_data_xfer()
371 ret = readl_poll_timeout(mxic->regs + INT_STS, sts, in mxic_spi_data_xfer()
425 ret = readl_poll_timeout(mxic->regs + INT_STS, sts, in mxic_spi_mem_dirmap_read()
469 ret = readl_poll_timeout(mxic->regs + INT_STS, sts, in mxic_spi_mem_dirmap_write()
/linux-6.1.9/drivers/staging/media/imx/
Dimx6-mipi-csi2.c235 ret = readl_poll_timeout(csi2->base + CSI2_PHY_STATE, reg, in csi2_dphy_wait_ulp()
243 ret = readl_poll_timeout(csi2->base + CSI2_ERR1, reg, in csi2_dphy_wait_ulp()
261 ret = readl_poll_timeout(csi2->base + CSI2_PHY_STATE, reg, in csi2_dphy_wait_stopstate()
275 ret = readl_poll_timeout(csi2->base + CSI2_PHY_STATE, reg, in csi2_dphy_wait_clock_lane()
/linux-6.1.9/drivers/phy/socionext/
Dphy-uniphier-ahci.c128 ret = readl_poll_timeout(priv->base + RSTPWR, val, in uniphier_ahciphy_pro4_power_on()
225 ret = readl_poll_timeout(priv->base + CKCTRL, val, in uniphier_ahciphy_pxs2_power_on()
228 ret = readl_poll_timeout(priv->base + CKCTRL, val, in uniphier_ahciphy_pxs2_power_on()
/linux-6.1.9/drivers/gpu/drm/lima/
Dlima_l2_cache.c20 err = readl_poll_timeout(ip->iomem + LIMA_L2_CACHE_STATUS, v, in lima_l2_cache_wait_idle()
/linux-6.1.9/drivers/hid/amd-sfh-hid/sfh1_1/
Damd_sfh_interface.c20 if (!readl_poll_timeout(mp2->mmio + AMD_P2C_MSG(0), cmd_resp.resp, in amd_sfh_wait_response()
/linux-6.1.9/drivers/phy/samsung/
Dphy-samsung-ufs.c56 err = readl_poll_timeout( in samsung_ufs_phy_wait_for_lock_acq()
65 err = readl_poll_timeout( in samsung_ufs_phy_wait_for_lock_acq()

123456789