Home
last modified time | relevance | path

Searched refs:MII_ADVERTISE (Results 1 – 25 of 96) sorted by relevance

1234

/openbmc/linux/drivers/net/
H A Dmii.c86 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 Dsungem_phy.c321 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 Dmdio.c570 case MII_ADVERTISE: in mdio_mii_ioctl()
575 if (addr == MII_ADVERTISE) in mdio_mii_ioctl()
/openbmc/linux/drivers/net/ethernet/via/
H A Dvia-velocity.c725 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 Dphy.c129 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 Dmii.h20 #define MII_ADVERTISE 0x04 /* Advertisement control reg */ macro
/openbmc/u-boot/common/
H A Dmiiphyutil.c437 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 Dvsc8211.c182 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 Ddnet.c222 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 Dat91_emac.c194 MII_ADVERTISE, adv); in at91emac_phy_reset()
256 MII_ADVERTISE, &adv); in at91emac_phy_init()
H A Dsmc911x.c89 smc911x_eth_phy_write(dev, 1, MII_ADVERTISE, 0x01e1); in smc911x_phy_configure()
/openbmc/u-boot/cmd/
H A Dmii.c25 { MII_ADVERTISE, "Autonegotiation advertisement register" },
218 else if ((regno == MII_ADVERTISE) && (pdesc->lo == 0)) { in special_field()
/openbmc/u-boot/include/linux/
H A Dmii.h17 #define MII_ADVERTISE 0x04 /* Advertisement control reg */ macro
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A Dserdes.h64 #define MV88E6390_SGMII_ADVERTISE (0x2000 + MII_ADVERTISE)
/openbmc/u-boot/drivers/net/phy/
H A Dphy.c46 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 Datl1e_hw.c352 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 Ddl2k.c1506 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 Dlxt.c233 adv = phy_read(phydev, MII_ADVERTISE); in lxt973a2_read_status()
H A Dat803x.c423 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 Ddavinci_emac.c333 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 Duec_phy.c241 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 Dpcs-lynx.c165 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 Dmv88e1xxx.c228 (void) simple_mdio_write(phy, MII_ADVERTISE, val); in mv88e1xxx_advertise()
/openbmc/u-boot/drivers/usb/eth/
H A Dr8152.c879 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 Dr8152.h487 #define MII_ADVERTISE 0x04 /* Advertisement control reg */ macro

1234