Lines Matching refs:device_node

35 struct device_node *of_root;
37 struct device_node *of_chosen;
38 struct device_node *of_aliases;
39 struct device_node *of_stdout;
57 int of_n_addr_cells(struct device_node *np) in of_n_addr_cells()
73 int of_n_size_cells(struct device_node *np) in of_n_size_cells()
90 int __weak of_node_to_nid(struct device_node *np) in of_node_to_nid()
135 int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs()
159 int __of_attach_node_sysfs(struct device_node *np) in __of_attach_node_sysfs()
194 struct device_node *np; in of_core_init()
213 static struct property *__of_find_property(const struct device_node *np, in __of_find_property()
232 struct property *of_find_property(const struct device_node *np, in of_find_property()
247 struct device_node *__of_find_all_nodes(struct device_node *prev) in __of_find_all_nodes()
249 struct device_node *np; in __of_find_all_nodes()
272 struct device_node *of_find_all_nodes(struct device_node *prev) in of_find_all_nodes()
274 struct device_node *np; in of_find_all_nodes()
290 const void *__of_get_property(const struct device_node *np, in __of_get_property()
302 const void *of_get_property(const struct device_node *np, const char *name, in of_get_property()
335 static bool __of_find_n_match_cpu_property(struct device_node *cpun, in __of_find_n_match_cpu_property()
365 bool __weak arch_find_n_match_cpu_physical_id(struct device_node *cpun, in arch_find_n_match_cpu_physical_id()
402 struct device_node *of_get_cpu_node(int cpu, unsigned int *thread) in of_get_cpu_node()
404 struct device_node *cpun; in of_get_cpu_node()
444 static int __of_device_is_compatible(const struct device_node *device, in __of_device_is_compatible()
485 int of_device_is_compatible(const struct device_node *device, in of_device_is_compatible()
507 struct device_node *root; in of_machine_is_compatible()
527 static bool __of_device_is_available(const struct device_node *device) in __of_device_is_available()
555 bool of_device_is_available(const struct device_node *device) in of_device_is_available()
580 bool of_device_is_big_endian(const struct device_node *device) in of_device_is_big_endian()
598 struct device_node *of_get_parent(const struct device_node *node) in of_get_parent()
600 struct device_node *np; in of_get_parent()
624 struct device_node *of_get_next_parent(struct device_node *node) in of_get_next_parent()
626 struct device_node *parent; in of_get_next_parent()
640 static struct device_node *__of_get_next_child(const struct device_node *node, in __of_get_next_child()
641 struct device_node *prev) in __of_get_next_child()
643 struct device_node *next; in __of_get_next_child()
668 struct device_node *of_get_next_child(const struct device_node *node, in of_get_next_child()
669 struct device_node *prev) in of_get_next_child()
671 struct device_node *next; in of_get_next_child()
689 struct device_node *of_get_next_available_child(const struct device_node *node, in of_get_next_available_child()
690 struct device_node *prev) in of_get_next_available_child()
692 struct device_node *next; in of_get_next_available_child()
723 struct device_node *of_get_child_by_name(const struct device_node *node, in of_get_child_by_name()
726 struct device_node *child; in of_get_child_by_name()
735 static struct device_node *__of_find_node_by_path(struct device_node *parent, in __of_find_node_by_path()
738 struct device_node *child; in __of_find_node_by_path()
774 struct device_node *of_find_node_opts_by_path(const char *path, const char **opts) in of_find_node_opts_by_path()
776 struct device_node *np = NULL; in of_find_node_opts_by_path()
838 struct device_node *of_find_node_by_name(struct device_node *from, in of_find_node_by_name()
841 struct device_node *np; in of_find_node_by_name()
867 struct device_node *of_find_node_by_type(struct device_node *from, in of_find_node_by_type()
870 struct device_node *np; in of_find_node_by_type()
898 struct device_node *of_find_compatible_node(struct device_node *from, in of_find_compatible_node()
901 struct device_node *np; in of_find_compatible_node()
927 struct device_node *of_find_node_with_property(struct device_node *from, in of_find_node_with_property()
930 struct device_node *np; in of_find_node_with_property()
952 const struct device_node *node) in __of_match_node()
980 const struct device_node *node) in of_match_node()
1005 struct device_node *of_find_matching_node_and_match(struct device_node *from, in of_find_matching_node_and_match()
1009 struct device_node *np; in of_find_matching_node_and_match()
1044 int of_modalias_node(struct device_node *node, char *modalias, int len) in of_modalias_node()
1065 struct device_node *of_find_node_by_phandle(phandle handle) in of_find_node_by_phandle()
1067 struct device_node *np; in of_find_node_by_phandle()
1095 int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size()
1128 static void *of_find_property_value_of_size(const struct device_node *np, in of_find_property_value_of_size()
1158 int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index()
1191 int of_property_read_u8_array(const struct device_node *np, in of_property_read_u8_array()
1224 int of_property_read_u16_array(const struct device_node *np, in of_property_read_u16_array()
1255 int of_property_read_u32_array(const struct device_node *np, in of_property_read_u32_array()
1284 int of_property_read_u64(const struct device_node *np, const char *propname, in of_property_read_u64()
1314 int of_property_read_u64_array(const struct device_node *np, in of_property_read_u64_array()
1347 int of_property_read_string(struct device_node *np, const char *propname, in of_property_read_string()
1371 int of_property_match_string(struct device_node *np, const char *propname, in of_property_match_string()
1410 int of_property_read_string_helper(struct device_node *np, const char *propname, in of_property_read_string_helper()
1445 static int __of_parse_phandle_with_args(const struct device_node *np, in __of_parse_phandle_with_args()
1454 struct device_node *node = NULL; in __of_parse_phandle_with_args()
1571 struct device_node *of_parse_phandle(const struct device_node *np, in of_parse_phandle()
1619 int of_parse_phandle_with_args(const struct device_node *np, const char *list_name, in of_parse_phandle_with_args()
1660 int of_parse_phandle_with_fixed_args(const struct device_node *np, in of_parse_phandle_with_fixed_args()
1686 int of_count_phandle_with_args(const struct device_node *np, const char *list_name, in of_count_phandle_with_args()
1697 int __of_add_property(struct device_node *np, struct property *prop) in __of_add_property()
1718 int of_add_property(struct device_node *np, struct property *prop) in of_add_property()
1740 int __of_remove_property(struct device_node *np, struct property *prop) in __of_remove_property()
1759 void __of_remove_property_sysfs(struct device_node *np, struct property *prop) in __of_remove_property_sysfs()
1777 int of_remove_property(struct device_node *np, struct property *prop) in of_remove_property()
1799 int __of_update_property(struct device_node *np, struct property *newprop, in __of_update_property()
1825 void __of_update_property_sysfs(struct device_node *np, struct property *newprop, in __of_update_property_sysfs()
1849 int of_update_property(struct device_node *np, struct property *newprop) in of_update_property()
1875 static void of_alias_add(struct alias_prop *ap, struct device_node *np, in of_alias_add()
1923 struct device_node *np; in of_alias_scan()
1964 int of_alias_get_id(struct device_node *np, const char *stem) in of_alias_get_id()
2062 bool of_console_check(struct device_node *dn, char *name, int index) in of_console_check()
2079 struct device_node *of_find_next_cache_node(const struct device_node *np) in of_find_next_cache_node()
2081 struct device_node *child; in of_find_next_cache_node()
2109 int of_graph_parse_endpoint(const struct device_node *node, in of_graph_parse_endpoint()
2112 struct device_node *port_node = of_get_parent(node); in of_graph_parse_endpoint()
2141 struct device_node *of_graph_get_port_by_id(struct device_node *parent, u32 id) in of_graph_get_port_by_id()
2143 struct device_node *node, *port; in of_graph_get_port_by_id()
2173 struct device_node *of_graph_get_next_endpoint(const struct device_node *parent, in of_graph_get_next_endpoint()
2174 struct device_node *prev) in of_graph_get_next_endpoint()
2176 struct device_node *endpoint; in of_graph_get_next_endpoint()
2177 struct device_node *port; in of_graph_get_next_endpoint()
2188 struct device_node *node; in of_graph_get_next_endpoint()
2240 struct device_node *of_graph_get_remote_port_parent( in of_graph_get_remote_port_parent()
2241 const struct device_node *node) in of_graph_get_remote_port_parent()
2243 struct device_node *np; in of_graph_get_remote_port_parent()
2266 struct device_node *of_graph_get_remote_port(const struct device_node *node) in of_graph_get_remote_port()
2268 struct device_node *np; in of_graph_get_remote_port()