Home
last modified time | relevance | path

Searched refs:BMCR_FULLDPLX (Results 1 – 25 of 44) sorted by relevance

12

/Linux-v4.19/drivers/net/phy/
Dswphy.c47 .bmcr = BMCR_FULLDPLX,
51 .bmcr = BMCR_FULLDPLX | BMCR_SPEED100,
56 .bmcr = BMCR_FULLDPLX | BMCR_SPEED1000,
64 .bmcr = ~BMCR_FULLDPLX,
Dlxt.c208 if (bmcr & BMCR_FULLDPLX) in lxt973a2_read_status()
237 val |= (BMCR_SPEED100 | BMCR_FULLDPLX); in lxt973_probe()
Det1011c.c58 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | BMCR_SPEED1000 | in et1011c_config_aneg()
Dphy_device.c1416 ctl |= BMCR_FULLDPLX; in genphy_setup_forced()
1618 if (bmcr & BMCR_FULLDPLX) in genphy_read_status()
Dphy.c420 if (val & BMCR_FULLDPLX) in phy_mii_ioctl()
/Linux-v4.19/drivers/net/
Dmii.c127 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()
Dsungem_phy.c354 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/
Dphy.c122 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/
Dmii.h44 #define BMCR_FULLDPLX 0x0100 /* Full duplex */ macro
Dmdio.h78 #define MDIO_CTRL1_FULLDPLX BMCR_FULLDPLX
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/
Dvsc8211.c155 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/
Dmv88e1xxx.c138 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/
Dmedia.c523 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/
Dcassini.c228 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 …]
Dsunhme.c554 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/
Datl1c_hw.c627 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/
Dfman_dtsec.c1317 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/
Ddl2k.c1569 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()
Dsundance.c683 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/
Dlan9303-core.c1070 ctl |= BMCR_FULLDPLX; in lan9303_adjust_link()
1072 ctl &= ~BMCR_FULLDPLX; in lan9303_adjust_link()
/Linux-v4.19/drivers/net/ethernet/smsc/
Dsmc911x.c762 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/
Dnatsemi.c760 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/
Dbnx2.c1189 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/
Drtl8150.c827 ecmd->base.duplex = (bmcr & BMCR_FULLDPLX) ? in rtl8150_get_link_ksettings()
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/
Dphy.c1440 *phy_ctrl &= ~BMCR_FULLDPLX; in e1000e_phy_force_speed_duplex_setup()
1444 *phy_ctrl |= BMCR_FULLDPLX; in e1000e_phy_force_speed_duplex_setup()

12