---
name: "phy_init_eee"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/phy_init_eee"
---

# phy\_init\_eee(9)

init and check the EEE feature

## NAME

phy\_init\_eee - init and check the EEE feature

## SYNOPSIS

**int phy\_init\_eee(struct phy\_device \*** *phydev***, bool** *clk\_stop\_enable***);**

## ARGUMENTS

*phydev*

target phy\_device struct

*clk\_stop\_enable*

PHY may stop the clock during LPI

## DESCRIPTION

it checks if the Energy-Efficient Ethernet (EEE) is supported by looking at the MMD registers 3.20 and 7.60/61 and it programs the MMD register 3.0 setting the “Clock stop enable” bit if required.

## COPYRIGHT
