Searched refs:tbiphy (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/freescale/ |
D | ucc_geth.c | 1352 struct phy_device *tbiphy; in adjust_enet_interface() local 1357 tbiphy = of_phy_find_device(ug_info->tbi_node); in adjust_enet_interface() 1358 if (!tbiphy) in adjust_enet_interface() 1361 value = phy_read(tbiphy, ENET_TBI_MII_CR); in adjust_enet_interface() 1363 phy_write(tbiphy, ENET_TBI_MII_CR, value); in adjust_enet_interface() 1365 put_device(&tbiphy->mdio.dev); in adjust_enet_interface() 1664 struct phy_device *tbiphy; in uec_configure_serdes() local 1672 tbiphy = of_phy_find_device(ug_info->tbi_node); in uec_configure_serdes() 1673 if (!tbiphy) { in uec_configure_serdes() 1684 if (phy_read(tbiphy, ENET_TBI_MII_SR) & TBISR_LSTATUS) { in uec_configure_serdes() [all …]
|
D | gianfar.c | 1605 struct phy_device *tbiphy; in gfar_configure_serdes() local 1613 tbiphy = of_phy_find_device(priv->tbi_node); in gfar_configure_serdes() 1614 if (!tbiphy) { in gfar_configure_serdes() 1624 if (phy_read(tbiphy, MII_BMSR) & BMSR_LSTATUS) { in gfar_configure_serdes() 1625 put_device(&tbiphy->mdio.dev); in gfar_configure_serdes() 1630 phy_write(tbiphy, MII_TBICON, TBICON_CLK_SELECT); in gfar_configure_serdes() 1632 phy_write(tbiphy, MII_ADVERTISE, in gfar_configure_serdes() 1636 phy_write(tbiphy, MII_BMCR, in gfar_configure_serdes() 1640 put_device(&tbiphy->mdio.dev); in gfar_configure_serdes()
|