Lines Matching full:np
17 int __of_mdiobus_register(struct mii_bus *mdio, struct device_node *np,
21 struct device_node *np) in of_mdiobus_register() argument
23 return __of_mdiobus_register(mdio, np, THIS_MODULE); in of_mdiobus_register()
27 struct device_node *np, struct module *owner);
31 struct device_node *np) in devm_of_mdiobus_register() argument
33 return __devm_of_mdiobus_register(dev, mdio, np, THIS_MODULE); in devm_of_mdiobus_register()
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) in of_mdio_parse_addr() argument
59 ret = of_property_read_u32(np, "reg", &addr); in of_mdio_parse_addr()
61 dev_err(dev, "%s has invalid PHY address\n", np->full_name); in of_mdio_parse_addr()
68 np->full_name, addr); in of_mdio_parse_addr()
81 static inline int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) in of_mdiobus_register() argument
93 struct device_node *np) in devm_of_mdiobus_register() argument
98 static inline struct mdio_device *of_mdio_find_device(struct device_node *np) in of_mdio_find_device() argument
117 of_phy_get_and_connect(struct net_device *dev, struct device_node *np, in of_phy_get_and_connect() argument
129 const struct device_node *np) in of_mdio_parse_addr() argument
133 static inline int of_phy_register_fixed_link(struct device_node *np) in of_phy_register_fixed_link() argument
137 static inline void of_phy_deregister_fixed_link(struct device_node *np) in of_phy_deregister_fixed_link() argument
140 static inline bool of_phy_is_fixed_link(struct device_node *np) in of_phy_is_fixed_link() argument