Lines Matching refs:phydev
74 int board_phy_config(struct phy_device *phydev) in board_phy_config() argument
79 id1 = phy_read(phydev, MDIO_DEVAD_NONE, 2); in board_phy_config()
80 id2 = phy_read(phydev, MDIO_DEVAD_NONE, 3); in board_phy_config()
86 phy_write(phydev, MDIO_DEVAD_NONE, MII_CTRL1000, 0x1c00); in board_phy_config()
89 ksz9031_phy_extended_write(phydev, 0x02, in board_phy_config()
94 ksz9031_phy_extended_write(phydev, 0x02, in board_phy_config()
99 ksz9031_phy_extended_write(phydev, 0x02, in board_phy_config()
104 ksz9031_phy_extended_write(phydev, 0x02, in board_phy_config()
113 phy_write(phydev, MDIO_DEVAD_NONE, 23, 0x0020); in board_phy_config()
116 phy_reset(phydev); in board_phy_config()
119 phy_write(phydev, MDIO_DEVAD_NONE, 31, 0x0001); in board_phy_config()
122 phy_write(phydev, MDIO_DEVAD_NONE, 17, 0x09ff); in board_phy_config()
123 phy_write(phydev, MDIO_DEVAD_NONE, 17, 0x09ff); in board_phy_config()
126 phy_write(phydev, MDIO_DEVAD_NONE, 16, 0xe0ea); in board_phy_config()
129 phy_write(phydev, MDIO_DEVAD_NONE, 31, 0x0000); in board_phy_config()
132 phy_write(phydev, MDIO_DEVAD_NONE, 18, 0x0049); in board_phy_config()
135 if (phydev->drv->config) in board_phy_config()
136 phydev->drv->config(phydev); in board_phy_config()