/linux/drivers/net/ |
A D | mii.c | 122 (bmcr & BMCR_SPEED100) == 0) ? in mii_ethtool_gset() 124 ((bmcr & BMCR_SPEED100) ? in mii_ethtool_gset() 206 (bmcr & BMCR_SPEED100) == 0) ? in mii_ethtool_get_link_ksettings() 208 ((bmcr & BMCR_SPEED100) ? in mii_ethtool_get_link_ksettings() 301 tmp = bmcr & ~(BMCR_ANENABLE | BMCR_SPEED100 | in mii_ethtool_sset() 306 tmp |= BMCR_SPEED100; in mii_ethtool_sset() 398 tmp = bmcr & ~(BMCR_ANENABLE | BMCR_SPEED100 | in mii_ethtool_set_link_ksettings() 403 tmp |= BMCR_SPEED100; in mii_ethtool_set_link_ksettings()
|
A D | sungem_phy.c | 355 ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_ANENABLE); in genmii_setup_forced() 365 ctl |= BMCR_SPEED100; in genmii_setup_forced() 523 ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_SPD2|BMCR_ANENABLE); in bcm54xx_setup_forced() 533 ctl |= BMCR_SPEED100; in bcm54xx_setup_forced() 806 ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_SPD2|BMCR_ANENABLE); in marvell_setup_forced() 814 ctl |= BMCR_SPEED100; in marvell_setup_forced()
|
/linux/drivers/net/phy/ |
A D | xilinx_gmii2rgmii.c | 21 #define XILINX_GMII2RGMII_SPEED_MASK (BMCR_SPEED1000 | BMCR_SPEED100) 42 val |= BMCR_SPEED100; in xgmiitorgmii_configure()
|
A D | marvell-88x2222.c | 124 BMCR_SPEED1000 | BMCR_SPEED100, in mv2222_set_sgmii_speed() 135 BMCR_SPEED1000 | BMCR_SPEED100, in mv2222_set_sgmii_speed() 136 BMCR_SPEED100); in mv2222_set_sgmii_speed() 145 BMCR_SPEED1000 | BMCR_SPEED100, in mv2222_set_sgmii_speed()
|
A D | et1011c.c | 53 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | BMCR_SPEED1000 | in et1011c_config_aneg()
|
A D | ax88796b.c | 66 if (val & BMCR_SPEED100) in asix_ax88772a_read_status()
|
A D | lxt.c | 290 val |= (BMCR_SPEED100 | BMCR_FULLDPLX); in lxt973_probe()
|
A D | phy_device.c | 2012 ctl |= BMCR_SPEED100; in genphy_setup_forced() 2199 err = phy_modify(phydev, MII_BMCR, BMCR_SPEED1000 | BMCR_SPEED100, in genphy_c37_config_aneg() 2368 else if (bmcr & BMCR_SPEED100) in genphy_read_status_fixed() 2621 ctl |= BMCR_SPEED100; in genphy_loopback()
|
A D | bcm7xxx.c | 384 (BMCR_SPEED100 | BMCR_ANENABLE | BMCR_ANRESTART)); in bcm7xxx_28nm_ephy_eee_enable()
|
/linux/drivers/net/ethernet/ibm/emac/ |
A D | phy.c | 123 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | BMCR_SPEED1000 | BMCR_ANENABLE); in genmii_setup_aneg() 181 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | BMCR_SPEED1000 | BMCR_ANENABLE); in genmii_setup_forced() 191 ctl |= BMCR_SPEED100; in genmii_setup_forced() 269 else if (bmcr & BMCR_SPEED100) in genmii_read_link()
|
/linux/include/uapi/linux/ |
A D | mdio.h | 81 #define MDIO_CTRL1_SPEEDSELEXT (BMCR_SPEED1000 | BMCR_SPEED100) 89 #define MDIO_PMA_CTRL1_SPEED100 BMCR_SPEED100
|
A D | mii.h | 49 #define BMCR_SPEED100 0x2000 /* Select 100Mbps */ macro
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
A D | vsc8211.c | 158 else if (bmcr & BMCR_SPEED100) in vsc8211_get_link_status() 234 else if (bmcr & BMCR_SPEED100) in vsc8211_get_link_status_fiber()
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
A D | mv88e1xxx.c | 131 ctl &= ~(BMCR_SPEED100 | BMCR_SPEED1000 | BMCR_ANENABLE); in mv88e1xxx_set_speed_duplex() 133 ctl |= BMCR_SPEED100; in mv88e1xxx_set_speed_duplex()
|
/linux/drivers/net/dsa/mv88e6xxx/ |
A D | serdes.c | 241 bmcr = val & ~(BMCR_SPEED100 | BMCR_FULLDPLX | BMCR_SPEED1000); in mv88e6352_serdes_pcs_link_up() 247 bmcr |= BMCR_SPEED100; in mv88e6352_serdes_pcs_link_up() 1054 bmcr = val & ~(BMCR_SPEED100 | BMCR_FULLDPLX | BMCR_SPEED1000); in mv88e6390_serdes_pcs_link_up() 1061 bmcr |= BMCR_SPEED100; in mv88e6390_serdes_pcs_link_up()
|
/linux/drivers/net/ethernet/sun/ |
A D | sunbmac.c | 496 if (bp->sw_bmcr & BMCR_SPEED100) { in try_next_permutation() 518 bp->sw_bmcr &= ~(BMCR_SPEED100); in try_next_permutation() 540 (bp->sw_bmcr & BMCR_SPEED100) ? in bigmac_timer() 611 bp->sw_bmcr |= BMCR_SPEED100; in bigmac_begin_auto_negotiation()
|
A D | sunhme.c | 536 if (hp->sw_bmcr & BMCR_SPEED100) { in try_next_permutation() 537 hp->sw_bmcr &= ~(BMCR_SPEED100); in try_next_permutation() 577 if (hp->sw_bmcr & BMCR_SPEED100) in display_forced_link_mode() 684 hp->sw_bmcr = BMCR_SPEED100; in happy_meal_timer() 1365 hp->sw_bmcr = BMCR_SPEED100; in happy_meal_begin_auto_negotiation() 1368 hp->sw_bmcr = BMCR_SPEED100; in happy_meal_begin_auto_negotiation() 1871 hp->sw_bmcr |= (BMCR_FULLDPLX | BMCR_SPEED100); in happy_meal_mif_interrupt() 1874 hp->sw_bmcr |= BMCR_SPEED100; in happy_meal_mif_interrupt() 2448 speed = (hp->sw_bmcr & BMCR_SPEED100) ? SPEED_100 : SPEED_10; in hme_get_link_ksettings()
|
A D | cassini.c | 214 BMCR_SPEED100, /* 2 : 100bt half duplex */ 216 BMCR_SPEED100|BMCR_FULLDPLX, /* 4 : 100bt full duplex */ 690 cp->link_cntl |= BMCR_SPEED100; in cas_begin_auto_negotiation() 751 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | in cas_begin_auto_negotiation() 1575 CAS_BMCR_SPEED1000 : BMCR_SPEED100; in cas_mdio_link_not_up() 1588 val |= (BMCR_SPEED100 | BMCR_FULLDPLX); in cas_mdio_link_not_up() 1593 if (val & BMCR_SPEED100) { in cas_mdio_link_not_up() 1597 val &= ~BMCR_SPEED100; in cas_mdio_link_not_up() 3585 if (val & BMCR_SPEED100) in cas_set_link_modes() 4579 ((bmcr & BMCR_SPEED100) ? in cas_get_link_ksettings() [all …]
|
/linux/drivers/net/ethernet/dec/tulip/ |
A D | media.c | 519 BMCR_PDOWN | BMCR_SPEED100 | BMCR_LOOPBACK | in tulip_find_mii() 525 new_bmcr |= BMCR_SPEED100; in tulip_find_mii()
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
A D | atl1c_hw.c | 619 mii_bmcr_data |= BMCR_SPEED100 | BMCR_FULLDPLX; in atl1c_phy_init() 622 mii_bmcr_data |= BMCR_SPEED100; in atl1c_phy_init()
|
/linux/drivers/net/ethernet/dlink/ |
A D | dl2k.c | 1547 switch (bmcr & (BMCR_SPEED100 | BMCR_SPEED1000)) { in mii_get_media() 1551 case BMCR_SPEED100: in mii_get_media() 1641 bmcr |= BMCR_SPEED100; in mii_set_media()
|
/linux/drivers/net/dsa/ |
A D | lan9303-core.c | 1061 ctl |= BMCR_SPEED100; in lan9303_adjust_link() 1063 ctl &= ~BMCR_SPEED100; in lan9303_adjust_link()
|
/linux/drivers/net/ethernet/ |
A D | jme.c | 437 (bmcr & BMCR_SPEED100) == 0) ? in jme_check_link() 439 (bmcr & BMCR_SPEED100) ? in jme_check_link() 1862 tmp = bmcr & ~(BMCR_ANENABLE | BMCR_SPEED100 | in jme_set_100m_half() 1864 tmp |= BMCR_SPEED100; in jme_set_100m_half()
|
/linux/drivers/net/dsa/microchip/ |
A D | ksz8795.c | 745 data |= BMCR_SPEED100; in ksz8_r_phy() 889 if (val & BMCR_SPEED100) in ksz8_w_phy()
|
/linux/drivers/net/ethernet/natsemi/ |
A D | natsemi.c | 759 np->speed = (tmp & BMCR_SPEED100)? SPEED_100 : SPEED_10; in natsemi_init_media() 1166 tmp &= ~(BMCR_ANENABLE | BMCR_SPEED100 | BMCR_FULLDPLX); in init_phy_fixup() 1168 tmp |= BMCR_SPEED100; in init_phy_fixup()
|