Lines Matching full:advertise
310 static int genmii_setup_aneg(struct mii_phy *phy, u32 advertise) in genmii_setup_aneg() argument
318 phy->advertising = advertise; in genmii_setup_aneg()
320 /* Setup standard advertise */ in genmii_setup_aneg()
323 if (advertise & ADVERTISED_10baseT_Half) in genmii_setup_aneg()
325 if (advertise & ADVERTISED_10baseT_Full) in genmii_setup_aneg()
327 if (advertise & ADVERTISED_100baseT_Half) in genmii_setup_aneg()
329 if (advertise & ADVERTISED_100baseT_Full) in genmii_setup_aneg()
466 static int bcm54xx_setup_aneg(struct mii_phy *phy, u32 advertise) in bcm54xx_setup_aneg() argument
474 phy->advertising = advertise; in bcm54xx_setup_aneg()
476 /* Setup standard advertise */ in bcm54xx_setup_aneg()
479 if (advertise & ADVERTISED_10baseT_Half) in bcm54xx_setup_aneg()
481 if (advertise & ADVERTISED_10baseT_Full) in bcm54xx_setup_aneg()
483 if (advertise & ADVERTISED_100baseT_Half) in bcm54xx_setup_aneg()
485 if (advertise & ADVERTISED_100baseT_Full) in bcm54xx_setup_aneg()
487 if (advertise & ADVERTISED_Pause) in bcm54xx_setup_aneg()
489 if (advertise & ADVERTISED_Asym_Pause) in bcm54xx_setup_aneg()
493 /* Setup 1000BT advertise */ in bcm54xx_setup_aneg()
496 if (advertise & SUPPORTED_1000baseT_Half) in bcm54xx_setup_aneg()
498 if (advertise & SUPPORTED_1000baseT_Full) in bcm54xx_setup_aneg()
742 static int marvell_setup_aneg(struct mii_phy *phy, u32 advertise) in marvell_setup_aneg() argument
750 phy->advertising = advertise; in marvell_setup_aneg()
752 /* Setup standard advertise */ in marvell_setup_aneg()
755 if (advertise & ADVERTISED_10baseT_Half) in marvell_setup_aneg()
757 if (advertise & ADVERTISED_10baseT_Full) in marvell_setup_aneg()
759 if (advertise & ADVERTISED_100baseT_Half) in marvell_setup_aneg()
761 if (advertise & ADVERTISED_100baseT_Full) in marvell_setup_aneg()
763 if (advertise & ADVERTISED_Pause) in marvell_setup_aneg()
765 if (advertise & ADVERTISED_Asym_Pause) in marvell_setup_aneg()
769 /* Setup 1000BT advertise & enable crossover detect in marvell_setup_aneg()
770 * XXX How do we advertise 1000BT ? Darwin source is in marvell_setup_aneg()
779 if (advertise & SUPPORTED_1000baseT_Half) in marvell_setup_aneg()
781 if (advertise & SUPPORTED_1000baseT_Full) in marvell_setup_aneg()
878 /* On gigabit capable PHYs, we advertise Pause support but not asym pause