Lines Matching refs:bce_sc

180 detect_hs21(struct bce_softc *bce_sc)  in detect_hs21()  argument
190 if (bce_sc->bce_chipid == hs21_type_lists[i].id && in detect_hs21()
215 struct bce_softc *bce_sc = NULL; in brgphy_attach() local
230 bce_sc = mii_dev_mac_softc(dev); in brgphy_attach()
299 if (bce_sc && (bce_sc->bce_phy_flags & in brgphy_attach()
305 } else if ((bsc->serdes_flags & BRGPHY_5708S) && bce_sc && in brgphy_attach()
306 (detect_hs21(bce_sc) != 0)) { in brgphy_attach()
937 struct bce_softc *bce_sc = NULL; in brgphy_reset() local
994 bce_sc = mii_phy_mac_softc(sc); in brgphy_reset()
1027 } else if (bce_sc) { in brgphy_reset()
1028 if (BCE_CHIP_NUM(bce_sc) == BCE_CHIP_NUM_5708 && in brgphy_reset()
1029 (bce_sc->bce_phy_flags & BCE_PHY_SERDES_FLAG)) { in brgphy_reset()
1048 if (bce_sc->bce_phy_flags & BCE_PHY_2_5G_CAPABLE_FLAG) in brgphy_reset()
1054 if ((BCE_CHIP_ID(bce_sc) == BCE_CHIP_ID_5708_A0) || in brgphy_reset()
1055 (BCE_CHIP_ID(bce_sc) == BCE_CHIP_ID_5708_B0) || in brgphy_reset()
1056 (BCE_CHIP_ID(bce_sc) == BCE_CHIP_ID_5708_B1)) { in brgphy_reset()
1066 if ((bce_sc->bce_shared_hw_cfg & BCE_SHARED_HW_CFG_PHY_BACKPLANE) && in brgphy_reset()
1067 (bce_sc->bce_port_hw_cfg & BCE_PORT_HW_CFG_CFG_TXCTL3_MASK)) { in brgphy_reset()
1071 bce_sc->bce_port_hw_cfg & in brgphy_reset()
1076 } else if (BCE_CHIP_NUM(bce_sc) == BCE_CHIP_NUM_5709 && in brgphy_reset()
1077 (bce_sc->bce_phy_flags & BCE_PHY_SERDES_FLAG)) { in brgphy_reset()
1090 if (bce_sc->bce_phy_flags & BCE_PHY_2_5G_CAPABLE_FLAG) in brgphy_reset()
1116 } else if (BCE_CHIP_NUM(bce_sc) == BCE_CHIP_NUM_5709) { in brgphy_reset()
1117 if ((BCE_CHIP_REV(bce_sc) == BCE_CHIP_REV_Ax) || in brgphy_reset()
1118 (BCE_CHIP_REV(bce_sc) == BCE_CHIP_REV_Bx)) in brgphy_reset()