mdiodev 290 drivers/net/dsa/b53/b53_mdio.c static int b53_mdio_probe(struct mdio_device *mdiodev) mdiodev 299 drivers/net/dsa/b53/b53_mdio.c if (mdiodev->addr != BRCM_PSEUDO_PHY_ADDR && mdiodev->addr != 0) { mdiodev 300 drivers/net/dsa/b53/b53_mdio.c dev_err(&mdiodev->dev, "leaving address %d to PHY\n", mdiodev 301 drivers/net/dsa/b53/b53_mdio.c mdiodev->addr); mdiodev 306 drivers/net/dsa/b53/b53_mdio.c phy_id = mdiobus_read(mdiodev->bus, 0, 2) << 16; mdiodev 307 drivers/net/dsa/b53/b53_mdio.c phy_id |= mdiobus_read(mdiodev->bus, 0, 3); mdiodev 317 drivers/net/dsa/b53/b53_mdio.c dev_err(&mdiodev->dev, "Unsupported device: 0x%08x\n", phy_id); mdiodev 329 drivers/net/dsa/b53/b53_mdio.c strcmp(mdiodev->bus->name, "sf2 slave mii")) mdiodev 332 drivers/net/dsa/b53/b53_mdio.c dev = b53_switch_alloc(&mdiodev->dev, &b53_mdio_ops, mdiodev->bus); mdiodev 338 drivers/net/dsa/b53/b53_mdio.c dev->bus = mdiodev->bus; mdiodev 340 drivers/net/dsa/b53/b53_mdio.c dev_set_drvdata(&mdiodev->dev, dev); mdiodev 344 drivers/net/dsa/b53/b53_mdio.c dev_err(&mdiodev->dev, "failed to register switch: %i\n", ret); mdiodev 351 drivers/net/dsa/b53/b53_mdio.c static void b53_mdio_remove(struct mdio_device *mdiodev) mdiodev 353 drivers/net/dsa/b53/b53_mdio.c struct b53_device *dev = dev_get_drvdata(&mdiodev->dev); mdiodev 277 drivers/net/dsa/dsa_loop.c static int dsa_loop_drv_probe(struct mdio_device *mdiodev) mdiodev 279 drivers/net/dsa/dsa_loop.c struct dsa_loop_pdata *pdata = mdiodev->dev.platform_data; mdiodev 286 drivers/net/dsa/dsa_loop.c dev_info(&mdiodev->dev, "%s: 0x%0x\n", mdiodev 289 drivers/net/dsa/dsa_loop.c ds = dsa_switch_alloc(&mdiodev->dev, DSA_MAX_PORTS); mdiodev 293 drivers/net/dsa/dsa_loop.c ps = devm_kzalloc(&mdiodev->dev, sizeof(*ps), GFP_KERNEL); mdiodev 303 drivers/net/dsa/dsa_loop.c ds->dev = &mdiodev->dev; mdiodev 306 drivers/net/dsa/dsa_loop.c ps->bus = mdiodev->bus; mdiodev 308 drivers/net/dsa/dsa_loop.c dev_set_drvdata(&mdiodev->dev, ds); mdiodev 313 drivers/net/dsa/dsa_loop.c static void dsa_loop_drv_remove(struct mdio_device *mdiodev) mdiodev 315 drivers/net/dsa/dsa_loop.c struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); mdiodev 99 drivers/net/dsa/lan9303_mdio.c static int lan9303_mdio_probe(struct mdio_device *mdiodev) mdiodev 104 drivers/net/dsa/lan9303_mdio.c sw_dev = devm_kzalloc(&mdiodev->dev, sizeof(struct lan9303_mdio), mdiodev 109 drivers/net/dsa/lan9303_mdio.c sw_dev->chip.regmap = devm_regmap_init(&mdiodev->dev, NULL, sw_dev, mdiodev 113 drivers/net/dsa/lan9303_mdio.c dev_err(&mdiodev->dev, "regmap init failed: %d\n", ret); mdiodev 118 drivers/net/dsa/lan9303_mdio.c sw_dev->device = mdiodev; mdiodev 119 drivers/net/dsa/lan9303_mdio.c dev_set_drvdata(&mdiodev->dev, sw_dev); mdiodev 120 drivers/net/dsa/lan9303_mdio.c sw_dev->chip.dev = &mdiodev->dev; mdiodev 124 drivers/net/dsa/lan9303_mdio.c ret = lan9303_probe(&sw_dev->chip, mdiodev->dev.of_node); mdiodev 128 drivers/net/dsa/lan9303_mdio.c dev_info(&mdiodev->dev, "LAN9303 MDIO driver loaded successfully\n"); mdiodev 133 drivers/net/dsa/lan9303_mdio.c static void lan9303_mdio_remove(struct mdio_device *mdiodev) mdiodev 135 drivers/net/dsa/lan9303_mdio.c struct lan9303_mdio *sw_dev = dev_get_drvdata(&mdiodev->dev); mdiodev 1548 drivers/net/dsa/mt7530.c mt7530_probe(struct mdio_device *mdiodev) mdiodev 1553 drivers/net/dsa/mt7530.c dn = mdiodev->dev.of_node; mdiodev 1555 drivers/net/dsa/mt7530.c priv = devm_kzalloc(&mdiodev->dev, sizeof(*priv), GFP_KERNEL); mdiodev 1559 drivers/net/dsa/mt7530.c priv->ds = dsa_switch_alloc(&mdiodev->dev, DSA_MAX_PORTS); mdiodev 1568 drivers/net/dsa/mt7530.c dev_info(&mdiodev->dev, "MT7530 adapts as multi-chip module\n"); mdiodev 1570 drivers/net/dsa/mt7530.c priv->rstc = devm_reset_control_get(&mdiodev->dev, "mcm"); mdiodev 1572 drivers/net/dsa/mt7530.c dev_err(&mdiodev->dev, "Couldn't get our reset line\n"); mdiodev 1581 drivers/net/dsa/mt7530.c of_device_get_match_data(&mdiodev->dev); mdiodev 1584 drivers/net/dsa/mt7530.c priv->core_pwr = devm_regulator_get(&mdiodev->dev, "core"); mdiodev 1588 drivers/net/dsa/mt7530.c priv->io_pwr = devm_regulator_get(&mdiodev->dev, "io"); mdiodev 1599 drivers/net/dsa/mt7530.c priv->reset = devm_gpiod_get_optional(&mdiodev->dev, "reset", mdiodev 1602 drivers/net/dsa/mt7530.c dev_err(&mdiodev->dev, "Couldn't get our reset line\n"); mdiodev 1607 drivers/net/dsa/mt7530.c priv->bus = mdiodev->bus; mdiodev 1608 drivers/net/dsa/mt7530.c priv->dev = &mdiodev->dev; mdiodev 1612 drivers/net/dsa/mt7530.c dev_set_drvdata(&mdiodev->dev, priv); mdiodev 1618 drivers/net/dsa/mt7530.c mt7530_remove(struct mdio_device *mdiodev) mdiodev 1620 drivers/net/dsa/mt7530.c struct mt7530_priv *priv = dev_get_drvdata(&mdiodev->dev); mdiodev 253 drivers/net/dsa/mv88e6060.c static int mv88e6060_probe(struct mdio_device *mdiodev) mdiodev 255 drivers/net/dsa/mv88e6060.c struct device *dev = &mdiodev->dev; mdiodev 264 drivers/net/dsa/mv88e6060.c priv->bus = mdiodev->bus; mdiodev 265 drivers/net/dsa/mv88e6060.c priv->sw_addr = mdiodev->addr; mdiodev 286 drivers/net/dsa/mv88e6060.c static void mv88e6060_remove(struct mdio_device *mdiodev) mdiodev 288 drivers/net/dsa/mv88e6060.c struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); mdiodev 5033 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_probe(struct mdio_device *mdiodev) mdiodev 5035 drivers/net/dsa/mv88e6xxx/chip.c struct dsa_mv88e6xxx_pdata *pdata = mdiodev->dev.platform_data; mdiodev 5037 drivers/net/dsa/mv88e6xxx/chip.c struct device *dev = &mdiodev->dev; mdiodev 5076 drivers/net/dsa/mv88e6xxx/chip.c err = mv88e6xxx_smi_init(chip, mdiodev->bus, mdiodev->addr); mdiodev 5178 drivers/net/dsa/mv88e6xxx/chip.c static void mv88e6xxx_remove(struct mdio_device *mdiodev) mdiodev 5180 drivers/net/dsa/mv88e6xxx/chip.c struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); mdiodev 1044 drivers/net/dsa/qca8k.c qca8k_sw_probe(struct mdio_device *mdiodev) mdiodev 1052 drivers/net/dsa/qca8k.c priv = devm_kzalloc(&mdiodev->dev, sizeof(*priv), GFP_KERNEL); mdiodev 1056 drivers/net/dsa/qca8k.c priv->bus = mdiodev->bus; mdiodev 1057 drivers/net/dsa/qca8k.c priv->dev = &mdiodev->dev; mdiodev 1080 drivers/net/dsa/qca8k.c priv->ds = dsa_switch_alloc(&mdiodev->dev, QCA8K_NUM_PORTS); mdiodev 1088 drivers/net/dsa/qca8k.c dev_set_drvdata(&mdiodev->dev, priv); mdiodev 1094 drivers/net/dsa/qca8k.c qca8k_sw_remove(struct mdio_device *mdiodev) mdiodev 1096 drivers/net/dsa/qca8k.c struct qca8k_priv *priv = dev_get_drvdata(&mdiodev->dev); mdiodev 43 drivers/net/phy/mdio_bus.c static int mdiobus_register_gpiod(struct mdio_device *mdiodev) mdiodev 48 drivers/net/phy/mdio_bus.c mdiodev->reset_gpio = gpiod_get_optional(&mdiodev->dev, mdiodev 50 drivers/net/phy/mdio_bus.c error = PTR_ERR_OR_ZERO(mdiodev->reset_gpio); mdiodev 54 drivers/net/phy/mdio_bus.c if (mdiodev->reset_gpio) mdiodev 55 drivers/net/phy/mdio_bus.c gpiod_set_consumer_name(mdiodev->reset_gpio, "PHY reset"); mdiodev 60 drivers/net/phy/mdio_bus.c static int mdiobus_register_reset(struct mdio_device *mdiodev) mdiodev 64 drivers/net/phy/mdio_bus.c if (mdiodev->dev.of_node) mdiodev 65 drivers/net/phy/mdio_bus.c reset = of_reset_control_get_exclusive(mdiodev->dev.of_node, mdiodev 74 drivers/net/phy/mdio_bus.c mdiodev->reset_ctrl = reset; mdiodev 79 drivers/net/phy/mdio_bus.c int mdiobus_register_device(struct mdio_device *mdiodev) mdiodev 83 drivers/net/phy/mdio_bus.c if (mdiodev->bus->mdio_map[mdiodev->addr]) mdiodev 86 drivers/net/phy/mdio_bus.c if (mdiodev->flags & MDIO_DEVICE_FLAG_PHY) { mdiodev 87 drivers/net/phy/mdio_bus.c err = mdiobus_register_gpiod(mdiodev); mdiodev 91 drivers/net/phy/mdio_bus.c err = mdiobus_register_reset(mdiodev); mdiodev 96 drivers/net/phy/mdio_bus.c mdio_device_reset(mdiodev, 1); mdiodev 99 drivers/net/phy/mdio_bus.c mdiodev->bus->mdio_map[mdiodev->addr] = mdiodev; mdiodev 105 drivers/net/phy/mdio_bus.c int mdiobus_unregister_device(struct mdio_device *mdiodev) mdiodev 107 drivers/net/phy/mdio_bus.c if (mdiodev->bus->mdio_map[mdiodev->addr] != mdiodev) mdiodev 110 drivers/net/phy/mdio_bus.c reset_control_put(mdiodev->reset_ctrl); mdiodev 112 drivers/net/phy/mdio_bus.c mdiodev->bus->mdio_map[mdiodev->addr] = NULL; mdiodev 120 drivers/net/phy/mdio_bus.c struct mdio_device *mdiodev = bus->mdio_map[addr]; mdiodev 122 drivers/net/phy/mdio_bus.c if (!mdiodev) mdiodev 125 drivers/net/phy/mdio_bus.c if (!(mdiodev->flags & MDIO_DEVICE_FLAG_PHY)) mdiodev 128 drivers/net/phy/mdio_bus.c return container_of(mdiodev, struct phy_device, mdio); mdiodev 296 drivers/net/phy/mdio_bus.c struct mdio_device *mdiodev) mdiodev 298 drivers/net/phy/mdio_bus.c struct device *dev = &mdiodev->dev; mdiodev 311 drivers/net/phy/mdio_bus.c if (addr == mdiodev->addr) { mdiodev 320 drivers/net/phy/mdio_bus.c struct mdio_device *mdiodev) mdiodev 336 drivers/net/phy/mdio_bus.c struct mdio_device *mdiodev; mdiodev 339 drivers/net/phy/mdio_bus.c mdiodev = mdio_device_create(bus, bi->mdio_addr); mdiodev 340 drivers/net/phy/mdio_bus.c if (IS_ERR(mdiodev)) mdiodev 343 drivers/net/phy/mdio_bus.c strncpy(mdiodev->modalias, bi->modalias, mdiodev 344 drivers/net/phy/mdio_bus.c sizeof(mdiodev->modalias)); mdiodev 345 drivers/net/phy/mdio_bus.c mdiodev->bus_match = mdio_device_bus_match; mdiodev 346 drivers/net/phy/mdio_bus.c mdiodev->dev.platform_data = (void *)bi->platform_data; mdiodev 348 drivers/net/phy/mdio_bus.c ret = mdio_device_register(mdiodev); mdiodev 350 drivers/net/phy/mdio_bus.c mdio_device_free(mdiodev); mdiodev 371 drivers/net/phy/mdio_bus.c struct mdio_device *mdiodev; mdiodev 434 drivers/net/phy/mdio_bus.c mdiodev = bus->mdio_map[i]; mdiodev 435 drivers/net/phy/mdio_bus.c if (!mdiodev) mdiodev 438 drivers/net/phy/mdio_bus.c mdiodev->device_remove(mdiodev); mdiodev 439 drivers/net/phy/mdio_bus.c mdiodev->device_free(mdiodev); mdiodev 453 drivers/net/phy/mdio_bus.c struct mdio_device *mdiodev; mdiodev 460 drivers/net/phy/mdio_bus.c mdiodev = bus->mdio_map[i]; mdiodev 461 drivers/net/phy/mdio_bus.c if (!mdiodev) mdiodev 464 drivers/net/phy/mdio_bus.c if (mdiodev->reset_gpio) mdiodev 465 drivers/net/phy/mdio_bus.c gpiod_put(mdiodev->reset_gpio); mdiodev 467 drivers/net/phy/mdio_bus.c mdiodev->device_remove(mdiodev); mdiodev 468 drivers/net/phy/mdio_bus.c mdiodev->device_free(mdiodev); mdiodev 25 drivers/net/phy/mdio_device.c void mdio_device_free(struct mdio_device *mdiodev) mdiodev 27 drivers/net/phy/mdio_device.c put_device(&mdiodev->dev); mdiodev 38 drivers/net/phy/mdio_device.c struct mdio_device *mdiodev = to_mdio_device(dev); mdiodev 44 drivers/net/phy/mdio_device.c return strcmp(mdiodev->modalias, drv->name) == 0; mdiodev 49 drivers/net/phy/mdio_device.c struct mdio_device *mdiodev; mdiodev 52 drivers/net/phy/mdio_device.c mdiodev = kzalloc(sizeof(*mdiodev), GFP_KERNEL); mdiodev 53 drivers/net/phy/mdio_device.c if (!mdiodev) mdiodev 56 drivers/net/phy/mdio_device.c mdiodev->dev.release = mdio_device_release; mdiodev 57 drivers/net/phy/mdio_device.c mdiodev->dev.parent = &bus->dev; mdiodev 58 drivers/net/phy/mdio_device.c mdiodev->dev.bus = &mdio_bus_type; mdiodev 59 drivers/net/phy/mdio_device.c mdiodev->device_free = mdio_device_free; mdiodev 60 drivers/net/phy/mdio_device.c mdiodev->device_remove = mdio_device_remove; mdiodev 61 drivers/net/phy/mdio_device.c mdiodev->bus = bus; mdiodev 62 drivers/net/phy/mdio_device.c mdiodev->addr = addr; mdiodev 64 drivers/net/phy/mdio_device.c dev_set_name(&mdiodev->dev, PHY_ID_FMT, bus->id, addr); mdiodev 66 drivers/net/phy/mdio_device.c device_initialize(&mdiodev->dev); mdiodev 68 drivers/net/phy/mdio_device.c return mdiodev; mdiodev 76 drivers/net/phy/mdio_device.c int mdio_device_register(struct mdio_device *mdiodev) mdiodev 80 drivers/net/phy/mdio_device.c dev_dbg(&mdiodev->dev, "mdio_device_register\n"); mdiodev 82 drivers/net/phy/mdio_device.c err = mdiobus_register_device(mdiodev); mdiodev 86 drivers/net/phy/mdio_device.c err = device_add(&mdiodev->dev); mdiodev 88 drivers/net/phy/mdio_device.c pr_err("MDIO %d failed to add\n", mdiodev->addr); mdiodev 95 drivers/net/phy/mdio_device.c mdiobus_unregister_device(mdiodev); mdiodev 109 drivers/net/phy/mdio_device.c void mdio_device_remove(struct mdio_device *mdiodev) mdiodev 111 drivers/net/phy/mdio_device.c device_del(&mdiodev->dev); mdiodev 112 drivers/net/phy/mdio_device.c mdiobus_unregister_device(mdiodev); mdiodev 116 drivers/net/phy/mdio_device.c void mdio_device_reset(struct mdio_device *mdiodev, int value) mdiodev 120 drivers/net/phy/mdio_device.c if (!mdiodev->reset_gpio && !mdiodev->reset_ctrl) mdiodev 123 drivers/net/phy/mdio_device.c if (mdiodev->reset_gpio) mdiodev 124 drivers/net/phy/mdio_device.c gpiod_set_value_cansleep(mdiodev->reset_gpio, value); mdiodev 126 drivers/net/phy/mdio_device.c if (mdiodev->reset_ctrl) { mdiodev 128 drivers/net/phy/mdio_device.c reset_control_assert(mdiodev->reset_ctrl); mdiodev 130 drivers/net/phy/mdio_device.c reset_control_deassert(mdiodev->reset_ctrl); mdiodev 133 drivers/net/phy/mdio_device.c d = value ? mdiodev->reset_assert_delay : mdiodev->reset_deassert_delay; mdiodev 148 drivers/net/phy/mdio_device.c struct mdio_device *mdiodev = to_mdio_device(dev); mdiodev 149 drivers/net/phy/mdio_device.c struct device_driver *drv = mdiodev->dev.driver; mdiodev 155 drivers/net/phy/mdio_device.c mdio_device_reset(mdiodev, 0); mdiodev 157 drivers/net/phy/mdio_device.c err = mdiodrv->probe(mdiodev); mdiodev 160 drivers/net/phy/mdio_device.c mdio_device_reset(mdiodev, 1); mdiodev 169 drivers/net/phy/mdio_device.c struct mdio_device *mdiodev = to_mdio_device(dev); mdiodev 170 drivers/net/phy/mdio_device.c struct device_driver *drv = mdiodev->dev.driver; mdiodev 174 drivers/net/phy/mdio_device.c mdiodrv->remove(mdiodev); mdiodev 177 drivers/net/phy/mdio_device.c mdio_device_reset(mdiodev, 1); mdiodev 206 drivers/net/phy/phy_device.c static void phy_mdio_device_free(struct mdio_device *mdiodev) mdiodev 210 drivers/net/phy/phy_device.c phydev = container_of(mdiodev, struct phy_device, mdio); mdiodev 219 drivers/net/phy/phy_device.c static void phy_mdio_device_remove(struct mdio_device *mdiodev) mdiodev 223 drivers/net/phy/phy_device.c phydev = container_of(mdiodev, struct phy_device, mdio); mdiodev 585 drivers/net/phy/phy_device.c struct mdio_device *mdiodev; mdiodev 593 drivers/net/phy/phy_device.c mdiodev = &dev->mdio; mdiodev 594 drivers/net/phy/phy_device.c mdiodev->dev.parent = &bus->dev; mdiodev 595 drivers/net/phy/phy_device.c mdiodev->dev.bus = &mdio_bus_type; mdiodev 596 drivers/net/phy/phy_device.c mdiodev->dev.type = &mdio_bus_phy_type; mdiodev 597 drivers/net/phy/phy_device.c mdiodev->bus = bus; mdiodev 598 drivers/net/phy/phy_device.c mdiodev->bus_match = phy_bus_match; mdiodev 599 drivers/net/phy/phy_device.c mdiodev->addr = addr; mdiodev 600 drivers/net/phy/phy_device.c mdiodev->flags = MDIO_DEVICE_FLAG_PHY; mdiodev 601 drivers/net/phy/phy_device.c mdiodev->device_free = phy_mdio_device_free; mdiodev 602 drivers/net/phy/phy_device.c mdiodev->device_remove = phy_mdio_device_remove; mdiodev 618 drivers/net/phy/phy_device.c dev_set_name(&mdiodev->dev, PHY_ID_FMT, bus->id, addr); mdiodev 653 drivers/net/phy/phy_device.c device_initialize(&mdiodev->dev); mdiodev 60 drivers/net/phy/xilinx_gmii2rgmii.c static int xgmiitorgmii_probe(struct mdio_device *mdiodev) mdiodev 62 drivers/net/phy/xilinx_gmii2rgmii.c struct device *dev = &mdiodev->dev; mdiodev 88 drivers/net/phy/xilinx_gmii2rgmii.c priv->mdio = mdiodev; mdiodev 106 drivers/of/of_mdio.c struct mdio_device *mdiodev; mdiodev 109 drivers/of/of_mdio.c mdiodev = mdio_device_create(mdio, addr); mdiodev 110 drivers/of/of_mdio.c if (IS_ERR(mdiodev)) mdiodev 111 drivers/of/of_mdio.c return PTR_ERR(mdiodev); mdiodev 117 drivers/of/of_mdio.c mdiodev->dev.of_node = child; mdiodev 118 drivers/of/of_mdio.c mdiodev->dev.fwnode = of_fwnode_handle(child); mdiodev 121 drivers/of/of_mdio.c rc = mdio_device_register(mdiodev); mdiodev 123 drivers/of/of_mdio.c mdio_device_free(mdiodev); mdiodev 294 drivers/of/of_mdio.c struct mdio_device *mdiodev; mdiodev 301 drivers/of/of_mdio.c mdiodev = to_mdio_device(d); mdiodev 302 drivers/of/of_mdio.c if (mdiodev->flags & MDIO_DEVICE_FLAG_PHY) mdiodev 54 drivers/phy/broadcom/phy-bcm-ns-usb3.c struct mdio_device *mdiodev; mdiodev 192 drivers/phy/broadcom/phy-bcm-ns-usb3.c struct mdio_device *mdiodev = usb3->mdiodev; mdiodev 194 drivers/phy/broadcom/phy-bcm-ns-usb3.c return mdiobus_write(mdiodev->bus, mdiodev->addr, reg, value); mdiodev 197 drivers/phy/broadcom/phy-bcm-ns-usb3.c static int bcm_ns_usb3_mdio_probe(struct mdio_device *mdiodev) mdiodev 199 drivers/phy/broadcom/phy-bcm-ns-usb3.c struct device *dev = &mdiodev->dev; mdiodev 212 drivers/phy/broadcom/phy-bcm-ns-usb3.c usb3->mdiodev = mdiodev; mdiodev 28 drivers/phy/broadcom/phy-bcm-ns2-pcie.c struct mdio_device *mdiodev = phy_get_drvdata(p); mdiodev 32 drivers/phy/broadcom/phy-bcm-ns2-pcie.c rc = mdiobus_write(mdiodev->bus, mdiodev->addr, mdiodev 38 drivers/phy/broadcom/phy-bcm-ns2-pcie.c rc = mdiobus_write(mdiodev->bus, mdiodev->addr, mdiodev 46 drivers/phy/broadcom/phy-bcm-ns2-pcie.c dev_err(&mdiodev->dev, "Error %d writing to phy\n", rc); mdiodev 55 drivers/phy/broadcom/phy-bcm-ns2-pcie.c static int ns2_pci_phy_probe(struct mdio_device *mdiodev) mdiodev 57 drivers/phy/broadcom/phy-bcm-ns2-pcie.c struct device *dev = &mdiodev->dev; mdiodev 67 drivers/phy/broadcom/phy-bcm-ns2-pcie.c phy_set_drvdata(phy, mdiodev); mdiodev 33 include/linux/mdio.h void (*device_free)(struct mdio_device *mdiodev); mdiodev 34 include/linux/mdio.h void (*device_remove)(struct mdio_device *mdiodev); mdiodev 63 include/linux/mdio.h int (*probe)(struct mdio_device *mdiodev); mdiodev 66 include/linux/mdio.h void (*remove)(struct mdio_device *mdiodev); mdiodev 82 include/linux/mdio.h void mdio_device_free(struct mdio_device *mdiodev); mdiodev 84 include/linux/mdio.h int mdio_device_register(struct mdio_device *mdiodev); mdiodev 85 include/linux/mdio.h void mdio_device_remove(struct mdio_device *mdiodev); mdiodev 86 include/linux/mdio.h void mdio_device_reset(struct mdio_device *mdiodev, int value); mdiodev 325 include/linux/mdio.h int mdiobus_register_device(struct mdio_device *mdiodev); mdiodev 326 include/linux/mdio.h int mdiobus_unregister_device(struct mdio_device *mdiodev);