Searched refs:nodeoffset (Results 1 - 17 of 17) sorted by relevance

/freebsd-11-stable/contrib/dtc/libfdt/
H A Dfdt_wip.c58 int fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, argument
66 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen,
78 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, argument
84 propval = fdt_getprop(fdt, nodeoffset, name, &proplen);
91 return fdt_setprop_inplace_namelen_partial(fdt, nodeoffset, name,
104 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) argument
109 prop = fdt_get_property_w(fdt, nodeoffset, name, &len);
128 int fdt_nop_node(void *fdt, int nodeoffset) argument
132 endoffset = _fdt_node_end_offset(fdt, nodeoffset);
136 _fdt_nop_region(fdt_offset_ptr_w(fdt, nodeoffset,
[all...]
H A Dfdt_addresses.c58 int fdt_address_cells(const void *fdt, int nodeoffset) argument
64 ac = fdt_getprop(fdt, nodeoffset, "#address-cells", &len);
78 int fdt_size_cells(const void *fdt, int nodeoffset) argument
84 sc = fdt_getprop(fdt, nodeoffset, "#size-cells", &len);
H A Dlibfdt.h424 * @nodeoffset: structure block offset of the starting node
428 * device tree node at structure block offset nodeoffset. If lenp is
438 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE
444 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
449 * @nodeoffset: structure block offset of a node
457 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_BEGIN_NODE tag
464 int fdt_first_property_offset(const void *fdt, int nodeoffset);
478 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_PROP tag
531 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_PROP tag
545 * @nodeoffset
588 fdt_get_property_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument
643 fdt_getprop_namelen_w(void *fdt, int nodeoffset, const char *name, int namelen, int *lenp) argument
681 fdt_getprop_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument
1173 fdt_setprop_inplace_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1208 fdt_setprop_inplace_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument
1220 fdt_setprop_inplace_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1446 fdt_setprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1481 fdt_setprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument
1493 fdt_setprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1618 fdt_appendprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1653 fdt_appendprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument
1665 fdt_appendprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
[all...]
H A Dfdt_ro.c233 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len) argument
235 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset);
239 || ((err = _fdt_check_node_offset(fdt, nodeoffset)) < 0))
253 int fdt_first_property_offset(const void *fdt, int nodeoffset) argument
257 if ((offset = _fdt_check_node_offset(fdt, nodeoffset)) < 0)
317 int nodeoffset,
320 return fdt_get_property_namelen(fdt, nodeoffset, name,
324 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset, argument
329 prop = fdt_get_property_namelen(fdt, nodeoffset, name, namelen, lenp);
349 const void *fdt_getprop(const void *fdt, int nodeoffset, argument
316 fdt_get_property(const void *fdt, int nodeoffset, const char *name, int *lenp) argument
355 fdt_get_phandle(const void *fdt, int nodeoffset) argument
389 fdt_get_path(const void *fdt, int nodeoffset, char *buf, int buflen) argument
441 fdt_supernode_atdepth_offset(const void *fdt, int nodeoffset, int supernodedepth, int *nodedepth) argument
477 fdt_node_depth(const void *fdt, int nodeoffset) argument
488 fdt_parent_offset(const void *fdt, int nodeoffset) argument
567 fdt_stringlist_count(const void *fdt, int nodeoffset, const char *property) argument
592 fdt_stringlist_search(const void *fdt, int nodeoffset, const char *property, const char *string) argument
622 fdt_stringlist_get(const void *fdt, int nodeoffset, const char *property, int idx, int *lenp) argument
667 fdt_node_check_compatible(const void *fdt, int nodeoffset, const char *compatible) argument
[all...]
H A Dfdt_rw.c203 static int _fdt_resize_property(void *fdt, int nodeoffset, const char *name, argument
209 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen);
221 static int _fdt_add_property(void *fdt, int nodeoffset, const char *name, argument
229 if ((nextoffset = _fdt_check_node_offset(fdt, nodeoffset)) < 0)
249 int fdt_set_name(void *fdt, int nodeoffset, const char *name) argument
257 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen);
272 int fdt_setprop(void *fdt, int nodeoffset, const char *name, argument
280 err = _fdt_resize_property(fdt, nodeoffset, name, len, &prop);
282 err = _fdt_add_property(fdt, nodeoffset, name, len, &prop);
291 int fdt_appendprop(void *fdt, int nodeoffset, cons argument
318 fdt_delprop(void *fdt, int nodeoffset, const char *name) argument
379 fdt_del_node(void *fdt, int nodeoffset) argument
[all...]
H A Dlibfdt_internal.h68 int _fdt_node_end_offset(void *fdt, int nodeoffset);
/freebsd-11-stable/sys/contrib/libfdt/
H A Dfdt_wip.c58 int fdt_setprop_inplace_namelen_partial(void *fdt, int nodeoffset, argument
66 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen,
78 int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name, argument
84 propval = fdt_getprop(fdt, nodeoffset, name, &proplen);
91 return fdt_setprop_inplace_namelen_partial(fdt, nodeoffset, name,
104 int fdt_nop_property(void *fdt, int nodeoffset, const char *name) argument
109 prop = fdt_get_property_w(fdt, nodeoffset, name, &len);
128 int fdt_nop_node(void *fdt, int nodeoffset) argument
132 endoffset = fdt_node_end_offset_(fdt, nodeoffset);
136 fdt_nop_region_(fdt_offset_ptr_w(fdt, nodeoffset,
[all...]
H A Dfdt_addresses.c58 int fdt_address_cells(const void *fdt, int nodeoffset) argument
64 ac = fdt_getprop(fdt, nodeoffset, "#address-cells", &len);
78 int fdt_size_cells(const void *fdt, int nodeoffset) argument
84 sc = fdt_getprop(fdt, nodeoffset, "#size-cells", &len);
H A Dlibfdt.h429 * @nodeoffset: structure block offset of the starting node
433 * device tree node at structure block offset nodeoffset. If lenp is
443 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE
449 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
454 * @nodeoffset: structure block offset of a node
462 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_BEGIN_NODE tag
469 int fdt_first_property_offset(const void *fdt, int nodeoffset);
483 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_PROP tag
539 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_PROP tag
553 * @nodeoffset
598 fdt_get_property_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument
656 fdt_getprop_namelen_w(void *fdt, int nodeoffset, const char *name, int namelen, int *lenp) argument
695 fdt_getprop_w(void *fdt, int nodeoffset, const char *name, int *lenp) argument
1193 fdt_setprop_inplace_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1228 fdt_setprop_inplace_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument
1240 fdt_setprop_inplace_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1513 fdt_setprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1548 fdt_setprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument
1560 fdt_setprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1685 fdt_appendprop_u32(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
1720 fdt_appendprop_u64(void *fdt, int nodeoffset, const char *name, uint64_t val) argument
1732 fdt_appendprop_cell(void *fdt, int nodeoffset, const char *name, uint32_t val) argument
[all...]
H A Dfdt_ro.c234 const char *fdt_get_name(const void *fdt, int nodeoffset, int *len) argument
236 const struct fdt_node_header *nh = fdt_offset_ptr_(fdt, nodeoffset);
241 || ((err = fdt_check_node_offset_(fdt, nodeoffset)) < 0))
272 int fdt_first_property_offset(const void *fdt, int nodeoffset) argument
276 if ((offset = fdt_check_node_offset_(fdt, nodeoffset)) < 0)
376 int nodeoffset,
379 return fdt_get_property_namelen(fdt, nodeoffset, name,
383 const void *fdt_getprop_namelen(const void *fdt, int nodeoffset, argument
389 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp,
419 const void *fdt_getprop(const void *fdt, int nodeoffset, argument
375 fdt_get_property(const void *fdt, int nodeoffset, const char *name, int *lenp) argument
425 fdt_get_phandle(const void *fdt, int nodeoffset) argument
459 fdt_get_path(const void *fdt, int nodeoffset, char *buf, int buflen) argument
511 fdt_supernode_atdepth_offset(const void *fdt, int nodeoffset, int supernodedepth, int *nodedepth) argument
547 fdt_node_depth(const void *fdt, int nodeoffset) argument
558 fdt_parent_offset(const void *fdt, int nodeoffset) argument
637 fdt_stringlist_count(const void *fdt, int nodeoffset, const char *property) argument
662 fdt_stringlist_search(const void *fdt, int nodeoffset, const char *property, const char *string) argument
692 fdt_stringlist_get(const void *fdt, int nodeoffset, const char *property, int idx, int *lenp) argument
737 fdt_node_check_compatible(const void *fdt, int nodeoffset, const char *compatible) argument
[all...]
H A Dfdt_rw.c203 static int fdt_resize_property_(void *fdt, int nodeoffset, const char *name, argument
209 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen);
221 static int fdt_add_property_(void *fdt, int nodeoffset, const char *name, argument
229 if ((nextoffset = fdt_check_node_offset_(fdt, nodeoffset)) < 0)
249 int fdt_set_name(void *fdt, int nodeoffset, const char *name) argument
257 namep = (char *)(uintptr_t)fdt_get_name(fdt, nodeoffset, &oldlen);
272 int fdt_setprop_placeholder(void *fdt, int nodeoffset, const char *name, argument
280 err = fdt_resize_property_(fdt, nodeoffset, name, len, &prop);
282 err = fdt_add_property_(fdt, nodeoffset, name, len, &prop);
290 int fdt_setprop(void *fdt, int nodeoffset, cons argument
305 fdt_appendprop(void *fdt, int nodeoffset, const char *name, const void *val, int len) argument
332 fdt_delprop(void *fdt, int nodeoffset, const char *name) argument
393 fdt_del_node(void *fdt, int nodeoffset) argument
[all...]
H A Dlibfdt_internal.h68 int fdt_node_end_offset_(void *fdt, int nodeoffset);
H A Dfdt_overlay.c695 static int get_path_len(const void *fdt, int nodeoffset) argument
703 name = fdt_get_name(fdt, nodeoffset, &namelen);
711 nodeoffset = fdt_parent_offset(fdt, nodeoffset);
712 if (nodeoffset < 0)
713 return nodeoffset;
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-helper-board.c1533 int nodeoffset; local
1541 nodeoffset = fdt_path_offset(fdt_addr, "/soc/uctl");
1542 if (nodeoffset < 0)
1543 nodeoffset = fdt_path_offset(fdt_addr, "/soc/usbn");
1545 if (nodeoffset >= 0)
1547 nodep = fdt_getprop(fdt_addr, nodeoffset, "refclk-type", &len);
1552 nodep = fdt_getprop(fdt_addr, nodeoffset, "refclk-frequency", &len);
/freebsd-11-stable/contrib/dtc/
H A Dfdtput.c150 static char *realloc_property(char *fdt, int nodeoffset, argument
156 if (!fdt_get_property(fdt, nodeoffset, name, &oldlen))
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libuutil/common/
H A Duu_avl.c66 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 Duu_list.c64 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

Completed in 215 milliseconds