Lines Matching refs:device_node

36 struct device_node *of_root;
38 struct device_node *of_chosen;
40 struct device_node *of_aliases;
41 struct device_node *of_stdout;
59 bool of_node_name_eq(const struct device_node *np, const char *name) in of_node_name_eq()
74 bool of_node_name_prefix(const struct device_node *np, const char *prefix) in of_node_name_prefix()
83 static bool __of_node_is_type(const struct device_node *np, const char *type) in __of_node_is_type()
95 int of_bus_n_addr_cells(struct device_node *np) in of_bus_n_addr_cells()
113 int of_n_addr_cells(struct device_node *np) in of_n_addr_cells()
122 int of_bus_n_size_cells(struct device_node *np) in of_bus_n_size_cells()
140 int of_n_size_cells(struct device_node *np) in of_n_size_cells()
150 int __weak of_node_to_nid(struct device_node *np) in of_node_to_nid()
159 static struct device_node *phandle_cache[OF_PHANDLE_CACHE_SZ];
172 struct device_node *np; in __of_phandle_cache_inv_entry()
186 struct device_node *np; in of_core_init()
210 static struct property *__of_find_property(const struct device_node *np, in __of_find_property()
229 struct property *of_find_property(const struct device_node *np, in of_find_property()
244 struct device_node *__of_find_all_nodes(struct device_node *prev) in __of_find_all_nodes()
246 struct device_node *np; in __of_find_all_nodes()
269 struct device_node *of_find_all_nodes(struct device_node *prev) in of_find_all_nodes()
271 struct device_node *np; in of_find_all_nodes()
287 const void *__of_get_property(const struct device_node *np, in __of_get_property()
299 const void *of_get_property(const struct device_node *np, const char *name, in of_get_property()
338 static int __of_device_is_compatible(const struct device_node *device, in __of_device_is_compatible()
379 int of_device_is_compatible(const struct device_node *device, in of_device_is_compatible()
396 int of_device_compatible_match(const struct device_node *device, in of_device_compatible_match()
424 struct device_node *root; in of_machine_compatible_match()
446 struct device_node *root; in of_machine_device_match()
468 struct device_node *root; in of_machine_get_match_data()
484 static bool __of_device_is_status(const struct device_node *device, in __of_device_is_status()
523 static bool __of_device_is_available(const struct device_node *device) in __of_device_is_available()
541 static bool __of_device_is_reserved(const struct device_node *device) in __of_device_is_reserved()
556 bool of_device_is_available(const struct device_node *device) in of_device_is_available()
577 static bool __of_device_is_fail(const struct device_node *device) in __of_device_is_fail()
596 bool of_device_is_big_endian(const struct device_node *device) in of_device_is_big_endian()
614 struct device_node *of_get_parent(const struct device_node *node) in of_get_parent()
616 struct device_node *np; in of_get_parent()
640 struct device_node *of_get_next_parent(struct device_node *node) in of_get_next_parent()
642 struct device_node *parent; in of_get_next_parent()
656 static struct device_node *__of_get_next_child(const struct device_node *node, in __of_get_next_child()
657 struct device_node *prev) in __of_get_next_child()
659 struct device_node *next; in __of_get_next_child()
682 struct device_node *of_get_next_child(const struct device_node *node, in of_get_next_child()
683 struct device_node *prev) in of_get_next_child()
685 struct device_node *next; in of_get_next_child()
707 struct device_node *of_get_next_child_with_prefix(const struct device_node *node, in of_get_next_child_with_prefix()
708 struct device_node *prev, in of_get_next_child_with_prefix()
711 struct device_node *next; in of_get_next_child_with_prefix()
731 static struct device_node *of_get_next_status_child(const struct device_node *node, in of_get_next_status_child()
732 struct device_node *prev, in of_get_next_status_child()
733 bool (*checker)(const struct device_node *)) in of_get_next_status_child() argument
735 struct device_node *next; in of_get_next_status_child()
762 struct device_node *of_get_next_available_child(const struct device_node *node, in of_get_next_available_child()
763 struct device_node *prev) in of_get_next_available_child()
777 struct device_node *of_get_next_reserved_child(const struct device_node *node, in of_get_next_reserved_child()
778 struct device_node *prev) in of_get_next_reserved_child()
795 struct device_node *of_get_next_cpu_node(struct device_node *prev) in of_get_next_cpu_node()
797 struct device_node *next = NULL; in of_get_next_cpu_node()
799 struct device_node *node; in of_get_next_cpu_node()
837 struct device_node *of_get_compatible_child(const struct device_node *parent, in of_get_compatible_child()
840 struct device_node *child; in of_get_compatible_child()
862 struct device_node *of_get_child_by_name(const struct device_node *node, in of_get_child_by_name()
865 struct device_node *child; in of_get_child_by_name()
886 struct device_node *of_get_available_child_by_name(const struct device_node *node, in of_get_available_child_by_name()
889 struct device_node *child; in of_get_available_child_by_name()
901 struct device_node *__of_find_node_by_path(const struct device_node *parent, in __of_find_node_by_path()
904 struct device_node *child; in __of_find_node_by_path()
919 struct device_node *__of_find_node_by_full_path(struct device_node *node, in __of_find_node_by_full_path()
925 struct device_node *tmp = node; in __of_find_node_by_full_path()
955 struct device_node *of_find_node_opts_by_path(const char *path, const char **opts) in of_find_node_opts_by_path()
957 struct device_node *np = NULL; in of_find_node_opts_by_path()
1013 struct device_node *of_find_node_by_name(struct device_node *from, in of_find_node_by_name()
1016 struct device_node *np; in of_find_node_by_name()
1041 struct device_node *of_find_node_by_type(struct device_node *from, in of_find_node_by_type()
1044 struct device_node *np; in of_find_node_by_type()
1071 struct device_node *of_find_compatible_node(struct device_node *from, in of_find_compatible_node()
1074 struct device_node *np; in of_find_compatible_node()
1100 struct device_node *of_find_node_with_property(struct device_node *from, in of_find_node_with_property()
1103 struct device_node *np; in of_find_node_with_property()
1121 const struct device_node *node) in __of_match_node()
1149 const struct device_node *node) in of_match_node()
1174 struct device_node *of_find_matching_node_and_match(struct device_node *from, in of_find_matching_node_and_match()
1178 struct device_node *np; in of_find_matching_node_and_match()
1217 int of_alias_from_compatible(const struct device_node *node, char *alias, int len) in of_alias_from_compatible()
1238 struct device_node *of_find_node_by_phandle(phandle handle) in of_find_node_by_phandle()
1240 struct device_node *np = NULL; in of_find_node_by_phandle()
1283 const struct device_node *np, in of_phandle_iterator_init()
1417 int __of_parse_phandle_with_args(const struct device_node *np, in __of_parse_phandle_with_args()
1515 int of_parse_phandle_with_args_map(const struct device_node *np, in of_parse_phandle_with_args_map()
1524 struct device_node *cur, *new = NULL; in of_parse_phandle_with_args_map()
1659 int of_count_phandle_with_args(const struct device_node *np, const char *list_name, in of_count_phandle_with_args()
1715 int __of_add_property(struct device_node *np, struct property *prop) in __of_add_property()
1751 int of_add_property(struct device_node *np, struct property *prop) in of_add_property()
1766 int __of_remove_property(struct device_node *np, struct property *prop) in __of_remove_property()
1798 int of_remove_property(struct device_node *np, struct property *prop) in of_remove_property()
1816 int __of_update_property(struct device_node *np, struct property *newprop, in __of_update_property()
1860 int of_update_property(struct device_node *np, struct property *newprop) in of_update_property()
1878 static void of_alias_add(struct alias_prop *ap, struct device_node *np, in of_alias_add()
1927 struct device_node *np; in of_alias_scan()
1972 int of_alias_get_id(const struct device_node *np, const char *stem) in of_alias_get_id()
2030 bool of_console_check(const struct device_node *dn, char *name, int index) in of_console_check()
2051 struct device_node *of_find_next_cache_node(const struct device_node *np) in of_find_next_cache_node()
2053 struct device_node *child, *cache_node; in of_find_next_cache_node()
2085 struct device_node *prev = NULL, *np = of_cpu_device_node_get(cpu); in of_find_last_cache_level()
2118 int of_map_id(const struct device_node *np, u32 id, in of_map_id()
2120 struct device_node **target, u32 *id_out) in of_map_id()
2156 struct device_node *phandle_node; in of_map_id()