Lines Matching refs:MDIO_DEVAD_NONE
76 int oldpage = phy_read(phydev, MDIO_DEVAD_NONE, in rtl8211f_phy_extread()
80 phy_write(phydev, MDIO_DEVAD_NONE, MIIM_RTL8211F_PAGE_SELECT, devaddr); in rtl8211f_phy_extread()
81 val = phy_read(phydev, MDIO_DEVAD_NONE, regnum); in rtl8211f_phy_extread()
82 phy_write(phydev, MDIO_DEVAD_NONE, MIIM_RTL8211F_PAGE_SELECT, oldpage); in rtl8211f_phy_extread()
90 int oldpage = phy_read(phydev, MDIO_DEVAD_NONE, in rtl8211f_phy_extwrite()
93 phy_write(phydev, MDIO_DEVAD_NONE, MIIM_RTL8211F_PAGE_SELECT, devaddr); in rtl8211f_phy_extwrite()
94 phy_write(phydev, MDIO_DEVAD_NONE, regnum, val); in rtl8211f_phy_extwrite()
95 phy_write(phydev, MDIO_DEVAD_NONE, MIIM_RTL8211F_PAGE_SELECT, oldpage); in rtl8211f_phy_extwrite()
139 phy_write(phydev, MDIO_DEVAD_NONE, MII_BMCR, BMCR_RESET); in rtl8211x_config()
144 phy_write(phydev, MDIO_DEVAD_NONE, MIIM_RTL8211x_PHY_INER, in rtl8211x_config()
150 reg = phy_read(phydev, MDIO_DEVAD_NONE, MII_CTRL1000); in rtl8211x_config()
155 phy_write(phydev, MDIO_DEVAD_NONE, MII_CTRL1000, reg); in rtl8211x_config()
160 phy_write(phydev, MDIO_DEVAD_NONE, MIIM_RTL8211F_PAGE_SELECT, in rtl8211x_config()
162 phy_write(phydev, MDIO_DEVAD_NONE, in rtl8211x_config()
164 reg = phy_read(phydev, MDIO_DEVAD_NONE, MIIM_RTL8211E_CONFREG); in rtl8211x_config()
169 phy_write(phydev, MDIO_DEVAD_NONE, MIIM_RTL8211E_CONFREG, reg); in rtl8211x_config()
170 phy_write(phydev, MDIO_DEVAD_NONE, MIIM_RTL8211F_PAGE_SELECT, in rtl8211x_config()
174 phy_read(phydev, MDIO_DEVAD_NONE, MIIM_RTL8211x_PHY_INER); in rtl8211x_config()
187 phy_write(phydev, MDIO_DEVAD_NONE, MIIM_RTL8211F_PAGE_SELECT, in rtl8201f_config()
189 reg = phy_read(phydev, MDIO_DEVAD_NONE, RTL8201F_RMSR); in rtl8201f_config()
194 phy_write(phydev, MDIO_DEVAD_NONE, RTL8201F_RMSR, reg); in rtl8201f_config()
195 phy_write(phydev, MDIO_DEVAD_NONE, MIIM_RTL8211F_PAGE_SELECT, in rtl8201f_config()
216 phy_write(phydev, MDIO_DEVAD_NONE, MII_BMCR, BMCR_RESET); in rtl8211f_config()
218 phy_write(phydev, MDIO_DEVAD_NONE, in rtl8211f_config()
220 reg = phy_read(phydev, MDIO_DEVAD_NONE, 0x11); in rtl8211f_config()
229 phy_write(phydev, MDIO_DEVAD_NONE, 0x11, reg); in rtl8211f_config()
232 reg = phy_read(phydev, MDIO_DEVAD_NONE, 0x15); in rtl8211f_config()
238 phy_write(phydev, MDIO_DEVAD_NONE, 0x15, reg); in rtl8211f_config()
241 phy_write(phydev, MDIO_DEVAD_NONE, in rtl8211f_config()
245 phy_write(phydev, MDIO_DEVAD_NONE, in rtl8211f_config()
247 phy_write(phydev, MDIO_DEVAD_NONE, 0x10, 0x617f); in rtl8211f_config()
248 phy_write(phydev, MDIO_DEVAD_NONE, in rtl8211f_config()
261 mii_reg = phy_read(phydev, MDIO_DEVAD_NONE, MIIM_RTL8211x_PHY_STATUS); in rtl8211x_parse_status()
280 mii_reg = phy_read(phydev, MDIO_DEVAD_NONE, in rtl8211x_parse_status()
319 phy_write(phydev, MDIO_DEVAD_NONE, MIIM_RTL8211F_PAGE_SELECT, 0xa43); in rtl8211f_parse_status()
320 mii_reg = phy_read(phydev, MDIO_DEVAD_NONE, MIIM_RTL8211F_PHY_STATUS); in rtl8211f_parse_status()
333 mii_reg = phy_read(phydev, MDIO_DEVAD_NONE, in rtl8211f_parse_status()