Lines Matching refs:node

91 	struct device_node *node;  member
113 static inline void of_node_init(struct device_node *node) in of_node_init() argument
116 kobject_init(&node->kobj, &of_node_ktype); in of_node_init()
118 fwnode_init(&node->fwnode, &of_fwnode_ops); in of_node_init()
128 extern struct device_node *of_node_get(struct device_node *node);
129 extern void of_node_put(struct device_node *node);
132 static inline struct device_node *of_node_get(struct device_node *node) in of_node_get() argument
134 return node; in of_node_get()
136 static inline void of_node_put(struct device_node *node) { } in of_node_put() argument
177 #define of_fwnode_handle(node) \ argument
179 typeof(node) __of_fwnode_handle_node = (node); \
185 static inline bool of_node_is_root(const struct device_node *node) in of_node_is_root() argument
187 return node && (node->parent == NULL); in of_node_is_root()
288 extern struct device_node *of_get_parent(const struct device_node *node);
289 extern struct device_node *of_get_next_parent(struct device_node *node);
290 extern struct device_node *of_get_next_child(const struct device_node *node,
292 extern struct device_node *of_get_next_child_with_prefix(const struct device_node *node,
296 const struct device_node *node, struct device_node *prev);
298 const struct device_node *node, struct device_node *prev);
302 extern struct device_node *of_get_child_by_name(const struct device_node *node,
304 extern struct device_node *of_get_available_child_by_name(const struct device_node *node,
362 extern const void *of_get_property(const struct device_node *node,
376 const struct of_device_id *matches, const struct device_node *node);
378 extern int of_alias_from_compatible(const struct device_node *node, char *alias,
537 static inline struct device_node *of_get_parent(const struct device_node *node) in of_get_parent() argument
542 static inline struct device_node *of_get_next_parent(struct device_node *node) in of_get_next_parent() argument
548 const struct device_node *node, struct device_node *prev) in of_get_next_child() argument
554 const struct device_node *node, struct device_node *prev) in of_get_next_available_child() argument
560 const struct device_node *node, struct device_node *prev) in of_get_next_reserved_child() argument
571 #define of_fwnode_handle(node) NULL argument
580 const struct device_node *node, in of_get_child_by_name() argument
587 const struct device_node *node, in of_get_available_child_by_name() argument
660 static inline const void *of_get_property(const struct device_node *node, in of_get_property() argument
1569 struct list_head node; member