Searched refs:tbiphy (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/freescale/fman/ |
D | fman_dtsec.c | 347 struct phy_device *tbiphy; member 1313 tmp_reg16 = phy_read(dtsec->tbiphy, MII_BMCR); in dtsec_restart_autoneg() 1319 phy_write(dtsec->tbiphy, MII_BMCR, tmp_reg16); in dtsec_restart_autoneg() 1417 dtsec->tbiphy->mdio.addr); in dtsec_init() 1429 phy_write(dtsec->tbiphy, MII_TBICON, tmp_reg16); in dtsec_init() 1432 phy_write(dtsec->tbiphy, MII_TBICON, tmp_reg16); in dtsec_init() 1436 phy_write(dtsec->tbiphy, MII_BMCR, tmp_reg16); in dtsec_init() 1442 phy_write(dtsec->tbiphy, MII_ADVERTISE, tmp_reg16); in dtsec_init() 1447 phy_write(dtsec->tbiphy, MII_BMCR, tmp_reg16); in dtsec_init() 1553 dtsec->tbiphy = of_phy_find_device(params->internal_phy_node); in dtsec_config() [all …]
|
/Linux-v4.19/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 | 1838 struct phy_device *tbiphy; in gfar_configure_serdes() local 1846 tbiphy = of_phy_find_device(priv->tbi_node); in gfar_configure_serdes() 1847 if (!tbiphy) { in gfar_configure_serdes() 1857 if (phy_read(tbiphy, MII_BMSR) & BMSR_LSTATUS) { in gfar_configure_serdes() 1858 put_device(&tbiphy->mdio.dev); in gfar_configure_serdes() 1863 phy_write(tbiphy, MII_TBICON, TBICON_CLK_SELECT); in gfar_configure_serdes() 1865 phy_write(tbiphy, MII_ADVERTISE, in gfar_configure_serdes() 1869 phy_write(tbiphy, MII_BMCR, in gfar_configure_serdes() 1873 put_device(&tbiphy->mdio.dev); in gfar_configure_serdes()
|
/Linux-v4.19/Documentation/devicetree/bindings/net/ |
D | fsl-fman.txt | 326 Definition: A phandle for tbiphy.
|