/openbmc/linux/drivers/usb/cdns3/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A 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()
|
H A D | dwmac-tegra.c | 98 err = readl_poll_timeout(mgbe->xpcs + XPCS_WRAP_UPHY_HW_INIT_CTRL, value, in tegra_mgbe_resume() 142 err = readl_poll_timeout(mgbe->xpcs + XPCS_WRAP_UPHY_RX_CONTROL, value, in mgbe_uphy_lane_bringup_serdes_up() 174 err = readl_poll_timeout(mgbe->xpcs + XPCS_WRAP_IRQ_STATUS, value, in mgbe_uphy_lane_bringup_serdes_up() 337 err = readl_poll_timeout(mgbe->xpcs + XPCS_WRAP_UPHY_HW_INIT_CTRL, value, in tegra_mgbe_probe()
|
/openbmc/linux/drivers/phy/marvell/ |
H A 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()
|
H A 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()
|
/openbmc/u-boot/drivers/power/domain/ |
H A D | mtk-power-domain.c | 174 return readl_poll_timeout(infracfg + INFRA_TOPAXI_PROT_STA1, val, in mtk_infracfg_set_bus_protection() 185 return readl_poll_timeout(infracfg + INFRA_TOPAXI_PROT_STA1, val, in mtk_infracfg_clear_bus_protection() 244 ret = readl_poll_timeout(ctl_addr, tmp, !(tmp & pdn_ack), 100); in scpsys_power_on() 278 ret = readl_poll_timeout(ctl_addr, tmp, (tmp & pdn_ack) == pdn_ack, in scpsys_power_off()
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A 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()
|
/openbmc/u-boot/drivers/adc/ |
H A D | stm32-adc.c | 95 ret = readl_poll_timeout(adc->regs + STM32H7_ADC_ISR, val, in stm32_adc_start_channel() 110 ret = readl_poll_timeout(adc->regs + STM32H7_ADC_ISR, val, in stm32_adc_start_channel() 149 ret = readl_poll_timeout(adc->regs + STM32H7_ADC_ISR, val, in stm32_adc_channel_data()
|
/openbmc/u-boot/drivers/i2c/ |
H A D | ast2600_i2c.c | 133 ret = readl_poll_timeout(&priv->regs->isr, isr, in ast2600_i2c_read_data() 161 ret = readl_poll_timeout(&priv->regs->isr, isr, in ast2600_i2c_write_data() 184 ret = readl_poll_timeout(&priv->regs->isr, isr, in ast2600_i2c_write_data() 219 ret = readl_poll_timeout(&priv->regs->isr, isr, in ast2600_i2c_deblock()
|
/openbmc/linux/drivers/soundwire/ |
H A 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() 198 ret = readl_poll_timeout(amd_manager->mmio + ACP_SW_IMM_CMD_STS, sts, in amd_sdw_send_cmd_get_resp() 213 ret = readl_poll_timeout(amd_manager->mmio + ACP_SW_IMM_CMD_STS, sts, in amd_sdw_send_cmd_get_resp() 224 ret = readl_poll_timeout(amd_manager->mmio + ACP_SW_IMM_CMD_STS, sts, in amd_sdw_send_cmd_get_resp() 1026 ret = readl_poll_timeout(amd_manager->mmio + ACP_SW_CLK_RESUME_CTRL, val, in amd_sdw_clock_stop() [all …]
|
/openbmc/linux/drivers/spi/ |
H A 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()
|
/openbmc/linux/drivers/iio/adc/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/qualcomm/emac/ |
H A 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()
|
/openbmc/linux/drivers/gpu/drm/msm/adreno/ |
H A D | a6xx_gmu.h | 138 readl_poll_timeout((gmu)->mmio + ((addr) << 2), val, cond, \ 152 readl_poll_timeout((gmu)->rscc + ((addr) << 2), val, cond, \
|
/openbmc/linux/drivers/dma/qcom/ |
H A 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()
|
/openbmc/linux/drivers/mfd/ |
H A 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()
|
/openbmc/u-boot/arch/arm/mach-stm32mp/ |
H A D | bsec.c | 144 return readl_poll_timeout(base + BSEC_OTP_STATUS_OFF, in bsec_power_safmem() 177 ret = readl_poll_timeout(base + BSEC_OTP_STATUS_OFF, in bsec_shadow_register() 257 ret = readl_poll_timeout(base + BSEC_OTP_STATUS_OFF, in bsec_program_otp()
|
/openbmc/linux/drivers/clk/xilinx/ |
H A 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()
|
/openbmc/linux/drivers/pmdomain/sunxi/ |
H A 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()
|
/openbmc/linux/drivers/pmdomain/imx/ |
H A D | imx93-pd.c | 53 ret = readl_poll_timeout(addr + MIX_FUNC_STAT_OFF, val, in imx93_pd_on() 75 ret = readl_poll_timeout(addr + MIX_FUNC_STAT_OFF, val, in imx93_pd_off()
|
/openbmc/linux/drivers/mmc/host/ |
H A 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()
|
/openbmc/linux/sound/soc/intel/catpt/ |
H A D | registers.h | 163 readl_poll_timeout(catpt_shim_addr(cdev) + CATPT_SHIM_##reg, \ 175 readl_poll_timeout((cdev)->pci_ba + CATPT_PCI_##reg, \
|
/openbmc/linux/drivers/net/mdio/ |
H A 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()
|
/openbmc/u-boot/drivers/misc/imx8/ |
H A D | scu.c | 59 ret = readl_poll_timeout(&base->sr, val, val & mask, 10000); in mu_hal_sendmsg() 79 ret = readl_poll_timeout(&base->sr, val, val & mask, 10000); in mu_hal_receivemsg()
|
/openbmc/linux/drivers/gpu/drm/bridge/synopsys/ |
H A 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()
|