Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/phy/
Dadin1100.c169 BMCR_LOOPBACK); in adin_set_loopback()
173 BMCR_LOOPBACK); in adin_set_loopback()
Dmxl-gpy.c687 ret = phy_modify(phydev, MII_BMCR, BMCR_LOOPBACK, in gpy_loopback()
688 enable ? BMCR_LOOPBACK : 0); in gpy_loopback()
Dphy_device.c2047 ~(BMCR_LOOPBACK | BMCR_ISOLATE | BMCR_PDOWN), ctl); in genphy_setup_forced()
2643 u16 val, ctl = BMCR_LOOPBACK; in genphy_loopback()
2656 phy_modify(phydev, MII_BMCR, BMCR_LOOPBACK, 0); in genphy_loopback()
Dmarvell.c2018 err = phy_modify(phydev, MII_BMCR, BMCR_LOOPBACK, in m88e1510_loopback()
2019 BMCR_LOOPBACK); in m88e1510_loopback()
2029 err = phy_modify(phydev, MII_BMCR, BMCR_LOOPBACK, 0); in m88e1510_loopback()
/Linux-v6.1/include/uapi/linux/
Dmdio.h103 #define MDIO_PCS_CTRL1_LOOPBACK BMCR_LOOPBACK
104 #define MDIO_PHYXS_CTRL1_LOOPBACK BMCR_LOOPBACK
Dmii.h50 #define BMCR_LOOPBACK 0x4000 /* TXD loopback bits */ macro
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb/
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()
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb3/
Daq100x.c198 BMCR_LOOPBACK, enable); in aq100x_set_loopback()
/Linux-v6.1/drivers/net/ethernet/dec/tulip/
Dmedia.c519 BMCR_PDOWN | BMCR_SPEED100 | BMCR_LOOPBACK | in tulip_find_mii()
/Linux-v6.1/drivers/net/ethernet/sun/
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()
Dsunhme.c922 (BMCR_LOOPBACK|BMCR_PDOWN|BMCR_ISOLATE)); in happy_meal_tcvr_reset()
936 (BMCR_LOOPBACK|BMCR_PDOWN|BMCR_ISOLATE)); in happy_meal_tcvr_reset()
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()
/Linux-v6.1/drivers/net/dsa/microchip/
Dksz8795.c582 data |= BMCR_LOOPBACK; in ksz8_r_phy()
805 if (val & BMCR_LOOPBACK) in ksz8_w_phy()
/Linux-v6.1/drivers/net/ethernet/intel/e1000e/
Dethtool.c1610 if (phy_reg & BMCR_LOOPBACK) { in e1000_loopback_cleanup()
1611 phy_reg &= ~BMCR_LOOPBACK; in e1000_loopback_cleanup()
Dphy.c3055 if (data & BMCR_LOOPBACK) in e1000_link_stall_workaround_hv()
/Linux-v6.1/drivers/net/dsa/mv88e6xxx/
Dserdes.c736 new_val = val & ~(BMCR_RESET | BMCR_LOOPBACK | BMCR_PDOWN); in mv88e6390_serdes_power_sgmii()
/Linux-v6.1/drivers/net/ethernet/broadcom/
Dbnx2.c1843 bnx2_write_phy(bp, bp->mii_bmcr, BMCR_LOOPBACK); in bnx2_setup_serdes_phy()
2136 bnx2_write_phy(bp, bp->mii_bmcr, BMCR_LOOPBACK); in bnx2_setup_copper_phy()
2453 rc = bnx2_write_phy(bp, bp->mii_bmcr, BMCR_LOOPBACK | BMCR_FULLDPLX | in bnx2_set_phy_loopback()
7177 bnx2_write_phy(bp, bp->mii_bmcr, BMCR_LOOPBACK); in bnx2_nway_reset()
7190 bmcr &= ~BMCR_LOOPBACK; in bnx2_nway_reset()
Dtg3.c4483 tg3_writephy(tp, MII_BMCR, BMCR_LOOPBACK); in tg3_phy_copper_begin()
8225 bmcr |= BMCR_LOOPBACK; in tg3_phy_lpbk_set()
/Linux-v6.1/drivers/net/ethernet/nvidia/
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()
/Linux-v6.1/drivers/net/ethernet/smsc/
Dsmsc911x.c873 MII_BMCR, BMCR_LOOPBACK | BMCR_FULLDPLX); in smsc911x_phy_loopbacktest()
/Linux-v6.1/drivers/net/ethernet/intel/
De100.c2368 BMCR_LOOPBACK); in e100_loopback_test()
/Linux-v6.1/drivers/net/usb/
Dlan78xx.c1815 phy_write(phydev, MII_BMCR, temp | BMCR_LOOPBACK); in lan78xx_set_link_ksettings()