Home
last modified time | relevance | path

Searched refs:nextoffset (Results 1 – 18 of 18) sorted by relevance

/OK3568_Linux_fs/u-boot/scripts/dtc/libfdt/
H A Dfdt.c94 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag() argument
101 *nextoffset = -FDT_ERR_TRUNCATED; in fdt_next_tag()
108 *nextoffset = -FDT_ERR_BADSTRUCTURE; in fdt_next_tag()
140 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
164 int nextoffset = 0; in fdt_next_node() local
168 if ((nextoffset = _fdt_check_node_offset(fdt, offset)) < 0) in fdt_next_node()
169 return nextoffset; in fdt_next_node()
172 offset = nextoffset; in fdt_next_node()
173 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
187 return nextoffset; in fdt_next_node()
[all …]
H A Dfdt_sw.c263 int offset, nextoffset; in fdt_finish() local
281 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) { in fdt_finish()
291 offset = nextoffset; in fdt_finish()
293 if (nextoffset < 0) in fdt_finish()
294 return nextoffset; in fdt_finish()
H A Dfdt_rw.c225 int nextoffset; in _fdt_add_property() local
229 if ((nextoffset = _fdt_check_node_offset(fdt, nodeoffset)) < 0) in _fdt_add_property()
230 return nextoffset; in _fdt_add_property()
236 *prop = _fdt_offset_ptr_w(fdt, nextoffset); in _fdt_add_property()
351 int offset, nextoffset; in fdt_add_subnode_namelen() local
366 fdt_next_tag(fdt, parentoffset, &nextoffset); /* skip the BEGIN_NODE */ in fdt_add_subnode_namelen()
368 offset = nextoffset; in fdt_add_subnode_namelen()
369 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_add_subnode_namelen()
H A Dfdt_ro.c137 int nextoffset; in _nextprop() local
140 tag = fdt_next_tag(fdt, offset, &nextoffset); in _nextprop()
144 if (nextoffset >= 0) in _nextprop()
147 return nextoffset; in _nextprop()
152 offset = nextoffset; in _nextprop()
H A Dlibfdt.h154 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);
/OK3568_Linux_fs/kernel/scripts/dtc/libfdt/
H A Dfdt.c157 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag() argument
164 *nextoffset = -FDT_ERR_TRUNCATED; in fdt_next_tag()
171 *nextoffset = -FDT_ERR_BADSTRUCTURE; in fdt_next_tag()
207 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
237 int nextoffset = 0; in fdt_next_node() local
241 if ((nextoffset = fdt_check_node_offset_(fdt, offset)) < 0) in fdt_next_node()
242 return nextoffset; in fdt_next_node()
245 offset = nextoffset; in fdt_next_node()
246 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
260 return nextoffset; in fdt_next_node()
[all …]
H A Dfdt_rw.c206 int nextoffset; in fdt_add_property_() local
211 if ((nextoffset = fdt_check_node_offset_(fdt, nodeoffset)) < 0) in fdt_add_property_()
212 return nextoffset; in fdt_add_property_()
218 *prop = fdt_offset_ptr_w_(fdt, nextoffset); in fdt_add_property_()
337 int offset, nextoffset; in fdt_add_subnode_namelen() local
352 fdt_next_tag(fdt, parentoffset, &nextoffset); /* skip the BEGIN_NODE */ in fdt_add_subnode_namelen()
354 offset = nextoffset; in fdt_add_subnode_namelen()
355 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_add_subnode_namelen()
H A Dfdt_sw.c343 int offset, nextoffset; in fdt_finish() local
361 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) { in fdt_finish()
371 offset = nextoffset; in fdt_finish()
373 if (nextoffset < 0) in fdt_finish()
374 return nextoffset; in fdt_finish()
H A Dfdt_ro.c204 int nextoffset; in nextprop_() local
207 tag = fdt_next_tag(fdt, offset, &nextoffset); in nextprop_()
211 if (nextoffset >= 0) in nextprop_()
214 return nextoffset; in nextprop_()
219 offset = nextoffset; in nextprop_()
H A Dlibfdt.h122 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);
/OK3568_Linux_fs/u-boot/lib/libfdt/
H A Dfdt_region.c39 int nextoffset = 0; in fdt_find_regions() local
58 offset = nextoffset; in fdt_find_regions()
59 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_find_regions()
60 stop_at = nextoffset; in fdt_find_regions()
133 if (nextoffset != fdt_size_dt_struct(fdt)) in fdt_find_regions()
139 region[count].size = nextoffset - start; in fdt_find_regions()
355 p->nextoffset = 0; in fdt_first_region()
490 offset = p.nextoffset; in fdt_next_region()
491 tag = fdt_next_tag(fdt, offset, &p.nextoffset); in fdt_next_region()
492 stop_at = p.nextoffset; in fdt_next_region()
[all …]
H A Dfdt_ro.c96 int nextoffset; in _nextprop() local
99 tag = fdt_next_tag(fdt, offset, &nextoffset); in _nextprop()
103 if (nextoffset >= 0) in _nextprop()
106 return nextoffset; in _nextprop()
111 offset = nextoffset; in _nextprop()
/OK3568_Linux_fs/u-boot/fs/cramfs/
H A Dcramfs.c120 unsigned long inodeoffset = 0, nextoffset; in cramfs_resolve() local
138 nextoffset = in cramfs_resolve()
200 inodeoffset = nextoffset; in cramfs_resolve()
299 unsigned long inodeoffset = 0, nextoffset; in cramfs_ls() local
336 nextoffset = cramfs_list_inode (info, offset + inodeoffset); in cramfs_ls()
337 if (nextoffset == 0) in cramfs_ls()
339 inodeoffset += sizeof (struct cramfs_inode) + nextoffset; in cramfs_ls()
/OK3568_Linux_fs/kernel/scripts/dtc/
H A Dfdtget.c138 int nextoffset; /* next node offset from libfdt */ in list_subnodes() local
145 tag = fdt_next_tag(blob, node, &nextoffset); in list_subnodes()
177 node = nextoffset; in list_subnodes()
/OK3568_Linux_fs/u-boot/include/linux/
H A Dlibfdt.h74 int nextoffset; /* Next node offset to check */ member
/OK3568_Linux_fs/u-boot/tools/
H A Dfdtgrep.c237 int offset, nextoffset; in display_fdt_by_regions() local
293 nextoffset = 0; in display_fdt_by_regions()
301 offset = nextoffset; in display_fdt_by_regions()
312 tag = fdt_next_tag(blob, offset, &nextoffset); in display_fdt_by_regions()
/OK3568_Linux_fs/u-boot/cmd/
H A Dfdt.c955 int nextoffset; /* next node offset from libfdt */ in fdt_print() local
997 tag = fdt_next_tag(working_fdt, nodeoffset, &nextoffset); in fdt_print()
1060 nodeoffset = nextoffset; in fdt_print()
/OK3568_Linux_fs/kernel/fs/cramfs/
H A Dinode.c722 unsigned long nextoffset; in cramfs_readdir() local
742 nextoffset = offset + sizeof(*de) + namelen; in cramfs_readdir()
755 ctx->pos = offset = nextoffset; in cramfs_readdir()