Lines Matching refs:phy_write
121 phy_write(phydev, addr, MII_MMD_CTRL, devad); in phy_read_mmd_indirect()
124 phy_write(phydev, addr, MII_MMD_DATA, prtad); in phy_read_mmd_indirect()
127 phy_write(phydev, addr, MII_MMD_CTRL, (devad | MII_MMD_CTRL_NOINCR)); in phy_read_mmd_indirect()
154 phy_write(phydev, addr, MII_MMD_CTRL, devad); in phy_write_mmd_indirect()
157 phy_write(phydev, addr, MII_MMD_DATA, prtad); in phy_write_mmd_indirect()
160 phy_write(phydev, addr, MII_MMD_CTRL, (devad | MII_MMD_CTRL_NOINCR)); in phy_write_mmd_indirect()
163 phy_write(phydev, addr, MII_MMD_DATA, data); in phy_write_mmd_indirect()
232 phy_write(phydev, MDIO_DEVAD_NONE, DP83867_CTRL, in dp83867_config()
236 ret = phy_write(phydev, MDIO_DEVAD_NONE, MII_DP83867_PHYCTRL, in dp83867_config()
242 phy_write(phydev, MDIO_DEVAD_NONE, MII_BMCR, in dp83867_config()
252 phy_write(phydev, MDIO_DEVAD_NONE, MII_DP83867_CFG2, cfg2); in dp83867_config()
257 phy_write(phydev, MDIO_DEVAD_NONE, MII_DP83867_PHYCTRL, in dp83867_config()
263 phy_write(phydev, MDIO_DEVAD_NONE, MII_DP83867_BISCR, 0x0); in dp83867_config()