H A D | livetree.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 if (streq(new->label, label)) { in add_label() 20 new->deleted = 0; in add_label() 26 new->label = label; in add_label() 27 new->next = *labels; in add_label() 36 label->delete in delete_labels() 92 struct node *child; build_node() local 119 name_node(struct node * node,const char * name) name_node() argument 128 omit_node_if_unused(struct node * node) omit_node_if_unused() argument 135 reference_node(struct node * node) reference_node() argument 231 struct node *node; add_orphan_node() local 267 add_property(struct node * node,struct property * prop) add_property() argument 280 delete_property_by_name(struct node * node,char * name) delete_property_by_name() argument 299 add_child(struct node * parent,struct node * child) add_child() argument 315 struct node *node = parent->children; delete_node_by_name() local 326 delete_node(struct node * node) delete_node() argument 329 struct node *child; delete_node() local 339 append_to_property(struct node * node,char * name,const void * data,int len,enum markertype type) append_to_property() argument 417 get_unitname(struct node * node) get_unitname() argument 425 get_property(struct node * node,const char * propname) get_property() argument 449 get_property_by_label(struct node * tree,const char * label,struct node ** node) get_property_by_label() argument 475 get_marker_label(struct node * tree,const char * label,struct node ** node,struct property ** prop) get_marker_label() argument 502 get_subnode(struct node * node,const char * nodename) get_subnode() argument 504 struct node *child; get_subnode() local 516 struct node *child; get_node_by_path() local 541 struct node *child, *node; get_node_by_label() local 561 struct node *child, *node; get_node_by_phandle() local 620 add_phandle_property(struct node * node,const char * name,int format) add_phandle_property() argument 636 get_node_phandle(struct node * root,struct node * node) get_node_phandle() argument 683 const struct reserve_info *a, *b; cmp_reserve_info() local 732 const struct property *a, *b; cmp_prop() local 740 sort_properties(struct node * node) sort_properties() argument 768 const struct node *a, *b; cmp_subnode() local 776 sort_subnodes(struct node * node) sort_subnodes() argument 802 sort_node(struct node * node) sort_node() argument 821 struct node *node; build_and_name_child_node() local 844 any_label_tree(struct dt_info * dti,struct node * node) any_label_tree() argument 859 generate_label_tree_internal(struct dt_info * dti,struct node * an,struct node * node,bool allocph) generate_label_tree_internal() argument 899 any_fixup_tree(struct dt_info * dti,struct node * node) any_fixup_tree() argument 922 add_fixup_entry(struct dt_info * dti,struct node * fn,struct node * node,struct property * prop,struct marker * m) add_fixup_entry() argument 949 generate_fixups_tree_internal(struct dt_info * dti,struct node * fn,struct node * node) generate_fixups_tree_internal() argument 970 any_local_fixup_tree(struct dt_info * dti,struct node * node) any_local_fixup_tree() argument 993 add_local_fixup_entry(struct dt_info * dti,struct node * lfn,struct node * node,struct property * prop,struct marker * m,struct node * refnode) add_local_fixup_entry() argument 1030 generate_local_fixups_tree_internal(struct dt_info * dti,struct node * lfn,struct node * node) generate_local_fixups_tree_internal() argument [all...] |
H A D | checks.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 fprintf(stderr, "=== %s: ", (c)->name); \ 29 typedef void (*check_fn)(struct check *c, struct dt_info *dti, struct node *node); 62 struct node *node, in check_msg() argument 120 FAIL(c,dti,node,...) global() argument 127 FAIL_PROP(c,dti,node,prop,...) global() argument 135 check_nodes_props(struct check * c,struct dt_info * dti,struct node * node) check_nodes_props() argument 137 struct node *child; check_nodes_props() local 201 check_always_fail(struct check * c,struct dt_info * dti,struct node * node) check_always_fail() argument 208 check_is_string(struct check * c,struct dt_info * dti,struct node * node) check_is_string() argument 226 check_is_string_list(struct check * c,struct dt_info * dti,struct node * node) check_is_string_list() argument 255 check_is_cell(struct check * c,struct dt_info * dti,struct node * node) check_is_cell() argument 277 check_duplicate_node_names(struct check * c,struct dt_info * dti,struct node * node) check_duplicate_node_names() argument 279 struct node *child, *child2; check_duplicate_node_names() local 291 check_duplicate_property_names(struct check * c,struct dt_info * dti,struct node * node) check_duplicate_property_names() argument 314 check_node_name_chars(struct check * c,struct dt_info * dti,struct node * node) check_node_name_chars() argument 325 check_node_name_chars_strict(struct check * c,struct dt_info * dti,struct node * node) check_node_name_chars_strict() argument 336 check_node_name_format(struct check * c,struct dt_info * dti,struct node * node) check_node_name_format() argument 345 check_node_name_vs_property_name(struct check * c,struct dt_info * dti,struct node * node) check_node_name_vs_property_name() argument 358 check_unit_address_vs_reg(struct check * c,struct dt_info * dti,struct node * node) check_unit_address_vs_reg() argument 385 check_property_name_chars(struct check * c,struct dt_info * dti,struct node * node) check_property_name_chars() argument 401 check_property_name_chars_strict(struct check * c,struct dt_info * dti,struct node * node) check_property_name_chars_strict() argument 432 DESCLABEL_ARGS(node,prop,mark) global() argument 439 check_duplicate_label(struct check * c,struct dt_info * dti,const char * label,struct node * node,struct property * prop,struct marker * mark) check_duplicate_label() argument 466 check_duplicate_label_node(struct check * c,struct dt_info * dti,struct node * node) check_duplicate_label_node() argument 487 check_phandle_prop(struct check * c,struct dt_info * dti,struct node * node,const char * propname) check_phandle_prop() argument 534 check_explicit_phandles(struct check * c,struct dt_info * dti,struct node * node) check_explicit_phandles() argument 570 check_name_properties(struct check * c,struct dt_info * dti,struct node * node) check_name_properties() argument 604 fixup_phandle_references(struct check * c,struct dt_info * dti,struct node * node) fixup_phandle_references() argument 639 fixup_path_references(struct check * c,struct dt_info * dti,struct node * node) fixup_path_references() argument 670 fixup_omit_unused_nodes(struct check * c,struct dt_info * dti,struct node * node) fixup_omit_unused_nodes() argument 693 check_names_is_string_list(struct check * c,struct dt_info * dti,struct node * node) check_names_is_string_list() argument 708 check_alias_paths(struct check * c,struct dt_info * dti,struct node * node) check_alias_paths() argument 733 fixup_addr_size_cells(struct check * c,struct dt_info * dti,struct node * node) fixup_addr_size_cells() argument 757 check_reg_format(struct check * c,struct dt_info * dti,struct node * node) check_reg_format() argument 786 check_ranges_format(struct check * c,struct dt_info * dti,struct node * node) check_ranges_format() argument 833 check_pci_bridge(struct check * c,struct dt_info * dti,struct node * node) check_pci_bridge() argument 874 check_pci_device_bus_num(struct check * c,struct dt_info * dti,struct node * node) check_pci_device_bus_num() argument 904 check_pci_device_reg(struct check * c,struct dt_info * dti,struct node * node) check_pci_device_reg() argument 951 node_is_compatible(struct node * node,const char * compat) node_is_compatible() argument 968 check_simple_bus_bridge(struct check * c,struct dt_info * dti,struct node * node) check_simple_bus_bridge() argument 976 check_simple_bus_reg(struct check * c,struct dt_info * dti,struct node * node) check_simple_bus_reg() argument 1019 check_i2c_bus_bridge(struct check * c,struct dt_info * dti,struct node * node) check_i2c_bus_bridge() argument 1025 struct node *child; check_i2c_bus_bridge() local 1048 check_i2c_bus_reg(struct check * c,struct dt_info * dti,struct node * node) check_i2c_bus_reg() argument 1097 check_spi_bus_bridge(struct check * c,struct dt_info * dti,struct node * node) check_spi_bus_bridge() argument 1105 struct node *child; check_spi_bus_bridge() local 1138 check_spi_bus_reg(struct check * c,struct dt_info * dti,struct node * node) check_spi_bus_reg() argument 1170 check_unit_address_format(struct check * c,struct dt_info * dti,struct node * node) check_unit_address_format() argument 1195 check_avoid_default_addr_size(struct check * c,struct dt_info * dti,struct node * node) check_avoid_default_addr_size() argument 1218 check_avoid_unnecessary_addr_size(struct check * c,struct dt_info * dti,struct node * node) check_avoid_unnecessary_addr_size() argument 1221 struct node *child; check_avoid_unnecessary_addr_size() local 1241 node_is_disabled(struct node * node) node_is_disabled() argument 1257 check_unique_unit_address_common(struct check * c,struct dt_info * dti,struct node * node,bool disable_check) check_unique_unit_address_common() argument 1293 check_unique_unit_address(struct check * c,struct dt_info * dti,struct node * node) check_unique_unit_address() argument 1300 check_unique_unit_address_if_enabled(struct check * c,struct dt_info * dti,struct node * node) check_unique_unit_address_if_enabled() argument 1309 check_obsolete_chosen_interrupt_controller(struct check * c,struct dt_info * dti,struct node * node) check_obsolete_chosen_interrupt_controller() argument 1332 check_chosen_node_is_root(struct check * c,struct dt_info * dti,struct node * node) check_chosen_node_is_root() argument 1343 check_chosen_node_bootargs(struct check * c,struct dt_info * dti,struct node * node) check_chosen_node_bootargs() argument 1360 check_chosen_node_stdout_path(struct check * c,struct dt_info * dti,struct node * node) check_chosen_node_stdout_path() argument 1388 check_property_phandle_args(struct check * c,struct dt_info * dti,struct node * node,struct property * prop,const struct provider * provider) check_property_phandle_args() argument 1468 check_provider_cells_property(struct check * c,struct dt_info * dti,struct node * node) check_provider_cells_property() argument 1518 check_gpios_property(struct check * c,struct dt_info * dti,struct node * node) check_gpios_property() argument 1543 check_deprecated_gpio_property(struct check * c,struct dt_info * dti,struct node * node) check_deprecated_gpio_property() argument 1561 node_is_interrupt_provider(struct node * node) node_is_interrupt_provider() argument 1578 check_interrupt_provider(struct check * c,struct dt_info * dti,struct node * node) check_interrupt_provider() argument 1600 check_interrupt_map(struct check * c,struct dt_info * dti,struct node * node) check_interrupt_map() argument 1688 check_interrupts_property(struct check * c,struct dt_info * dti,struct node * node) check_interrupts_property() argument 1765 check_graph_nodes(struct check * c,struct dt_info * dti,struct node * node) check_graph_nodes() argument 1767 struct node *child; check_graph_nodes() local 1793 check_graph_reg(struct check * c,struct dt_info * dti,struct node * node) check_graph_reg() argument 1824 check_graph_port(struct check * c,struct dt_info * dti,struct node * node) check_graph_port() argument 1844 struct node *node; get_remote_endpoint() local 1864 check_graph_endpoint(struct check * c,struct dt_info * dti,struct node * node) check_graph_endpoint() argument 1891 check_graph_child_address(struct check * c,struct dt_info * dti,struct node * node) check_graph_child_address() argument 1894 struct node *child; check_graph_child_address() local [all...] |