• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching refs:bmcr

491 	u32 bmcr, local_adv, remote_adv, common;  in bnx2_5706s_linkup()  local
496 bnx2_read_phy(bp, MII_BMCR, &bmcr); in bnx2_5706s_linkup()
497 if (bmcr & BMCR_FULLDPLX) { in bnx2_5706s_linkup()
504 if (!(bmcr & BMCR_ANENABLE)) { in bnx2_5706s_linkup()
528 u32 bmcr; in bnx2_copper_linkup() local
530 bnx2_read_phy(bp, MII_BMCR, &bmcr); in bnx2_copper_linkup()
531 if (bmcr & BMCR_ANENABLE) { in bnx2_copper_linkup()
574 if (bmcr & BMCR_SPEED100) { in bnx2_copper_linkup()
580 if (bmcr & BMCR_FULLDPLX) { in bnx2_copper_linkup()
703 u32 bmcr; in bnx2_set_link() local
705 bnx2_read_phy(bp, MII_BMCR, &bmcr); in bnx2_set_link()
706 if (!(bmcr & BMCR_ANENABLE)) { in bnx2_set_link()
707 bnx2_write_phy(bp, MII_BMCR, bmcr | in bnx2_set_link()
785 u32 adv, bmcr, up1; in bnx2_setup_serdes_phy() local
804 bnx2_read_phy(bp, MII_BMCR, &bmcr); in bnx2_setup_serdes_phy()
805 new_bmcr = bmcr & ~BMCR_ANENABLE; in bnx2_setup_serdes_phy()
815 if ((new_bmcr != bmcr) || (force_link_down)) { in bnx2_setup_serdes_phy()
821 bnx2_write_phy(bp, MII_BMCR, bmcr | in bnx2_setup_serdes_phy()
845 bnx2_read_phy(bp, MII_BMCR, &bmcr); in bnx2_setup_serdes_phy()
848 if ((adv != new_adv) || ((bmcr & BMCR_ANENABLE) == 0)) { in bnx2_setup_serdes_phy()
860 bnx2_write_phy(bp, MII_BMCR, bmcr | BMCR_ANRESTART | in bnx2_setup_serdes_phy()
898 u32 bmcr; in bnx2_setup_copper_phy() local
901 bnx2_read_phy(bp, MII_BMCR, &bmcr); in bnx2_setup_copper_phy()
932 ((bmcr & BMCR_ANENABLE) == 0)) { in bnx2_setup_copper_phy()
956 if (new_bmcr != bmcr) { in bnx2_setup_copper_phy()