Lines Matching refs:device_node
27 struct device_node *np;
46 extern int of_property_notify(int action, struct device_node *np,
56 static inline int of_property_notify(int action, struct device_node *np, in of_property_notify()
70 int of_node_is_attached(const struct device_node *node);
71 int __of_add_property_sysfs(struct device_node *np, struct property *pp);
72 void __of_remove_property_sysfs(struct device_node *np, struct property *prop);
73 void __of_update_property_sysfs(struct device_node *np, struct property *newprop,
75 int __of_attach_node_sysfs(struct device_node *np);
76 void __of_detach_node_sysfs(struct device_node *np);
78 static inline int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs()
82 static inline void __of_remove_property_sysfs(struct device_node *np, struct property *prop) {} in __of_remove_property_sysfs()
83 static inline void __of_update_property_sysfs(struct device_node *np, in __of_update_property_sysfs()
85 static inline int __of_attach_node_sysfs(struct device_node *np) in __of_attach_node_sysfs()
89 static inline void __of_detach_node_sysfs(struct device_node *np) {} in __of_detach_node_sysfs()
93 int of_resolve_phandles(struct device_node *tree);
113 struct device_node *dad,
114 struct device_node **mynodes,
126 struct device_node *__of_node_dup(const struct device_node *np,
129 struct device_node *__of_find_node_by_path(struct device_node *parent,
131 struct device_node *__of_find_node_by_full_path(struct device_node *node,
134 extern const void *__of_get_property(const struct device_node *np,
136 extern int __of_add_property(struct device_node *np, struct property *prop);
137 extern int __of_remove_property(struct device_node *np, struct property *prop);
138 extern int __of_update_property(struct device_node *np,
141 extern void __of_detach_node(struct device_node *np);
143 extern void __of_sysfs_remove_bin_file(struct device_node *np,
158 extern int of_bus_n_addr_cells(struct device_node *np);
159 extern int of_bus_n_size_cells(struct device_node *np);
163 int of_dma_get_range(struct device_node *np,
165 struct device_node *__of_get_dma_parent(const struct device_node *np);
167 static inline int of_dma_get_range(struct device_node *np, in of_dma_get_range()
172 static inline struct device_node *__of_get_dma_parent(const struct device_node *np) in __of_get_dma_parent()