Lines Matching full:comphy

1775 /* Sets the PHY mode of the COMPHY (which configures the serdes lanes).
1778 * the one given to the COMPHY comes from the generic PHY subsystem. Hence they
1781 * The COMPHY configures the serdes lanes regardless of the actual use of the
1783 * "PPv2 (2500BaseX) - COMPHY (2500SGMII)" are valid.
1790 if (!port->comphy) in mvpp22_comphy_init()
1793 ret = phy_set_mode_ext(port->comphy, PHY_MODE_ETHERNET, interface); in mvpp22_comphy_init()
1797 return phy_power_on(port->comphy); in mvpp22_comphy_init()
4579 /* comphy reconfiguration */ in mvpp22_mode_reconfigure()
4647 phy_power_off(port->comphy); in mvpp2_stop_dev()
6533 phy_power_off(port->comphy); in mvpp2_mac_prepare()
6817 struct phy *comphy = NULL; in mvpp2_port_probe() local
6863 comphy = devm_of_phy_get(&pdev->dev, port_node, NULL); in mvpp2_port_probe()
6864 if (IS_ERR(comphy)) { in mvpp2_port_probe()
6865 if (PTR_ERR(comphy) == -EPROBE_DEFER) { in mvpp2_port_probe()
6869 comphy = NULL; in mvpp2_port_probe()
6920 port->comphy = comphy; in mvpp2_port_probe()
7059 /* If a COMPHY is present, we can support any of in mvpp2_port_probe()
7062 if (comphy) { in mvpp2_port_probe()
7080 if (comphy) in mvpp2_port_probe()
7097 if (comphy) { in mvpp2_port_probe()
7098 /* If a COMPHY is present, we can support any of the in mvpp2_port_probe()
7108 /* No COMPHY, with only 2500BASE-X mode supported */ in mvpp2_port_probe()
7113 /* No COMPHY, we can switch between 1000BASE-X and SGMII in mvpp2_port_probe()
7135 /* Cycle the comphy to power it down, saving 270mW per port - in mvpp2_port_probe()
7136 * don't worry about an error powering it up. When the comphy in mvpp2_port_probe()
7139 if (port->comphy) { in mvpp2_port_probe()
7142 phy_power_off(port->comphy); in mvpp2_port_probe()