Lines Matching refs:reg_phy
3443 fep->reg_phy = devm_regulator_get(&pdev->dev, "phy"); in fec_probe()
3444 if (!IS_ERR(fep->reg_phy)) { in fec_probe()
3445 ret = regulator_enable(fep->reg_phy); in fec_probe()
3452 fep->reg_phy = NULL; in fec_probe()
3520 if (fep->reg_phy) in fec_probe()
3521 regulator_disable(fep->reg_phy); in fec_probe()
3545 if (fep->reg_phy) in fec_drv_remove()
3546 regulator_disable(fep->reg_phy); in fec_drv_remove()
3574 if (fep->reg_phy && !(fep->wol_flag & FEC_WOL_FLAG_ENABLE)) in fec_suspend()
3575 regulator_disable(fep->reg_phy); in fec_suspend()
3580 if (fep->clk_enet_out || fep->reg_phy) in fec_suspend()
3594 if (fep->reg_phy && !(fep->wol_flag & FEC_WOL_FLAG_ENABLE)) { in fec_resume()
3595 ret = regulator_enable(fep->reg_phy); in fec_resume()
3629 if (fep->reg_phy) in fec_resume()
3630 regulator_disable(fep->reg_phy); in fec_resume()