/Linux-v4.19/drivers/net/phy/ |
D | swphy.c | 47 .bmcr = BMCR_FULLDPLX, 51 .bmcr = BMCR_FULLDPLX | BMCR_SPEED100, 56 .bmcr = BMCR_FULLDPLX | BMCR_SPEED1000, 64 .bmcr = ~BMCR_FULLDPLX,
|
D | lxt.c | 208 if (bmcr & BMCR_FULLDPLX) in lxt973a2_read_status() 237 val |= (BMCR_SPEED100 | BMCR_FULLDPLX); in lxt973_probe()
|
D | et1011c.c | 58 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | BMCR_SPEED1000 | in et1011c_config_aneg()
|
D | phy_device.c | 1416 ctl |= BMCR_FULLDPLX; in genphy_setup_forced() 1618 if (bmcr & BMCR_FULLDPLX) in genphy_read_status()
|
D | phy.c | 420 if (val & BMCR_FULLDPLX) in phy_mii_ioctl()
|
/Linux-v4.19/drivers/net/ |
D | mii.c | 127 ecmd->duplex = (bmcr & BMCR_FULLDPLX) ? DUPLEX_FULL : DUPLEX_HALF; in mii_ethtool_gset() 212 cmd->base.duplex = (bmcr & BMCR_FULLDPLX) ? in mii_ethtool_get_link_ksettings() 304 BMCR_SPEED1000 | BMCR_FULLDPLX); in mii_ethtool_sset() 310 tmp |= BMCR_FULLDPLX; in mii_ethtool_sset() 401 BMCR_SPEED1000 | BMCR_FULLDPLX); in mii_ethtool_set_link_ksettings() 407 tmp |= BMCR_FULLDPLX; in mii_ethtool_set_link_ksettings() 620 (val & BMCR_FULLDPLX)) in generic_mii_ioctl()
|
D | sungem_phy.c | 354 ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_ANENABLE); in genmii_setup_forced() 371 ctl |= BMCR_FULLDPLX; in genmii_setup_forced() 522 ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_SPD2|BMCR_ANENABLE); in bcm54xx_setup_forced() 538 ctl |= BMCR_FULLDPLX; in bcm54xx_setup_forced() 805 ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_SPD2|BMCR_ANENABLE); in marvell_setup_forced() 822 ctl |= BMCR_FULLDPLX; in marvell_setup_forced()
|
/Linux-v4.19/drivers/net/ethernet/ibm/emac/ |
D | phy.c | 122 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | BMCR_SPEED1000 | BMCR_ANENABLE); in genmii_setup_aneg() 180 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | BMCR_SPEED1000 | BMCR_ANENABLE); in genmii_setup_forced() 199 ctl |= BMCR_FULLDPLX; in genmii_setup_forced() 262 if (bmcr & BMCR_FULLDPLX) in genmii_read_link()
|
/Linux-v4.19/include/uapi/linux/ |
D | mii.h | 44 #define BMCR_FULLDPLX 0x0100 /* Full duplex */ macro
|
D | mdio.h | 78 #define MDIO_CTRL1_FULLDPLX BMCR_FULLDPLX
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/ |
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-v4.19/drivers/net/ethernet/chelsio/cxgb/ |
D | mv88e1xxx.c | 138 ctl &= ~(BMCR_FULLDPLX | BMCR_ANENABLE); in mv88e1xxx_set_speed_duplex() 140 ctl |= BMCR_FULLDPLX; in mv88e1xxx_set_speed_duplex()
|
/Linux-v4.19/drivers/net/ethernet/dec/tulip/ |
D | media.c | 523 new_bmcr &= ~(BMCR_CTST | BMCR_FULLDPLX | BMCR_ISOLATE | in tulip_find_mii() 528 new_bmcr |= BMCR_FULLDPLX; in tulip_find_mii()
|
/Linux-v4.19/drivers/net/ethernet/sun/ |
D | cassini.c | 228 BMCR_FULLDPLX, /* 3 : 10bt full duplex */ 229 BMCR_SPEED100|BMCR_FULLDPLX, /* 4 : 100bt full duplex */ 230 CAS_BMCR_SPEED1000|BMCR_FULLDPLX /* 5 : 1000bt full duplex */ 719 cp->link_cntl |= BMCR_FULLDPLX; in cas_begin_auto_negotiation() 765 if (cp->link_cntl & BMCR_FULLDPLX) in cas_begin_auto_negotiation() 776 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | in cas_begin_auto_negotiation() 1598 val |= BMCR_FULLDPLX; in cas_mdio_link_not_up() 1613 val |= (BMCR_SPEED100 | BMCR_FULLDPLX); in cas_mdio_link_not_up() 1619 if (val & BMCR_FULLDPLX) /* fd failed */ in cas_mdio_link_not_up() 1620 val &= ~BMCR_FULLDPLX; in cas_mdio_link_not_up() [all …]
|
D | sunhme.c | 554 if (hp->sw_bmcr & BMCR_FULLDPLX) { in try_next_permutation() 555 hp->sw_bmcr &= ~(BMCR_FULLDPLX); in try_next_permutation() 606 if (hp->sw_bmcr & BMCR_FULLDPLX) in display_forced_link_mode() 634 if (hp->sw_bmcr & BMCR_FULLDPLX) in set_happy_link_modes() 1397 hp->sw_bmcr |= BMCR_FULLDPLX; in happy_meal_begin_auto_negotiation() 1896 hp->sw_bmcr |= (BMCR_FULLDPLX | BMCR_SPEED100); in happy_meal_mif_interrupt() 1902 hp->sw_bmcr |= BMCR_FULLDPLX; in happy_meal_mif_interrupt() 2475 (hp->sw_bmcr & BMCR_FULLDPLX) ? in hme_get_link_ksettings()
|
/Linux-v4.19/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_hw.c | 627 mii_bmcr_data |= BMCR_SPEED100 | BMCR_FULLDPLX; in atl1c_phy_init() 633 mii_bmcr_data |= BMCR_FULLDPLX; in atl1c_phy_init()
|
/Linux-v4.19/drivers/net/ethernet/freescale/fman/ |
D | fman_dtsec.c | 1317 BMCR_FULLDPLX | BMCR_SPEED1000); in dtsec_restart_autoneg() 1435 BMCR_FULLDPLX | BMCR_SPEED1000); in dtsec_init() 1445 BMCR_FULLDPLX | BMCR_SPEED1000); in dtsec_init()
|
/Linux-v4.19/drivers/net/ethernet/dlink/ |
D | dl2k.c | 1569 if (bmcr & BMCR_FULLDPLX) { in mii_get_media() 1659 bmcr |= BMCR_FULLDPLX; in mii_set_media() 1714 if (bmcr & BMCR_FULLDPLX) { in mii_get_media_pcs() 1769 bmcr = BMCR_FULLDPLX; in mii_set_media_pcs()
|
D | sundance.c | 683 mii_ctl |= (np->mii_if.full_duplex) ? BMCR_FULLDPLX : 0; in sundance_probe1() 1499 (mii_ctl & BMCR_FULLDPLX) ? in netdev_error()
|
/Linux-v4.19/drivers/net/dsa/ |
D | lan9303-core.c | 1070 ctl |= BMCR_FULLDPLX; in lan9303_adjust_link() 1072 ctl &= ~BMCR_FULLDPLX; in lan9303_adjust_link()
|
/Linux-v4.19/drivers/net/ethernet/smsc/ |
D | smc911x.c | 762 bmcr |= BMCR_FULLDPLX; in smc911x_phy_fixed() 863 bmcr |= BMCR_FULLDPLX; in smc911x_phy_check_media() 867 bmcr &= ~BMCR_FULLDPLX; in smc911x_phy_check_media()
|
/Linux-v4.19/drivers/net/ethernet/natsemi/ |
D | natsemi.c | 760 np->duplex = (tmp & BMCR_FULLDPLX)? DUPLEX_FULL : DUPLEX_HALF; in natsemi_init_media() 1167 tmp &= ~(BMCR_ANENABLE | BMCR_SPEED100 | BMCR_FULLDPLX); in init_phy_fixup() 1171 tmp |= BMCR_FULLDPLX; in init_phy_fixup() 1687 } else if (mdio_read(dev, MII_BMCR) & BMCR_FULLDPLX) in check_link()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 1189 if (bmcr & BMCR_FULLDPLX) { in bnx2_5706s_linkup() 1274 if (bmcr & BMCR_FULLDPLX) { in bnx2_copper_linkup() 1500 bmcr |= BMCR_FULLDPLX; in bnx2_enable_forced_2g5() 1806 new_bmcr |= BMCR_FULLDPLX; in bnx2_setup_serdes_phy() 1810 new_bmcr &= ~BMCR_FULLDPLX; in bnx2_setup_serdes_phy() 2132 new_bmcr |= BMCR_FULLDPLX; in bnx2_setup_copper_phy() 2459 rc = bnx2_write_phy(bp, bp->mii_bmcr, BMCR_LOOPBACK | BMCR_FULLDPLX | in bnx2_set_phy_loopback() 6110 bmcr |= BMCR_SPEED1000 | BMCR_FULLDPLX; in bnx2_5706_serdes_timer()
|
/Linux-v4.19/drivers/net/usb/ |
D | rtl8150.c | 827 ecmd->base.duplex = (bmcr & BMCR_FULLDPLX) ? in rtl8150_get_link_ksettings()
|
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/ |
D | phy.c | 1440 *phy_ctrl &= ~BMCR_FULLDPLX; in e1000e_phy_force_speed_duplex_setup() 1444 *phy_ctrl |= BMCR_FULLDPLX; in e1000e_phy_force_speed_duplex_setup()
|