| /scripts/dtc/ |
| A D | fstree.c | 31 struct node *tree; in read_fstree() local 37 tree = build_node(NULL, NULL); in read_fstree() 64 add_property(tree, prop); in read_fstree() 72 add_child(tree, newchild); in read_fstree() 79 return tree; in read_fstree() 84 struct node *tree; in dt_from_fs() local 86 tree = read_fstree(dirname); in dt_from_fs() 87 tree = name_node(tree, ""); in dt_from_fs() 89 return build_dt_info(DTSF_V1, NULL, tree, guess_boot_cpuid(tree)); in dt_from_fs()
|
| A D | dtc.c | 44 static void fill_fullpaths(struct node *tree, const char *prefix) in fill_fullpaths() argument 49 tree->fullpath = join_path(prefix, tree->name); in fill_fullpaths() 51 unit = strchr(tree->name, '@'); in fill_fullpaths() 53 tree->basenamelen = unit - tree->name; in fill_fullpaths() 55 tree->basenamelen = strlen(tree->name); in fill_fullpaths() 57 for_each_child(tree, child) in fill_fullpaths() 58 fill_fullpaths(child, tree->fullpath); in fill_fullpaths()
|
| A D | livetree.c | 407 dti->dt = tree; in build_dt_info() 454 *node = tree; in get_property_by_label() 464 for_each_child(tree, c) { in get_property_by_label() 481 *node = tree; in get_marker_label() 491 for_each_child(tree, c) { in get_marker_label() 519 if (tree->deleted) in get_node_by_path() 521 return tree; in get_node_by_path() 549 return tree; in get_node_by_label() 570 if (tree->deleted) in get_node_by_phandle() 572 return tree; in get_node_by_phandle() [all …]
|
| A D | dtc.h | 224 struct property *get_property_by_label(struct node *tree, const char *label, 226 struct marker *get_marker_label(struct node *tree, const char *label, 229 struct node *get_node_by_path(struct node *tree, const char *path); 230 struct node *get_node_by_label(struct node *tree, const char *label); 231 struct node *get_node_by_phandle(struct node *tree, cell_t phandle); 232 struct node *get_node_by_ref(struct node *tree, const char *ref); 235 uint32_t guess_boot_cpuid(struct node *tree); 267 struct node *tree, uint32_t boot_cpuid_phys);
|
| A D | treesource.c | 236 static void write_tree_source_node(FILE *f, struct node *tree, int level) in write_tree_source_node() argument 243 for_each_label(tree->labels, l) in write_tree_source_node() 245 if (tree->name && (*tree->name)) in write_tree_source_node() 246 fprintf(f, "%s {\n", tree->name); in write_tree_source_node() 250 for_each_property(tree, prop) { in write_tree_source_node() 257 for_each_child(tree, child) { in write_tree_source_node()
|
| A D | README | 1 The source tree contains the Device Tree Compiler (dtc) toolchain for 2 working with device tree source and binary files and also libfdt, a 51 The library can be installed with pip from a local source tree: 96 and checked against a binary tree from assembler macros in trees.S. So 97 if you change that file you must change tree.S also. 105 Core device tree bindings are discussed on the devicetree-spec list:
|
| A D | flattree.c | 258 if (tree->deleted) in flatten_tree() 261 emit->beginnode(etarget, tree->labels); in flatten_tree() 264 emit->string(etarget, tree->fullpath, 0); in flatten_tree() 266 emit->string(etarget, tree->name, 0); in flatten_tree() 270 for_each_property(tree, prop) { in flatten_tree() 291 emit->cell(etarget, tree->basenamelen+1); in flatten_tree() 297 emit->string(etarget, tree->name, tree->basenamelen); in flatten_tree() 301 for_each_child(tree, child) { in flatten_tree() 305 emit->endnode(etarget, tree->labels); in flatten_tree() 821 struct node *tree; in dt_from_blob() local [all …]
|
| /scripts/dtc/pylibfdt/ |
| A D | libfdt.i_shipped | 129 """Class for a read-only device-tree 133 device tree. 149 const void * for the device tree. 217 Total tree size in bytes 396 tree format) 537 This adjusts the tree in place. 697 reference the device tree, so if anything changes in the device tree, 737 tree is complete, call as_fdt() to obtain a device tree ready to be used. 757 are added to the tree. 787 tree. [all …]
|
| /scripts/ |
| A D | spdxcheck.py | 37 lictree = repo.head.commit.tree['LICENSES'] 206 def scan_git_tree(tree): argument 207 for el in tree.traverse(): 219 def scan_git_subtree(tree, path): argument 221 tree = tree[p] 222 scan_git_tree(tree) 271 scan_git_subtree(repo.head.reference.commit.tree, p) 277 scan_git_tree(repo.head.commit.tree)
|
| A D | get_maintainer.pl | 54 my $tree = 1; 268 'tree!' => \$tree, 334 if ($tree && !top_of_kernel_tree($lk_path)) {
|
| A D | checkpatch.pl | 29 my $tree = 1; 296 'tree!' => \$tree, 446 if ($tree) { 1105 return 0 if (!$tree || !(-e "$root/scripts/get_maintainer.pl")); 1117 …return 1 if (!$tree || which("python3") eq "" || !(-x "$root/scripts/spdxcheck.py") || !(-e "$gitr… 2952 if (!$file && $tree && $p1_prefix ne '' && 3469 if ($tree && $in_commit_log) { 5871 if ($tree && $rawline =~ m{^.\s*\#\s*include\s*\<asm\/(.*)\.h\>}) {
|
| /scripts/kconfig/ |
| A D | gconf.c | 57 GtkTreeStore *tree1, *tree2, *tree; variable 197 tree = tree2 = gtk_tree_store_new(COL_NUMBER, in init_tree_model() 1142 gtk_tree_store_set(tree, node, in set_node() 1169 gtk_tree_store_append(tree, node, parent); in place_node() 1318 && !(child->flags & MENU_ROOT) && (tree == tree1)) in display_tree() 1322 && (tree == tree2)) in display_tree() 1343 && (tree == tree2)) in display_tree() 1383 tree = tree1; in display_list() 1386 tree = tree2; in display_list()
|