Lines Matching refs:ad_reg
489 u16 ad_reg, lp_ad_reg; in e100_find_speed_duplex() local
555 e100_mdi_read(bdp, MII_ADVERTISE, bdp->phy_addr, &ad_reg); in e100_find_speed_duplex()
562 ad_reg &= (lp_ad_reg & NWAY_LP_ABILITY); in e100_find_speed_duplex()
565 if (ad_reg & in e100_find_speed_duplex()
574 if (ad_reg & ADVERTISE_100BASE4) { in e100_find_speed_duplex()
576 } else if (ad_reg & ADVERTISE_100FULL) { in e100_find_speed_duplex()
578 } else if (ad_reg & ADVERTISE_100HALF) { in e100_find_speed_duplex()
580 } else if (ad_reg & ADVERTISE_10FULL) { in e100_find_speed_duplex()
730 u16 ad_reg; in e100_set_fc() local
748 e100_mdi_read(bdp, MII_ADVERTISE, bdp->phy_addr, &ad_reg); in e100_set_fc()
753 ad_reg &= lp_ad_reg; /* AND the 2 ad registers */ in e100_set_fc()
755 if (ad_reg & NWAY_AD_FC_SUPPORTED) in e100_set_fc()