Lines Matching refs:speed
170 u32 speed; in fec_mii_setspeed() local
180 speed = DIV_ROUND_UP(pclk, 5000000); in fec_mii_setspeed()
184 speed--; in fec_mii_setspeed()
186 writel(speed << 1 | hold << 8, ð->mii_speed); in fec_mii_setspeed()
465 int speed; in fec_open() local
534 speed = fec->phydev->speed; in fec_open()
537 speed = CONFIG_FEC_FIXED_SPEED; in fec_open()
540 speed = miiphy_speed(edev->name, fec->phy_id); in fec_open()
548 if (speed == _1000BASET) in fec_open()
550 else if (speed != _100BASET) in fec_open()
556 debug("%s:Speed=%i\n", __func__, speed); in fec_open()