/linux/drivers/net/ethernet/apm/xgene-v2/ |
A D | mdio.c | 87 struct mii_bus *mdio_bus = pdata->mdio_bus; in xge_mdio_remove() local 93 mdiobus_unregister(mdio_bus); in xge_mdio_remove() 95 mdiobus_free(mdio_bus); in xge_mdio_remove() 103 struct mii_bus *mdio_bus; in xge_mdio_config() local 107 mdio_bus = mdiobus_alloc(); in xge_mdio_config() 108 if (!mdio_bus) in xge_mdio_config() 112 mdio_bus->read = xge_mdio_read; in xge_mdio_config() 114 mdio_bus->priv = pdata; in xge_mdio_config() 115 mdio_bus->parent = dev; in xge_mdio_config() 117 pdata->mdio_bus = mdio_bus; in xge_mdio_config() [all …]
|
A D | main.h | 56 struct mii_bus *mdio_bus; member
|
/linux/Documentation/ABI/testing/ |
A D | sysfs-bus-mdio | 1 What: /sys/bus/mdio_bus/devices/.../statistics/ 2 What: /sys/class/mdio_bus/.../statistics/ 10 What: /sys/bus/mdio_bus/devices/.../statistics/transfers 11 What: /sys/class/mdio_bus/.../transfers 18 What: /sys/bus/mdio_bus/devices/.../statistics/errors 19 What: /sys/class/mdio_bus/.../statistics/errors 26 What: /sys/bus/mdio_bus/devices/.../statistics/writes 27 What: /sys/class/mdio_bus/.../statistics/writes 34 What: /sys/bus/mdio_bus/devices/.../statistics/reads 35 What: /sys/class/mdio_bus/.../statistics/reads [all …]
|
A D | sysfs-class-net-phydev | 1 What: /sys/class/mdio_bus/<bus>/<device>/attached_dev 9 What: /sys/class/mdio_bus/<bus>/<device>/phy_has_fixups 19 What: /sys/class/mdio_bus/<bus>/<device>/phy_id 29 What: /sys/class/mdio_bus/<bus>/<device>/phy_interface 46 What: /sys/class/mdio_bus/<bus>/<device>/phy_standalone 55 What: /sys/class/mdio_bus/<bus>/<device>/phy_dev_flags
|
/linux/drivers/net/ethernet/samsung/sxgbe/ |
A D | sxgbe_mdio.c | 142 struct mii_bus *mdio_bus; in sxgbe_mdio_register() local 151 mdio_bus = mdiobus_alloc(); in sxgbe_mdio_register() 152 if (!mdio_bus) { in sxgbe_mdio_register() 163 mdio_bus->name = "sxgbe"; in sxgbe_mdio_register() 164 mdio_bus->read = &sxgbe_mdio_read; in sxgbe_mdio_register() 168 mdio_bus->priv = ndev; in sxgbe_mdio_register() 170 mdio_bus->parent = priv->device; in sxgbe_mdio_register() 173 err = mdiobus_register(mdio_bus); in sxgbe_mdio_register() 226 priv->mii = mdio_bus; in sxgbe_mdio_register() 232 mdiobus_unregister(mdio_bus); in sxgbe_mdio_register() [all …]
|
/linux/drivers/net/mdio/ |
A D | mdio-xgene.c | 329 struct mii_bus *mdio_bus; in xgene_mdio_probe() local 379 mdio_bus = mdiobus_alloc(); in xgene_mdio_probe() 380 if (!mdio_bus) { in xgene_mdio_probe() 401 mdio_bus->parent = dev; in xgene_mdio_probe() 409 mdio_bus->phy_mask = ~0; in xgene_mdio_probe() 410 ret = mdiobus_register(mdio_bus); in xgene_mdio_probe() 422 pdata->mdio_bus = mdio_bus; in xgene_mdio_probe() 428 mdiobus_free(mdio_bus); in xgene_mdio_probe() 440 struct mii_bus *mdio_bus = pdata->mdio_bus; in xgene_mdio_remove() local 443 mdiobus_unregister(mdio_bus); in xgene_mdio_remove() [all …]
|
A D | Kconfig | 19 reflects whether the mdio_bus/mdio_device code is built as a
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_mdio.c | 129 struct mii_bus *mdio_bus; in hclge_mac_mdio_config() local 143 if (!mdio_bus) in hclge_mac_mdio_config() 146 mdio_bus->name = "hisilicon MII bus"; in hclge_mac_mdio_config() 147 mdio_bus->read = hclge_mdio_read; in hclge_mac_mdio_config() 148 mdio_bus->write = hclge_mdio_write; in hclge_mac_mdio_config() 152 mdio_bus->parent = &hdev->pdev->dev; in hclge_mac_mdio_config() 153 mdio_bus->priv = hdev; in hclge_mac_mdio_config() 155 ret = mdiobus_register(mdio_bus); in hclge_mac_mdio_config() 157 dev_err(mdio_bus->parent, in hclge_mac_mdio_config() 165 mdiobus_unregister(mdio_bus); in hclge_mac_mdio_config() [all …]
|
A D | hclge_main.h | 290 struct mii_bus *mdio_bus; member
|
/linux/drivers/net/ethernet/apm/xgene/ |
A D | xgene_enet_hw.c | 946 struct mii_bus *mdio_bus; in xgene_enet_mdio_config() local 949 mdio_bus = mdiobus_alloc(); in xgene_enet_mdio_config() 950 if (!mdio_bus) in xgene_enet_mdio_config() 953 mdio_bus->name = "APM X-Gene MDIO bus"; in xgene_enet_mdio_config() 954 mdio_bus->read = xgene_mdio_rgmii_read; in xgene_enet_mdio_config() 960 mdio_bus->parent = &pdata->pdev->dev; in xgene_enet_mdio_config() 965 mdiobus_free(mdio_bus); in xgene_enet_mdio_config() 968 pdata->mdio_bus = mdio_bus; in xgene_enet_mdio_config() 992 mdiobus_unregister(pdata->mdio_bus); in xgene_enet_mdio_remove() 993 mdiobus_free(pdata->mdio_bus); in xgene_enet_mdio_remove() [all …]
|
A D | xgene_enet_main.h | 185 struct mii_bus *mdio_bus; member
|
/linux/drivers/net/ethernet/sfc/ |
A D | mcdi_port.c | 29 MCDI_SET_DWORD(inbuf, MDIO_READ_IN_BUS, efx->mdio_bus); in efx_mcdi_mdio_read() 55 MCDI_SET_DWORD(inbuf, MDIO_WRITE_IN_BUS, efx->mdio_bus); in efx_mcdi_mdio_write()
|
A D | net_driver.h | 1066 unsigned int mdio_bus; member
|
/linux/drivers/net/ethernet/xscale/ |
A D | ixp4xx_eth.c | 255 static struct mii_bus *mdio_bus; variable 535 if (!(mdio_bus = mdiobus_alloc())) in ixp4xx_mdio_register() 540 mdio_bus->name = "IXP4xx MII Bus"; in ixp4xx_mdio_register() 541 mdio_bus->read = &ixp4xx_mdio_read; in ixp4xx_mdio_register() 542 mdio_bus->write = &ixp4xx_mdio_write; in ixp4xx_mdio_register() 545 err = of_mdiobus_register(mdio_bus, mdio_bus_np); in ixp4xx_mdio_register() 547 mdiobus_free(mdio_bus); in ixp4xx_mdio_register() 553 mdiobus_unregister(mdio_bus); in ixp4xx_mdio_remove() 554 mdiobus_free(mdio_bus); in ixp4xx_mdio_remove() 1509 if (!mdio_bus) in ixp4xx_eth_probe() [all …]
|
/linux/Documentation/networking/ |
A D | kapi.rst | 131 .. kernel-doc:: drivers/net/phy/mdio_bus.c 134 .. kernel-doc:: drivers/net/phy/mdio_bus.c
|
/linux/drivers/net/phy/ |
A D | built-in.a | 11 mdio_bus.o/
|
A D | .built-in.a.cmd | 1 …drivers/net/phy/phy_device.o drivers/net/phy/linkmode.o drivers/net/phy/mdio_bus.o drivers/net/phy…
|
A D | Makefile | 6 mdio-bus-y += mdio_bus.o mdio_device.o
|
A D | .mdio_bus.o.cmd | 1 …mdio_bus.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bin… 3 source_drivers/net/phy/mdio_bus.o := drivers/net/phy/mdio_bus.c 5 deps_drivers/net/phy/mdio_bus.o := \ 1445 drivers/net/phy/mdio_bus.o: $(deps_drivers/net/phy/mdio_bus.o) 1447 $(deps_drivers/net/phy/mdio_bus.o):
|
/linux/include/linux/mdio/ |
A D | mdio-xgene.h | 91 struct mii_bus *mdio_bus; member
|
/linux/drivers/net/dsa/mv88e6xxx/ |
A D | global2.c | 794 struct mv88e6xxx_mdio_bus *mdio_bus = bus->priv; in mv88e6xxx_g2_smi_phy_read() local 795 bool external = mdio_bus->external; in mv88e6xxx_g2_smi_phy_read() 808 struct mv88e6xxx_mdio_bus *mdio_bus = bus->priv; in mv88e6xxx_g2_smi_phy_write() local 809 bool external = mdio_bus->external; in mv88e6xxx_g2_smi_phy_write()
|
A D | chip.c | 118 struct mv88e6xxx_mdio_bus *mdio_bus; in mv88e6xxx_default_mdio_bus() local 122 if (!mdio_bus) in mv88e6xxx_default_mdio_bus() 125 return mdio_bus->bus; in mv88e6xxx_default_mdio_bus() 3405 struct mv88e6xxx_mdio_bus *mdio_bus; in mv88e6xxx_mdio_register() local 3422 mdio_bus = bus->priv; in mv88e6xxx_mdio_register() 3423 mdio_bus->bus = bus; in mv88e6xxx_mdio_register() 3424 mdio_bus->chip = chip; in mv88e6xxx_mdio_register() 3425 INIT_LIST_HEAD(&mdio_bus->list); in mv88e6xxx_mdio_register() 3426 mdio_bus->external = external; in mv88e6xxx_mdio_register() 3468 bus = mdio_bus->bus; in mv88e6xxx_mdios_unregister() [all …]
|
/linux/drivers/net/ethernet/broadcom/ |
A D | tg3.c | 1535 tp->mdio_bus = mdiobus_alloc(); in tg3_mdio_init() 1536 if (tp->mdio_bus == NULL) in tg3_mdio_init() 1539 tp->mdio_bus->name = "tg3 mdio bus"; in tg3_mdio_init() 1542 tp->mdio_bus->priv = tp; in tg3_mdio_init() 1543 tp->mdio_bus->parent = &tp->pdev->dev; in tg3_mdio_init() 1556 i = mdiobus_register(tp->mdio_bus); in tg3_mdio_init() 1559 mdiobus_free(tp->mdio_bus); in tg3_mdio_init() 1567 mdiobus_unregister(tp->mdio_bus); in tg3_mdio_init() 1568 mdiobus_free(tp->mdio_bus); in tg3_mdio_init() 1607 mdiobus_unregister(tp->mdio_bus); in tg3_mdio_fini() [all …]
|
/linux/drivers/net/ |
A D | built-in.a | 13 phy/mdio_bus.o/
|
/linux/drivers/net/dsa/ |
A D | lantiq_gswip.c | 2169 goto mdio_bus; in gswip_probe() 2188 mdio_bus: in gswip_probe()
|