Home
last modified time | relevance | path

Searched refs:my_phy_caps (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/smsc/
Dsmc911x.c890 int my_phy_caps; /* My PHY capabilities */ in smc911x_phy_configure() local
924 SMC_GET_PHY_BMSR(lp, phyaddr, my_phy_caps); in smc911x_phy_configure()
925 if (!(my_phy_caps & BMSR_ANEGCAPABLE)) { in smc911x_phy_configure()
934 if (my_phy_caps & BMSR_100BASE4) in smc911x_phy_configure()
936 if (my_phy_caps & BMSR_100FULL) in smc911x_phy_configure()
938 if (my_phy_caps & BMSR_100HALF) in smc911x_phy_configure()
940 if (my_phy_caps & BMSR_10FULL) in smc911x_phy_configure()
942 if (my_phy_caps & BMSR_10HALF) in smc911x_phy_configure()
964 DBG(SMC_DEBUG_MISC, dev, "phy caps=0x%04x\n", my_phy_caps); in smc911x_phy_configure()
Dsmc91x.c1049 int my_phy_caps; /* My PHY capabilities */ in smc_phy_configure() local
1088 my_phy_caps = smc_phy_read(dev, phyaddr, MII_BMSR); in smc_phy_configure()
1090 if (!(my_phy_caps & BMSR_ANEGCAPABLE)) { in smc_phy_configure()
1098 if (my_phy_caps & BMSR_100BASE4) in smc_phy_configure()
1100 if (my_phy_caps & BMSR_100FULL) in smc_phy_configure()
1102 if (my_phy_caps & BMSR_100HALF) in smc_phy_configure()
1104 if (my_phy_caps & BMSR_10FULL) in smc_phy_configure()
1106 if (my_phy_caps & BMSR_10HALF) in smc_phy_configure()
1127 DBG(2, dev, "phy caps=%x\n", my_phy_caps); in smc_phy_configure()