Searched refs:node (Results 1 – 3 of 3) sorted by relevance
/hafnium-2.8-rc0/src/ |
A D | fdt.c | 80 struct fdt_node *node) in fdt_find_node() argument 100 int s = fdt_address_cells(fdt_base(&node->fdt), node->offset); in fdt_address_size() 118 int s = fdt_size_cells(fdt_base(&node->fdt), node->offset); in fdt_size_size() 138 ptr = fdt_getprop(fdt_base(&node->fdt), node->offset, name, &lenp); in fdt_read_property() 207 int child_off = fdt_first_subnode(fdt_base(&node->fdt), node->offset); in fdt_first_child() 213 node->offset = child_off; in fdt_first_child() 224 int sib_off = fdt_next_subnode(fdt_base(&node->fdt), node->offset); in fdt_next_sibling() 230 node->offset = sib_off; in fdt_next_sibling() 240 struct fdt_node child = *node; in fdt_find_child() 261 node->offset = child.offset; in fdt_find_child() [all …]
|
A D | manifest.c | 157 if (!fdt_read_property(node, property, &data)) { in read_string() 176 ret = read_string(node, property, out); in read_optional_string() 190 if (!fdt_read_property(node, property, &data)) { in read_uint64() 207 ret = read_uint64(node, property, out); in read_optional_uint64() 221 TRY(read_uint64(node, property, &value)); in read_uint32() 237 ret = read_uint32(node, property, out); in read_optional_uint32() 251 TRY(read_uint64(node, property, &value)); in read_uint16() 267 ret = read_uint16(node, property, out); in read_optional_uint16() 281 TRY(read_uint64(node, property, &value)); in read_uint8() 297 ret = read_uint8(node, property, out); in read_optional_uint8() [all …]
|
/hafnium-2.8-rc0/inc/hf/ |
A D | fdt.h | 44 struct fdt_node *node); 45 bool fdt_is_compatible(struct fdt_node *node, const char *compat); 46 bool fdt_address_size(const struct fdt_node *node, size_t *addr_size); 47 bool fdt_size_size(const struct fdt_node *node, size_t *size); 49 bool fdt_first_child(struct fdt_node *node); 50 bool fdt_next_sibling(struct fdt_node *node); 51 bool fdt_find_child(struct fdt_node *node, const struct string *name); 53 bool fdt_read_property(const struct fdt_node *node, const char *name, 55 bool fdt_read_number(const struct fdt_node *node, const char *name,
|
Completed in 6 milliseconds