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()
399 struct device_node *of_get_cpu_node(int cpu, unsigned int *thread) in of_get_cpu_node()
401 struct device_node *cpun; in of_get_cpu_node()
441 static int __of_device_is_compatible(const struct device_node *device, in __of_device_is_compatible()
482 int of_device_is_compatible(const struct device_node *device, in of_device_is_compatible()
504 struct device_node *root; in of_machine_is_compatible()
524 static bool __of_device_is_available(const struct device_node *device) in __of_device_is_available()
552 bool of_device_is_available(const struct device_node *device) in of_device_is_available()
577 bool of_device_is_big_endian(const struct device_node *device) in of_device_is_big_endian()
595 struct device_node *of_get_parent(const struct device_node *node) in of_get_parent()
597 struct device_node *np; in of_get_parent()
621 struct device_node *of_get_next_parent(struct device_node *node) in of_get_next_parent()
623 struct device_node *parent; in of_get_next_parent()
637 static struct device_node *__of_get_next_child(const struct device_node *node, in __of_get_next_child()
638 struct device_node *prev) in __of_get_next_child()
640 struct device_node *next; in __of_get_next_child()
665 struct device_node *of_get_next_child(const struct device_node *node, in of_get_next_child()
666 struct device_node *prev) in of_get_next_child()
668 struct device_node *next; in of_get_next_child()
686 struct device_node *of_get_next_available_child(const struct device_node *node, in of_get_next_available_child()
687 struct device_node *prev) in of_get_next_available_child()
689 struct device_node *next; in of_get_next_available_child()
720 struct device_node *of_get_child_by_name(const struct device_node *node, in of_get_child_by_name()
723 struct device_node *child; in of_get_child_by_name()
732 static struct device_node *__of_find_node_by_path(struct device_node *parent, in __of_find_node_by_path()
735 struct device_node *child; in __of_find_node_by_path()
771 struct device_node *of_find_node_opts_by_path(const char *path, const char **opts) in of_find_node_opts_by_path()
773 struct device_node *np = NULL; in of_find_node_opts_by_path()
835 struct device_node *of_find_node_by_name(struct device_node *from, in of_find_node_by_name()
838 struct device_node *np; in of_find_node_by_name()
864 struct device_node *of_find_node_by_type(struct device_node *from, in of_find_node_by_type()
867 struct device_node *np; in of_find_node_by_type()
895 struct device_node *of_find_compatible_node(struct device_node *from, in of_find_compatible_node()
898 struct device_node *np; in of_find_compatible_node()
924 struct device_node *of_find_node_with_property(struct device_node *from, in of_find_node_with_property()
927 struct device_node *np; in of_find_node_with_property()
949 const struct device_node *node) in __of_match_node()
977 const struct device_node *node) in of_match_node()
1002 struct device_node *of_find_matching_node_and_match(struct device_node *from, in of_find_matching_node_and_match()
1006 struct device_node *np; in of_find_matching_node_and_match()
1041 int of_modalias_node(struct device_node *node, char *modalias, int len) in of_modalias_node()
1062 struct device_node *of_find_node_by_phandle(phandle handle) in of_find_node_by_phandle()
1064 struct device_node *np; in of_find_node_by_phandle()
1092 int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size()
1125 static void *of_find_property_value_of_size(const struct device_node *np, in of_find_property_value_of_size()
1155 int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index()
1188 int of_property_read_u8_array(const struct device_node *np, in of_property_read_u8_array()
1221 int of_property_read_u16_array(const struct device_node *np, in of_property_read_u16_array()
1252 int of_property_read_u32_array(const struct device_node *np, in of_property_read_u32_array()
1281 int of_property_read_u64(const struct device_node *np, const char *propname, in of_property_read_u64()
1311 int of_property_read_u64_array(const struct device_node *np, in of_property_read_u64_array()
1344 int of_property_read_string(struct device_node *np, const char *propname, in of_property_read_string()
1368 int of_property_match_string(struct device_node *np, const char *propname, in of_property_match_string()
1407 int of_property_read_string_helper(struct device_node *np, const char *propname, in of_property_read_string_helper()
1442 static int __of_parse_phandle_with_args(const struct device_node *np, in __of_parse_phandle_with_args()
1451 struct device_node *node = NULL; in __of_parse_phandle_with_args()
1568 struct device_node *of_parse_phandle(const struct device_node *np, in of_parse_phandle()
1616 int of_parse_phandle_with_args(const struct device_node *np, const char *list_name, in of_parse_phandle_with_args()
1657 int of_parse_phandle_with_fixed_args(const struct device_node *np, in of_parse_phandle_with_fixed_args()
1683 int of_count_phandle_with_args(const struct device_node *np, const char *list_name, in of_count_phandle_with_args()
1694 int __of_add_property(struct device_node *np, struct property *prop) in __of_add_property()
1715 int of_add_property(struct device_node *np, struct property *prop) in of_add_property()
1737 int __of_remove_property(struct device_node *np, struct property *prop) in __of_remove_property()
1756 void __of_remove_property_sysfs(struct device_node *np, struct property *prop) in __of_remove_property_sysfs()
1774 int of_remove_property(struct device_node *np, struct property *prop) in of_remove_property()
1796 int __of_update_property(struct device_node *np, struct property *newprop, in __of_update_property()
1822 void __of_update_property_sysfs(struct device_node *np, struct property *newprop, in __of_update_property_sysfs()
1846 int of_update_property(struct device_node *np, struct property *newprop) in of_update_property()
1872 static void of_alias_add(struct alias_prop *ap, struct device_node *np, in of_alias_add()
1920 struct device_node *np; in of_alias_scan()
1961 int of_alias_get_id(struct device_node *np, const char *stem) in of_alias_get_id()
2059 bool of_console_check(struct device_node *dn, char *name, int index) in of_console_check()
2076 struct device_node *of_find_next_cache_node(const struct device_node *np) in of_find_next_cache_node()
2078 struct device_node *child; in of_find_next_cache_node()
2106 int of_graph_parse_endpoint(const struct device_node *node, in of_graph_parse_endpoint()
2109 struct device_node *port_node = of_get_parent(node); in of_graph_parse_endpoint()
2138 struct device_node *of_graph_get_port_by_id(struct device_node *parent, u32 id) in of_graph_get_port_by_id()
2140 struct device_node *node, *port; in of_graph_get_port_by_id()
2170 struct device_node *of_graph_get_next_endpoint(const struct device_node *parent, in of_graph_get_next_endpoint()
2171 struct device_node *prev) in of_graph_get_next_endpoint()
2173 struct device_node *endpoint; in of_graph_get_next_endpoint()
2174 struct device_node *port; in of_graph_get_next_endpoint()
2185 struct device_node *node; in of_graph_get_next_endpoint()
2240 struct device_node *of_graph_get_endpoint_by_regs( in of_graph_get_endpoint_by_regs()
2241 const struct device_node *parent, int port_reg, int reg) in of_graph_get_endpoint_by_regs()
2244 struct device_node *node, *prev_node = NULL; in of_graph_get_endpoint_by_regs()
2271 struct device_node *of_graph_get_remote_port_parent( in of_graph_get_remote_port_parent()
2272 const struct device_node *node) in of_graph_get_remote_port_parent()
2274 struct device_node *np; in of_graph_get_remote_port_parent()
2297 struct device_node *of_graph_get_remote_port(const struct device_node *node) in of_graph_get_remote_port()
2299 struct device_node *np; in of_graph_get_remote_port()