/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/freescale/fman/ |
H A D | fman_dtsec.c | 347 struct phy_device *tbiphy; member 1308 tmp_reg16 = phy_read(dtsec->tbiphy, MII_BMCR); in dtsec_restart_autoneg() 1314 phy_write(dtsec->tbiphy, MII_BMCR, tmp_reg16); in dtsec_restart_autoneg() 1409 dtsec->tbiphy->mdio.addr); in dtsec_init() 1421 phy_write(dtsec->tbiphy, MII_TBICON, tmp_reg16); in dtsec_init() 1424 phy_write(dtsec->tbiphy, MII_TBICON, tmp_reg16); in dtsec_init() 1428 phy_write(dtsec->tbiphy, MII_BMCR, tmp_reg16); in dtsec_init() 1434 phy_write(dtsec->tbiphy, MII_ADVERTISE, tmp_reg16); in dtsec_init() 1439 phy_write(dtsec->tbiphy, MII_BMCR, tmp_reg16); in dtsec_init() 1546 if (!dtsec->tbiphy) { in dtsec_config() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/freescale/fman/ |
H A D | fman_dtsec.c | 347 struct phy_device *tbiphy; member 1308 tmp_reg16 = phy_read(dtsec->tbiphy, MII_BMCR); in dtsec_restart_autoneg() 1314 phy_write(dtsec->tbiphy, MII_BMCR, tmp_reg16); in dtsec_restart_autoneg() 1409 dtsec->tbiphy->mdio.addr); in dtsec_init() 1421 phy_write(dtsec->tbiphy, MII_TBICON, tmp_reg16); in dtsec_init() 1424 phy_write(dtsec->tbiphy, MII_TBICON, tmp_reg16); in dtsec_init() 1428 phy_write(dtsec->tbiphy, MII_BMCR, tmp_reg16); in dtsec_init() 1434 phy_write(dtsec->tbiphy, MII_ADVERTISE, tmp_reg16); in dtsec_init() 1439 phy_write(dtsec->tbiphy, MII_BMCR, tmp_reg16); in dtsec_init() 1546 if (!dtsec->tbiphy) { in dtsec_config() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/freescale/fman/ |
H A D | fman_dtsec.c | 347 struct phy_device *tbiphy; member 1308 tmp_reg16 = phy_read(dtsec->tbiphy, MII_BMCR); in dtsec_restart_autoneg() 1314 phy_write(dtsec->tbiphy, MII_BMCR, tmp_reg16); in dtsec_restart_autoneg() 1409 dtsec->tbiphy->mdio.addr); in dtsec_init() 1421 phy_write(dtsec->tbiphy, MII_TBICON, tmp_reg16); in dtsec_init() 1424 phy_write(dtsec->tbiphy, MII_TBICON, tmp_reg16); in dtsec_init() 1428 phy_write(dtsec->tbiphy, MII_BMCR, tmp_reg16); in dtsec_init() 1434 phy_write(dtsec->tbiphy, MII_ADVERTISE, tmp_reg16); in dtsec_init() 1439 phy_write(dtsec->tbiphy, MII_BMCR, tmp_reg16); in dtsec_init() 1546 if (!dtsec->tbiphy) { in dtsec_config() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/freescale/ |
H A 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() 1684 put_device(&tbiphy->mdio.dev); in uec_configure_serdes() [all …]
|
H A D | gianfar.c | 1592 struct phy_device *tbiphy; in gfar_configure_serdes() local 1600 tbiphy = of_phy_find_device(priv->tbi_node); in gfar_configure_serdes() 1601 if (!tbiphy) { in gfar_configure_serdes() 1611 if (phy_read(tbiphy, MII_BMSR) & BMSR_LSTATUS) { in gfar_configure_serdes() 1612 put_device(&tbiphy->mdio.dev); in gfar_configure_serdes() 1617 phy_write(tbiphy, MII_TBICON, TBICON_CLK_SELECT); in gfar_configure_serdes() 1619 phy_write(tbiphy, MII_ADVERTISE, in gfar_configure_serdes() 1623 phy_write(tbiphy, MII_BMCR, in gfar_configure_serdes() 1627 put_device(&tbiphy->mdio.dev); in gfar_configure_serdes()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/freescale/ |
H A 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() 1684 put_device(&tbiphy->mdio.dev); in uec_configure_serdes() [all …]
|
H A D | gianfar.c | 1592 struct phy_device *tbiphy; in gfar_configure_serdes() local 1600 tbiphy = of_phy_find_device(priv->tbi_node); in gfar_configure_serdes() 1601 if (!tbiphy) { in gfar_configure_serdes() 1611 if (phy_read(tbiphy, MII_BMSR) & BMSR_LSTATUS) { in gfar_configure_serdes() 1612 put_device(&tbiphy->mdio.dev); in gfar_configure_serdes() 1617 phy_write(tbiphy, MII_TBICON, TBICON_CLK_SELECT); in gfar_configure_serdes() 1619 phy_write(tbiphy, MII_ADVERTISE, in gfar_configure_serdes() 1623 phy_write(tbiphy, MII_BMCR, in gfar_configure_serdes() 1627 put_device(&tbiphy->mdio.dev); in gfar_configure_serdes()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/freescale/ |
H A 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() 1684 put_device(&tbiphy->mdio.dev); in uec_configure_serdes() [all …]
|
H A D | gianfar.c | 1592 struct phy_device *tbiphy; in gfar_configure_serdes() local 1600 tbiphy = of_phy_find_device(priv->tbi_node); in gfar_configure_serdes() 1601 if (!tbiphy) { in gfar_configure_serdes() 1611 if (phy_read(tbiphy, MII_BMSR) & BMSR_LSTATUS) { in gfar_configure_serdes() 1612 put_device(&tbiphy->mdio.dev); in gfar_configure_serdes() 1617 phy_write(tbiphy, MII_TBICON, TBICON_CLK_SELECT); in gfar_configure_serdes() 1619 phy_write(tbiphy, MII_ADVERTISE, in gfar_configure_serdes() 1623 phy_write(tbiphy, MII_BMCR, in gfar_configure_serdes() 1627 put_device(&tbiphy->mdio.dev); in gfar_configure_serdes()
|