/openbmc/linux/drivers/net/ |
H 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()
|
H A D | sungem_phy.c | 351 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 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()
|
/openbmc/linux/drivers/net/phy/ |
H A D | et1011c.c | 53 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | BMCR_SPEED1000 | in et1011c_config_aneg()
|
H A D | ax88796b.c | 71 if (val & BMCR_FULLDPLX) in asix_ax88772a_read_status()
|
H A D | lxt.c | 290 val |= (BMCR_SPEED100 | BMCR_FULLDPLX); in lxt973_probe()
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | et1011c.c | 33 ctl &= ~(BMCR_FULLDPLX | BMCR_SPEED100 | BMCR_SPEED1000 | in et1011c_config()
|
H A D | xilinx_phy.c | 74 if (bmcr & BMCR_FULLDPLX) in xilinxphy_startup()
|
H A D | phy.c | 138 ctl |= BMCR_FULLDPLX; in genphy_setup_forced() 370 if (bmcr & BMCR_FULLDPLX) in genphy_parse_link()
|
H A D | ti.c | 346 (BMCR_ANENABLE | BMCR_FULLDPLX | BMCR_SPEED1000)); in dp83867_config()
|
/openbmc/linux/include/uapi/linux/ |
H A D | mii.h | 44 #define BMCR_FULLDPLX 0x0100 /* Full duplex */ macro
|
H A D | mdio.h | 101 #define MDIO_CTRL1_FULLDPLX BMCR_FULLDPLX
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H 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()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | mv88e1xxx.c | 138 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 D | mii.h | 41 #define BMCR_FULLDPLX 0x0100 /* Full duplex */ macro
|
H A D | mdio.h | 77 #define MDIO_CTRL1_FULLDPLX BMCR_FULLDPLX
|
/openbmc/linux/drivers/net/ethernet/dec/tulip/ |
H 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()
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | cassini.c | 214 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 D | sunhme.c | 490 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 D | miiphyutil.c | 508 return (bmcr & BMCR_FULLDPLX) ? FULL : HALF; in miiphy_duplex()
|
/openbmc/linux/include/linux/ |
H A D | mii.h | 578 bmcr |= BMCR_FULLDPLX; in mii_bmcr_encode_fixed()
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/ |
H 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()
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | pcs-6352.c | 247 BMCR_FULLDPLX | BMCR_SPEED1000, bmcr); in marvell_c22_pcs_link_up()
|
/openbmc/linux/drivers/net/ethernet/dlink/ |
H A D | dl2k.c | 1555 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 D | ftmac110.c | 181 if (bmcr & BMCR_FULLDPLX) in ftmac110_phyqry()
|