Searched refs:advert (Results 1 - 8 of 8) sorted by relevance

/drivers/net/
H A Dmii.c38 int advert; local
40 advert = mii->mdio_read(mii->dev, mii->phy_id, addr);
42 return mii_lpa_to_ethtool_lpa_t(advert);
169 u32 bmcr, advert, tmp; local
181 advert = mii->mdio_read(dev, mii->phy_id, MII_ADVERTISE);
182 tmp = advert & ~(ADVERTISE_ALL | ADVERTISE_100BASE4);
192 if (advert != tmp) {
/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_hw.c377 * @advert: bitmap of capabilities the PHY should advertise
382 int t3_phy_advertise(struct cphy *phy, unsigned int advert) argument
392 if (advert & ADVERTISED_1000baseT_Half)
394 if (advert & ADVERTISED_1000baseT_Full)
402 if (advert & ADVERTISED_10baseT_Half)
404 if (advert & ADVERTISED_10baseT_Full)
406 if (advert & ADVERTISED_100baseT_Half)
408 if (advert & ADVERTISED_100baseT_Full)
410 if (advert & ADVERTISED_Pause)
412 if (advert
425 t3_phy_advertise_fiber(struct cphy *phy, unsigned int advert) argument
[all...]
H A 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/tundra/
H A Dtsi108_eth.c270 int advert, lpa, val, media; local
281 advert = (*mii->mdio_read) (mii->dev, mii->phy_id, MII_ADVERTISE);
283 media = mii_nway_result(advert & lpa);
/drivers/net/ethernet/amd/
H A Damd8111e.c196 u32 bmcr,advert,tmp; local
199 advert = amd8111e_mdio_read(dev, lp->ext_phy_addr, MII_ADVERTISE);
200 tmp = advert & ~(ADVERTISE_ALL | ADVERTISE_100BASE4);
222 if(advert != tmp)
/drivers/net/ethernet/marvell/
H A Dsky2.c2256 u16 advert, lpa; local
2258 advert = gm_phy_read(hw, port, PHY_MARV_AUNE_ADV);
2278 advert &= ~(ADVERTISE_PAUSE_CAP|ADVERTISE_PAUSE_ASYM);
2281 if (advert & ADVERTISE_1000XPAUSE)
2282 advert |= ADVERTISE_PAUSE_CAP;
2283 if (advert & ADVERTISE_1000XPSE_ASYM)
2284 advert |= ADVERTISE_PAUSE_ASYM;
2292 if (advert & ADVERTISE_PAUSE_CAP) {
2295 else if (advert & ADVERTISE_PAUSE_ASYM)
2297 } else if (advert
[all...]
/drivers/net/ethernet/intel/
H A De100.c992 u16 advert = mdio_read(nic->netdev, nic->mii.phy_id, local
999 if (advert & ADVERTISE_100FULL)
1001 else if (advert & ADVERTISE_100HALF)
1531 u16 advert = mdio_read(netdev, nic->mii.phy_id, MII_ADVERTISE); local
1537 advert |= ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM;
1538 mdio_write(netdev, nic->mii.phy_id, MII_ADVERTISE, advert);
/drivers/net/ethernet/sun/
H A Dniu.c1096 int bmsr, advert, ctrl1000, stat1000, lpa, bmcr, estatus; local
1112 advert = err;
1154 advertising = mii_adv_to_ethtool_adv_t(advert);
1163 neg = advert & lpa;

Completed in 424 milliseconds