Lines Matching defs:ctrl
483 int ctrl;
485 ctrl = phy_read(phydev, MII_KSZPHY_CTRL);
486 if (ctrl < 0)
487 return ctrl;
490 ctrl |= KSZPHY_RMII_REF_CLK_SEL;
492 ctrl &= ~KSZPHY_RMII_REF_CLK_SEL;
494 return phy_write(phydev, MII_KSZPHY_CTRL, ctrl);
688 static int ksz8081_config_mdix(struct phy_device *phydev, u8 ctrl)
692 switch (ctrl) {
1360 static int ksz9131_config_mdix(struct phy_device *phydev, u8 ctrl)
1364 switch (ctrl) {
1703 static int ksz886x_config_mdix(struct phy_device *phydev, u8 ctrl)
1707 switch (ctrl) {