Searched refs:mii_bus (Results 1 – 8 of 8) sorted by relevance
/u-boot/net/ |
A D | mdio-uclass.c | 71 struct udevice *dev = mii_bus->priv; in mdio_read() 79 struct udevice *dev = mii_bus->priv; in mdio_write() 86 struct udevice *dev = mii_bus->priv; in mdio_reset() 98 pdata->mii_bus = mdio_alloc(); in dm_mdio_post_probe() 99 pdata->mii_bus->read = mdio_read; in dm_mdio_post_probe() 100 pdata->mii_bus->write = mdio_write; in dm_mdio_post_probe() 101 pdata->mii_bus->reset = mdio_reset; in dm_mdio_post_probe() 102 pdata->mii_bus->priv = dev; in dm_mdio_post_probe() 105 return mdio_register(pdata->mii_bus); in dm_mdio_post_probe() 115 mdio_unregister(pdata->mii_bus); in dm_mdio_pre_remove() [all …]
|
/u-boot/drivers/net/ |
A D | fsl_mdio.c | 159 if (pdata && pdata->mii_bus) in tsec_mdio_read() 160 return tsec_phy_read(pdata->mii_bus, addr, devad, reg); in tsec_mdio_read() 171 if (pdata && pdata->mii_bus) in tsec_mdio_write() 172 return tsec_phy_write(pdata->mii_bus, addr, devad, reg, val); in tsec_mdio_write() 182 if (pdata && pdata->mii_bus) in tsec_mdio_reset() 183 return fsl_pq_mdio_reset(pdata->mii_bus); in tsec_mdio_reset()
|
/u-boot/drivers/net/fm/ |
A D | memac_phy.c | 251 if (pdata && pdata->mii_bus) in fm_mdio_read() 252 return memac_mdio_read(pdata->mii_bus, addr, devad, reg); in fm_mdio_read() 263 if (pdata && pdata->mii_bus) in fm_mdio_write() 264 return memac_mdio_write(pdata->mii_bus, addr, devad, reg, val); in fm_mdio_write() 274 if (pdata && pdata->mii_bus) in fm_mdio_reset() 275 return memac_mdio_reset(pdata->mii_bus); in fm_mdio_reset()
|
/u-boot/drivers/net/mscc_eswitch/ |
A D | felix_switch.c | 300 struct mii_dev *mii_bus; in felix_probe() local 302 mii_bus = mdio_alloc(); in felix_probe() 303 mii_bus->read = felix_mdio_read; in felix_probe() 304 mii_bus->write = felix_mdio_write; in felix_probe() 305 mii_bus->priv = priv->imdio_base + FELIX_PM_IMDIO_BASE; in felix_probe() 306 strncpy(mii_bus->name, dev->name, MDIO_NAME_LEN); in felix_probe() 307 mdio_register(mii_bus); in felix_probe()
|
/u-boot/board/freescale/ls2080aqds/ |
A D | eth.c | 108 int dpmac_id = 0, dpmac, mii_bus = 0; in sgmii_configure_repeater() local 147 mii_bus = 0; in sgmii_configure_repeater() 151 mii_bus = 1; in sgmii_configure_repeater() 166 ret = miiphy_set_current_dev(dev[mii_bus]); in sgmii_configure_repeater() 173 ret = miiphy_write(dev[mii_bus], riser_phy_addr[dpmac], 0x1f, in sgmii_configure_repeater() 179 ret = miiphy_read(dev[mii_bus], riser_phy_addr[dpmac], 0x11, in sgmii_configure_repeater() 188 miiphy_write(dev[mii_bus], riser_phy_addr[dpmac], in sgmii_configure_repeater() 219 ret = miiphy_read(dev[mii_bus], in sgmii_configure_repeater() 226 ret = miiphy_read(dev[mii_bus], in sgmii_configure_repeater() 247 miiphy_write(dev[mii_bus], riser_phy_addr[dpmac], 0x1f, 0); in sgmii_configure_repeater()
|
/u-boot/include/ |
A D | miiphy.h | 137 struct mii_dev *mii_bus; member
|
/u-boot/drivers/net/octeontx/ |
A D | bgx.c | 43 struct mii_dev *mii_bus; member 557 lmac->mii_bus = miiphy_get_dev_by_name(mii_name); in bgx_lmac_xaui_init() 559 rxaui_phy_xs_init(lmac->mii_bus, lmac->phy_addr); in bgx_lmac_xaui_init() 923 lmac->mii_bus = miiphy_get_dev_by_name(mii_name); in bgx_poll_for_link() 927 debug("lmac->mii_bus: %p\n", lmac->mii_bus); in bgx_poll_for_link() 928 if (!lmac->mii_bus) { in bgx_poll_for_link() 934 lmac->phydev = phy_connect(lmac->mii_bus, lmac->phy_addr, in bgx_poll_for_link()
|
/u-boot/doc/board/sifive/ |
A D | fu540.rst | 368 …000.ethernet-ffffffff:00: attached PHY driver [Microsemi VSC8541 SyncE] (mii_bus:phy_addr=10090000…
|
Completed in 12 milliseconds