Searched refs:advert (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ |
D | mii.c | 38 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() 169 u32 bmcr, advert, tmp; in mii_ethtool_sset() local 181 advert = mii->mdio_read(dev, mii->phy_id, MII_ADVERTISE); in mii_ethtool_sset() 182 tmp = advert & ~(ADVERTISE_ALL | ADVERTISE_100BASE4); in mii_ethtool_sset() 192 if (advert != tmp) { in mii_ethtool_sset()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_hw.c | 382 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 …]
|
D | common.h | 657 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/ |
D | amd8111e.c | 196 u32 bmcr,advert,tmp; in amd8111e_set_ext_phy() local 199 advert = amd8111e_mdio_read(dev, lp->ext_phy_addr, MII_ADVERTISE); in amd8111e_set_ext_phy() 200 tmp = advert & ~(ADVERTISE_ALL | ADVERTISE_100BASE4); in amd8111e_set_ext_phy() 222 if(advert != tmp) in amd8111e_set_ext_phy()
|
/drivers/net/ethernet/tundra/ |
D | tsi108_eth.c | 269 int advert, lpa, val, media; in mii_speed() local 280 advert = (*mii->mdio_read) (mii->dev, mii->phy_id, MII_ADVERTISE); in mii_speed() 282 media = mii_nway_result(advert & lpa); in mii_speed()
|
/drivers/net/ethernet/intel/ |
D | e100.c | 992 u16 advert = mdio_read(nic->netdev, nic->mii.phy_id, in mdio_ctrl_phy_82552_v() local 999 if (advert & ADVERTISE_100FULL) in mdio_ctrl_phy_82552_v() 1001 else if (advert & ADVERTISE_100HALF) in mdio_ctrl_phy_82552_v() 1531 u16 advert = mdio_read(netdev, nic->mii.phy_id, MII_ADVERTISE); in e100_phy_init() local 1537 advert |= ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM; in e100_phy_init() 1538 mdio_write(netdev, nic->mii.phy_id, MII_ADVERTISE, advert); in e100_phy_init()
|
/drivers/net/ethernet/marvell/ |
D | sky2.c | 2254 u16 advert, lpa; in sky2_autoneg_done() local 2256 advert = gm_phy_read(hw, port, PHY_MARV_AUNE_ADV); in sky2_autoneg_done() 2276 advert &= ~(ADVERTISE_PAUSE_CAP|ADVERTISE_PAUSE_ASYM); in sky2_autoneg_done() 2279 if (advert & ADVERTISE_1000XPAUSE) in sky2_autoneg_done() 2280 advert |= ADVERTISE_PAUSE_CAP; in sky2_autoneg_done() 2281 if (advert & ADVERTISE_1000XPSE_ASYM) in sky2_autoneg_done() 2282 advert |= ADVERTISE_PAUSE_ASYM; in sky2_autoneg_done() 2290 if (advert & ADVERTISE_PAUSE_CAP) { in sky2_autoneg_done() 2293 else if (advert & ADVERTISE_PAUSE_ASYM) in sky2_autoneg_done() 2295 } else if (advert & ADVERTISE_PAUSE_ASYM) { in sky2_autoneg_done()
|
/drivers/net/ethernet/sun/ |
D | niu.c | 1096 int bmsr, advert, ctrl1000, stat1000, lpa, bmcr, estatus; in link_status_mii() local 1112 advert = err; in link_status_mii() 1154 advertising = mii_adv_to_ethtool_adv_t(advert); in link_status_mii() 1163 neg = advert & lpa; in link_status_mii()
|