Lines Matching defs:interface
3696 static int mvneta_comphy_init(struct mvneta_port *pp, phy_interface_t interface)
3700 ret = phy_set_mode_ext(pp->comphy, PHY_MODE_ETHERNET, interface);
3708 phy_interface_t interface)
3713 if (interface == PHY_INTERFACE_MODE_SGMII ||
3714 interface == PHY_INTERFACE_MODE_1000BASEX ||
3715 interface == PHY_INTERFACE_MODE_2500BASEX) {
3716 ret = mvneta_comphy_init(pp, interface);
3719 switch (interface) {
3740 pp->phy_interface = interface;
3873 /* The interface is running, so we have to force a
3971 if (phy_interface_mode_is_8023z(state->interface) &&
3988 state->interface == PHY_INTERFACE_MODE_2500BASEX ?
4006 phy_interface_t interface,
4025 if (interface == PHY_INTERFACE_MODE_SGMII) {
4080 phy_interface_t interface)
4089 phy_interface_t interface)
4095 if (pp->phy_interface != interface ||
4097 /* Force the link down when changing the interface or if in
4108 if (pp->phy_interface != interface)
4141 if (state->interface == PHY_INTERFACE_MODE_QSGMII ||
4142 state->interface == PHY_INTERFACE_MODE_SGMII ||
4143 phy_interface_mode_is_8023z(state->interface))
4150 } else if (state->interface == PHY_INTERFACE_MODE_SGMII) {
4161 if (state->interface == PHY_INTERFACE_MODE_2500BASEX)
4179 phy_interface_t interface)
4192 if (pp->phy_interface != interface)
4194 WARN_ON(mvneta_config_interface(pp, interface));
4221 unsigned int mode, phy_interface_t interface)
4242 unsigned int mode, phy_interface_t interface,