Lines Matching refs:reg_phy
3438 fep->reg_phy = devm_regulator_get(&pdev->dev, "phy"); in fec_probe()
3439 if (!IS_ERR(fep->reg_phy)) { in fec_probe()
3440 ret = regulator_enable(fep->reg_phy); in fec_probe()
3447 fep->reg_phy = NULL; in fec_probe()
3515 if (fep->reg_phy) in fec_probe()
3516 regulator_disable(fep->reg_phy); in fec_probe()
3540 if (fep->reg_phy) in fec_drv_remove()
3541 regulator_disable(fep->reg_phy); in fec_drv_remove()
3571 if (fep->reg_phy && !(fep->wol_flag & FEC_WOL_FLAG_ENABLE)) in fec_suspend()
3572 regulator_disable(fep->reg_phy); in fec_suspend()
3577 if (fep->clk_enet_out || fep->reg_phy) in fec_suspend()
3591 if (fep->reg_phy && !(fep->wol_flag & FEC_WOL_FLAG_ENABLE)) { in fec_resume()
3592 ret = regulator_enable(fep->reg_phy); in fec_resume()
3626 if (fep->reg_phy) in fec_resume()
3627 regulator_disable(fep->reg_phy); in fec_resume()