Lines Matching refs:advertise
314 static int genmii_setup_aneg(struct mii_phy *phy, u32 advertise) in genmii_setup_aneg() argument
322 phy->advertising = advertise; in genmii_setup_aneg()
327 if (advertise & ADVERTISED_10baseT_Half) in genmii_setup_aneg()
329 if (advertise & ADVERTISED_10baseT_Full) in genmii_setup_aneg()
331 if (advertise & ADVERTISED_100baseT_Half) in genmii_setup_aneg()
333 if (advertise & ADVERTISED_100baseT_Full) in genmii_setup_aneg()
469 static int bcm54xx_setup_aneg(struct mii_phy *phy, u32 advertise) in bcm54xx_setup_aneg() argument
477 phy->advertising = advertise; in bcm54xx_setup_aneg()
482 if (advertise & ADVERTISED_10baseT_Half) in bcm54xx_setup_aneg()
484 if (advertise & ADVERTISED_10baseT_Full) in bcm54xx_setup_aneg()
486 if (advertise & ADVERTISED_100baseT_Half) in bcm54xx_setup_aneg()
488 if (advertise & ADVERTISED_100baseT_Full) in bcm54xx_setup_aneg()
490 if (advertise & ADVERTISED_Pause) in bcm54xx_setup_aneg()
492 if (advertise & ADVERTISED_Asym_Pause) in bcm54xx_setup_aneg()
499 if (advertise & SUPPORTED_1000baseT_Half) in bcm54xx_setup_aneg()
501 if (advertise & SUPPORTED_1000baseT_Full) in bcm54xx_setup_aneg()
745 static int marvell_setup_aneg(struct mii_phy *phy, u32 advertise) in marvell_setup_aneg() argument
753 phy->advertising = advertise; in marvell_setup_aneg()
758 if (advertise & ADVERTISED_10baseT_Half) in marvell_setup_aneg()
760 if (advertise & ADVERTISED_10baseT_Full) in marvell_setup_aneg()
762 if (advertise & ADVERTISED_100baseT_Half) in marvell_setup_aneg()
764 if (advertise & ADVERTISED_100baseT_Full) in marvell_setup_aneg()
766 if (advertise & ADVERTISED_Pause) in marvell_setup_aneg()
768 if (advertise & ADVERTISED_Asym_Pause) in marvell_setup_aneg()
782 if (advertise & SUPPORTED_1000baseT_Half) in marvell_setup_aneg()
784 if (advertise & SUPPORTED_1000baseT_Full) in marvell_setup_aneg()