/linux-6.6.21/drivers/usb/cdns3/ |
D | cdns3-imx.c | 123 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/ |
D | stmmac_mdio.c | 94 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()
|
D | dwmac-tegra.c | 96 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()
|
D | dwmac5.c | 338 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/ |
D | phy-mvebu-a3700-utmi.c | 128 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()
|
D | phy-mvebu-cp110-utmi.c | 238 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/ |
D | falcon.c | 29 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/ |
D | spi-sn-f-ospi.c | 168 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()
|
D | spi-rockchip-sfc.c | 194 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/ |
D | amd_manager.c | 51 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/ |
D | emac-phy.c | 59 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/ |
D | mt6577_auxadc.c | 127 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/ |
D | a6xx_gmu.h | 138 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/ |
D | hidma_ll.c | 326 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/ |
D | intel-m10-bmc-pmci.c | 53 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/ |
D | imx93-pd.c | 52 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/ |
D | sun20i-ppu.c | 67 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/ |
D | clk-xlnx-clock-wizard.c | 188 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/ |
D | registers.h | 163 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/ |
D | mdio-aspeed.c | 66 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/ |
D | sdhci-cadence.c | 116 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/ |
D | dw-mipi-dsi.c | 405 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/ |
D | acp-legacy-common.c | 274 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/ |
D | clk-frac-pll.c | 48 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/ |
D | phy-uniphier-ahci.c | 128 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()
|