Home
last modified time | relevance | path

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

123456789

/linux-6.6.21/drivers/usb/cdns3/
Dcdns3-imx.c123 ret = readl_poll_timeout(data->noncore + USB3_SSPHY_STATUS, value, in cdns_imx_noncore_init()
276 ret = readl_poll_timeout(data->noncore + USB3_CORE_STATUS, value, in cdns_imx_platform_suspend()
284 ret = readl_poll_timeout(data->noncore + USB3_INT_REG, value, in cdns_imx_platform_suspend()
292 ret = readl_poll_timeout(data->noncore + USB3_SSPHY_STATUS, value, in cdns_imx_platform_suspend()
320 ret = readl_poll_timeout(data->noncore + USB3_INT_REG, value, in cdns_imx_platform_suspend()
328 ret = readl_poll_timeout(data->noncore + USB3_CORE_STATUS, value, in cdns_imx_platform_suspend()
336 ret = readl_poll_timeout(otg_regs + OTGSTS, value, in cdns_imx_platform_suspend()
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_mdio.c94 if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, in stmmac_xgmac2_mdio_read()
105 if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, in stmmac_xgmac2_mdio_read()
116 if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, in stmmac_xgmac2_mdio_read()
177 if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, in stmmac_xgmac2_mdio_write()
189 if (readl_poll_timeout(priv->ioaddr + mii_data, tmp, in stmmac_xgmac2_mdio_write()
200 ret = readl_poll_timeout(priv->ioaddr + mii_data, tmp, in stmmac_xgmac2_mdio_write()
250 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_read()
257 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_read()
352 if (readl_poll_timeout(priv->ioaddr + mii_address, v, !(v & MII_BUSY), in stmmac_mdio_write()
361 return readl_poll_timeout(priv->ioaddr + mii_address, v, in stmmac_mdio_write()
Ddwmac-tegra.c96 err = readl_poll_timeout(mgbe->xpcs + XPCS_WRAP_UPHY_HW_INIT_CTRL, value, in tegra_mgbe_resume()
138 err = readl_poll_timeout(mgbe->xpcs + XPCS_WRAP_UPHY_RX_CONTROL, value, in mgbe_uphy_lane_bringup_serdes_up()
162 err = readl_poll_timeout(mgbe->xpcs + XPCS_WRAP_IRQ_STATUS, value, in mgbe_uphy_lane_bringup_serdes_up()
319 err = readl_poll_timeout(mgbe->xpcs + XPCS_WRAP_UPHY_HW_INIT_CTRL, value, in tegra_mgbe_probe()
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()
590 return readl_poll_timeout(ioaddr + MTL_EST_GCL_CONTROL, in dwmac5_est_write()
/linux-6.6.21/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.6.21/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.6.21/drivers/spi/
Dspi-sn-f-ospi.c168 return readl_poll_timeout(ospi->base + OSPI_STAT, in f_ospi_prepare_config()
183 return readl_poll_timeout(ospi->base + OSPI_STAT, in f_ospi_unprepare_config()
396 return readl_poll_timeout(ospi->base + OSPI_IRQ, val, in f_ospi_indir_wait_xfer_complete()
419 ret = readl_poll_timeout(ospi->base + OSPI_IRQ, val, in f_ospi_indir_read()
446 ret = readl_poll_timeout(ospi->base + OSPI_SWRST, val, in f_ospi_indir_read()
476 ret = readl_poll_timeout(ospi->base + OSPI_IRQ, val, in f_ospi_indir_write()
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()
/linux-6.6.21/drivers/soundwire/
Damd_manager.c51 ret = readl_poll_timeout(amd_manager->mmio + ACP_SW_EN_STATUS, val, val, ACP_DELAY_US, in amd_init_sdw_manager()
58 ret = readl_poll_timeout(amd_manager->mmio + ACP_SW_BUS_RESET_CTRL, val, in amd_init_sdw_manager()
64 ret = readl_poll_timeout(amd_manager->mmio + ACP_SW_BUS_RESET_CTRL, val, !val, in amd_init_sdw_manager()
73 return readl_poll_timeout(amd_manager->mmio + ACP_SW_EN_STATUS, val, !val, ACP_DELAY_US, in amd_init_sdw_manager()
82 return readl_poll_timeout(amd_manager->mmio + ACP_SW_EN_STATUS, val, val, ACP_DELAY_US, in amd_enable_sdw_manager()
99 return readl_poll_timeout(amd_manager->mmio + ACP_SW_EN_STATUS, val, !val, ACP_DELAY_US, in amd_disable_sdw_manager()
185 ret = readl_poll_timeout(amd_manager->mmio + ACP_SW_IMM_CMD_STS, sts, in amd_sdw_send_cmd_get_resp()
200 ret = readl_poll_timeout(amd_manager->mmio + ACP_SW_IMM_CMD_STS, sts, in amd_sdw_send_cmd_get_resp()
211 ret = readl_poll_timeout(amd_manager->mmio + ACP_SW_IMM_CMD_STS, sts, in amd_sdw_send_cmd_get_resp()
1013 ret = readl_poll_timeout(amd_manager->mmio + ACP_SW_CLK_RESUME_CTRL, val, in amd_sdw_clock_stop()
[all …]
/linux-6.6.21/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.6.21/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.6.21/drivers/gpu/drm/msm/adreno/
Da6xx_gmu.h138 readl_poll_timeout((gmu)->mmio + ((addr) << 2), val, cond, \
152 readl_poll_timeout((gmu)->rscc + ((addr) << 2), val, cond, \
/linux-6.6.21/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.6.21/drivers/mfd/
Dintel-m10-bmc-pmci.c53 ret = readl_poll_timeout(ctx->base + INDIRECT_CMD_OFF, cmd, in indirect_clear_cmd()
75 ret = readl_poll_timeout(ctx->base + INDIRECT_CMD_OFF, ack, in indirect_reg_read()
108 ret = readl_poll_timeout(ctx->base + INDIRECT_CMD_OFF, ack, in indirect_reg_write()
202 ret = readl_poll_timeout((pmci->base + M10BMC_N6000_FLASH_CTRL), val, in pmci_flash_bulk_read()
/linux-6.6.21/drivers/pmdomain/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.6.21/drivers/pmdomain/sunxi/
Dsun20i-ppu.c67 ret = readl_poll_timeout(pd->base + PD_STATUS_REG, status, in sun20i_ppu_pd_set_power()
76 ret = readl_poll_timeout(pd->base + PD_STATUS_REG, status, in sun20i_ppu_pd_set_power()
/linux-6.6.21/drivers/clk/xilinx/
Dclk-xlnx-clock-wizard.c188 err = readl_poll_timeout(divider->base + WZRD_DR_STATUS_REG_OFFSET, in clk_wzrd_dynamic_reconfig()
201 err = readl_poll_timeout(divider->base + WZRD_DR_STATUS_REG_OFFSET, in clk_wzrd_dynamic_reconfig()
286 err = readl_poll_timeout(divider->base + WZRD_DR_STATUS_REG_OFFSET, value, in clk_wzrd_dynamic_all_nolock()
297 return readl_poll_timeout(divider->base + WZRD_DR_STATUS_REG_OFFSET, value, in clk_wzrd_dynamic_all_nolock()
414 err = readl_poll_timeout(divider->base + WZRD_DR_STATUS_REG_OFFSET, value, in clk_wzrd_dynamic_reconfig_f()
427 return readl_poll_timeout(divider->base + WZRD_DR_STATUS_REG_OFFSET, value, in clk_wzrd_dynamic_reconfig_f()
/linux-6.6.21/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.6.21/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.6.21/drivers/mmc/host/
Dsdhci-cadence.c116 ret = readl_poll_timeout(reg, tmp, !(tmp & SDHCI_CDNS_HRS04_ACK), in sdhci_cdns_write_phy_reg()
128 ret = readl_poll_timeout(reg, tmp, tmp & SDHCI_CDNS_HRS04_ACK, 0, 10); in sdhci_cdns_write_phy_reg()
135 ret = readl_poll_timeout(reg, tmp, !(tmp & SDHCI_CDNS_HRS04_ACK), in sdhci_cdns_write_phy_reg()
244 ret = readl_poll_timeout(reg, tmp, in sdhci_cdns_set_tune_val()
/linux-6.6.21/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c405 ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, in dw_mipi_dsi_gen_pkt_hdr_write()
416 ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, in dw_mipi_dsi_gen_pkt_hdr_write()
448 ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, in dw_mipi_dsi_write()
471 ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, in dw_mipi_dsi_read()
481 ret = readl_poll_timeout(dsi->base + DSI_CMD_PKT_STATUS, in dw_mipi_dsi_read()
830 ret = readl_poll_timeout(dsi->base + DSI_PHY_STATUS, val, in dw_mipi_dsi_dphy_enable()
835 ret = readl_poll_timeout(dsi->base + DSI_PHY_STATUS, in dw_mipi_dsi_dphy_enable()
/linux-6.6.21/sound/soc/amd/acp/
Dacp-legacy-common.c274 return readl_poll_timeout(base + acp_pgfsm_stat_reg, val, in acp_power_on()
284 ret = readl_poll_timeout(base + ACP_SOFT_RESET, val, val & ACP_SOFT_RST_DONE_MASK, in acp_reset()
290 return readl_poll_timeout(base + ACP_SOFT_RESET, val, !val, DELAY_US, ACP_TIMEOUT); in acp_reset()
/linux-6.6.21/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.6.21/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()

123456789