Searched refs:edpd (Results 1 – 2 of 2) sorted by relevance
540 static int smsc_phy_get_edpd(struct phy_device *phydev, u16 *edpd) in smsc_phy_get_edpd() argument548 *edpd = ETHTOOL_PHY_EDPD_DISABLE; in smsc_phy_get_edpd()550 *edpd = ETHTOOL_PHY_EDPD_NO_TX; in smsc_phy_get_edpd()552 *edpd = PHY_STATE_MACH_MS + priv->edpd_max_wait_ms; in smsc_phy_get_edpd()557 static int smsc_phy_set_edpd(struct phy_device *phydev, u16 edpd) in smsc_phy_set_edpd() argument564 switch (edpd) { in smsc_phy_set_edpd()573 edpd = PHY_STATE_MACH_MS + EDPD_MAX_WAIT_DFLT_MS; in smsc_phy_set_edpd()578 if (edpd < PHY_STATE_MACH_MS || edpd > PHY_STATE_MACH_MS + 1000) in smsc_phy_set_edpd()581 priv->edpd_max_wait_ms = edpd - PHY_STATE_MACH_MS; in smsc_phy_set_edpd()
426 static int mv3310_get_edpd(struct phy_device *phydev, u16 *edpd) in mv3310_get_edpd() argument436 *edpd = 1000; in mv3310_get_edpd()439 *edpd = ETHTOOL_PHY_EDPD_NO_TX; in mv3310_get_edpd()442 *edpd = ETHTOOL_PHY_EDPD_DISABLE; in mv3310_get_edpd()448 static int mv3310_set_edpd(struct phy_device *phydev, u16 edpd) in mv3310_set_edpd() argument453 switch (edpd) { in mv3310_set_edpd()