Lines Matching refs:np
17 int __of_mdiobus_register(struct mii_bus *mdio, struct device_node *np,
21 struct device_node *np)
23 return __of_mdiobus_register(mdio, np, THIS_MODULE);
27 struct device_node *np, struct module *owner);
31 struct device_node *np)
33 return __devm_of_mdiobus_register(dev, mdio, np, THIS_MODULE);
36 struct mdio_device *of_mdio_find_device(struct device_node *np);
43 of_phy_get_and_connect(struct net_device *dev, struct device_node *np,
47 int of_phy_register_fixed_link(struct device_node *np);
48 void of_phy_deregister_fixed_link(struct device_node *np);
49 bool of_phy_is_fixed_link(struct device_node *np);
54 const struct device_node *np)
59 ret = of_property_read_u32(np, "reg", &addr);
61 dev_err(dev, "%s has invalid PHY address\n", np->full_name);
68 np->full_name, addr);
81 static inline int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np)
93 struct device_node *np)
98 static inline struct mdio_device *of_mdio_find_device(struct device_node *np)
117 of_phy_get_and_connect(struct net_device *dev, struct device_node *np,
129 const struct device_node *np)
133 static inline int of_phy_register_fixed_link(struct device_node *np)
137 static inline void of_phy_deregister_fixed_link(struct device_node *np)
140 static inline bool of_phy_is_fixed_link(struct device_node *np)