Home
last modified time | relevance | path

Searched refs:tbiphy (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/freescale/
H A Ducc_geth.c1352 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 …]
H A Dgianfar.c1607 struct phy_device *tbiphy; in gfar_configure_serdes() local
1615 tbiphy = of_phy_find_device(priv->tbi_node); in gfar_configure_serdes()
1616 if (!tbiphy) { in gfar_configure_serdes()
1626 if (phy_read(tbiphy, MII_BMSR) & BMSR_LSTATUS) { in gfar_configure_serdes()
1627 put_device(&tbiphy->mdio.dev); in gfar_configure_serdes()
1632 phy_write(tbiphy, MII_TBICON, TBICON_CLK_SELECT); in gfar_configure_serdes()
1634 phy_write(tbiphy, MII_ADVERTISE, in gfar_configure_serdes()
1638 phy_write(tbiphy, MII_BMCR, in gfar_configure_serdes()
1642 put_device(&tbiphy->mdio.dev); in gfar_configure_serdes()