/freebsd-11.0-release/contrib/dtc/libfdt/ |
H A D | libfdt.h | 347 * @nodeoffset: structure block offset of the starting node 351 * device tree node at structure block offset nodeoffset. If lenp is 360 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 365 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp); 370 * @nodeoffset: structure block offset of a node 378 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_BEGIN_NODE tag 385 int fdt_first_property_offset(const void *fdt, int nodeoffset); 399 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_PROP tag 425 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_PROP tag 439 * @nodeoffset 481 fdt_get_property_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument 566 fdt_getprop_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument 918 fdt_setprop_inplace_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 953 fdt_setprop_inplace_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument 965 fdt_setprop_inplace_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1191 fdt_setprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1226 fdt_setprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument 1238 fdt_setprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1333 fdt_appendprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1368 fdt_appendprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument 1380 fdt_appendprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument [all...] |
H A D | fdt_wip.c | 58 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, argument 64 propval = fdt_getprop_w(fdt, nodeoffset, name, &proplen); 83 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) argument 88 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); 107 int fdt_nop_node(void *fdt, int nodeoffset) argument 111 endoffset = _fdt_node_end_offset(fdt, nodeoffset); 115 _fdt_nop_region(fdt_offset_ptr_w(fdt, nodeoffset, 0), 116 endoffset - nodeoffset);
|
H A D | fdt_ro.c | 201 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len) argument 203 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset); 207 || ((err = _fdt_check_node_offset(fdt, nodeoffset)) < 0)) 221 int fdt_first_property_offset(const void *fdt, int nodeoffset) argument 225 if ((offset = _fdt_check_node_offset(fdt, nodeoffset)) < 0) 285 int nodeoffset, 288 return fdt_get_property_namelen(fdt, nodeoffset, name, 292 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset, argument 297 prop = fdt_get_property_namelen(fdt, nodeoffset, name, namelen, lenp); 317 const void *fdt_getprop(const void *fdt, int nodeoffset, argument 284 fdt_get_property(const void *fdt, int nodeoffset, const char *name, int *lenp) argument 323 fdt_get_phandle(const void *fdt, int nodeoffset) argument 357 fdt_get_path(const void *fdt, int nodeoffset, char *buf, int buflen) argument 409 fdt_supernode_atdepth_offset(const void *fdt, int nodeoffset, int supernodedepth, int *nodedepth) argument 445 fdt_node_depth(const void *fdt, int nodeoffset) argument 456 fdt_parent_offset(const void *fdt, int nodeoffset) argument 535 fdt_node_check_compatible(const void *fdt, int nodeoffset, const char *compatible) argument [all...] |
H A D | fdt_rw.c | 205 static int _fdt_resize_property(void *fdt, int nodeoffset, const char *name, argument 211 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); 223 static int _fdt_add_property(void *fdt, int nodeoffset, const char *name, argument 231 if ((nextoffset = _fdt_check_node_offset(fdt, nodeoffset)) < 0) 251 int fdt_set_name(void *fdt, int nodeoffset, const char *name) argument 259 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); 274 int fdt_setprop(void *fdt, int nodeoffset, const char *name, argument 282 err = _fdt_resize_property(fdt, nodeoffset, name, len, &prop); 284 err = _fdt_add_property(fdt, nodeoffset, name, len, &prop); 292 int fdt_appendprop(void *fdt, int nodeoffset, cons argument 319 fdt_delprop(void *fdt, int nodeoffset, const char *name) argument 380 fdt_del_node(void *fdt, int nodeoffset) argument [all...] |
H A D | libfdt_internal.h | 68 int _fdt_node_end_offset(void *fdt, int nodeoffset);
|
/freebsd-11.0-release/sys/contrib/libfdt/ |
H A D | libfdt.h | 325 * @nodeoffset: structure block offset of the starting node 329 * device tree node at structure block offset nodeoffset. If lenp is 338 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 343 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp); 348 * @nodeoffset: structure block offset of a node 356 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_BEGIN_NODE tag 363 int fdt_first_property_offset(const void *fdt, int nodeoffset); 377 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_PROP tag 403 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_PROP tag 417 * @nodeoffset 459 fdt_get_property_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument 544 fdt_getprop_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument 882 fdt_setprop_inplace_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 917 fdt_setprop_inplace_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument 929 fdt_setprop_inplace_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1154 fdt_setprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1189 fdt_setprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument 1201 fdt_setprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1296 fdt_appendprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument 1331 fdt_appendprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument 1343 fdt_appendprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument [all...] |
H A D | fdt_wip.c | 58 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, argument 64 propval = fdt_getprop_w(fdt, nodeoffset, name, &proplen); 83 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) argument 88 prop = fdt_get_property_w(fdt, nodeoffset, name, &len); 107 int fdt_nop_node(void *fdt, int nodeoffset) argument 111 endoffset = _fdt_node_end_offset(fdt, nodeoffset); 115 _fdt_nop_region(fdt_offset_ptr_w(fdt, nodeoffset, 0), 116 endoffset - nodeoffset);
|
H A D | fdt_ro.c | 201 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len) argument 203 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset); 207 || ((err = _fdt_check_node_offset(fdt, nodeoffset)) < 0)) 221 int fdt_first_property_offset(const void *fdt, int nodeoffset) argument 225 if ((offset = _fdt_check_node_offset(fdt, nodeoffset)) < 0) 285 int nodeoffset, 288 return fdt_get_property_namelen(fdt, nodeoffset, name, 292 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset, argument 297 prop = fdt_get_property_namelen(fdt, nodeoffset, name, namelen, lenp); 317 const void *fdt_getprop(const void *fdt, int nodeoffset, argument 284 fdt_get_property(const void *fdt, int nodeoffset, const char *name, int *lenp) argument 323 fdt_get_phandle(const void *fdt, int nodeoffset) argument 357 fdt_get_path(const void *fdt, int nodeoffset, char *buf, int buflen) argument 409 fdt_supernode_atdepth_offset(const void *fdt, int nodeoffset, int supernodedepth, int *nodedepth) argument 445 fdt_node_depth(const void *fdt, int nodeoffset) argument 456 fdt_parent_offset(const void *fdt, int nodeoffset) argument 536 fdt_node_check_compatible(const void *fdt, int nodeoffset, const char *compatible) argument [all...] |
H A D | fdt_rw.c | 205 static int _fdt_resize_property(void *fdt, int nodeoffset, const char *name, argument 211 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); 223 static int _fdt_add_property(void *fdt, int nodeoffset, const char *name, argument 231 if ((nextoffset = _fdt_check_node_offset(fdt, nodeoffset)) < 0) 251 int fdt_set_name(void *fdt, int nodeoffset, const char *name) argument 259 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen); 274 int fdt_setprop(void *fdt, int nodeoffset, const char *name, argument 282 err = _fdt_resize_property(fdt, nodeoffset, name, len, &prop); 284 err = _fdt_add_property(fdt, nodeoffset, name, len, &prop); 292 int fdt_appendprop(void *fdt, int nodeoffset, cons argument 319 fdt_delprop(void *fdt, int nodeoffset, const char *name) argument 380 fdt_del_node(void *fdt, int nodeoffset) argument [all...] |
H A D | libfdt_internal.h | 68 int _fdt_node_end_offset(void *fdt, int nodeoffset);
|
/freebsd-11.0-release/contrib/dtc/ |
H A D | fdtput.c | 153 static char *realloc_property(char *fdt, int nodeoffset, argument 159 if (!fdt_get_property(fdt, nodeoffset, name, &oldlen))
|
/freebsd-11.0-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-helper-board.c | 1531 int nodeoffset; local 1539 nodeoffset = fdt_path_offset(fdt_addr, "/soc/uctl"); 1540 if (nodeoffset < 0) 1541 nodeoffset = fdt_path_offset(fdt_addr, "/soc/usbn"); 1543 if (nodeoffset >= 0) 1545 nodep = fdt_getprop(fdt_addr, nodeoffset, "refclk-type", &len); 1550 nodep = fdt_getprop(fdt_addr, nodeoffset, "refclk-frequency", &len);
|
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libuutil/common/ |
H A D | uu_avl.c | 66 uu_avl_pool_create(const char *name, size_t objsize, size_t nodeoffset, argument 73 nodeoffset + sizeof (uu_avl_node_t) > objsize || 91 pp->uap_nodeoffset = nodeoffset;
|
H A D | uu_list.c | 64 size_t nodeoffset, uu_compare_fn_t *compare_func, uint32_t flags) 70 nodeoffset + sizeof (uu_list_node_t) > objsize) { 87 pp->ulp_nodeoffset = nodeoffset; 63 uu_list_pool_create(const char *name, size_t objsize, size_t nodeoffset, uu_compare_fn_t *compare_func, uint32_t flags) argument
|