Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/smsc/
Dsmc91x.c1037 int my_phy_caps; /* My PHY capabilities */ in smc_phy_configure() local
1076 my_phy_caps = smc_phy_read(dev, phyaddr, MII_BMSR); in smc_phy_configure()
1078 if (!(my_phy_caps & BMSR_ANEGCAPABLE)) { in smc_phy_configure()
1086 if (my_phy_caps & BMSR_100BASE4) in smc_phy_configure()
1088 if (my_phy_caps & BMSR_100FULL) in smc_phy_configure()
1090 if (my_phy_caps & BMSR_100HALF) in smc_phy_configure()
1092 if (my_phy_caps & BMSR_10FULL) in smc_phy_configure()
1094 if (my_phy_caps & BMSR_10HALF) in smc_phy_configure()
1115 DBG(2, dev, "phy caps=%x\n", my_phy_caps); in smc_phy_configure()
Dsmc911x.c880 int my_phy_caps; /* My PHY capabilities */ in smc911x_phy_configure() local
914 SMC_GET_PHY_BMSR(lp, phyaddr, my_phy_caps); in smc911x_phy_configure()
915 if (!(my_phy_caps & BMSR_ANEGCAPABLE)) { in smc911x_phy_configure()
924 if (my_phy_caps & BMSR_100BASE4) in smc911x_phy_configure()
926 if (my_phy_caps & BMSR_100FULL) in smc911x_phy_configure()
928 if (my_phy_caps & BMSR_100HALF) in smc911x_phy_configure()
930 if (my_phy_caps & BMSR_10FULL) in smc911x_phy_configure()
932 if (my_phy_caps & BMSR_10HALF) in smc911x_phy_configure()
954 DBG(SMC_DEBUG_MISC, dev, "phy caps=0x%04x\n", my_phy_caps); in smc911x_phy_configure()