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()
139 int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs()
163 int __of_attach_node_sysfs(struct device_node *np) in __of_attach_node_sysfs()
197 struct device_node *np; in of_core_init()
216 static struct property *__of_find_property(const struct device_node *np, in __of_find_property()
235 struct property *of_find_property(const struct device_node *np, in of_find_property()
250 struct device_node *__of_find_all_nodes(struct device_node *prev) in __of_find_all_nodes()
252 struct device_node *np; in __of_find_all_nodes()
275 struct device_node *of_find_all_nodes(struct device_node *prev) in of_find_all_nodes()
277 struct device_node *np; in of_find_all_nodes()
293 const void *__of_get_property(const struct device_node *np, in __of_get_property()
305 const void *of_get_property(const struct device_node *np, const char *name, in of_get_property()
338 static bool __of_find_n_match_cpu_property(struct device_node *cpun, in __of_find_n_match_cpu_property()
368 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_compatible_child(const struct device_node *parent, in of_get_compatible_child()
726 struct device_node *child; in of_get_compatible_child()
748 struct device_node *of_get_child_by_name(const struct device_node *node, in of_get_child_by_name()
751 struct device_node *child; in of_get_child_by_name()
760 static struct device_node *__of_find_node_by_path(struct device_node *parent, in __of_find_node_by_path()
763 struct device_node *child; in __of_find_node_by_path()
799 struct device_node *of_find_node_opts_by_path(const char *path, const char **opts) in of_find_node_opts_by_path()
801 struct device_node *np = NULL; in of_find_node_opts_by_path()
863 struct device_node *of_find_node_by_name(struct device_node *from, in of_find_node_by_name()
866 struct device_node *np; in of_find_node_by_name()
892 struct device_node *of_find_node_by_type(struct device_node *from, in of_find_node_by_type()
895 struct device_node *np; in of_find_node_by_type()
923 struct device_node *of_find_compatible_node(struct device_node *from, in of_find_compatible_node()
926 struct device_node *np; in of_find_compatible_node()
952 struct device_node *of_find_node_with_property(struct device_node *from, in of_find_node_with_property()
955 struct device_node *np; in of_find_node_with_property()
977 const struct device_node *node) in __of_match_node()
1005 const struct device_node *node) in of_match_node()
1030 struct device_node *of_find_matching_node_and_match(struct device_node *from, in of_find_matching_node_and_match()
1034 struct device_node *np; in of_find_matching_node_and_match()
1069 int of_modalias_node(struct device_node *node, char *modalias, int len) in of_modalias_node()
1090 struct device_node *of_find_node_by_phandle(phandle handle) in of_find_node_by_phandle()
1092 struct device_node *np; in of_find_node_by_phandle()
1120 int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size()
1153 static void *of_find_property_value_of_size(const struct device_node *np, in of_find_property_value_of_size()
1183 int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index()
1216 int of_property_read_u8_array(const struct device_node *np, in of_property_read_u8_array()
1249 int of_property_read_u16_array(const struct device_node *np, in of_property_read_u16_array()
1280 int of_property_read_u32_array(const struct device_node *np, in of_property_read_u32_array()
1309 int of_property_read_u64(const struct device_node *np, const char *propname, in of_property_read_u64()
1339 int of_property_read_u64_array(const struct device_node *np, in of_property_read_u64_array()
1372 int of_property_read_string(struct device_node *np, const char *propname, in of_property_read_string()
1396 int of_property_match_string(struct device_node *np, const char *propname, in of_property_match_string()
1435 int of_property_read_string_helper(struct device_node *np, const char *propname, in of_property_read_string_helper()
1470 static int __of_parse_phandle_with_args(const struct device_node *np, in __of_parse_phandle_with_args()
1479 struct device_node *node = NULL; in __of_parse_phandle_with_args()
1596 struct device_node *of_parse_phandle(const struct device_node *np, in of_parse_phandle()
1644 int of_parse_phandle_with_args(const struct device_node *np, const char *list_name, in of_parse_phandle_with_args()
1685 int of_parse_phandle_with_fixed_args(const struct device_node *np, in of_parse_phandle_with_fixed_args()
1711 int of_count_phandle_with_args(const struct device_node *np, const char *list_name, in of_count_phandle_with_args()
1722 int __of_add_property(struct device_node *np, struct property *prop) in __of_add_property()
1743 int of_add_property(struct device_node *np, struct property *prop) in of_add_property()
1765 int __of_remove_property(struct device_node *np, struct property *prop) in __of_remove_property()
1784 void __of_sysfs_remove_bin_file(struct device_node *np, struct property *prop) in __of_sysfs_remove_bin_file()
1790 void __of_remove_property_sysfs(struct device_node *np, struct property *prop) in __of_remove_property_sysfs()
1808 int of_remove_property(struct device_node *np, struct property *prop) in of_remove_property()
1830 int __of_update_property(struct device_node *np, struct property *newprop, in __of_update_property()
1856 void __of_update_property_sysfs(struct device_node *np, struct property *newprop, in __of_update_property_sysfs()
1880 int of_update_property(struct device_node *np, struct property *newprop) in of_update_property()
1906 static void of_alias_add(struct alias_prop *ap, struct device_node *np, in of_alias_add()
1954 struct device_node *np; in of_alias_scan()
1995 int of_alias_get_id(struct device_node *np, const char *stem) in of_alias_get_id()
2093 bool of_console_check(struct device_node *dn, char *name, int index) in of_console_check()
2110 struct device_node *of_find_next_cache_node(const struct device_node *np) in of_find_next_cache_node()
2112 struct device_node *child; in of_find_next_cache_node()
2140 int of_graph_parse_endpoint(const struct device_node *node, in of_graph_parse_endpoint()
2143 struct device_node *port_node = of_get_parent(node); in of_graph_parse_endpoint()
2172 struct device_node *of_graph_get_port_by_id(struct device_node *parent, u32 id) in of_graph_get_port_by_id()
2174 struct device_node *node, *port; in of_graph_get_port_by_id()
2204 struct device_node *of_graph_get_next_endpoint(const struct device_node *parent, in of_graph_get_next_endpoint()
2205 struct device_node *prev) in of_graph_get_next_endpoint()
2207 struct device_node *endpoint; in of_graph_get_next_endpoint()
2208 struct device_node *port; in of_graph_get_next_endpoint()
2219 struct device_node *node; in of_graph_get_next_endpoint()
2274 struct device_node *of_graph_get_endpoint_by_regs( in of_graph_get_endpoint_by_regs()
2275 const struct device_node *parent, int port_reg, int reg) in of_graph_get_endpoint_by_regs()
2278 struct device_node *node = NULL; in of_graph_get_endpoint_by_regs()
2298 struct device_node *of_graph_get_remote_port_parent( in of_graph_get_remote_port_parent()
2299 const struct device_node *node) in of_graph_get_remote_port_parent()
2301 struct device_node *np; in of_graph_get_remote_port_parent()
2324 struct device_node *of_graph_get_remote_port(const struct device_node *node) in of_graph_get_remote_port()
2326 struct device_node *np; in of_graph_get_remote_port()