/linux/drivers/net/ |
A D | mii.c | 126 ecmd->duplex = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF; in mii_ethtool_gset() 210 cmd->base.duplex = (bmcr & BMCR_FULLDPLX) ? in mii_ethtool_get_link_ksettings() 302 BMCR_SPEED1000 | BMCR_FULLDPLX); in mii_ethtool_sset() 308 tmp |= BMCR_FULLDPLX; in mii_ethtool_sset() 399 BMCR_SPEED1000 | BMCR_FULLDPLX); in mii_ethtool_set_link_ksettings() 405 tmp |= BMCR_FULLDPLX; in mii_ethtool_set_link_ksettings() 618 (val & BMCR_FULLDPLX)) in generic_mii_ioctl()
|
A D | sungem_phy.c | 355 ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_ANENABLE); in genmii_setup_forced() 372 ctl |= BMCR_FULLDPLX; in genmii_setup_forced() 523 ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_SPD2|BMCR_ANENABLE); in bcm54xx_setup_forced() 539 ctl |= BMCR_FULLDPLX; in bcm54xx_setup_forced() 806 ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_SPD2|BMCR_ANENABLE); in marvell_setup_forced() 823 ctl |= BMCR_FULLDPLX; in marvell_setup_forced()
|
/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() 200 ctl |= BMCR_FULLDPLX; in genmii_setup_forced() 263 if (bmcr & BMCR_FULLDPLX) in genmii_read_link()
|
/linux/drivers/net/phy/ |
A D | et1011c.c | 53 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | BMCR_SPEED1000 | in et1011c_config_aneg()
|
A D | ax88796b.c | 71 if (val & BMCR_FULLDPLX) in asix_ax88772a_read_status()
|
A D | lxt.c | 290 val |= (BMCR_SPEED100 | BMCR_FULLDPLX); in lxt973_probe()
|
A D | phy_device.c | 2015 ctl |= BMCR_FULLDPLX; in genphy_setup_forced() 2361 if (bmcr & BMCR_FULLDPLX) in genphy_read_status_fixed() 2471 if (bmcr & BMCR_FULLDPLX) in genphy_c37_read_status() 2624 ctl |= BMCR_FULLDPLX; in genphy_loopback()
|
A D | dp83869.c | 62 BMCR_FULLDPLX | \
|
/linux/drivers/net/ethernet/chelsio/cxgb3/ |
A D | vsc8211.c | 155 dplx = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF; in vsc8211_get_link_status() 231 dplx = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF; in vsc8211_get_link_status_fiber()
|
/linux/drivers/net/ethernet/chelsio/cxgb/ |
A D | mv88e1xxx.c | 138 ctl &= ~(BMCR_FULLDPLX | BMCR_ANENABLE); in mv88e1xxx_set_speed_duplex() 140 ctl |= BMCR_FULLDPLX; in mv88e1xxx_set_speed_duplex()
|
/linux/include/uapi/linux/ |
A D | mii.h | 44 #define BMCR_FULLDPLX 0x0100 /* Full duplex */ macro
|
A D | mdio.h | 84 #define MDIO_CTRL1_FULLDPLX BMCR_FULLDPLX
|
/linux/drivers/net/dsa/mv88e6xxx/ |
A D | serdes.c | 241 bmcr = val & ~(BMCR_SPEED100 | BMCR_FULLDPLX | BMCR_SPEED1000); in mv88e6352_serdes_pcs_link_up() 254 bmcr |= BMCR_FULLDPLX; in mv88e6352_serdes_pcs_link_up() 1054 bmcr = val & ~(BMCR_SPEED100 | BMCR_FULLDPLX | BMCR_SPEED1000); in mv88e6390_serdes_pcs_link_up() 1068 bmcr |= BMCR_FULLDPLX; in mv88e6390_serdes_pcs_link_up()
|
/linux/drivers/net/ethernet/dec/tulip/ |
A D | media.c | 518 new_bmcr &= ~(BMCR_CTST | BMCR_FULLDPLX | BMCR_ISOLATE | in tulip_find_mii() 523 new_bmcr |= BMCR_FULLDPLX; in tulip_find_mii()
|
/linux/drivers/net/ethernet/sun/ |
A D | cassini.c | 215 BMCR_FULLDPLX, /* 3 : 10bt full duplex */ 216 BMCR_SPEED100|BMCR_FULLDPLX, /* 4 : 100bt full duplex */ 694 cp->link_cntl |= BMCR_FULLDPLX; in cas_begin_auto_negotiation() 740 if (cp->link_cntl & BMCR_FULLDPLX) in cas_begin_auto_negotiation() 751 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | in cas_begin_auto_negotiation() 1573 val |= BMCR_FULLDPLX; in cas_mdio_link_not_up() 1588 val |= (BMCR_SPEED100 | BMCR_FULLDPLX); in cas_mdio_link_not_up() 1594 if (val & BMCR_FULLDPLX) /* fd failed */ in cas_mdio_link_not_up() 1595 val &= ~BMCR_FULLDPLX; in cas_mdio_link_not_up() 3582 if (val & BMCR_FULLDPLX) in cas_set_link_modes() [all …]
|
A D | sunhme.c | 529 if (hp->sw_bmcr & BMCR_FULLDPLX) { in try_next_permutation() 530 hp->sw_bmcr &= ~(BMCR_FULLDPLX); in try_next_permutation() 581 if (hp->sw_bmcr & BMCR_FULLDPLX) in display_forced_link_mode() 609 if (hp->sw_bmcr & BMCR_FULLDPLX) in set_happy_link_modes() 1372 hp->sw_bmcr |= BMCR_FULLDPLX; in happy_meal_begin_auto_negotiation() 1871 hp->sw_bmcr |= (BMCR_FULLDPLX | BMCR_SPEED100); in happy_meal_mif_interrupt() 1877 hp->sw_bmcr |= BMCR_FULLDPLX; in happy_meal_mif_interrupt() 2450 (hp->sw_bmcr & BMCR_FULLDPLX) ? in hme_get_link_ksettings()
|
/linux/drivers/net/ethernet/freescale/fman/ |
A D | fman_dtsec.c | 1312 BMCR_FULLDPLX | BMCR_SPEED1000); in dtsec_restart_autoneg() 1427 BMCR_FULLDPLX | BMCR_SPEED1000); in dtsec_init() 1437 BMCR_FULLDPLX | BMCR_SPEED1000); in dtsec_init()
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
A D | atl1c_hw.c | 619 mii_bmcr_data |= BMCR_SPEED100 | BMCR_FULLDPLX; in atl1c_phy_init() 625 mii_bmcr_data |= BMCR_FULLDPLX; in atl1c_phy_init()
|
/linux/drivers/net/ethernet/dlink/ |
A D | dl2k.c | 1557 if (bmcr & BMCR_FULLDPLX) { in mii_get_media() 1647 bmcr |= BMCR_FULLDPLX; in mii_set_media() 1702 if (bmcr & BMCR_FULLDPLX) { in mii_get_media_pcs() 1757 bmcr = BMCR_FULLDPLX; in mii_set_media_pcs()
|
A D | sundance.c | 672 mii_ctl |= (np->mii_if.full_duplex) ? BMCR_FULLDPLX : 0; in sundance_probe1() 1486 (mii_ctl & BMCR_FULLDPLX) ? in netdev_error()
|
/linux/drivers/net/ethernet/smsc/ |
A D | smc911x.c | 755 bmcr |= BMCR_FULLDPLX; in smc911x_phy_fixed() 856 bmcr |= BMCR_FULLDPLX; in smc911x_phy_check_media() 860 bmcr &= ~BMCR_FULLDPLX; in smc911x_phy_check_media()
|
/linux/drivers/net/dsa/ |
A D | lan9303-core.c | 1068 ctl |= BMCR_FULLDPLX; in lan9303_adjust_link() 1070 ctl &= ~BMCR_FULLDPLX; in lan9303_adjust_link()
|
/linux/drivers/net/ethernet/natsemi/ |
A D | natsemi.c | 760 np->duplex = (tmp & BMCR_FULLDPLX)? DUPLEX_FULL : DUPLEX_HALF; in natsemi_init_media() 1166 tmp &= ~(BMCR_ANENABLE | BMCR_SPEED100 | BMCR_FULLDPLX); in init_phy_fixup() 1170 tmp |= BMCR_FULLDPLX; in init_phy_fixup() 1686 } else if (mdio_read(dev, MII_BMCR) & BMCR_FULLDPLX) in check_link()
|
/linux/drivers/net/dsa/microchip/ |
A D | ksz8795.c | 758 data |= BMCR_FULLDPLX; in ksz8_r_phy() 893 if (val & BMCR_FULLDPLX) in ksz8_w_phy()
|
/linux/drivers/net/ethernet/broadcom/ |
A D | bnx2.c | 1183 if (bmcr & BMCR_FULLDPLX) { in bnx2_5706s_linkup() 1268 if (bmcr & BMCR_FULLDPLX) { in bnx2_copper_linkup() 1494 bmcr |= BMCR_FULLDPLX; in bnx2_enable_forced_2g5() 1800 new_bmcr |= BMCR_FULLDPLX; in bnx2_setup_serdes_phy() 1804 new_bmcr &= ~BMCR_FULLDPLX; in bnx2_setup_serdes_phy() 2126 new_bmcr |= BMCR_FULLDPLX; in bnx2_setup_copper_phy() 2453 rc = bnx2_write_phy(bp, bp->mii_bmcr, BMCR_LOOPBACK | BMCR_FULLDPLX | in bnx2_set_phy_loopback() 6102 bmcr |= BMCR_SPEED1000 | BMCR_FULLDPLX; in bnx2_5706_serdes_timer()
|