Lines Matching refs:link_cntl
683 lcntl = cp->link_cntl; in cas_begin_auto_negotiation()
685 cp->link_cntl = BMCR_ANENABLE; in cas_begin_auto_negotiation()
688 cp->link_cntl = 0; in cas_begin_auto_negotiation()
690 cp->link_cntl |= BMCR_SPEED100; in cas_begin_auto_negotiation()
692 cp->link_cntl |= CAS_BMCR_SPEED1000; in cas_begin_auto_negotiation()
694 cp->link_cntl |= BMCR_FULLDPLX; in cas_begin_auto_negotiation()
697 changed = (lcntl != cp->link_cntl); in cas_begin_auto_negotiation()
736 if (cp->link_cntl & BMCR_ANENABLE) { in cas_begin_auto_negotiation()
740 if (cp->link_cntl & BMCR_FULLDPLX) in cas_begin_auto_negotiation()
753 ctl |= cp->link_cntl; in cas_begin_auto_negotiation()
1609 (cp->link_cntl & BMCR_ANENABLE)) { in cas_mii_link_check()
4559 if (cp->link_cntl & BMCR_ANENABLE) { in cas_get_link_ksettings()
4564 if (cp->link_cntl & BMCR_SPEED100) { in cas_get_link_ksettings()
4566 } else if (cp->link_cntl & CAS_BMCR_SPEED1000) { in cas_get_link_ksettings()
4569 cmd->base.duplex = (cp->link_cntl & BMCR_FULLDPLX) ? in cas_get_link_ksettings()
4614 if ((cp->link_cntl & BMCR_ANENABLE) == 0) in cas_nway_reset()
4982 cp->link_cntl = link_modes[link_mode]; in cas_init_one()
4984 cp->link_cntl = BMCR_ANENABLE; in cas_init_one()