Lines Matching refs:np
39 static inline void of_node_put(const struct device_node *np) { } in of_node_put() argument
50 int of_n_addr_cells(const struct device_node *np);
61 int of_n_size_cells(const struct device_node *np);
71 int of_simple_addr_cells(const struct device_node *np);
81 int of_simple_size_cells(const struct device_node *np);
91 struct property *of_find_property(const struct device_node *np,
104 const void *of_get_property(const struct device_node *np, const char *name,
116 const struct property *of_get_first_property(const struct device_node *np);
128 const struct property *of_get_next_property(const struct device_node *np,
142 const void *of_get_property_by_prop(const struct device_node *np,
177 int of_device_is_compatible(const struct device_node *np, const char *compat,
188 bool of_device_is_available(const struct device_node *np);
196 struct device_node *of_get_parent(const struct device_node *np);
260 int of_read_u32(const struct device_node *np, const char *propname, u32 *outp);
275 int of_property_read_u64(const struct device_node *np, const char *propname,
291 int of_read_u32_array(const struct device_node *np, const char *propname,
307 int of_write_u32_array(const struct device_node *np, const char *propname,
322 int of_property_match_string(const struct device_node *np, const char *propname,
325 int of_property_read_string_helper(const struct device_node *np,
347 static inline int of_property_read_string_index(const struct device_node *np, in of_property_read_string_index() argument
351 int rc = of_property_read_string_helper(np, propname, output, 1, index); in of_property_read_string_index()
367 static inline int of_property_count_strings(const struct device_node *np, in of_property_count_strings() argument
370 return of_property_read_string_helper(np, propname, NULL, 0, 0); in of_property_count_strings()
383 struct device_node *of_parse_phandle(const struct device_node *np,
423 int of_parse_phandle_with_args(const struct device_node *np,
442 int of_count_phandle_with_args(const struct device_node *np,
466 int of_alias_get_id(const struct device_node *np, const char *stem);