Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/smsc/
Dsmc911x.c888 int my_phy_caps; /* My PHY capabilities */ in smc911x_phy_configure() local
922 SMC_GET_PHY_BMSR(lp, phyaddr, my_phy_caps); in smc911x_phy_configure()
923 if (!(my_phy_caps & BMSR_ANEGCAPABLE)) { in smc911x_phy_configure()
932 if (my_phy_caps & BMSR_100BASE4) in smc911x_phy_configure()
934 if (my_phy_caps & BMSR_100FULL) in smc911x_phy_configure()
936 if (my_phy_caps & BMSR_100HALF) in smc911x_phy_configure()
938 if (my_phy_caps & BMSR_10FULL) in smc911x_phy_configure()
940 if (my_phy_caps & BMSR_10HALF) in smc911x_phy_configure()
962 DBG(SMC_DEBUG_MISC, dev, "phy caps=0x%04x\n", my_phy_caps); in smc911x_phy_configure()
Dsmc91x.c1048 int my_phy_caps; /* My PHY capabilities */ in smc_phy_configure() local
1087 my_phy_caps = smc_phy_read(dev, phyaddr, MII_BMSR); in smc_phy_configure()
1089 if (!(my_phy_caps & BMSR_ANEGCAPABLE)) { in smc_phy_configure()
1097 if (my_phy_caps & BMSR_100BASE4) in smc_phy_configure()
1099 if (my_phy_caps & BMSR_100FULL) in smc_phy_configure()
1101 if (my_phy_caps & BMSR_100HALF) in smc_phy_configure()
1103 if (my_phy_caps & BMSR_10FULL) in smc_phy_configure()
1105 if (my_phy_caps & BMSR_10HALF) in smc_phy_configure()
1126 DBG(2, dev, "phy caps=%x\n", my_phy_caps); in smc_phy_configure()