table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
OF_MDIO_FIND_BUS(9) | Network device support | OF_MDIO_FIND_BUS(9) |
NAME¶
of_mdio_find_bus - Given an mii_bus node, find the mii_bus.SYNOPSIS¶
struct mii_bus *
of_mdio_find_bus(struct device_node * mdio_bus_np);
ARGUMENTS¶
mdio_bus_npPointer to the mii_bus.
DESCRIPTION¶
Returns a reference to the mii_bus, or NULL if none found. The embedded struct device will have its reference count incremented, and this must be put once the bus is finished with. Because the association of a device_node and mii_bus is made via of_mdiobus_register, the mii_bus cannot be found before it is registered with of_mdiobus_register.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |