1OF_MDIO_FIND_BUS(9) Network device support OF_MDIO_FIND_BUS(9)
2
3
4
6 of_mdio_find_bus - Given an mii_bus node, find the mii_bus.
7
9 struct mii_bus * of_mdio_find_bus(struct device_node * mdio_bus_np);
10
12 mdio_bus_np
13 Pointer to the mii_bus.
14
16 Returns a reference to the mii_bus, or NULL if none found. The embedded
17 struct device will have its reference count incremented, and this must
18 be put once the bus is finished with.
19
20 Because the association of a device_node and mii_bus is made via
21 of_mdiobus_register, the mii_bus cannot be found before it is
22 registered with of_mdiobus_register.
23
25Kernel Hackers Manual 3.10 June 2019 OF_MDIO_FIND_BUS(9)