/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb/ |
D | mv88e1xxx.c | 131 ctl &= ~(BMCR_SPEED100 | BMCR_SPEED1000 | BMCR_ANENABLE); in mv88e1xxx_set_speed_duplex() 138 ctl &= ~(BMCR_FULLDPLX | BMCR_ANENABLE); in mv88e1xxx_set_speed_duplex() 143 ctl |= BMCR_ANENABLE; in mv88e1xxx_set_speed_duplex() 169 ctl |= BMCR_ANENABLE | BMCR_ANRESTART; in mv88e1xxx_autoneg_enable() 189 ctl &= ~BMCR_ANENABLE; in mv88e1xxx_autoneg_disable()
|
/linux-6.12.1/drivers/net/ |
D | mii.c | 91 if (bmcr & BMCR_ANENABLE) { in mii_ethtool_gset() 176 if (bmcr & BMCR_ANENABLE) { in mii_ethtool_get_link_ksettings() 292 bmcr |= (BMCR_ANENABLE | BMCR_ANRESTART); in mii_ethtool_sset() 301 tmp = bmcr & ~(BMCR_ANENABLE | BMCR_SPEED100 | in mii_ethtool_sset() 389 bmcr |= (BMCR_ANENABLE | BMCR_ANRESTART); in mii_ethtool_set_link_ksettings() 398 tmp = bmcr & ~(BMCR_ANENABLE | BMCR_SPEED100 | in mii_ethtool_set_link_ksettings() 465 if (bmcr & BMCR_ANENABLE) { in mii_nway_restart() 613 if (val & (BMCR_RESET|BMCR_ANENABLE)) in generic_mii_ioctl()
|
D | sungem_phy.c | 335 ctl |= (BMCR_ANENABLE | BMCR_ANRESTART); in genmii_setup_aneg() 351 ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_ANENABLE); in genmii_setup_forced() 504 ctl |= (BMCR_ANENABLE | BMCR_ANRESTART); in bcm54xx_setup_aneg() 520 ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_SPD2|BMCR_ANENABLE); in bcm54xx_setup_forced() 787 ctl |= (BMCR_ANENABLE | BMCR_ANRESTART); in marvell_setup_aneg() 803 ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_SPD2|BMCR_ANENABLE); in marvell_setup_forced()
|
/linux-6.12.1/drivers/net/ethernet/ibm/emac/ |
D | phy.c | 61 val &= ~(BMCR_ISOLATE | BMCR_ANENABLE); in emac_mii_reset_phy() 85 val &= ~(BMCR_ISOLATE | BMCR_ANENABLE); in emac_mii_reset_gpcs() 123 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | BMCR_SPEED1000 | BMCR_ANENABLE); in genmii_setup_aneg() 163 ctl |= (BMCR_ANENABLE | BMCR_ANRESTART); in genmii_setup_aneg() 181 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | BMCR_SPEED1000 | BMCR_ANENABLE); in genmii_setup_forced()
|
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb3/ |
D | vsc8211.c | 120 BMCR_ANENABLE | BMCR_ANRESTART); in vsc8211_autoneg_enable() 154 if (!(bmcr & BMCR_ANENABLE)) { in vsc8211_get_link_status() 230 if (!(bmcr & BMCR_ANENABLE)) { in vsc8211_get_link_status_fiber()
|
D | aq100x.c | 135 BMCR_ANENABLE | BMCR_ANRESTART, 1); in aq100x_autoneg_enable() 148 BMCR_ANENABLE | BMCR_ANRESTART, 1); in aq100x_autoneg_restart()
|
/linux-6.12.1/drivers/net/pcs/ |
D | pcs-mtk-lynxi.c | 135 bmcr = BMCR_ANENABLE; in mtk_pcs_lynxi_config() 186 BMCR_ANENABLE, bmcr); in mtk_pcs_lynxi_config()
|
/linux-6.12.1/drivers/net/phy/ |
D | et1011c.c | 54 BMCR_ANENABLE); in et1011c_config_aneg()
|
D | ncn26000.c | 23 #define NCN26000_BCMR_LINK_CTRL_BIT BMCR_ANENABLE
|
D | swphy.c | 150 return BMCR_ANENABLE; in swphy_read_reg()
|
D | dp83848.c | 120 if (!(val & BMCR_ANENABLE)) in dp83848_config_init()
|
D | davicom.c | 170 return phy_write(phydev, MII_BMCR, BMCR_ANENABLE); in dm9161_config_init()
|
D | dp83869.c | 62 #define MII_DP83869_BMCR_DEFAULT (BMCR_ANENABLE | \ 667 if (bmcr & BMCR_ANENABLE) { in dp83869_configure_fiber() 668 ret = phy_modify(phydev, MII_BMCR, BMCR_ANENABLE, 0); in dp83869_configure_fiber()
|
D | marvell-88x2222.c | 91 BMCR_ANENABLE | BMCR_ANRESTART); in mv2222_disable_aneg() 101 BMCR_ANENABLE | BMCR_RESET); in mv2222_enable_aneg()
|
D | lxt.c | 291 val &= ~BMCR_ANENABLE; in lxt973_probe()
|
D | dp83822.c | 479 if (bmcr & BMCR_ANENABLE) { in dp83822_config_init() 480 err = phy_modify(phydev, MII_BMCR, BMCR_ANENABLE, 0); in dp83822_config_init()
|
D | motorcomm.c | 1811 ret = __phy_modify(phydev, MII_BMCR, BMCR_ANENABLE, 0); in yt8521_fiber_setup_forced() 1851 if (!(ret & BMCR_ANENABLE) || (ret & BMCR_ISOLATE)) in ytphy_check_and_restart_aneg() 1859 BMCR_ANENABLE | BMCR_ANRESTART); in ytphy_check_and_restart_aneg() 1900 if (!(bmcr & BMCR_ANENABLE)) { in yt8521_fiber_config_aneg() 2402 ret = __phy_modify(phydev, MII_BMCR, BMCR_ANENABLE, 0); in yt8821_serdes_init()
|
/linux-6.12.1/include/uapi/linux/ |
D | mii.h | 48 #define BMCR_ANENABLE 0x1000 /* Enable auto negotiation */ macro
|
D | mdio.h | 111 #define MDIO_AN_CTRL1_ENABLE BMCR_ANENABLE
|
/linux-6.12.1/drivers/net/dsa/mv88e6xxx/ |
D | pcs-6352.c | 198 bmcr = neg_mode == PHYLINK_PCS_NEG_INBAND_ENABLED ? BMCR_ANENABLE : 0; in marvell_c22_pcs_config() 209 err = __mdiodev_modify_changed(&mpcs->mdio, MII_BMCR, BMCR_ANENABLE, in marvell_c22_pcs_config()
|
/linux-6.12.1/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_hw.c | 380 phy_data = BMCR_RESET | BMCR_ANENABLE | BMCR_ANRESTART; in atl1e_phy_commit() 634 BMCR_RESET | BMCR_ANENABLE | BMCR_ANRESTART); in atl1e_restart_autoneg()
|
/linux-6.12.1/drivers/net/usb/ |
D | mcs7830.c | 274 ret = mcs7830_write_phy(dev, MII_BMCR, BMCR_ANENABLE); in mcs7830_set_autoneg() 278 BMCR_ANENABLE | BMCR_ANRESTART ); in mcs7830_set_autoneg()
|
/linux-6.12.1/drivers/net/phy/qcom/ |
D | qca83xx.c | 167 phy_set_bits(phydev, MII_BMCR, BMCR_RESET | BMCR_ANENABLE); in qca83xx_resume()
|
/linux-6.12.1/drivers/net/ethernet/dec/tulip/ |
D | media.c | 504 new_bmcr = mii_reg0 | BMCR_ANENABLE; in tulip_find_mii() 512 new_bmcr = mii_reg0 & ~BMCR_ANENABLE; in tulip_find_mii()
|
/linux-6.12.1/drivers/net/ethernet/sun/ |
D | cassini.c | 212 BMCR_ANENABLE, /* 0 : autoneg */ 685 cp->link_cntl = BMCR_ANENABLE; in cas_begin_auto_negotiation() 736 if (cp->link_cntl & BMCR_ANENABLE) { in cas_begin_auto_negotiation() 752 CAS_BMCR_SPEED1000 | BMCR_ANENABLE); in cas_begin_auto_negotiation() 754 if (ctl & BMCR_ANENABLE) { in cas_begin_auto_negotiation() 909 val &= ~BMCR_ANENABLE; in cas_phy_init() 1559 val &= ~(BMCR_ANRESTART | BMCR_ANENABLE); in cas_mdio_link_not_up() 1609 (cp->link_cntl & BMCR_ANENABLE)) { in cas_mii_link_check() 1619 cp->link_fcntl | BMCR_ANENABLE | in cas_mii_link_check() 3542 if (val & BMCR_ANENABLE) { in cas_set_link_modes() [all …]
|