Lines Matching refs:phy_mode
188 static inline int emac_phy_supports_gige(int phy_mode)
190 return phy_mode == PHY_MODE_GMII ||
191 phy_mode == PHY_MODE_RGMII ||
192 phy_mode == PHY_MODE_TBI ||
193 phy_mode == PHY_MODE_RTBI;
196 static inline int emac_phy_gpcs(int phy_mode)
198 return phy_mode == PHY_MODE_TBI ||
199 phy_mode == PHY_MODE_RTBI;
2071 dev->phy.mode = emacdata->phy_mode;
2168 if (emac_phy_supports_gige(emacdata->phy_mode)) {