/openbmc/linux/drivers/net/ |
H A D | mii.c | 86 ecmd->advertising |= mii_get_an(mii, MII_ADVERTISE); in mii_ethtool_gset() 172 advertising |= mii_get_an(mii, MII_ADVERTISE); in mii_ethtool_get_link_ksettings() 272 advert = mii->mdio_read(dev, mii->phy_id, MII_ADVERTISE); in mii_ethtool_sset() 284 mii->mdio_write(dev, mii->phy_id, MII_ADVERTISE, tmp); in mii_ethtool_sset() 368 advert = mii->mdio_read(dev, mii->phy_id, MII_ADVERTISE); in mii_ethtool_set_link_ksettings() 381 mii->mdio_write(dev, mii->phy_id, MII_ADVERTISE, tmp); in mii_ethtool_set_link_ksettings() 543 advertise = mii->mdio_read(mii->dev, mii->phy_id, MII_ADVERTISE); in mii_check_media() 626 case MII_ADVERTISE: in generic_mii_ioctl()
|
H A D | sungem_phy.c | 321 adv = sungem_phy_read(phy, MII_ADVERTISE); in genmii_setup_aneg() 331 sungem_phy_write(phy, MII_ADVERTISE, adv); in genmii_setup_aneg() 477 adv = sungem_phy_read(phy, MII_ADVERTISE); in bcm54xx_setup_aneg() 491 sungem_phy_write(phy, MII_ADVERTISE, adv); in bcm54xx_setup_aneg() 730 sungem_phy_write(phy, MII_ADVERTISE, 0x01e0); in bcm5461_enable_fiber() 753 adv = sungem_phy_read(phy, MII_ADVERTISE); in marvell_setup_aneg() 767 sungem_phy_write(phy, MII_ADVERTISE, adv); in marvell_setup_aneg()
|
H A D | mdio.c | 570 case MII_ADVERTISE: in mdio_mii_ioctl() 575 if (addr == MII_ADVERTISE) in mdio_mii_ioctl()
|
/openbmc/linux/drivers/net/ethernet/via/ |
H A D | via-velocity.c | 725 velocity_mii_read(regs, MII_ADVERTISE, &ANAR); in mii_check_media_mode() 737 velocity_mii_read(regs, MII_ADVERTISE, &ANAR); in mii_check_media_mode() 799 MII_REG_BITS_OFF(ADVERTISE_PAUSE_CAP, MII_ADVERTISE, vptr->mac_regs); in set_mii_flow_control() 800 MII_REG_BITS_ON(ADVERTISE_PAUSE_ASYM, MII_ADVERTISE, vptr->mac_regs); in set_mii_flow_control() 804 MII_REG_BITS_ON(ADVERTISE_PAUSE_CAP, MII_ADVERTISE, vptr->mac_regs); in set_mii_flow_control() 805 MII_REG_BITS_ON(ADVERTISE_PAUSE_ASYM, MII_ADVERTISE, vptr->mac_regs); in set_mii_flow_control() 809 MII_REG_BITS_ON(ADVERTISE_PAUSE_CAP, MII_ADVERTISE, vptr->mac_regs); in set_mii_flow_control() 859 velocity_mii_read(regs, MII_ADVERTISE, &ANAR); in check_connection_type() 957 velocity_mii_read(vptr->mac_regs, MII_ADVERTISE, &ANAR); in velocity_set_media_mode() 970 velocity_mii_write(vptr->mac_regs, MII_ADVERTISE, ANAR); in velocity_set_media_mode() [all …]
|
/openbmc/linux/drivers/net/ethernet/ibm/emac/ |
H A D | phy.c | 129 adv = phy_read(phy, MII_ADVERTISE); in genmii_setup_aneg() 146 phy_write(phy, MII_ADVERTISE, adv); in genmii_setup_aneg() 224 int lpa = phy_read(phy, MII_LPA) & phy_read(phy, MII_ADVERTISE); in genmii_read_link()
|
/openbmc/linux/include/uapi/linux/ |
H A D | mii.h | 20 #define MII_ADVERTISE 0x04 /* Advertisement control reg */ macro
|
/openbmc/u-boot/common/ |
H A D | miiphyutil.c | 437 if (miiphy_read(devname, addr, MII_ADVERTISE, &adv)) { in miiphy_speed() 500 if (miiphy_read(devname, addr, MII_ADVERTISE, &adv)) { in miiphy_duplex()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | vsc8211.c | 182 MII_ADVERTISE, &adv); in vsc8211_get_link_status() 241 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, MII_ADVERTISE, in vsc8211_get_link_status_fiber()
|
/openbmc/u-boot/drivers/net/ |
H A D | dnet.c | 222 dnet_mdio_write(dnet, MII_ADVERTISE, adv); in dnet_phy_reset() 287 adv = dnet_mdio_read(dnet, MII_ADVERTISE); in dnet_phy_init()
|
H A D | at91_emac.c | 194 MII_ADVERTISE, adv); in at91emac_phy_reset() 256 MII_ADVERTISE, &adv); in at91emac_phy_init()
|
H A D | smc911x.c | 89 smc911x_eth_phy_write(dev, 1, MII_ADVERTISE, 0x01e1); in smc911x_phy_configure()
|
/openbmc/u-boot/cmd/ |
H A D | mii.c | 25 { MII_ADVERTISE, "Autonegotiation advertisement register" }, 218 else if ((regno == MII_ADVERTISE) && (pdesc->lo == 0)) { in special_field()
|
/openbmc/u-boot/include/linux/ |
H A D | mii.h | 17 #define MII_ADVERTISE 0x04 /* Advertisement control reg */ macro
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | serdes.h | 64 #define MV88E6390_SGMII_ADVERTISE (0x2000 + MII_ADVERTISE)
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | phy.c | 46 adv = phy_read(phydev, MDIO_DEVAD_NONE, MII_ADVERTISE); in genphy_config_advert() 72 err = phy_write(phydev, MDIO_DEVAD_NONE, MII_ADVERTISE, adv); in genphy_config_advert() 332 lpa = phy_read(phydev, MDIO_DEVAD_NONE, MII_ADVERTISE); in genphy_parse_link()
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_hw.c | 352 ret_val = atl1e_write_phy_reg(hw, MII_ADVERTISE, mii_autoneg_adv_reg); in atl1e_phy_setup_autoneg_adv() 622 err = atl1e_write_phy_reg(hw, MII_ADVERTISE, hw->mii_autoneg_adv_reg); in atl1e_restart_autoneg()
|
/openbmc/linux/drivers/net/ethernet/dlink/ |
H A D | dl2k.c | 1506 negotiate = mii_read (dev, phy_addr, MII_ADVERTISE) & in mii_get_media() 1589 anar = mii_read (dev, phy_addr, MII_ADVERTISE) & in mii_set_media() 1604 mii_write (dev, phy_addr, MII_ADVERTISE, anar); in mii_set_media() 1634 mii_write (dev, phy_addr, MII_ADVERTISE, 0); in mii_set_media() 1733 anar = mii_read (dev, phy_addr, MII_ADVERTISE) & in mii_set_media_pcs() 1741 mii_write (dev, phy_addr, MII_ADVERTISE, anar); in mii_set_media_pcs() 1765 mii_write (dev, phy_addr, MII_ADVERTISE, 0); in mii_set_media_pcs()
|
/openbmc/linux/drivers/net/phy/ |
H A D | lxt.c | 233 adv = phy_read(phydev, MII_ADVERTISE); in lxt973a2_read_status()
|
H A D | at803x.c | 423 context->advertise = phy_read(phydev, MII_ADVERTISE); in at803x_context_save() 435 phy_write(phydev, MII_ADVERTISE, context->advertise); in at803x_context_restore() 1067 return phy_modify(phydev, MII_ADVERTISE, MDIO_AN_CTRL1_XNP, 0); in at803x_config_init() 1584 phy_write(phydev, MII_ADVERTISE, ADVERTISE_CSMA); in at803x_cable_test_start()
|
/openbmc/u-boot/drivers/net/ti/ |
H A D | davinci_emac.c | 333 if (!davinci_eth_phy_read(phy_addr, MII_ADVERTISE, &val)) in gen_auto_negotiate() 338 davinci_eth_phy_write(phy_addr, MII_ADVERTISE, val); in gen_auto_negotiate()
|
/openbmc/u-boot/drivers/qe/ |
H A D | uec_phy.c | 241 adv = uec_phy_read(mii_info, MII_ADVERTISE); in config_genmii_advert() 251 uec_phy_write(mii_info, MII_ADVERTISE, adv); in config_genmii_advert()
|
/openbmc/linux/drivers/net/pcs/ |
H A D | pcs-lynx.c | 165 return mdiobus_c45_write(bus, addr, MDIO_MMD_VEND2, MII_ADVERTISE, in lynx_pcs_config_usxgmii()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | mv88e1xxx.c | 228 (void) simple_mdio_write(phy, MII_ADVERTISE, val); in mv88e1xxx_advertise()
|
/openbmc/u-boot/drivers/usb/eth/ |
H A D | r8152.c | 879 anar = r8152_mdio_read(tp, MII_ADVERTISE); in rtl8152_set_speed() 939 r8152_mdio_write(tp, MII_ADVERTISE, anar); in rtl8152_set_speed() 1002 anar = r8152_mdio_read(tp, MII_ADVERTISE); in r8152b_enable_fc() 1004 r8152_mdio_write(tp, MII_ADVERTISE, anar); in r8152b_enable_fc()
|
H A D | r8152.h | 487 #define MII_ADVERTISE 0x04 /* Advertisement control reg */ macro
|