Lines Matching defs:tbiphy
1394 struct phy_device *tbiphy;
1400 tbiphy = of_phy_find_device(ug_info->tbi_node);
1401 if (!tbiphy)
1404 value = phy_read(tbiphy, ENET_TBI_MII_CR);
1406 phy_write(tbiphy, ENET_TBI_MII_CR, value);
1706 struct phy_device *tbiphy;
1714 tbiphy = of_phy_find_device(ug_info->tbi_node);
1715 if (!tbiphy) {
1726 if (phy_read(tbiphy, ENET_TBI_MII_SR) & TBISR_LSTATUS)
1730 phy_write(tbiphy, ENET_TBI_MII_ANA, TBIANA_SETTINGS);
1732 phy_write(tbiphy, ENET_TBI_MII_TBICON, TBICON_CLK_SELECT);
1734 phy_write(tbiphy, ENET_TBI_MII_CR, TBICR_SETTINGS);