Searched refs:fdtp (Results 1 – 5 of 5) sorted by relevance
/system/libufdt/ |
D | ufdt_convert.c | 21 struct ufdt *ufdt_construct(void *fdtp) { in ufdt_construct() argument 31 fdtps[0] = fdtp; in ufdt_construct() 38 res_ufdt->num_used_fdtps = (fdtp != NULL ? 1 : 0); in ufdt_construct() 60 int ufdt_add_fdt(struct ufdt *tree, void *fdtp) { in ufdt_add_fdt() argument 61 if (fdtp == NULL) { in ufdt_add_fdt() 78 tree->fdtps[i] = fdtp; in ufdt_add_fdt() 108 static struct ufdt_node *ufdt_new_node(void *fdtp, int node_offset) { in ufdt_new_node() argument 109 if (fdtp == NULL) { in ufdt_new_node() 115 (fdt32_t *)fdt_offset_ptr(fdtp, node_offset, sizeof(fdt32_t)); in ufdt_new_node() 116 struct ufdt_node *res = ufdt_node_construct(fdtp, fdt_tag_ptr); in ufdt_new_node() [all …]
|
D | ufdt_prop_dict.c | 54 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()
|
D | ufdt_prop_dict.h | 25 void *fdtp; member 35 int ufdt_prop_dict_construct(struct ufdt_prop_dict *dict, void *fdtp);
|
D | ufdt_node.c | 37 struct ufdt_node *ufdt_node_construct(void *fdtp, fdt32_t *fdt_tag_ptr) { in ufdt_node_construct() argument 45 res->name = fdt_string(fdtp, fdt32_to_cpu(prop->nameoff)); in ufdt_node_construct()
|
/system/libufdt/include/ |
D | libufdt.h | 36 struct ufdt_node *ufdt_node_construct(void *fdtp, fdt32_t *fdt_tag_ptr); 155 struct ufdt *ufdt_construct(void *fdtp); 170 int ufdt_add_fdt(struct ufdt *tree, void *fdtp); 295 struct ufdt *fdt_to_ufdt(void *fdtp, size_t fdt_size);
|