Lines Matching refs:reg_phy
4040 fep->reg_phy = devm_regulator_get_optional(&pdev->dev, "phy"); in fec_probe()
4041 if (!IS_ERR(fep->reg_phy)) { in fec_probe()
4042 ret = regulator_enable(fep->reg_phy); in fec_probe()
4049 if (PTR_ERR(fep->reg_phy) == -EPROBE_DEFER) { in fec_probe()
4053 fep->reg_phy = NULL; in fec_probe()
4132 if (fep->reg_phy) in fec_probe()
4133 regulator_disable(fep->reg_phy); in fec_probe()
4171 if (fep->reg_phy) in fec_drv_remove()
4172 regulator_disable(fep->reg_phy); in fec_drv_remove()
4228 if (fep->reg_phy && !(fep->wol_flag & FEC_WOL_FLAG_ENABLE)) in fec_suspend()
4229 regulator_disable(fep->reg_phy); in fec_suspend()
4234 if (fep->clk_enet_out || fep->reg_phy) in fec_suspend()
4247 if (fep->reg_phy && !(fep->wol_flag & FEC_WOL_FLAG_ENABLE)) { in fec_resume()
4248 ret = regulator_enable(fep->reg_phy); in fec_resume()
4290 if (fep->reg_phy) in fec_resume()
4291 regulator_disable(fep->reg_phy); in fec_resume()