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()
4575 /* comphy reconfiguration */ in mvpp22_mode_reconfigure()
4643 phy_power_off(port->comphy); in mvpp2_stop_dev()
6522 phy_power_off(port->comphy); in mvpp2_mac_prepare()
6806 struct phy *comphy = NULL; in mvpp2_port_probe() local
6852 comphy = devm_of_phy_get(&pdev->dev, port_node, NULL); in mvpp2_port_probe()
6853 if (IS_ERR(comphy)) { in mvpp2_port_probe()
6854 if (PTR_ERR(comphy) == -EPROBE_DEFER) { in mvpp2_port_probe()
6858 comphy = NULL; in mvpp2_port_probe()
6909 port->comphy = comphy; in mvpp2_port_probe()
7051 /* If a COMPHY is present, we can support any of in mvpp2_port_probe()
7054 if (comphy) { in mvpp2_port_probe()
7072 if (comphy) in mvpp2_port_probe()
7089 if (comphy) { in mvpp2_port_probe()
7090 /* If a COMPHY is present, we can support any of the in mvpp2_port_probe()
7100 /* No COMPHY, with only 2500BASE-X mode supported */ in mvpp2_port_probe()
7105 /* No COMPHY, we can switch between 1000BASE-X and SGMII in mvpp2_port_probe()
7127 /* Cycle the comphy to power it down, saving 270mW per port - in mvpp2_port_probe()
7128 * don't worry about an error powering it up. When the comphy in mvpp2_port_probe()
7131 if (port->comphy) { in mvpp2_port_probe()
7134 phy_power_off(port->comphy); in mvpp2_port_probe()