Searched refs:tbiphy (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/freescale/fman/ ! |
D | fman_dtsec.c | 321 struct phy_device *tbiphy; member 1221 tmp_reg16 = phy_read(dtsec->tbiphy, MII_BMCR); in dtsec_restart_autoneg() 1227 phy_write(dtsec->tbiphy, MII_BMCR, tmp_reg16); in dtsec_restart_autoneg() 1333 dtsec->tbiphy->mdio.addr); in dtsec_init() 1345 phy_write(dtsec->tbiphy, MII_TBICON, tmp_reg16); in dtsec_init() 1348 phy_write(dtsec->tbiphy, MII_TBICON, tmp_reg16); in dtsec_init() 1352 phy_write(dtsec->tbiphy, MII_BMCR, tmp_reg16); in dtsec_init() 1358 phy_write(dtsec->tbiphy, MII_ADVERTISE, tmp_reg16); in dtsec_init() 1363 phy_write(dtsec->tbiphy, MII_BMCR, tmp_reg16); in dtsec_init() 1511 dtsec->tbiphy = of_phy_find_device(phy_node); in dtsec_initialization() [all …]
|
/linux-6.1.9/drivers/net/ethernet/freescale/ ! |
D | ucc_geth.c | 1351 struct phy_device *tbiphy; in adjust_enet_interface() local 1356 tbiphy = of_phy_find_device(ug_info->tbi_node); in adjust_enet_interface() 1357 if (!tbiphy) in adjust_enet_interface() 1360 value = phy_read(tbiphy, ENET_TBI_MII_CR); in adjust_enet_interface() 1362 phy_write(tbiphy, ENET_TBI_MII_CR, value); in adjust_enet_interface() 1364 put_device(&tbiphy->mdio.dev); in adjust_enet_interface() 1663 struct phy_device *tbiphy; in uec_configure_serdes() local 1671 tbiphy = of_phy_find_device(ug_info->tbi_node); in uec_configure_serdes() 1672 if (!tbiphy) { in uec_configure_serdes() 1683 if (phy_read(tbiphy, ENET_TBI_MII_SR) & TBISR_LSTATUS) { in uec_configure_serdes() [all …]
|
D | gianfar.c | 1605 struct phy_device *tbiphy; in gfar_configure_serdes() local 1613 tbiphy = of_phy_find_device(priv->tbi_node); in gfar_configure_serdes() 1614 if (!tbiphy) { in gfar_configure_serdes() 1624 if (phy_read(tbiphy, MII_BMSR) & BMSR_LSTATUS) { in gfar_configure_serdes() 1625 put_device(&tbiphy->mdio.dev); in gfar_configure_serdes() 1630 phy_write(tbiphy, MII_TBICON, TBICON_CLK_SELECT); in gfar_configure_serdes() 1632 phy_write(tbiphy, MII_ADVERTISE, in gfar_configure_serdes() 1636 phy_write(tbiphy, MII_BMCR, in gfar_configure_serdes() 1640 put_device(&tbiphy->mdio.dev); in gfar_configure_serdes()
|