/aosp_15_r20/external/trusty/arm-trusted-firmware/include/lib/libfdt/ |
D | libfdt.h | 543 * @nodeoffset: structure block offset of the starting node 547 * device tree node at structure block offset nodeoffset. If lenp is 557 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE 563 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp); 568 * @nodeoffset: structure block offset of a node 576 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_BEGIN_NODE tag 583 int fdt_first_property_offset(const void *fdt, int nodeoffset); 597 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_PROP tag 653 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_PROP tag 674 * @nodeoffset: offset of the node whose property to find [all …]
|
/aosp_15_r20/external/dtc/libfdt/ |
H A D | libfdt.h | 543 * @nodeoffset: structure block offset of the starting node 547 * device tree node at structure block offset nodeoffset. If lenp is 557 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE 563 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp); 568 * @nodeoffset: structure block offset of a node 576 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_BEGIN_NODE tag 583 int fdt_first_property_offset(const void *fdt, int nodeoffset); 597 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_PROP tag 653 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_PROP tag 674 * @nodeoffset: offset of the node whose property to find [all …]
|
H A D | fdt_ro.c | 303 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len) in fdt_get_name() argument 305 const struct fdt_node_header *nh = fdt_offset_ptr_(fdt, nodeoffset); in fdt_get_name() 310 || ((err = fdt_check_node_offset_(fdt, nodeoffset)) < 0)) in fdt_get_name() 341 int fdt_first_property_offset(const void *fdt, int nodeoffset) in fdt_first_property_offset() argument 345 if ((offset = fdt_check_node_offset_(fdt, nodeoffset)) < 0) in fdt_first_property_offset() 447 int nodeoffset, in fdt_get_property() argument 450 return fdt_get_property_namelen(fdt, nodeoffset, name, in fdt_get_property() 454 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset, in fdt_getprop_namelen() argument 460 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp, in fdt_getprop_namelen() 505 const void *fdt_getprop(const void *fdt, int nodeoffset, in fdt_getprop() argument [all …]
|
H A D | fdt_rw.c | 184 static int fdt_resize_property_(void *fdt, int nodeoffset, const char *name, in fdt_resize_property_() argument 190 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_resize_property_() 202 static int fdt_add_property_(void *fdt, int nodeoffset, const char *name, in fdt_add_property_() argument 211 if ((nextoffset = fdt_check_node_offset_(fdt, nodeoffset)) < 0) in fdt_add_property_() 235 int fdt_set_name(void *fdt, int nodeoffset, const char *name) in fdt_set_name() argument 243 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); in fdt_set_name() 258 int fdt_setprop_placeholder(void *fdt, int nodeoffset, const char *name, in fdt_setprop_placeholder() argument 266 err = fdt_resize_property_(fdt, nodeoffset, name, len, &prop); in fdt_setprop_placeholder() 268 err = fdt_add_property_(fdt, nodeoffset, name, len, &prop); in fdt_setprop_placeholder() 276 int fdt_setprop(void *fdt, int nodeoffset, const char *name, in fdt_setprop() argument [all …]
|
H A D | fdt_wip.c | 13 int fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, in fdt_setprop_inplace_namelen_partial() argument 21 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen, in fdt_setprop_inplace_namelen_partial() 33 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, in fdt_setprop_inplace() argument 39 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in fdt_setprop_inplace() 46 return fdt_setprop_inplace_namelen_partial(fdt, nodeoffset, name, in fdt_setprop_inplace() 59 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) in fdt_nop_property() argument 64 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_nop_property() 83 int fdt_nop_node(void *fdt, int nodeoffset) in fdt_nop_node() argument 87 endoffset = fdt_node_end_offset_(fdt, nodeoffset); in fdt_nop_node() 91 fdt_nop_region_(fdt_offset_ptr_w(fdt, nodeoffset, 0), in fdt_nop_node() [all …]
|
H A D | fdt_addresses.c | 14 static int fdt_cells(const void *fdt, int nodeoffset, const char *name) in fdt_cells() argument 20 c = fdt_getprop(fdt, nodeoffset, name, &len); in fdt_cells() 34 int fdt_address_cells(const void *fdt, int nodeoffset) in fdt_address_cells() argument 38 val = fdt_cells(fdt, nodeoffset, "#address-cells"); in fdt_address_cells() 46 int fdt_size_cells(const void *fdt, int nodeoffset) in fdt_size_cells() argument 50 val = fdt_cells(fdt, nodeoffset, "#size-cells"); in fdt_size_cells() 57 int fdt_appendprop_addrrange(void *fdt, int parent, int nodeoffset, in fdt_appendprop_addrrange() argument 99 return fdt_appendprop(fdt, nodeoffset, name, data, in fdt_appendprop_addrrange()
|
/aosp_15_r20/device/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/include/ |
D | libfdt.h | 536 * @nodeoffset: structure block offset of the starting node 540 * device tree node at structure block offset nodeoffset. If lenp is 550 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE 556 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp); 561 * @nodeoffset: structure block offset of a node 569 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_BEGIN_NODE tag 576 int fdt_first_property_offset(const void *fdt, int nodeoffset); 590 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_PROP tag 646 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_PROP tag 660 * @nodeoffset: offset of the node whose property to find [all …]
|
/aosp_15_r20/external/dtc/pylibfdt/ |
H A D | libfdt.i | 152 def next_node(self, nodeoffset, depth, quiet=()): 156 nodeoffset: Node offset of previous node 157 depth: The depth of the node at nodeoffset. This is used to 169 return check_err(fdt_next_node(self._fdt, nodeoffset, depth), quiet) 171 def first_subnode(self, nodeoffset, quiet=()): 175 nodeoffset: Node offset of parent node 184 return check_err(fdt_first_subnode(self._fdt, nodeoffset), quiet) 186 def next_subnode(self, nodeoffset, quiet=()): 190 nodeoffset: Node offset of previous subnode 199 return check_err(fdt_next_subnode(self._fdt, nodeoffset), quiet) [all …]
|
/aosp_15_r20/out/soong/.intermediates/packages/modules/Virtualization/libs/libfdt/liblibfdt_nostd/android_arm64_armv8-2a_cortex-a55_rlib_rlib-std/out/ |
D | bindings.rs | 475 …nodeoffset: structure block offset of the starting node\n @lenp: pointer to an integer variable (w… 478 nodeoffset: core::ffi::c_int, in fdt_get_name() 483 …nodeoffset: structure block offset of a node\n\n fdt_first_property_offset() finds the first prope… 486 nodeoffset: core::ffi::c_int, in fdt_first_property_offset() 490 …f the given property is the last in its node\n\t-FDT_ERR_BADOFFSET, if nodeoffset did not point to… 497 … non-NULL, *lenp contains an error code (<0):\n\t\t-FDT_ERR_BADOFFSET, nodeoffset did not point to… 507 nodeoffset: core::ffi::c_int, in fdt_get_property_namelen() 514 …nodeoffset: offset of the node whose property to find\n @name: name of the property to find\n @len… 517 nodeoffset: core::ffi::c_int, in fdt_get_property() 533 nodeoffset: core::ffi::c_int, in fdt_getprop_namelen() [all …]
|
/aosp_15_r20/out/soong/.intermediates/packages/modules/Virtualization/libs/libfdt/liblibfdt_bindgen/android_arm64_armv8-2a_cortex-a55_source/ |
D | bindings.rs | 475 …nodeoffset: structure block offset of the starting node\n @lenp: pointer to an integer variable (w… 478 nodeoffset: core::ffi::c_int, in fdt_get_name() 483 …nodeoffset: structure block offset of a node\n\n fdt_first_property_offset() finds the first prope… 486 nodeoffset: core::ffi::c_int, in fdt_first_property_offset() 490 …f the given property is the last in its node\n\t-FDT_ERR_BADOFFSET, if nodeoffset did not point to… 497 … non-NULL, *lenp contains an error code (<0):\n\t\t-FDT_ERR_BADOFFSET, nodeoffset did not point to… 507 nodeoffset: core::ffi::c_int, in fdt_get_property_namelen() 514 …nodeoffset: offset of the node whose property to find\n @name: name of the property to find\n @len… 517 nodeoffset: core::ffi::c_int, in fdt_get_property() 533 nodeoffset: core::ffi::c_int, in fdt_getprop_namelen() [all …]
|
/aosp_15_r20/out/soong/.intermediates/packages/modules/Virtualization/libs/libfdt/liblibfdt_bindgen/android_arm64_armv8-2a_cortex-a55_source_apex10000/ |
D | bindings.rs | 475 …nodeoffset: structure block offset of the starting node\n @lenp: pointer to an integer variable (w… 478 nodeoffset: core::ffi::c_int, in fdt_get_name() 483 …nodeoffset: structure block offset of a node\n\n fdt_first_property_offset() finds the first prope… 486 nodeoffset: core::ffi::c_int, in fdt_first_property_offset() 490 …f the given property is the last in its node\n\t-FDT_ERR_BADOFFSET, if nodeoffset did not point to… 497 … non-NULL, *lenp contains an error code (<0):\n\t\t-FDT_ERR_BADOFFSET, nodeoffset did not point to… 507 nodeoffset: core::ffi::c_int, in fdt_get_property_namelen() 514 …nodeoffset: offset of the node whose property to find\n @name: name of the property to find\n @len… 517 nodeoffset: core::ffi::c_int, in fdt_get_property() 533 nodeoffset: core::ffi::c_int, in fdt_getprop_namelen() [all …]
|
/aosp_15_r20/out/soong/.intermediates/packages/modules/Virtualization/libs/libfdt/liblibfdt/android_arm64_armv8-2a_cortex-a55_rlib_rlib-std_apex10000/out/ |
D | bindings.rs | 475 …nodeoffset: structure block offset of the starting node\n @lenp: pointer to an integer variable (w… 478 nodeoffset: core::ffi::c_int, in fdt_get_name() 483 …nodeoffset: structure block offset of a node\n\n fdt_first_property_offset() finds the first prope… 486 nodeoffset: core::ffi::c_int, in fdt_first_property_offset() 490 …f the given property is the last in its node\n\t-FDT_ERR_BADOFFSET, if nodeoffset did not point to… 497 … non-NULL, *lenp contains an error code (<0):\n\t\t-FDT_ERR_BADOFFSET, nodeoffset did not point to… 507 nodeoffset: core::ffi::c_int, in fdt_get_property_namelen() 514 …nodeoffset: offset of the node whose property to find\n @name: name of the property to find\n @len… 517 nodeoffset: core::ffi::c_int, in fdt_get_property() 533 nodeoffset: core::ffi::c_int, in fdt_getprop_namelen() [all …]
|
/aosp_15_r20/external/trusty/arm-trusted-firmware/lib/libfdt/ |
D | fdt_ro.c | 300 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len) in fdt_get_name() argument 302 const struct fdt_node_header *nh = fdt_offset_ptr_(fdt, nodeoffset); in fdt_get_name() 307 || ((err = fdt_check_node_offset_(fdt, nodeoffset)) < 0)) in fdt_get_name() 338 int fdt_first_property_offset(const void *fdt, int nodeoffset) in fdt_first_property_offset() argument 342 if ((offset = fdt_check_node_offset_(fdt, nodeoffset)) < 0) in fdt_first_property_offset() 444 int nodeoffset, in fdt_get_property() argument 447 return fdt_get_property_namelen(fdt, nodeoffset, name, in fdt_get_property() 451 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset, in fdt_getprop_namelen() argument 457 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp, in fdt_getprop_namelen() 502 const void *fdt_getprop(const void *fdt, int nodeoffset, in fdt_getprop() argument [all …]
|
D | fdt_rw.c | 184 static int fdt_resize_property_(void *fdt, int nodeoffset, const char *name, in fdt_resize_property_() argument 190 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in fdt_resize_property_() 202 static int fdt_add_property_(void *fdt, int nodeoffset, const char *name, in fdt_add_property_() argument 211 if ((nextoffset = fdt_check_node_offset_(fdt, nodeoffset)) < 0) in fdt_add_property_() 235 int fdt_set_name(void *fdt, int nodeoffset, const char *name) in fdt_set_name() argument 243 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); in fdt_set_name() 258 int fdt_setprop_placeholder(void *fdt, int nodeoffset, const char *name, in fdt_setprop_placeholder() argument 266 err = fdt_resize_property_(fdt, nodeoffset, name, len, &prop); in fdt_setprop_placeholder() 268 err = fdt_add_property_(fdt, nodeoffset, name, len, &prop); in fdt_setprop_placeholder() 276 int fdt_setprop(void *fdt, int nodeoffset, const char *name, in fdt_setprop() argument [all …]
|
D | fdt_wip.c | 13 int fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, in fdt_setprop_inplace_namelen_partial() argument 21 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen, in fdt_setprop_inplace_namelen_partial() 33 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, in fdt_setprop_inplace() argument 39 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in fdt_setprop_inplace() 46 return fdt_setprop_inplace_namelen_partial(fdt, nodeoffset, name, in fdt_setprop_inplace() 59 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) in fdt_nop_property() argument 64 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); in fdt_nop_property() 83 int fdt_nop_node(void *fdt, int nodeoffset) in fdt_nop_node() argument 87 endoffset = fdt_node_end_offset_(fdt, nodeoffset); in fdt_nop_node() 91 fdt_nop_region_(fdt_offset_ptr_w(fdt, nodeoffset, 0), in fdt_nop_node() [all …]
|
D | fdt_addresses.c | 14 static int fdt_cells(const void *fdt, int nodeoffset, const char *name) in fdt_cells() argument 20 c = fdt_getprop(fdt, nodeoffset, name, &len); in fdt_cells() 34 int fdt_address_cells(const void *fdt, int nodeoffset) in fdt_address_cells() argument 38 val = fdt_cells(fdt, nodeoffset, "#address-cells"); in fdt_address_cells() 46 int fdt_size_cells(const void *fdt, int nodeoffset) in fdt_size_cells() argument 50 val = fdt_cells(fdt, nodeoffset, "#size-cells"); in fdt_size_cells() 57 int fdt_appendprop_addrrange(void *fdt, int parent, int nodeoffset, in fdt_appendprop_addrrange() argument 99 return fdt_appendprop(fdt, nodeoffset, name, data, in fdt_appendprop_addrrange()
|
/aosp_15_r20/packages/modules/Virtualization/libs/libfdt/src/ |
D | libfdt.rs | 26 use crate::{FdtError, NodeOffset, Phandle, PropOffset, Result, StringOffset}; 71 fn path_offset_namelen(&self, path: &[u8]) -> Result<Option<NodeOffset>> { in path_offset_namelen() argument 84 fn node_offset_by_phandle(&self, phandle: Phandle) -> Result<Option<NodeOffset>> { in node_offset_by_phandle() argument 96 prev: NodeOffset, in node_offset_by_compatible() argument 98 ) -> Result<Option<NodeOffset>> { in node_offset_by_compatible() argument 109 fn next_node(&self, node: NodeOffset, depth: usize) -> Result<Option<(NodeOffset, usize)>> { in next_node() argument 128 fn parent_offset(&self, node: NodeOffset) -> Result<NodeOffset> { in parent_offset() argument 141 fn supernode_atdepth_offset(&self, node: NodeOffset, depth: usize) -> Result<NodeOffset> { in supernode_atdepth_offset() argument 156 parent: NodeOffset, in subnode_offset_namelen() argument 158 ) -> Result<Option<NodeOffset>> { in subnode_offset_namelen() argument [all …]
|
/aosp_15_r20/external/dtc/tests/ |
H A D | tests.h | 85 void check_property(void *fdt, int nodeoffset, const char *name, 87 #define check_property_cell(fdt, nodeoffset, name, val) \ argument 90 check_property(fdt, nodeoffset, name, sizeof(x), &x); \ 94 const void *check_getprop(void *fdt, int nodeoffset, const char *name, 96 #define check_getprop_cell(fdt, nodeoffset, name, val) \ argument 99 check_getprop(fdt, nodeoffset, name, sizeof(x), &x); \ 101 #define check_getprop_64(fdt, nodeoffset, name, val) \ argument 104 check_getprop(fdt, nodeoffset, name, sizeof(x), &x); \ 106 #define check_getprop_string(fdt, nodeoffset, name, s) \ argument 107 check_getprop((fdt), (nodeoffset), (name), strlen(s)+1, (s)) [all …]
|
H A D | supernode_atdepth_offset.c | 61 int nodeoffset, supernodeoffset, superpathoffset, pathprefixlen; in check_supernode_atdepth() local 72 nodeoffset = fdt_path_offset(fdt, path); in check_supernode_atdepth() 73 if (nodeoffset < 0) in check_supernode_atdepth() 74 FAIL("fdt_path_offset(%s): %s", path, fdt_strerror(nodeoffset)); in check_supernode_atdepth() 80 supernodeoffset = fdt_supernode_atdepth_offset(fdt, nodeoffset, in check_supernode_atdepth() 98 int nodeoffset, err; in check_supernode_overdepth() local 100 nodeoffset = fdt_path_offset(fdt, path); in check_supernode_overdepth() 101 if (nodeoffset < 0) in check_supernode_overdepth() 102 FAIL("fdt_path_offset(%s): %s", path, fdt_strerror(nodeoffset)); in check_supernode_overdepth() 104 err = fdt_supernode_atdepth_offset(fdt, nodeoffset, pdepth + 1, NULL); in check_supernode_overdepth()
|
H A D | dtb_reverse.c | 67 static void reverse_node(void *in, void *out, int nodeoffset); 91 static void reverse_node(void *in, void *out, int nodeoffset) in reverse_node() argument 93 const char *name = fdt_get_name(in, nodeoffset, NULL); in reverse_node() 99 CHECK(fdt_get_path(in, nodeoffset, path, sizeof(path))); in reverse_node() 100 verbose_printf("reverse_node(): nodeoffset=%d [%s]\n", in reverse_node() 101 nodeoffset, path); in reverse_node() 105 offset = fdt_first_property_offset(in, nodeoffset); in reverse_node() 111 offset = fdt_next_node(in, nodeoffset, &depth); in reverse_node()
|
H A D | parent_offset.c | 32 int nodeoffset, parentoffset, parentpathoffset, pathparentlen; in check_path() local 41 nodeoffset = fdt_path_offset(fdt, path); in check_path() 42 if (nodeoffset < 0) in check_path() 43 FAIL("fdt_path_offset(%s): %s", path, fdt_strerror(nodeoffset)); in check_path() 50 parentoffset = fdt_parent_offset(fdt, nodeoffset); in check_path()
|
/aosp_15_r20/external/llvm/test/ObjectYAML/MachO/ |
H A D | export_trie.yaml | 144 NodeOffset: 0 152 NodeOffset: 5 160 NodeOffset: 33 167 NodeOffset: 37 177 #CHECK: NodeOffset: 0 181 #CHECK: NodeOffset: 5 185 #CHECK: NodeOffset: 33 189 #CHECK: NodeOffset: 37
|
/aosp_15_r20/external/trusty/arm-trusted-firmware/plat/arm/board/n1sdp/ |
D | n1sdp_image_load.c | 49 int nodeoffset, err; in plat_n1sdp_append_config_node() local 65 nodeoffset = fdt_subnode_offset(fdt, 0, "platform-info"); in plat_n1sdp_append_config_node() 66 if (nodeoffset < 0) { in plat_n1sdp_append_config_node() 71 err = fdt_setprop_u32(fdt, nodeoffset, "multichip-mode", in plat_n1sdp_append_config_node() 78 err = fdt_setprop_u32(fdt, nodeoffset, "secondary-chip-count", in plat_n1sdp_append_config_node() 85 err = fdt_setprop_u32(fdt, nodeoffset, "local-ddr-size", in plat_n1sdp_append_config_node() 92 err = fdt_setprop_u32(fdt, nodeoffset, "remote-ddr-size", in plat_n1sdp_append_config_node()
|
/aosp_15_r20/external/trusty/arm-trusted-firmware/plat/arm/board/neoverse_rd/common/ |
D | nrd_image_load.c | 81 int nodeoffset, err; in plat_nrd_append_config_node() local 99 nodeoffset = fdt_subnode_offset(fdt, 0, "system-id"); in plat_nrd_append_config_node() 100 if (nodeoffset < 0) { in plat_nrd_append_config_node() 106 err = fdt_setprop_u32(fdt, nodeoffset, "platform-id", platid); in plat_nrd_append_config_node() 113 err = fdt_setprop_u32(fdt, nodeoffset, "config-id", platcfg); in plat_nrd_append_config_node() 120 err = fdt_setprop_u32(fdt, nodeoffset, "multi-chip-mode", platcfg); in plat_nrd_append_config_node() 128 err = fdt_setprop(fdt, nodeoffset, "isolated-cpu-list", in plat_nrd_append_config_node()
|
/aosp_15_r20/external/arm-trusted-firmware/plat/arm/css/sgi/ |
H A D | sgi_image_load.c | 28 int nodeoffset, err; in plat_sgi_append_config_node() local 45 nodeoffset = fdt_subnode_offset(fdt, 0, "system-id"); in plat_sgi_append_config_node() 46 if (nodeoffset < 0) { in plat_sgi_append_config_node() 52 err = fdt_setprop_u32(fdt, nodeoffset, "platform-id", platid); in plat_sgi_append_config_node() 59 err = fdt_setprop_u32(fdt, nodeoffset, "config-id", platcfg); in plat_sgi_append_config_node() 66 err = fdt_setprop_u32(fdt, nodeoffset, "multi-chip-mode", platcfg); in plat_sgi_append_config_node()
|