Searched refs:advertise (Results 1 - 17 of 17) sorted by relevance

/drivers/net/
H A Dsungem_phy.c313 static int genmii_setup_aneg(struct mii_phy *phy, u32 advertise) argument
321 phy->advertising = advertise;
323 /* Setup standard advertise */
326 if (advertise & ADVERTISED_10baseT_Half)
328 if (advertise & ADVERTISED_10baseT_Full)
330 if (advertise & ADVERTISED_100baseT_Half)
332 if (advertise & ADVERTISED_100baseT_Full)
468 static int bcm54xx_setup_aneg(struct mii_phy *phy, u32 advertise) argument
476 phy->advertising = advertise;
478 /* Setup standard advertise */
744 marvell_setup_aneg(struct mii_phy *phy, u32 advertise) argument
[all...]
H A Dmii.c180 /* advertise only what has been requested */
318 int advertise, lpa, media, duplex; local
348 /* get MII advertise and LPA values */
350 advertise = mii->advertising;
352 advertise = mii->mdio_read(mii->dev, mii->phy_id, MII_ADVERTISE);
353 mii->advertising = advertise;
359 /* figure out media and duplex from advertise and LPA values */
360 media = mii_nway_result(lpa & advertise);
/drivers/net/ethernet/ibm/emac/
H A Dphy.h35 int (*setup_aneg) (struct mii_phy * phy, u32 advertise);
H A Dphy.c109 static int genmii_setup_aneg(struct mii_phy *phy, u32 advertise) argument
117 phy->advertising = advertise;
127 /* Setup standard advertise */
133 if (advertise & ADVERTISED_10baseT_Half)
135 if (advertise & ADVERTISED_10baseT_Full)
137 if (advertise & ADVERTISED_100baseT_Half)
139 if (advertise & ADVERTISED_100baseT_Full)
141 if (advertise & ADVERTISED_Pause)
143 if (advertise & ADVERTISED_Asym_Pause)
153 if (advertise
[all...]
/drivers/net/ethernet/chelsio/cxgb/
H A Dcphy.h82 int (*advertise)(struct cphy *phy, unsigned int advertise_map); member in struct:cphy_ops
H A Dmv88e1xxx.c350 .advertise = mv88e1xxx_advertise,
H A Dsubr.c616 * If the PHY can auto-negotiate first decide what to advertise, then
640 phy->ops->advertise(phy, lc->advertising);
/drivers/net/phy/
H A Dphy_device.c541 * genphy_config_advert - sanitize and advertise auto-negotiation parameters
545 * after sanitizing the values to make sure we only advertise
551 u32 advertise; local
558 advertise = phydev->advertising;
568 adv |= ethtool_adv_to_mii_adv_t(advertise);
587 adv |= ethtool_adv_to_mii_ctrl1000_t(advertise);
734 * by comparing what we advertise with what the link partner
/drivers/net/ethernet/chelsio/cxgb3/
H A Dvsc8211.c347 .advertise = t3_phy_advertise,
361 .advertise = t3_phy_advertise_fiber,
H A Daq100x.c258 .advertise = aq100x_advertise,
H A Dcommon.h530 int (*advertise)(struct cphy *phy, unsigned int advertise_map); member in struct:cphy_ops
H A Dt3_hw.c377 * @advert: bitmap of capabilities the PHY should advertise
379 * Sets a 10/100/1000 PHY's advertisement registers to advertise the
420 * @advert: bitmap of capabilities the PHY should advertise
422 * Sets a fiber PHY's advertisement register to advertise the
1323 * - If the PHY can auto-negotiate first decide what to advertise, then
1341 phy->ops->advertise(phy, lc->advertising);
/drivers/net/ethernet/toshiba/
H A Dspider_net.c179 u32 advertise = 0; local
186 advertise |= ADVERTISED_10baseT_Half;
188 advertise |= ADVERTISED_10baseT_Full;
190 advertise |= ADVERTISED_100baseT_Half;
192 advertise |= ADVERTISED_100baseT_Full;
195 advertise |= SUPPORTED_1000baseT_Full;
197 advertise |= SUPPORTED_1000baseT_Half;
200 phy->def->ops->setup_aneg(phy, advertise);
/drivers/net/ethernet/sun/
H A Dsungem.c1258 u32 advertise, features; local
1267 /* Setup advertise */
1273 advertise = features & ADVERTISE_MASK;
1275 advertise &= gp->phy_mii.advertising;
1285 advertise = ep->advertising;
1325 gp->phy_mii.def->ops->setup_aneg(&gp->phy_mii, advertise);
2548 * advertise set, we need to return something sensible so
/drivers/net/ethernet/intel/e1000e/
H A De1000.h271 u16 advertise; /* auto-negotiation advertisement */ member in struct:e1000_phy_regs
H A Dnetdev.c4281 ret_val |= e1e_rphy(hw, PHY_AUTONEG_ADV, &phy->advertise);
4298 phy->advertise = (ADVERTISE_PAUSE_ASYM | ADVERTISE_PAUSE_CAP |
5329 data->val_out = adapter->phy_regs.advertise;
5483 /* advertise wake from D3Cold */
/drivers/net/ethernet/broadcom/
H A Dtg3.c3829 static int tg3_phy_autoneg_cfg(struct tg3 *tp, u32 advertise, u32 flowctrl) argument
3835 new_adv |= ethtool_adv_to_mii_adv_t(advertise) & ADVERTISE_ALL;
3843 new_adv = ethtool_adv_to_mii_ctrl1000_t(advertise);
3866 if (advertise & ADVERTISED_100baseT_Full)
3869 if (advertise & ADVERTISED_1000baseT_Full)

Completed in 414 milliseconds