Home
last modified time | relevance | path

Searched refs:advert (Results 1 – 10 of 10) sorted by relevance

/drivers/net/
Dmii.c38 int advert; in mii_get_an() local
40 advert = mii->mdio_read(mii->dev, mii->phy_id, addr); in mii_get_an()
42 return mii_lpa_to_ethtool_lpa_t(advert); in mii_get_an()
260 u32 bmcr, advert, tmp; in mii_ethtool_sset() local
272 advert = mii->mdio_read(dev, mii->phy_id, MII_ADVERTISE); in mii_ethtool_sset()
273 tmp = advert & ~(ADVERTISE_ALL | ADVERTISE_100BASE4); in mii_ethtool_sset()
283 if (advert != tmp) { in mii_ethtool_sset()
352 u32 bmcr, advert, tmp; in mii_ethtool_set_link_ksettings() local
368 advert = mii->mdio_read(dev, mii->phy_id, MII_ADVERTISE); in mii_ethtool_set_link_ksettings()
369 tmp = advert & ~(ADVERTISE_ALL | ADVERTISE_100BASE4); in mii_ethtool_set_link_ksettings()
[all …]
/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c382 int t3_phy_advertise(struct cphy *phy, unsigned int advert) in t3_phy_advertise() argument
392 if (advert & ADVERTISED_1000baseT_Half) in t3_phy_advertise()
394 if (advert & ADVERTISED_1000baseT_Full) in t3_phy_advertise()
402 if (advert & ADVERTISED_10baseT_Half) in t3_phy_advertise()
404 if (advert & ADVERTISED_10baseT_Full) in t3_phy_advertise()
406 if (advert & ADVERTISED_100baseT_Half) in t3_phy_advertise()
408 if (advert & ADVERTISED_100baseT_Full) in t3_phy_advertise()
410 if (advert & ADVERTISED_Pause) in t3_phy_advertise()
412 if (advert & ADVERTISED_Asym_Pause) in t3_phy_advertise()
425 int t3_phy_advertise_fiber(struct cphy *phy, unsigned int advert) in t3_phy_advertise_fiber() argument
[all …]
Dcommon.h657 int t3_phy_advertise(struct cphy *phy, unsigned int advert);
658 int t3_phy_advertise_fiber(struct cphy *phy, unsigned int advert);
/drivers/net/ethernet/amd/xgbe/
Dxgbe-phy-v1.c572 enum xgbe_mode mode, bool advert) in xgbe_phy_check_mode() argument
575 return advert; in xgbe_phy_check_mode()
Dxgbe-phy-v2.c2355 enum xgbe_mode mode, bool advert) in xgbe_phy_check_mode() argument
2358 return advert; in xgbe_phy_check_mode()
/drivers/net/ethernet/amd/
Damd8111e.c182 u32 bmcr, advert, tmp; in amd8111e_set_ext_phy() local
185 advert = amd8111e_mdio_read(dev, lp->ext_phy_addr, MII_ADVERTISE); in amd8111e_set_ext_phy()
186 tmp = advert & ~(ADVERTISE_ALL | ADVERTISE_100BASE4); in amd8111e_set_ext_phy()
208 if(advert != tmp) in amd8111e_set_ext_phy()
/drivers/net/ethernet/intel/
De100.c964 u16 advert = mdio_read(nic->netdev, nic->mii.phy_id, in mdio_ctrl_phy_82552_v() local
971 if (advert & ADVERTISE_100FULL) in mdio_ctrl_phy_82552_v()
973 else if (advert & ADVERTISE_100HALF) in mdio_ctrl_phy_82552_v()
1503 u16 advert = mdio_read(netdev, nic->mii.phy_id, MII_ADVERTISE); in e100_phy_init() local
1509 advert |= ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM; in e100_phy_init()
1510 mdio_write(netdev, nic->mii.phy_id, MII_ADVERTISE, advert); in e100_phy_init()
/drivers/net/ethernet/marvell/
Dsky2.c2238 u16 advert, lpa; in sky2_autoneg_done() local
2240 advert = gm_phy_read(hw, port, PHY_MARV_AUNE_ADV); in sky2_autoneg_done()
2260 advert &= ~(ADVERTISE_PAUSE_CAP|ADVERTISE_PAUSE_ASYM); in sky2_autoneg_done()
2263 if (advert & ADVERTISE_1000XPAUSE) in sky2_autoneg_done()
2264 advert |= ADVERTISE_PAUSE_CAP; in sky2_autoneg_done()
2265 if (advert & ADVERTISE_1000XPSE_ASYM) in sky2_autoneg_done()
2266 advert |= ADVERTISE_PAUSE_ASYM; in sky2_autoneg_done()
2274 if (advert & ADVERTISE_PAUSE_CAP) { in sky2_autoneg_done()
2277 else if (advert & ADVERTISE_PAUSE_ASYM) in sky2_autoneg_done()
2279 } else if (advert & ADVERTISE_PAUSE_ASYM) { in sky2_autoneg_done()
/drivers/net/ethernet/tundra/
Dtsi108_eth.c261 int advert, lpa, val, media; in mii_speed() local
272 advert = (*mii->mdio_read) (mii->dev, mii->phy_id, MII_ADVERTISE); in mii_speed()
274 media = mii_nway_result(advert & lpa); in mii_speed()
/drivers/net/ethernet/sun/
Dniu.c1097 int bmsr, advert, ctrl1000, stat1000, lpa, bmcr, estatus; in link_status_mii() local
1113 advert = err; in link_status_mii()
1155 advertising = mii_adv_to_ethtool_adv_t(advert); in link_status_mii()
1164 neg = advert & lpa; in link_status_mii()