Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/net/
H A Dsmc91111.c1115 word my_phy_caps; /* My PHY capabilities */ in smc_phy_configure() local
1153 my_phy_caps = smc_read_phy_register (dev, PHY_STAT_REG); in smc_phy_configure()
1156 if (my_phy_caps & PHY_STAT_CAP_T4) in smc_phy_configure()
1159 if (my_phy_caps & PHY_STAT_CAP_TXF) in smc_phy_configure()
1162 if (my_phy_caps & PHY_STAT_CAP_TXH) in smc_phy_configure()
1165 if (my_phy_caps & PHY_STAT_CAP_TF) in smc_phy_configure()
1168 if (my_phy_caps & PHY_STAT_CAP_TH) in smc_phy_configure()
1179 PRINTK2 ("%s: phy caps=%x\n", SMC_DEV_NAME, my_phy_caps); in smc_phy_configure()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/smsc/
H A 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()
H A Dsmc91x.c1037 int my_phy_caps; /* My PHY capabilities */ in smc_phy_configure() local
1075 my_phy_caps = smc_phy_read(dev, phyaddr, MII_BMSR); in smc_phy_configure()
1077 if (!(my_phy_caps & BMSR_ANEGCAPABLE)) { in smc_phy_configure()
1085 if (my_phy_caps & BMSR_100BASE4) in smc_phy_configure()
1087 if (my_phy_caps & BMSR_100FULL) in smc_phy_configure()
1089 if (my_phy_caps & BMSR_100HALF) in smc_phy_configure()
1091 if (my_phy_caps & BMSR_10FULL) in smc_phy_configure()
1093 if (my_phy_caps & BMSR_10HALF) in smc_phy_configure()
1114 DBG(2, dev, "phy caps=%x\n", my_phy_caps); in smc_phy_configure()