Lines Matching full:np
18 * @np: Pointer to device_node that the alias stands for
28 struct device_node *np; member
50 extern int of_property_notify(int action, struct device_node *np,
60 static inline int of_property_notify(int action, struct device_node *np, in of_property_notify() argument
75 int __of_add_property_sysfs(struct device_node *np, struct property *pp);
76 void __of_remove_property_sysfs(struct device_node *np, const struct property *prop);
77 void __of_update_property_sysfs(struct device_node *np, struct property *newprop,
79 int __of_attach_node_sysfs(struct device_node *np);
80 void __of_detach_node_sysfs(struct device_node *np);
82 static inline int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs() argument
86 static inline void __of_remove_property_sysfs(struct device_node *np, const struct property *prop) … in __of_remove_property_sysfs() argument
87 static inline void __of_update_property_sysfs(struct device_node *np, in __of_update_property_sysfs() argument
89 static inline int __of_attach_node_sysfs(struct device_node *np) in __of_attach_node_sysfs() argument
93 static inline void __of_detach_node_sysfs(struct device_node *np) {} in __of_detach_node_sysfs() argument
133 struct device_node *__of_node_dup(const struct device_node *np,
141 extern const void *__of_get_property(const struct device_node *np,
143 extern int __of_add_property(struct device_node *np, struct property *prop);
144 extern int __of_remove_property(struct device_node *np, struct property *prop);
145 extern int __of_update_property(struct device_node *np,
148 extern void __of_detach_node(struct device_node *np);
150 extern void __of_sysfs_remove_bin_file(struct device_node *np,
165 extern int of_bus_n_addr_cells(struct device_node *np);
166 extern int of_bus_n_size_cells(struct device_node *np);
173 int of_dma_get_range(struct device_node *np,
175 struct device_node *__of_get_dma_parent(const struct device_node *np);
177 static inline int of_dma_get_range(struct device_node *np, in of_dma_get_range() argument
182 static inline struct device_node *__of_get_dma_parent(const struct device_node *np) in __of_get_dma_parent() argument
184 return of_get_parent(np); in __of_get_dma_parent()