/drivers/net/ |
H A D | sungem_phy.c | 313 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 D | mii.c | 180 /* 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 D | phy.h | 35 int (*setup_aneg) (struct mii_phy * phy, u32 advertise);
|
H A D | phy.c | 109 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 D | cphy.h | 82 int (*advertise)(struct cphy *phy, unsigned int advertise_map); member in struct:cphy_ops
|
H A D | mv88e1xxx.c | 350 .advertise = mv88e1xxx_advertise,
|
H A D | subr.c | 616 * If the PHY can auto-negotiate first decide what to advertise, then 640 phy->ops->advertise(phy, lc->advertising);
|
/drivers/net/phy/ |
H A D | phy_device.c | 541 * 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 D | vsc8211.c | 347 .advertise = t3_phy_advertise, 361 .advertise = t3_phy_advertise_fiber,
|
H A D | aq100x.c | 258 .advertise = aq100x_advertise,
|
H A D | common.h | 530 int (*advertise)(struct cphy *phy, unsigned int advertise_map); member in struct:cphy_ops
|
H A D | t3_hw.c | 377 * @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 D | spider_net.c | 179 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 D | sungem.c | 1258 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 D | e1000.h | 271 u16 advertise; /* auto-negotiation advertisement */ member in struct:e1000_phy_regs
|
H A D | netdev.c | 4281 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 D | tg3.c | 3829 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)
|