Home
last modified time | relevance | path

Searched refs:BMCR_ANENABLE (Results 1 – 25 of 69) sorted by relevance

123

/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb/
Dmv88e1xxx.c131 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/
Dmii.c91 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()
Dsungem_phy.c335 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/
Dphy.c61 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/
Dvsc8211.c120 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()
Daq100x.c135 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/
Dpcs-mtk-lynxi.c135 bmcr = BMCR_ANENABLE; in mtk_pcs_lynxi_config()
186 BMCR_ANENABLE, bmcr); in mtk_pcs_lynxi_config()
/linux-6.12.1/drivers/net/phy/
Det1011c.c54 BMCR_ANENABLE); in et1011c_config_aneg()
Dncn26000.c23 #define NCN26000_BCMR_LINK_CTRL_BIT BMCR_ANENABLE
Dswphy.c150 return BMCR_ANENABLE; in swphy_read_reg()
Ddp83848.c120 if (!(val & BMCR_ANENABLE)) in dp83848_config_init()
Ddavicom.c170 return phy_write(phydev, MII_BMCR, BMCR_ANENABLE); in dm9161_config_init()
Ddp83869.c62 #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()
Dmarvell-88x2222.c91 BMCR_ANENABLE | BMCR_ANRESTART); in mv2222_disable_aneg()
101 BMCR_ANENABLE | BMCR_RESET); in mv2222_enable_aneg()
Dlxt.c291 val &= ~BMCR_ANENABLE; in lxt973_probe()
Ddp83822.c479 if (bmcr & BMCR_ANENABLE) { in dp83822_config_init()
480 err = phy_modify(phydev, MII_BMCR, BMCR_ANENABLE, 0); in dp83822_config_init()
Dmotorcomm.c1811 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/
Dmii.h48 #define BMCR_ANENABLE 0x1000 /* Enable auto negotiation */ macro
Dmdio.h111 #define MDIO_AN_CTRL1_ENABLE BMCR_ANENABLE
/linux-6.12.1/drivers/net/dsa/mv88e6xxx/
Dpcs-6352.c198 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/
Datl1e_hw.c380 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/
Dmcs7830.c274 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/
Dqca83xx.c167 phy_set_bits(phydev, MII_BMCR, BMCR_RESET | BMCR_ANENABLE); in qca83xx_resume()
/linux-6.12.1/drivers/net/ethernet/dec/tulip/
Dmedia.c504 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/
Dcassini.c212 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 …]

123