Lines Matching defs:ana
514 u_int ana; /* NWay Advertisement */
2760 int ana, anlpa, cap, cr, slnk, sr;
2782 ana = lp->phy[lp->active].ana | MII_ANA_CSMA;
2783 mii_wr(ana, MII_ANA, lp->phy[lp->active].addr, DE4X5_MII);
2794 ana = (((sr >> 6) & MII_ANA_TAF) | MII_ANA_CSMA);
2795 ana &= (lp->fdx ? ~0 : ~MII_ANA_FDAM);
2796 mii_wr(ana, MII_ANA, lp->phy[lp->active].addr, DE4X5_MII);
2840 ana = mii_rd(MII_ANA, lp->phy[lp->active].addr, DE4X5_MII);
2842 (cap = anlpa & MII_ANLPA_TAF & ana)) {
2844 lp->fdx = (ana & anlpa & MII_ANA_FDAM & MII_ANA_100M) != 0;
2847 lp->fdx = (ana & anlpa & MII_ANA_FDAM & MII_ANA_10M) != 0;
2945 s32 cr, anlpa, ana, cap, irqs, irq_mask, imr, omr, slnk, sr, sts;
2983 ana = (((sr >> 6) & MII_ANA_TAF) | MII_ANA_CSMA);
2984 ana &= (lp->fdx ? ~0 : ~MII_ANA_FDAM);
2985 mii_wr(ana, MII_ANA, lp->phy[lp->active].addr, DE4X5_MII);
3024 ana = mii_rd(MII_ANA, lp->phy[lp->active].addr, DE4X5_MII);
3026 (cap = anlpa & MII_ANLPA_TAF & ana)) {
3028 lp->fdx = (ana & anlpa & MII_ANA_FDAM & MII_ANA_100M) != 0;
3031 lp->fdx = (ana & anlpa & MII_ANA_FDAM & MII_ANA_10M) != 0;
4654 lp->phy[lp->active].ana = get_unaligned_le16(p); p += 2;
4735 lp->phy[lp->active].ana = get_unaligned_le16(p); p += 2;