Lines Matching refs:np

38 static inline void of_node_put(const struct device_node *np) { }  in of_node_put()  argument
49 int of_n_addr_cells(const struct device_node *np);
60 int of_n_size_cells(const struct device_node *np);
70 int of_simple_addr_cells(const struct device_node *np);
80 int of_simple_size_cells(const struct device_node *np);
90 struct property *of_find_property(const struct device_node *np,
103 const void *of_get_property(const struct device_node *np, const char *name,
115 const struct property *of_get_first_property(const struct device_node *np);
127 const struct property *of_get_next_property(const struct device_node *np,
141 const void *of_get_property_by_prop(const struct device_node *np,
176 int of_device_is_compatible(const struct device_node *np, const char *compat,
187 bool of_device_is_available(const struct device_node *np);
195 struct device_node *of_get_parent(const struct device_node *np);
275 int of_read_u32(const struct device_node *np, const char *propname, u32 *outp);
293 int of_read_u32_index(const struct device_node *np, const char *propname,
310 int of_read_u64(const struct device_node *np, const char *propname, u64 *outp);
325 int of_read_u32_array(const struct device_node *np, const char *propname,
340 int of_property_match_string(const struct device_node *np, const char *propname,
343 int of_property_read_string_helper(const struct device_node *np,
365 static inline int of_property_read_string_index(const struct device_node *np, in of_property_read_string_index() argument
369 int rc = of_property_read_string_helper(np, propname, output, 1, index); in of_property_read_string_index()
385 static inline int of_property_count_strings(const struct device_node *np, in of_property_count_strings() argument
388 return of_property_read_string_helper(np, propname, NULL, 0, 0); in of_property_count_strings()
401 struct device_node *of_parse_phandle(const struct device_node *np,
442 int of_parse_phandle_with_args(const struct device_node *np,
463 int of_count_phandle_with_args(const struct device_node *np,
488 int of_alias_get_id(const struct device_node *np, const char *stem);