Home
last modified time | relevance | path

Searched refs:miiphy_read (Results 1 – 25 of 34) sorted by relevance

12

/external/u-boot/common/
Dmiiphyutil.c234 int miiphy_read(const char *devname, unsigned char addr, unsigned char reg, in miiphy_read() function
313 if (miiphy_read(devname, addr, MII_PHYSID2, &tmp) != 0) { in miiphy_info()
326 if (miiphy_read(devname, addr, MII_PHYSID1, &tmp) != 0) { in miiphy_info()
354 if (miiphy_read(devname, addr, MII_BMCR, &reg) != 0) { in miiphy_reset()
372 if (miiphy_read(devname, addr, MII_BMCR, &reg) != 0) { in miiphy_reset()
410 if (miiphy_read(devname, addr, MII_STAT1000, &btsr)) { in miiphy_speed()
420 if (miiphy_read(devname, addr, MII_BMCR, &bmcr)) { in miiphy_speed()
427 if (miiphy_read(devname, addr, MII_LPA, &anlpar)) { in miiphy_speed()
432 if (miiphy_read(devname, addr, MII_ADVERTISE, &adv)) { in miiphy_speed()
460 if (miiphy_read(devname, addr, MII_LPA, &anlpar)) { in miiphy_duplex()
[all …]
/external/u-boot/board/zyxel/nsa310s/
Dnsa310s.c92 if (miiphy_read(name, 0xee, 0xee, (u16 *) &phyaddr)) { in reset_phy()
99 miiphy_read(name, phyaddr, MV88E1318_MAC_CTRL_REG, &reg); in reset_phy()
116 miiphy_read(name, phyaddr, MV88E1318_LED_POL_REG, &reg); in reset_phy()
/external/u-boot/board/LaCie/common/
Dcommon.c32 miiphy_read(name, phyaddr, MV88E1116_MAC_CTRL_REG, &reg); in mv_phy_88e1116_init()
52 miiphy_read(name, phyaddr, 16, &reg); in mv_phy_88e1318_init()
61 miiphy_read(name, phyaddr, MV88E1116_MAC_CTRL_REG, &reg); in mv_phy_88e1318_init()
/external/u-boot/board/freescale/ls1088a/
Deth_ls1088aqds.c134 ret = miiphy_read(dev, phy_addr, 0x11, &value); in sgmii_configure_repeater()
172 ret = miiphy_read(dev, phy_addr, 0x11, &value); in sgmii_configure_repeater()
177 ret = miiphy_read(dev, phy_addr, 0x11, &value); in sgmii_configure_repeater()
244 ret = miiphy_read(dev, phy_addr, 0x11, &value); in qsgmii_configure_repeater()
246 ret = miiphy_read(dev, phy_addr, 0x11, &value); in qsgmii_configure_repeater()
276 ret = miiphy_read(dev, phy_addr, 0x11, &value); in qsgmii_configure_repeater()
280 ret = miiphy_read(dev, phy_addr, 0x11, &value); in qsgmii_configure_repeater()
/external/u-boot/board/cloudengines/pogo_e02/
Dpogo_e02.c83 if (miiphy_read(name, 0xEE, 0xEE, (u16 *) &devadr)) { in reset_phy()
93 miiphy_read(name, devadr, MV88E1116_MAC_CTRL_REG, &reg); in reset_phy()
/external/u-boot/board/Seagate/nas220/
Dnas220.c98 if (miiphy_read(name, 0xEE, 0xEE, (u16 *)&devadr)) { in reset_phy()
108 miiphy_read(name, devadr, MV88E1116_MAC_CTRL_REG, &reg); in reset_phy()
/external/u-boot/board/freescale/ls2080aqds/
Deth.c140 ret = miiphy_read(dev[mii_bus], riser_phy_addr[dpmac], 0x11, in sgmii_configure_repeater()
180 ret = miiphy_read(dev[mii_bus], in sgmii_configure_repeater()
187 ret = miiphy_read(dev[mii_bus], in sgmii_configure_repeater()
274 ret = miiphy_read(dev, phy_addr, 0x11, &value); in qsgmii_configure_repeater()
276 ret = miiphy_read(dev, phy_addr, 0x11, &value); in qsgmii_configure_repeater()
305 ret = miiphy_read(dev, phy_addr, 0x11, &value); in qsgmii_configure_repeater()
309 ret = miiphy_read(dev, phy_addr, 0x11, &value); in qsgmii_configure_repeater()
/external/u-boot/board/Marvell/dreamplug/
Ddreamplug.c107 if (miiphy_read(name, 0xEE, 0xEE, (u16 *) &devadr)) { in mv_phy_88e1116_init()
118 miiphy_read(name, devadr, MV88E1116_MAC_CTRL2_REG, &reg); in mv_phy_88e1116_init()
/external/u-boot/board/Marvell/guruplug/
Dguruplug.c110 if (miiphy_read(name, 0xEE, 0xEE, (u16 *) &devadr)) { in mv_phy_88e1121_init()
121 miiphy_read(name, devadr, MV88E1121_MAC_CTRL2_REG, &reg); in mv_phy_88e1121_init()
/external/u-boot/board/Marvell/sheevaplug/
Dsheevaplug.c112 if (miiphy_read(name, 0xEE, 0xEE, (u16 *) &devadr)) { in reset_phy()
123 miiphy_read(name, devadr, MV88E1116_MAC_CTRL_REG, &reg); in reset_phy()
/external/u-boot/board/d-link/dns325/
Ddns325.c111 if (miiphy_read(name, 0xEE, 0xEE, (u16 *) &devadr)) { in reset_phy()
121 miiphy_read(name, devadr, MV88E1116_MAC_CTRL_REG, &reg); in reset_phy()
/external/u-boot/board/gdsys/common/
Dphy.c135 res = miiphy_read(bus, addr, reg, &orig_data); in process_setupcmd()
147 res = miiphy_read(bus, addr, reg, &orig_data); in process_setupcmd()
159 res = miiphy_read(bus, addr, reg, &orig_data); in process_setupcmd()
/external/u-boot/board/Marvell/openrd/
Dopenrd.c122 if (miiphy_read(name, 0xEE, 0xEE, (u16 *)&devadr)) { in mv_phy_init()
132 miiphy_read(name, devadr, MV88E1116_MAC_CTRL_REG, &reg); in mv_phy_init()
/external/u-boot/board/Seagate/dockstar/
Ddockstar.c116 if (miiphy_read(name, 0xEE, 0xEE, (u16 *) &devadr)) { in reset_phy()
127 miiphy_read(name, devadr, MV88E1116_MAC_CTRL_REG, &reg); in reset_phy()
/external/u-boot/board/Seagate/goflexhome/
Dgoflexhome.c118 if (miiphy_read(name, 0xEE, 0xEE, (u16 *)&devadr)) { in reset_phy()
129 miiphy_read(name, devadr, MV88E1116_MAC_CTRL_REG, &reg); in reset_phy()
/external/u-boot/board/Synology/ds109/
Dds109.c156 if (miiphy_read(name, 0xEE, 0xEE, (u16 *)&devadr)) { in reset_phy()
166 miiphy_read(name, devadr, MV88E1116_MAC_CTRL_REG, &reg); in reset_phy()
/external/u-boot/board/compulab/cl-som-am57x/
Deth.c139 miiphy_read(devname, CL_SOM_AM57X_PHY_ADDR2, AR8033_PHY_DEBUG_DATA_REG, in cl_som_am57x_rgmii_clk_delay()
147 miiphy_read(devname, CL_SOM_AM57X_PHY_ADDR2, AR8033_PHY_DEBUG_DATA_REG, in cl_som_am57x_rgmii_clk_delay()
/external/u-boot/cmd/
Dmii.c361 if (miiphy_read (devname, addr, reg, &data) != 0) { in do_mii()
390 if (miiphy_read(devname, addr, in do_mii()
419 if (miiphy_read(devname, addr, reg, &regs[reg]) != 0) { in do_mii()
/external/u-boot/board/freescale/mx6qarm2/
Dmx6qarm2.c182 miiphy_read("FEC", phy, MII_MMD_ACCESS_ADDR_DATA_REG, &val); in fecmxc_mii_postcall()
189 miiphy_read("FEC", phy, MII_DBG_PORT2_REG, &val); in fecmxc_mii_postcall()
/external/u-boot/drivers/net/
Dmcfmii.c242 miiphy_read(dev->name, info->phy_addr, MII_BMCR, &status); in __mii_init()
253 miiphy_read(dev->name, info->phy_addr, MII_BMSR, &status); in __mii_init()
Darmada100_fec.c373 if (miiphy_read(dev->name, addr, MII_BMSR, &mii_status) != 0) in ethernet_phy_detect()
382 if (miiphy_read(dev->name, addr, MII_PHYSID1, &tmp) != 0) in ethernet_phy_detect()
387 if (miiphy_read(dev->name, addr, MII_PHYSID2, &tmp) != 0) in ethernet_phy_detect()
508 miiphy_read(dev->name, 0xFF, 0xFF, &phy_adr); in armdfec_init()
Dbcm-sf2-eth.h52 int (*miiphy_read)(struct mii_dev *bus, int phyaddr, int devad, member
/external/u-boot/drivers/net/phy/
Dmv88e6352.c41 ret = miiphy_read(devname, phy_addr, COMMAND_REG, &command); in sw_wait_rdy()
77 ret = miiphy_read(devname, phy_addr, DATA_REG, data); in sw_reg_read()
/external/u-boot/board/Marvell/gplugd/
Dgplugd.c116 if (miiphy_read(name, 0xff, 0xff, &phy_adr)) { in reset_phy()
/external/u-boot/board/egnite/ethernut5/
Dethernut5.c169 if (miiphy_read(devname, 0, 18, &mode) == 0) { in board_eth_init()

12