Lines Matching refs:phy_interface
201 switch (priv->phy_interface) { in bcmgenet_mii_config()
266 dev_err(kdev, "unknown phy mode: %d\n", priv->phy_interface); in bcmgenet_mii_config()
273 (priv->phy_interface != PHY_INTERFACE_MODE_MOCA); in bcmgenet_mii_config()
304 phy_interface_t phy_iface = priv->phy_interface; in bcmgenet_mii_probe()
337 switch (priv->phy_interface) { in bcmgenet_mii_probe()
439 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) { in bcmgenet_mii_pdata_init()
537 priv->phy_interface = phy_mode; in bcmgenet_phy_interface_init()
544 if (priv->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcmgenet_phy_interface_init()
576 if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) { in bcmgenet_mii_of_init()
598 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) { in bcmgenet_mii_pd_init()
605 phydev = phy_attach(priv->dev, phy_name, pd->phy_interface); in bcmgenet_mii_pd_init()
634 priv->phy_interface = pd->phy_interface; in bcmgenet_mii_pd_init()