Lines Matching refs:phyaddr
20 void mv_phy_88e1116_init(const char *name, u16 phyaddr) in mv_phy_88e1116_init() argument
31 miiphy_write(name, phyaddr, MII_MARVELL_PHY_PAGE, 2); in mv_phy_88e1116_init()
32 miiphy_read(name, phyaddr, MV88E1116_MAC_CTRL_REG, ®); in mv_phy_88e1116_init()
34 miiphy_write(name, phyaddr, MV88E1116_MAC_CTRL_REG, reg); in mv_phy_88e1116_init()
35 miiphy_write(name, phyaddr, MII_MARVELL_PHY_PAGE, 0); in mv_phy_88e1116_init()
37 if (miiphy_reset(name, phyaddr) == 0) in mv_phy_88e1116_init()
41 void mv_phy_88e1318_init(const char *name, u16 phyaddr) in mv_phy_88e1318_init() argument
51 miiphy_write(name, phyaddr, MII_MARVELL_PHY_PAGE, 3); in mv_phy_88e1318_init()
52 miiphy_read(name, phyaddr, 16, ®); in mv_phy_88e1318_init()
54 miiphy_write(name, phyaddr, 16, reg); in mv_phy_88e1318_init()
60 miiphy_write(name, phyaddr, MII_MARVELL_PHY_PAGE, 2); in mv_phy_88e1318_init()
61 miiphy_read(name, phyaddr, MV88E1116_MAC_CTRL_REG, ®); in mv_phy_88e1318_init()
63 miiphy_write(name, phyaddr, MV88E1116_MAC_CTRL_REG, reg); in mv_phy_88e1318_init()
64 miiphy_write(name, phyaddr, MII_MARVELL_PHY_PAGE, 0); in mv_phy_88e1318_init()
66 if (miiphy_reset(name, phyaddr) == 0) in mv_phy_88e1318_init()