/external/u-boot/board/cloudengines/pogo_e02/ |
D | pogo_e02.c | 76 u16 devadr; in reset_phy() local 83 if (miiphy_read(name, 0xEE, 0xEE, (u16 *) &devadr)) { in reset_phy() 92 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 2); in reset_phy() 93 miiphy_read(name, devadr, MV88E1116_MAC_CTRL_REG, ®); in reset_phy() 95 miiphy_write(name, devadr, MV88E1116_MAC_CTRL_REG, reg); in reset_phy() 96 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 0); in reset_phy() 99 miiphy_reset(name, devadr); in reset_phy()
|
/external/u-boot/board/Seagate/nas220/ |
D | nas220.c | 91 u16 devadr; in reset_phy() local 98 if (miiphy_read(name, 0xEE, 0xEE, (u16 *)&devadr)) { in reset_phy() 107 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 2); in reset_phy() 108 miiphy_read(name, devadr, MV88E1116_MAC_CTRL_REG, ®); in reset_phy() 110 miiphy_write(name, devadr, MV88E1116_MAC_CTRL_REG, reg); in reset_phy() 111 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 0); in reset_phy() 114 miiphy_reset(name, devadr); in reset_phy()
|
/external/u-boot/board/Marvell/dreamplug/ |
D | dreamplug.c | 101 u16 devadr; in mv_phy_88e1116_init() local 107 if (miiphy_read(name, 0xEE, 0xEE, (u16 *) &devadr)) { in mv_phy_88e1116_init() 117 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 2); in mv_phy_88e1116_init() 118 miiphy_read(name, devadr, MV88E1116_MAC_CTRL2_REG, ®); in mv_phy_88e1116_init() 120 miiphy_write(name, devadr, MV88E1116_MAC_CTRL2_REG, reg); in mv_phy_88e1116_init() 121 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 0); in mv_phy_88e1116_init() 124 miiphy_reset(name, devadr); in mv_phy_88e1116_init()
|
/external/u-boot/board/Marvell/sheevaplug/ |
D | sheevaplug.c | 105 u16 devadr; in reset_phy() local 112 if (miiphy_read(name, 0xEE, 0xEE, (u16 *) &devadr)) { in reset_phy() 122 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 2); in reset_phy() 123 miiphy_read(name, devadr, MV88E1116_MAC_CTRL_REG, ®); in reset_phy() 125 miiphy_write(name, devadr, MV88E1116_MAC_CTRL_REG, reg); in reset_phy() 126 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 0); in reset_phy() 129 miiphy_reset(name, devadr); in reset_phy()
|
/external/u-boot/board/Marvell/guruplug/ |
D | guruplug.c | 104 u16 devadr; in mv_phy_88e1121_init() local 110 if (miiphy_read(name, 0xEE, 0xEE, (u16 *) &devadr)) { in mv_phy_88e1121_init() 120 miiphy_write(name, devadr, MV88E1121_PGADR_REG, 2); in mv_phy_88e1121_init() 121 miiphy_read(name, devadr, MV88E1121_MAC_CTRL2_REG, ®); in mv_phy_88e1121_init() 123 miiphy_write(name, devadr, MV88E1121_MAC_CTRL2_REG, reg); in mv_phy_88e1121_init() 124 miiphy_write(name, devadr, MV88E1121_PGADR_REG, 0); in mv_phy_88e1121_init() 127 miiphy_reset(name, devadr); in mv_phy_88e1121_init()
|
/external/u-boot/board/d-link/dns325/ |
D | dns325.c | 104 u16 devadr; in reset_phy() local 111 if (miiphy_read(name, 0xEE, 0xEE, (u16 *) &devadr)) { in reset_phy() 120 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 2); in reset_phy() 121 miiphy_read(name, devadr, MV88E1116_MAC_CTRL_REG, ®); in reset_phy() 123 miiphy_write(name, devadr, MV88E1116_MAC_CTRL_REG, reg); in reset_phy() 124 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 0); in reset_phy() 127 miiphy_reset(name, devadr); in reset_phy()
|
/external/u-boot/board/Marvell/openrd/ |
D | openrd.c | 116 u16 devadr; in mv_phy_init() local 122 if (miiphy_read(name, 0xEE, 0xEE, (u16 *)&devadr)) { in mv_phy_init() 131 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 2); in mv_phy_init() 132 miiphy_read(name, devadr, MV88E1116_MAC_CTRL_REG, ®); in mv_phy_init() 134 miiphy_write(name, devadr, MV88E1116_MAC_CTRL_REG, reg); in mv_phy_init() 135 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 0); in mv_phy_init() 138 miiphy_reset(name, devadr); in mv_phy_init()
|
/external/u-boot/board/Seagate/dockstar/ |
D | dockstar.c | 109 u16 devadr; in reset_phy() local 116 if (miiphy_read(name, 0xEE, 0xEE, (u16 *) &devadr)) { in reset_phy() 126 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 2); in reset_phy() 127 miiphy_read(name, devadr, MV88E1116_MAC_CTRL_REG, ®); in reset_phy() 129 miiphy_write(name, devadr, MV88E1116_MAC_CTRL_REG, reg); in reset_phy() 130 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 0); in reset_phy() 133 miiphy_reset(name, devadr); in reset_phy()
|
/external/u-boot/board/Seagate/goflexhome/ |
D | goflexhome.c | 111 u16 devadr; in reset_phy() local 118 if (miiphy_read(name, 0xEE, 0xEE, (u16 *)&devadr)) { in reset_phy() 128 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 2); in reset_phy() 129 miiphy_read(name, devadr, MV88E1116_MAC_CTRL_REG, ®); in reset_phy() 131 miiphy_write(name, devadr, MV88E1116_MAC_CTRL_REG, reg); in reset_phy() 132 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 0); in reset_phy() 135 miiphy_reset(name, devadr); in reset_phy()
|
/external/u-boot/board/Synology/ds109/ |
D | ds109.c | 149 u16 devadr; in reset_phy() local 156 if (miiphy_read(name, 0xEE, 0xEE, (u16 *)&devadr)) { in reset_phy() 165 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 2); in reset_phy() 166 miiphy_read(name, devadr, MV88E1116_MAC_CTRL_REG, ®); in reset_phy() 168 miiphy_write(name, devadr, MV88E1116_MAC_CTRL_REG, reg); in reset_phy() 169 miiphy_write(name, devadr, MV88E1116_PGADR_REG, 0); in reset_phy() 172 miiphy_reset(name, devadr); in reset_phy()
|
/external/u-boot/drivers/net/pfe_eth/ |
D | pfe_mdio.c | 20 u32 devadr; in pfe_write_addr() local 25 devadr = ((dev_addr & EMAC_MII_DATA_RA_MASK) << EMAC_MII_DATA_RA_SHIFT); in pfe_write_addr() 28 reg_data = (EMAC_MII_DATA_TA | phy | devadr | reg_addr); in pfe_write_addr()
|