Home
last modified time | relevance | path

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

123

/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/drivers/net/phy/
Det1011c.c54 BMCR_ANENABLE); in et1011c_config_aneg()
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 | \
670 if (bmcr & BMCR_ANENABLE) { in dp83869_configure_fiber()
671 ret = phy_modify(phydev, MII_BMCR, BMCR_ANENABLE, 0); in dp83869_configure_fiber()
Dmarvell-88x2222.c94 BMCR_ANENABLE | BMCR_ANRESTART); in mv2222_disable_aneg()
104 BMCR_ANENABLE | BMCR_RESET); in mv2222_enable_aneg()
Ddp83822.c445 if (bmcr & BMCR_ANENABLE) { in dp83822_config_init()
446 err = phy_modify(phydev, MII_BMCR, BMCR_ANENABLE, 0); in dp83822_config_init()
Dlxt.c291 val &= ~BMCR_ANENABLE; in lxt973_probe()
Dmicrochip_t1.c534 if (bmcr & BMCR_ANENABLE) { in microchip_cable_test_start_common()
535 ret = phy_modify(phydev, MII_BMCR, BMCR_ANENABLE, 0); in microchip_cable_test_start_common()
/linux-6.1.9/include/uapi/linux/
Dmii.h48 #define BMCR_ANENABLE 0x1000 /* Enable auto negotiation */ macro
Dmdio.h106 #define MDIO_AN_CTRL1_ENABLE BMCR_ANENABLE
/linux-6.1.9/drivers/net/pcs/
Dpcs-altera-tse.c113 ctrl |= (BMCR_SPEED1000 | BMCR_FULLDPLX | BMCR_ANENABLE); in alt_tse_pcs_config()
/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/net/dsa/mv88e6xxx/
Dserdes.c184 bmcr = val | BMCR_ANENABLE; in mv88e6352_serdes_pcs_config()
186 bmcr = val & ~BMCR_ANENABLE; in mv88e6352_serdes_pcs_config()
909 bmcr = val | BMCR_ANENABLE; in mv88e6390_serdes_pcs_config()
911 bmcr = val & ~BMCR_ANENABLE; in mv88e6390_serdes_pcs_config()
/linux-6.1.9/drivers/net/ethernet/sun/
Dcassini.c213 BMCR_ANENABLE, /* 0 : autoneg */
686 cp->link_cntl = BMCR_ANENABLE; in cas_begin_auto_negotiation()
737 if (cp->link_cntl & BMCR_ANENABLE) { in cas_begin_auto_negotiation()
753 CAS_BMCR_SPEED1000 | BMCR_ANENABLE); in cas_begin_auto_negotiation()
755 if (ctl & BMCR_ANENABLE) { in cas_begin_auto_negotiation()
910 val &= ~BMCR_ANENABLE; in cas_phy_init()
1560 val &= ~(BMCR_ANRESTART | BMCR_ANENABLE); in cas_mdio_link_not_up()
1610 (cp->link_cntl & BMCR_ANENABLE)) { in cas_mii_link_check()
1620 cp->link_fcntl | BMCR_ANENABLE | in cas_mii_link_check()
3563 if (val & BMCR_ANENABLE) { in cas_set_link_modes()
[all …]
/linux-6.1.9/drivers/net/dsa/microchip/
Dksz8795.c587 data |= BMCR_ANENABLE; in ksz8_r_phy()
590 data |= BMCR_ANENABLE; in ksz8_r_phy()
746 if ((val & BMCR_ANENABLE)) in ksz8_w_phy()
751 if (!(val & BMCR_ANENABLE)) in ksz8_w_phy()
/linux-6.1.9/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c616 mii_bmcr_data |= BMCR_ANENABLE | BMCR_ANRESTART; in atl1c_phy_init()
775 mii_bmcr_data |= BMCR_ANENABLE | BMCR_ANRESTART; in atl1c_restart_autoneg()

123