Lines Matching refs:interface
3697 static int mvneta_comphy_init(struct mvneta_port *pp, phy_interface_t interface)
3701 ret = phy_set_mode_ext(pp->comphy, PHY_MODE_ETHERNET, interface);
3709 phy_interface_t interface)
3714 if (interface == PHY_INTERFACE_MODE_SGMII ||
3715 interface == PHY_INTERFACE_MODE_1000BASEX ||
3716 interface == PHY_INTERFACE_MODE_2500BASEX) {
3717 ret = mvneta_comphy_init(pp, interface);
3720 switch (interface) {
3741 pp->phy_interface = interface;
3874 /* The interface is running, so we have to force a
3972 if (phy_interface_mode_is_8023z(state->interface) &&
3989 state->interface == PHY_INTERFACE_MODE_2500BASEX ?
4007 phy_interface_t interface,
4026 if (interface == PHY_INTERFACE_MODE_SGMII) {
4081 phy_interface_t interface)
4090 phy_interface_t interface)
4096 if (pp->phy_interface != interface ||
4098 /* Force the link down when changing the interface or if in
4109 if (pp->phy_interface != interface)
4142 if (state->interface == PHY_INTERFACE_MODE_QSGMII ||
4143 state->interface == PHY_INTERFACE_MODE_SGMII ||
4144 phy_interface_mode_is_8023z(state->interface))
4151 } else if (state->interface == PHY_INTERFACE_MODE_SGMII) {
4162 if (state->interface == PHY_INTERFACE_MODE_2500BASEX)
4180 phy_interface_t interface)
4193 if (pp->phy_interface != interface)
4195 WARN_ON(mvneta_config_interface(pp, interface));
4222 unsigned int mode, phy_interface_t interface)
4243 unsigned int mode, phy_interface_t interface,