Lines Matching refs:offset

75 	 * offset which is out-of-bounds, or which points to an
146 const void *fdt_offset_ptr(const void *fdt, int offset, unsigned int checklen);
147 static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen)
149 return (void *)(uintptr_t)fdt_offset_ptr(fdt, offset, checklen);
152 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);
158 int fdt_next_node(const void *fdt, int offset, int *depth);
161 * fdt_first_subnode() - get offset of first direct subnode
164 * @offset: Offset of node to check
165 * @return offset of first subnode, or -FDT_ERR_NOTFOUND if there is none
167 int fdt_first_subnode(const void *fdt, int offset);
170 * fdt_next_subnode() - get offset of next direct subnode
176 * @offset: Offset of previous subnode
177 * @return offset of next subnode, or -FDT_ERR_NOTFOUND if there are no more
180 int fdt_next_subnode(const void *fdt, int offset);
289 * @stroffset: offset of the string within the strings block (native endian)
348 * @parentoffset: structure block offset of a node
362 * @parentoffset: structure block offset of a node
366 * offset parentoffset with the given name. name may include a unit
373 * structure block offset of the requested subnode (>=0), on success
409 * structure block offset of the node with the requested path (>=0), on
424 * @nodeoffset: structure block offset of the starting node
428 * device tree node at structure block offset nodeoffset. If lenp is
447 * fdt_first_property_offset - find the offset of a node's first property
449 * @nodeoffset: structure block offset of a node
452 * the given structure block offset.
455 * structure block offset of the property (>=0), on success
469 * @offset: structure block offset of a property
472 * one at the given structure block offset. This will be a property
476 * structure block offset of the next property (>=0), on success
485 int fdt_next_property_offset(const void *fdt, int offset);
490 * @property_offset: property offset (int, lvalue)
492 * @node: node offset (int)
515 * fdt_get_property_by_offset - retrieve the property at a given offset
517 * @offset: offset of the property to retrieve
522 * offset. If lenp is non-NULL, the length of the property value is
539 int offset,
545 * @nodeoffset: offset of the node whose property to find
561 * @nodeoffset: offset of the node whose property to find
567 * named 'name' of the node at offset nodeoffset. If lenp is
597 * fdt_getprop_by_offset - retrieve the value of a property at a given offset
599 * @ffset: offset of the property to read
604 * property at structure block offset 'offset' (this will be a pointer
627 const void *fdt_getprop_by_offset(const void *fdt, int offset,
633 * @nodeoffset: offset of the node whose property to find
654 * @nodeoffset: offset of the node whose property to find
659 * named 'name' of the node at offset nodeoffset (this will be a
690 * @nodeoffset: structure block offset of the node
693 * structure block offset nodeoffset.
730 * @nodeoffset: offset of the node whose path to find
734 * fdt_get_path() computes the full path of the node at offset
757 * @nodeoffset: offset of the node whose parent to find
765 * will always return 0, the offset of the root node. If the node at
774 * structure block offset of the node at node offset's ancestor
790 * @nodeoffset: offset of the node whose parent to find
811 * @nodeoffset: offset of the node whose parent to find
814 * is, it finds the offset of the node which contains the node at
821 * structure block offset of the parent of the node at nodeoffset
834 * @startoffset: only find nodes after this offset
839 * fdt_node_offset_by_prop_value() returns the offset of the first
846 * offset = fdt_node_offset_by_prop_value(fdt, -1, propname,
848 * while (offset != -FDT_ERR_NOTFOUND) {
850 * offset = fdt_node_offset_by_prop_value(fdt, offset, propname,
859 * structure block offset of the located node (>= 0, >startoffset),
878 * fdt_node_offset_by_phandle() returns the offset of the node
884 * structure block offset of the located node (>= 0), on success
897 * @nodeoffset: offset of a tree node
922 * @startoffset: only find nodes after this offset
925 * fdt_node_offset_by_compatible() returns the offset of the first
932 * offset = fdt_node_offset_by_compatible(fdt, -1, compatible);
933 * while (offset != -FDT_ERR_NOTFOUND) {
935 * offset = fdt_node_offset_by_compatible(fdt, offset, compatible);
943 * structure block offset of the located node (>= 0, >startoffset),
973 * @nodeoffset: offset of a tree node
985 * @nodeoffset: offset of a tree node
1007 * @nodeoffset: offset of a tree node
1050 * @nodeoffset: offset of the node to find the address size for
1071 * @nodeoffset: offset of the node to find the address range size for
1097 * @nodeoffset: offset of the node whose property to change
1117 * @nodeoffset: offset of the node whose property to change
1148 * @nodeoffset: offset of the node whose property to change
1183 * @nodeoffset: offset of the node whose property to change
1229 * @nodeoffset: offset of the node whose property to nop
1255 * @nodeoffset: offset of the node to nop
1364 * @nodeoffset: structure block offset of a node
1390 * @nodeoffset: offset of the node whose property to change
1421 * @nodeoffset: offset of the node whose property to change
1456 * @nodeoffset: offset of the node whose property to change
1502 * @nodeoffset: offset of the node whose property to change
1534 * @nodeoffset: offset of the node whose property to change
1563 * @nodeoffset: offset of the node whose property to change
1593 * @nodeoffset: offset of the node whose property to change
1628 * @nodeoffset: offset of the node whose property to change
1674 * @nodeoffset: offset of the node whose property to change
1704 * @nodeoffset: offset of the node whose property to nop
1728 * @parentoffset: structure block offset of a node
1743 * @parentoffset: structure block offset of a node
1747 * structure block offset parentoffset, with the given name (which
1754 * structure block offset of the created nodeequested subnode (>=0), on
1776 * @nodeoffset: offset of the node to nop