Searched refs:advert (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/drivers/net/ |
D | mii.c | 39 u32 advert, bmcr, lpa, nego; in mii_ethtool_gset() local 56 advert = mii->mdio_read(dev, mii->phy_id, MII_ADVERTISE); in mii_ethtool_gset() 57 if (advert & ADVERTISE_10HALF) in mii_ethtool_gset() 59 if (advert & ADVERTISE_10FULL) in mii_ethtool_gset() 61 if (advert & ADVERTISE_100HALF) in mii_ethtool_gset() 63 if (advert & ADVERTISE_100FULL) in mii_ethtool_gset() 72 nego = mii_nway_result(advert & lpa); in mii_ethtool_gset() 116 u32 bmcr, advert, tmp; in mii_ethtool_sset() local 125 advert = mii->mdio_read(dev, mii->phy_id, MII_ADVERTISE); in mii_ethtool_sset() 126 tmp = advert & ~(ADVERTISE_ALL | ADVERTISE_100BASE4); in mii_ethtool_sset() [all …]
|
D | amd8111e.c | 209 u32 bmcr,advert,tmp; in amd8111e_set_ext_phy() local 212 advert = amd8111e_mdio_read(dev, PHY_ID, MII_ADVERTISE); in amd8111e_set_ext_phy() 213 tmp = advert & ~(ADVERTISE_ALL | ADVERTISE_100BASE4); in amd8111e_set_ext_phy() 235 if(advert != tmp) in amd8111e_set_ext_phy()
|
/linux-2.4.37.9/drivers/net/e100/ |
D | e100_main.c | 3393 u16 advert = 0; in e100_ethtool_get_settings() local 3426 e100_mdi_read(bdp, MII_ADVERTISE, bdp->phy_addr, &advert); in e100_ethtool_get_settings() 3428 if (advert & ADVERTISE_10HALF) in e100_ethtool_get_settings() 3430 if (advert & ADVERTISE_10FULL) in e100_ethtool_get_settings() 3432 if (advert & ADVERTISE_100HALF) in e100_ethtool_get_settings() 3434 if (advert & ADVERTISE_100FULL) in e100_ethtool_get_settings()
|