Home
last modified time | relevance | path

Searched refs:BMCR_LOOPBACK (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/u-boot/include/linux/
H A Dmdio.h83 #define MDIO_PCS_CTRL1_LOOPBACK BMCR_LOOPBACK
84 #define MDIO_PHYXS_CTRL1_LOOPBACK BMCR_LOOPBACK
H A Dmii.h47 #define BMCR_LOOPBACK 0x4000 /* TXD loopback bits */ macro
/openbmc/linux/drivers/net/phy/
H A Dadin1100.c169 BMCR_LOOPBACK); in adin_set_loopback()
173 BMCR_LOOPBACK); in adin_set_loopback()
H A Ddp83867.c996 return phy_modify(phydev, MII_BMCR, BMCR_LOOPBACK, in dp83867_loopback()
997 enable ? BMCR_LOOPBACK : 0); in dp83867_loopback()
H A Dmxl-gpy.c798 set = BMCR_LOOPBACK; in gpy_loopback()
801 ret = phy_modify(phydev, MII_BMCR, BMCR_LOOPBACK, set); in gpy_loopback()
H A Dphy_device.c2108 ~(BMCR_LOOPBACK | BMCR_ISOLATE | BMCR_PDOWN), ctl); in genphy_setup_forced()
2712 u16 ctl = BMCR_LOOPBACK; in genphy_loopback()
2725 phy_modify(phydev, MII_BMCR, BMCR_LOOPBACK, 0); in genphy_loopback()
H A Dmarvell.c2022 err = phy_modify(phydev, MII_BMCR, BMCR_LOOPBACK, in m88e1510_loopback()
2023 BMCR_LOOPBACK); in m88e1510_loopback()
2033 err = phy_modify(phydev, MII_BMCR, BMCR_LOOPBACK, 0); in m88e1510_loopback()
H A Dmotorcomm.c1973 return __phy_modify(phydev, MII_BMCR, ~(BMCR_LOOPBACK | in ytphy_utp_config_aneg()
/openbmc/linux/include/uapi/linux/
H A Dmdio.h107 #define MDIO_PCS_CTRL1_LOOPBACK BMCR_LOOPBACK
108 #define MDIO_PHYXS_CTRL1_LOOPBACK BMCR_LOOPBACK
H A Dmii.h50 #define BMCR_LOOPBACK 0x4000 /* TXD loopback bits */ macro
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dmv88e1xxx.c235 mdio_set_bit(cphy, MII_BMCR, BMCR_LOOPBACK); in mv88e1xxx_set_loopback()
237 mdio_clear_bit(cphy, MII_BMCR, BMCR_LOOPBACK); in mv88e1xxx_set_loopback()
/openbmc/u-boot/drivers/usb/eth/
H A Dlan75xx.c46 (BMCR_LOOPBACK | BMCR_SPEED1000)); in lan75xx_phy_gig_workaround()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Daq100x.c198 BMCR_LOOPBACK, enable); in aq100x_set_loopback()
/openbmc/linux/drivers/net/ethernet/dec/tulip/
H A Dmedia.c519 BMCR_PDOWN | BMCR_SPEED100 | BMCR_LOOPBACK | in tulip_find_mii()
/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunbmac.c500 bp->sw_bmcr = (BMCR_ISOLATE | BMCR_PDOWN | BMCR_LOOPBACK); in try_next_permutation()
593 bp->sw_bmcr = (BMCR_ISOLATE | BMCR_PDOWN | BMCR_LOOPBACK); in bigmac_begin_auto_negotiation()
H A Dsunhme.c1004 (BMCR_LOOPBACK|BMCR_PDOWN|BMCR_ISOLATE)); in happy_meal_tcvr_reset()
1018 (BMCR_LOOPBACK|BMCR_PDOWN|BMCR_ISOLATE)); in happy_meal_tcvr_reset()
H A Dniu.c1541 err &= ~BMCR_LOOPBACK; in xcvr_10g_set_lb_bcm870x()
1544 err |= BMCR_LOOPBACK; in xcvr_10g_set_lb_bcm870x()
1761 bmcr |= BMCR_LOOPBACK; in mii_init_common()
/openbmc/linux/drivers/net/dsa/microchip/
H A Dksz8795.c662 data |= BMCR_LOOPBACK; in ksz8_r_phy()
885 if (val & BMCR_LOOPBACK) in ksz8_w_phy()
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dpcs-639x.c174 mask = BMCR_RESET | BMCR_LOOPBACK | BMCR_PDOWN; in mv88e639x_sgmii_pcs_control_pwr()
/openbmc/linux/drivers/net/ethernet/intel/e1000e/
H A Dethtool.c1621 if (phy_reg & BMCR_LOOPBACK) { in e1000_loopback_cleanup()
1622 phy_reg &= ~BMCR_LOOPBACK; in e1000_loopback_cleanup()
H A Dphy.c3104 if (data & BMCR_LOOPBACK) in e1000_link_stall_workaround_hv()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbnx2.c1842 bnx2_write_phy(bp, bp->mii_bmcr, BMCR_LOOPBACK); in bnx2_setup_serdes_phy()
2135 bnx2_write_phy(bp, bp->mii_bmcr, BMCR_LOOPBACK); in bnx2_setup_copper_phy()
2452 rc = bnx2_write_phy(bp, bp->mii_bmcr, BMCR_LOOPBACK | BMCR_FULLDPLX | in bnx2_set_phy_loopback()
7161 bnx2_write_phy(bp, bp->mii_bmcr, BMCR_LOOPBACK); in bnx2_nway_reset()
7174 bmcr &= ~BMCR_LOOPBACK; in bnx2_nway_reset()
/openbmc/linux/drivers/net/ethernet/nvidia/
H A Dforcedeth.c3399 if (bmcr & BMCR_LOOPBACK) { in nv_update_linkspeed()
4884 if (miicontrol & BMCR_LOOPBACK) { in nv_set_loopback()
4891 miicontrol |= BMCR_LOOPBACK | BMCR_FULLDPLX | BMCR_SPEED1000; in nv_set_loopback()
4910 if (!(miicontrol & BMCR_LOOPBACK)) { in nv_set_loopback()
/openbmc/linux/drivers/net/ethernet/smsc/
H A Dsmsc911x.c872 MII_BMCR, BMCR_LOOPBACK | BMCR_FULLDPLX); in smsc911x_phy_loopbacktest()
/openbmc/linux/drivers/net/ethernet/intel/
H A De100.c2368 BMCR_LOOPBACK); in e100_loopback_test()

12