Searched refs:tbiphy (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/freescale/fman/ |
D | fman_dtsec.c | 345 struct phy_device *tbiphy; member 1193 tmp_reg16 = phy_read(dtsec->tbiphy, MII_BMCR); in dtsec_restart_autoneg() 1199 phy_write(dtsec->tbiphy, MII_BMCR, tmp_reg16); in dtsec_restart_autoneg() 1297 dtsec->tbiphy->mdio.addr); in dtsec_init() 1309 phy_write(dtsec->tbiphy, MII_TBICON, tmp_reg16); in dtsec_init() 1312 phy_write(dtsec->tbiphy, MII_TBICON, tmp_reg16); in dtsec_init() 1316 phy_write(dtsec->tbiphy, MII_BMCR, tmp_reg16); in dtsec_init() 1322 phy_write(dtsec->tbiphy, MII_ADVERTISE, tmp_reg16); in dtsec_init() 1327 phy_write(dtsec->tbiphy, MII_BMCR, tmp_reg16); in dtsec_init() 1433 dtsec->tbiphy = of_phy_find_device(params->internal_phy_node); in dtsec_config() [all …]
|
/drivers/net/ethernet/freescale/ |
D | ucc_geth.c | 1375 struct phy_device *tbiphy; in adjust_enet_interface() local 1380 tbiphy = of_phy_find_device(ug_info->tbi_node); in adjust_enet_interface() 1381 if (!tbiphy) in adjust_enet_interface() 1384 value = phy_read(tbiphy, ENET_TBI_MII_CR); in adjust_enet_interface() 1386 phy_write(tbiphy, ENET_TBI_MII_CR, value); in adjust_enet_interface() 1388 put_device(&tbiphy->mdio.dev); in adjust_enet_interface() 1687 struct phy_device *tbiphy; in uec_configure_serdes() local 1695 tbiphy = of_phy_find_device(ug_info->tbi_node); in uec_configure_serdes() 1696 if (!tbiphy) { in uec_configure_serdes() 1707 if (phy_read(tbiphy, ENET_TBI_MII_SR) & TBISR_LSTATUS) { in uec_configure_serdes() [all …]
|
D | gianfar.c | 1835 struct phy_device *tbiphy; in gfar_configure_serdes() local 1843 tbiphy = of_phy_find_device(priv->tbi_node); in gfar_configure_serdes() 1844 if (!tbiphy) { in gfar_configure_serdes() 1854 if (phy_read(tbiphy, MII_BMSR) & BMSR_LSTATUS) { in gfar_configure_serdes() 1855 put_device(&tbiphy->mdio.dev); in gfar_configure_serdes() 1860 phy_write(tbiphy, MII_TBICON, TBICON_CLK_SELECT); in gfar_configure_serdes() 1862 phy_write(tbiphy, MII_ADVERTISE, in gfar_configure_serdes() 1866 phy_write(tbiphy, MII_BMCR, in gfar_configure_serdes() 1870 put_device(&tbiphy->mdio.dev); in gfar_configure_serdes()
|