Lines Matching defs:offset

59          * offset which is out-of-bounds, or which points to an
109 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int checklen);
110 static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen)
112 return (void *)(uintptr_t)fdt_offset_ptr(fdt, offset, checklen);
115 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);
121 int fdt_next_node(const void *fdt, int offset, int *depth);
202 * @stroffset: offset of the string within the strings block (native endian)
246 * @parentoffset: structure block offset of a node
260 * @parentoffset: structure block offset of a node
264 * offset parentoffset with the given name. name may include a unit
271 * structure block offset of the requested subnode (>=0), on success
295 * structure block offset of the node with the requested path (>=0), on success
309 * @nodeoffset: structure block offset of the starting node
313 * device tree node at structure block offset nodeoffset. If lenp is
330 * fdt_first_property_offset - find the offset of a node's first property
332 * @nodeoffset: structure block offset of a node
335 * the given structure block offset.
338 * structure block offset of the property (>=0), on success
352 * @offset: structure block offset of a property
355 * one at the given structure block offset. This will be a property
359 * structure block offset of the next property (>=0), on success
368 int fdt_next_property_offset(const void *fdt, int offset);
371 * fdt_get_property_by_offset - retrieve the property at a given offset
373 * @offset: offset of the property to retrieve
378 * offset. If lenp is non-NULL, the length of the property value is
395 int offset,
401 * @nodeoffset: offset of the node whose property to find
417 * @nodeoffset: offset of the node whose property to find
423 * named 'name' of the node at offset nodeoffset. If lenp is
452 * fdt_getprop_by_offset - retrieve the value of a property at a given offset
454 * @ffset: offset of the property to read
459 * property at structure block offset 'offset' (this will be a pointer
482 const void *fdt_getprop_by_offset(const void *fdt, int offset,
488 * @nodeoffset: offset of the node whose property to find
502 * @nodeoffset: offset of the node whose property to find
507 * named 'name' of the node at offset nodeoffset (this will be a
537 * @nodeoffset: structure block offset of the node
540 * structure block offset nodeoffset.
577 * @nodeoffset: offset of the node whose path to find
581 * fdt_get_path() computes the full path of the node at offset
604 * @nodeoffset: offset of the node whose parent to find
612 * will always return 0, the offset of the root node. If the node at
622 * structure block offset of the node at node offset's ancestor
637 * @nodeoffset: offset of the node whose parent to find
658 * @nodeoffset: offset of the node whose parent to find
661 * is, it finds the offset of the node which contains the node at
668 * structure block offset of the parent of the node at nodeoffset
681 * @startoffset: only find nodes after this offset
686 * fdt_node_offset_by_prop_value() returns the offset of the first
693 * offset = fdt_node_offset_by_prop_value(fdt, -1, propname,
695 * while (offset != -FDT_ERR_NOTFOUND) {
697 * offset = fdt_node_offset_by_prop_value(fdt, offset, propname,
706 * structure block offset of the located node (>= 0, >startoffset),
725 * fdt_node_offset_by_phandle() returns the offset of the node
731 * structure block offset of the located node (>= 0), on success
744 * @nodeoffset: offset of a tree node
769 * @startoffset: only find nodes after this offset
772 * fdt_node_offset_by_compatible() returns the offset of the first
779 * offset = fdt_node_offset_by_compatible(fdt, -1, compatible);
780 * while (offset != -FDT_ERR_NOTFOUND) {
782 * offset = fdt_node_offset_by_compatible(fdt, offset, compatible);
790 * structure block offset of the located node (>= 0, >startoffset),
810 * @nodeoffset: offset of the node whose property to change
841 * @nodeoffset: offset of the node whose property to change
876 * @nodeoffset: offset of the node whose property to change
922 * @nodeoffset: offset of the node whose property to nop
948 * @nodeoffset: offset of the node to nop
1056 * @nodeoffset: structure block offset of a node
1082 * @nodeoffset: offset of the node whose property to change
1113 * @nodeoffset: offset of the node whose property to change
1148 * @nodeoffset: offset of the node whose property to change
1194 * @nodeoffset: offset of the node whose property to change
1225 * @nodeoffset: offset of the node whose property to change
1255 * @nodeoffset: offset of the node whose property to change
1290 * @nodeoffset: offset of the node whose property to change
1336 * @nodeoffset: offset of the node whose property to change
1366 * @nodeoffset: offset of the node whose property to nop
1390 * @parentoffset: structure block offset of a node
1405 * @parentoffset: structure block offset of a node
1409 * structure block offset parentoffset, with the given name (which
1416 * structure block offset of the created nodeequested subnode (>=0), on success
1436 * @nodeoffset: offset of the node to nop