Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/net/
H 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()
H A Dsungem_phy.c351 ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_ANENABLE); in genmii_setup_forced()
368 ctl |= BMCR_FULLDPLX; in genmii_setup_forced()
520 ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_SPD2|BMCR_ANENABLE); in bcm54xx_setup_forced()
536 ctl |= BMCR_FULLDPLX; in bcm54xx_setup_forced()
803 ctl &= ~(BMCR_FULLDPLX|BMCR_SPEED100|BMCR_SPD2|BMCR_ANENABLE); in marvell_setup_forced()
820 ctl |= BMCR_FULLDPLX; in marvell_setup_forced()
/openbmc/linux/drivers/net/ethernet/ibm/emac/
H 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()
/openbmc/linux/drivers/net/phy/
H A Det1011c.c53 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | BMCR_SPEED1000 | in et1011c_config_aneg()
H A Dax88796b.c71 if (val & BMCR_FULLDPLX) in asix_ax88772a_read_status()
H A Dlxt.c290 val |= (BMCR_SPEED100 | BMCR_FULLDPLX); in lxt973_probe()
/openbmc/u-boot/drivers/net/phy/
H A Det1011c.c33 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | BMCR_SPEED1000 | in et1011c_config()
H A Dxilinx_phy.c74 if (bmcr & BMCR_FULLDPLX) in xilinxphy_startup()
H A Dphy.c138 ctl |= BMCR_FULLDPLX; in genphy_setup_forced()
370 if (bmcr & BMCR_FULLDPLX) in genphy_parse_link()
H A Dti.c346 (BMCR_ANENABLE | BMCR_FULLDPLX | BMCR_SPEED1000)); in dp83867_config()
/openbmc/linux/include/uapi/linux/
H A Dmii.h44 #define BMCR_FULLDPLX 0x0100 /* Full duplex */ macro
H A Dmdio.h101 #define MDIO_CTRL1_FULLDPLX BMCR_FULLDPLX
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H 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()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dmv88e1xxx.c138 ctl &= ~(BMCR_FULLDPLX | BMCR_ANENABLE); in mv88e1xxx_set_speed_duplex()
140 ctl |= BMCR_FULLDPLX; in mv88e1xxx_set_speed_duplex()
/openbmc/u-boot/include/linux/
H A Dmii.h41 #define BMCR_FULLDPLX 0x0100 /* Full duplex */ macro
H A Dmdio.h77 #define MDIO_CTRL1_FULLDPLX BMCR_FULLDPLX
/openbmc/linux/drivers/net/ethernet/dec/tulip/
H A Dmedia.c518 new_bmcr &= ~(BMCR_CTST | BMCR_FULLDPLX | BMCR_ISOLATE | in tulip_find_mii()
523 new_bmcr |= BMCR_FULLDPLX; in tulip_find_mii()
/openbmc/linux/drivers/net/ethernet/sun/
H A Dcassini.c214 BMCR_FULLDPLX, /* 3 : 10bt full duplex */
215 BMCR_SPEED100|BMCR_FULLDPLX, /* 4 : 100bt full duplex */
693 cp->link_cntl |= BMCR_FULLDPLX; in cas_begin_auto_negotiation()
739 if (cp->link_cntl & BMCR_FULLDPLX) in cas_begin_auto_negotiation()
750 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | in cas_begin_auto_negotiation()
1559 val |= BMCR_FULLDPLX; in cas_mdio_link_not_up()
1574 val |= (BMCR_SPEED100 | BMCR_FULLDPLX); in cas_mdio_link_not_up()
1580 if (val & BMCR_FULLDPLX) /* fd failed */ in cas_mdio_link_not_up()
1581 val &= ~BMCR_FULLDPLX; in cas_mdio_link_not_up()
3545 if (val & BMCR_FULLDPLX) in cas_set_link_modes()
[all …]
H A Dsunhme.c490 if (hp->sw_bmcr & BMCR_FULLDPLX) { in try_next_permutation()
491 hp->sw_bmcr &= ~(BMCR_FULLDPLX); in try_next_permutation()
526 hp->sw_bmcr & BMCR_FULLDPLX ? "Full" : "Half"); in display_forced_link_mode()
551 if (hp->sw_bmcr & BMCR_FULLDPLX) in set_happy_link_modes()
699 hp->sw_bmcr |= BMCR_FULLDPLX; in happy_meal_begin_auto_negotiation()
2159 (hp->sw_bmcr & BMCR_FULLDPLX) ? in hme_get_link_ksettings()
/openbmc/u-boot/common/
H A Dmiiphyutil.c508 return (bmcr & BMCR_FULLDPLX) ? FULL : HALF; in miiphy_duplex()
/openbmc/linux/include/linux/
H A Dmii.h578 bmcr |= BMCR_FULLDPLX; in mii_bmcr_encode_fixed()
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/
H 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()
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dpcs-6352.c247 BMCR_FULLDPLX | BMCR_SPEED1000, bmcr); in marvell_c22_pcs_link_up()
/openbmc/linux/drivers/net/ethernet/dlink/
H A Ddl2k.c1555 if (bmcr & BMCR_FULLDPLX) { in mii_get_media()
1645 bmcr |= BMCR_FULLDPLX; in mii_set_media()
1700 if (bmcr & BMCR_FULLDPLX) { in mii_get_media_pcs()
1755 bmcr = BMCR_FULLDPLX; in mii_set_media_pcs()
/openbmc/u-boot/drivers/net/
H A Dftmac110.c181 if (bmcr & BMCR_FULLDPLX) in ftmac110_phyqry()

123