Home
last modified time | relevance | path

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

12

/linux/drivers/net/
A Dmii.c126 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 Dsungem_phy.c355 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 Dphy.c123 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 Det1011c.c53 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | BMCR_SPEED1000 | in et1011c_config_aneg()
A Dax88796b.c71 if (val & BMCR_FULLDPLX) in asix_ax88772a_read_status()
A Dlxt.c290 val |= (BMCR_SPEED100 | BMCR_FULLDPLX); in lxt973_probe()
A Dphy_device.c2015 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 Ddp83869.c62 BMCR_FULLDPLX | \
/linux/drivers/net/ethernet/chelsio/cxgb3/
A 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/drivers/net/ethernet/chelsio/cxgb/
A Dmv88e1xxx.c138 ctl &= ~(BMCR_FULLDPLX | BMCR_ANENABLE); in mv88e1xxx_set_speed_duplex()
140 ctl |= BMCR_FULLDPLX; in mv88e1xxx_set_speed_duplex()
/linux/include/uapi/linux/
A Dmii.h44 #define BMCR_FULLDPLX 0x0100 /* Full duplex */ macro
A Dmdio.h84 #define MDIO_CTRL1_FULLDPLX BMCR_FULLDPLX
/linux/drivers/net/dsa/mv88e6xxx/
A Dserdes.c241 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 Dmedia.c518 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 Dcassini.c215 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 Dsunhme.c529 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 Dfman_dtsec.c1312 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 Datl1c_hw.c619 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 Ddl2k.c1557 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 Dsundance.c672 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 Dsmc911x.c755 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 Dlan9303-core.c1068 ctl |= BMCR_FULLDPLX; in lan9303_adjust_link()
1070 ctl &= ~BMCR_FULLDPLX; in lan9303_adjust_link()
/linux/drivers/net/ethernet/natsemi/
A Dnatsemi.c760 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 Dksz8795.c758 data |= BMCR_FULLDPLX; in ksz8_r_phy()
893 if (val & BMCR_FULLDPLX) in ksz8_w_phy()
/linux/drivers/net/ethernet/broadcom/
A Dbnx2.c1183 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()

Completed in 84 milliseconds

12