Lines Matching refs:ret
223 u32 i, ret; in axiemac_phy_init() local
241 ret = phyread(priv, i, PHY_DETECT_REG, &phyreg); in axiemac_phy_init()
242 if (!ret && (phyreg != 0xFFFF) && in axiemac_phy_init()
268 u32 speed, emmc_reg, ret; in setup_phy() local
279 ret = phyread(priv, priv->phyaddr, MII_BMCR, &temp); in setup_phy()
280 if (ret) in setup_phy()
284 ret = phywrite(priv, priv->phyaddr, MII_BMCR, temp); in setup_phy()
285 if (ret) in setup_phy()
632 int ret; in axiemac_miiphy_read() local
635 ret = phyread(bus->priv, addr, reg, &value); in axiemac_miiphy_read()
637 value, ret); in axiemac_miiphy_read()
651 int ret; in axi_emac_probe() local
658 ret = mdio_register_seq(priv->bus, dev->seq); in axi_emac_probe()
659 if (ret) in axi_emac_probe()
660 return ret; in axi_emac_probe()