/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/drivers/net/phy/ |
D | et1011c.c | 54 BMCR_ANENABLE); in et1011c_config_aneg()
|
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 | \ 670 if (bmcr & BMCR_ANENABLE) { in dp83869_configure_fiber() 671 ret = phy_modify(phydev, MII_BMCR, BMCR_ANENABLE, 0); in dp83869_configure_fiber()
|
D | marvell-88x2222.c | 94 BMCR_ANENABLE | BMCR_ANRESTART); in mv2222_disable_aneg() 104 BMCR_ANENABLE | BMCR_RESET); in mv2222_enable_aneg()
|
D | dp83822.c | 445 if (bmcr & BMCR_ANENABLE) { in dp83822_config_init() 446 err = phy_modify(phydev, MII_BMCR, BMCR_ANENABLE, 0); in dp83822_config_init()
|
D | lxt.c | 291 val &= ~BMCR_ANENABLE; in lxt973_probe()
|
D | microchip_t1.c | 534 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/ |
D | mii.h | 48 #define BMCR_ANENABLE 0x1000 /* Enable auto negotiation */ macro
|
D | mdio.h | 106 #define MDIO_AN_CTRL1_ENABLE BMCR_ANENABLE
|
/linux-6.1.9/drivers/net/pcs/ |
D | pcs-altera-tse.c | 113 ctrl |= (BMCR_SPEED1000 | BMCR_FULLDPLX | BMCR_ANENABLE); in alt_tse_pcs_config()
|
/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/net/dsa/mv88e6xxx/ |
D | serdes.c | 184 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/ |
D | cassini.c | 213 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/ |
D | ksz8795.c | 587 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/ |
D | atl1c_hw.c | 616 mii_bmcr_data |= BMCR_ANENABLE | BMCR_ANRESTART; in atl1c_phy_init() 775 mii_bmcr_data |= BMCR_ANENABLE | BMCR_ANRESTART; in atl1c_restart_autoneg()
|