Searched refs:tbiphy (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/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-v5.4/drivers/net/ethernet/freescale/ |
| D | ucc_geth.c | 1372 struct phy_device *tbiphy; in adjust_enet_interface() local 1377 tbiphy = of_phy_find_device(ug_info->tbi_node); in adjust_enet_interface() 1378 if (!tbiphy) in adjust_enet_interface() 1381 value = phy_read(tbiphy, ENET_TBI_MII_CR); in adjust_enet_interface() 1383 phy_write(tbiphy, ENET_TBI_MII_CR, value); in adjust_enet_interface() 1385 put_device(&tbiphy->mdio.dev); in adjust_enet_interface() 1684 struct phy_device *tbiphy; in uec_configure_serdes() local 1692 tbiphy = of_phy_find_device(ug_info->tbi_node); in uec_configure_serdes() 1693 if (!tbiphy) { in uec_configure_serdes() 1704 if (phy_read(tbiphy, ENET_TBI_MII_SR) & TBISR_LSTATUS) { in uec_configure_serdes() [all …]
|
| D | gianfar.c | 1629 struct phy_device *tbiphy; in gfar_configure_serdes() local 1637 tbiphy = of_phy_find_device(priv->tbi_node); in gfar_configure_serdes() 1638 if (!tbiphy) { in gfar_configure_serdes() 1648 if (phy_read(tbiphy, MII_BMSR) & BMSR_LSTATUS) { in gfar_configure_serdes() 1649 put_device(&tbiphy->mdio.dev); in gfar_configure_serdes() 1654 phy_write(tbiphy, MII_TBICON, TBICON_CLK_SELECT); in gfar_configure_serdes() 1656 phy_write(tbiphy, MII_ADVERTISE, in gfar_configure_serdes() 1660 phy_write(tbiphy, MII_BMCR, in gfar_configure_serdes() 1664 put_device(&tbiphy->mdio.dev); in gfar_configure_serdes()
|
| /Linux-v5.4/Documentation/devicetree/bindings/net/ |
| D | fsl-fman.txt | 326 Definition: A phandle for tbiphy.
|