Home
last modified time | relevance | path

Searched refs:fdtp (Results 1 – 5 of 5) sorted by relevance

/system/libufdt/
Dufdt_convert.c22 struct ufdt *ufdt_construct(void *fdtp, struct ufdt_node_pool *pool) { in ufdt_construct() argument
34 fdtps[0] = fdtp; in ufdt_construct()
41 res_ufdt->num_used_fdtps = (fdtp != NULL ? 1 : 0); in ufdt_construct()
63 int ufdt_add_fdt(struct ufdt *tree, void *fdtp) { in ufdt_add_fdt() argument
64 if (fdtp == NULL) { in ufdt_add_fdt()
81 tree->fdtps[i] = fdtp; in ufdt_add_fdt()
111 static struct ufdt_node *ufdt_new_node(void *fdtp, int node_offset, in ufdt_new_node() argument
113 if (fdtp == NULL) { in ufdt_new_node()
119 (fdt32_t *)fdt_offset_ptr(fdtp, node_offset, sizeof(fdt32_t)); in ufdt_new_node()
120 struct ufdt_node *res = ufdt_node_construct(fdtp, fdt_tag_ptr, pool); in ufdt_new_node()
[all …]
Dufdt_prop_dict.c54 const char *prop_name = fdt_string(dict->fdtp, fdt32_to_cpu(prop->nameoff)); in _ufdt_prop_dict_find_index_by_name()
64 const char *name = fdt_string(dict->fdtp, fdt32_to_cpu(prop->nameoff)); in _ufdt_prop_dict_find_index()
69 int _ufdt_prop_dict_construct_int(struct ufdt_prop_dict *dict, void *fdtp, in _ufdt_prop_dict_construct_int() argument
79 dict->fdtp = fdtp; in _ufdt_prop_dict_construct_int()
85 int ufdt_prop_dict_construct(struct ufdt_prop_dict *dict, void *fdtp) { in ufdt_prop_dict_construct() argument
86 return _ufdt_prop_dict_construct_int(dict, fdtp, UFDT_PROP_DICT_INIT_SZ); in ufdt_prop_dict_construct()
105 _ufdt_prop_dict_construct_int(&temp_dict, dict->fdtp, new_size); in _ufdt_prop_dict_enlarge_if_needed()
Dufdt_prop_dict.h25 void *fdtp; member
35 int ufdt_prop_dict_construct(struct ufdt_prop_dict *dict, void *fdtp);
Dufdt_node.c21 struct ufdt_node *ufdt_node_construct(void *fdtp, fdt32_t *fdt_tag_ptr, in ufdt_node_construct() argument
31 res->name = fdt_string(fdtp, fdt32_to_cpu(prop->nameoff)); in ufdt_node_construct()
/system/libufdt/include/
Dlibufdt.h36 struct ufdt_node *ufdt_node_construct(void *fdtp, fdt32_t *fdt_tag_ptr,
156 struct ufdt *ufdt_construct(void *fdtp, struct ufdt_node_pool *pool);
171 int ufdt_add_fdt(struct ufdt *tree, void *fdtp);
288 struct ufdt *ufdt_from_fdt(void *fdtp, size_t fdt_size,