Home
last modified time | relevance | path

Searched refs:nameoff (Results 1 – 24 of 24) sorted by relevance

/external/dtc/libfdt/
Dfdt_sw.c226 int nameoff; in fdt_property_placeholder() local
230 nameoff = _fdt_find_add_string(fdt, name); in fdt_property_placeholder()
231 if (nameoff == 0) in fdt_property_placeholder()
239 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_property_placeholder()
285 int nameoff; in fdt_finish() local
287 nameoff = fdt32_to_cpu(prop->nameoff); in fdt_finish()
288 nameoff += fdt_size_dt_strings(fdt); in fdt_finish()
289 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_finish()
Dfdt.h89 fdt32_t nameoff; member
Dfdt_ro.c306 if (_fdt_string_eq(fdt, fdt32_to_cpu(prop->nameoff), in fdt_get_property_namelen()
345 *namep = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in fdt_getprop_by_offset()
Dfdt_rw.c244 (*prop)->nameoff = cpu_to_fdt32(namestroff); in _fdt_add_property()
/external/u-boot/scripts/dtc/libfdt/
Dfdt_sw.c226 int nameoff; in fdt_property_placeholder() local
230 nameoff = fdt_find_add_string_(fdt, name); in fdt_property_placeholder()
231 if (nameoff == 0) in fdt_property_placeholder()
239 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_property_placeholder()
285 int nameoff; in fdt_finish() local
287 nameoff = fdt32_to_cpu(prop->nameoff); in fdt_finish()
288 nameoff += fdt_size_dt_strings(fdt); in fdt_finish()
289 prop->nameoff = cpu_to_fdt32(nameoff); in fdt_finish()
Dfdt.h89 fdt32_t nameoff; member
Dfdt_ro.c343 if (fdt_string_eq_(fdt, fdt32_to_cpu(prop->nameoff), in fdt_get_property_namelen_()
410 *namep = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in fdt_getprop_by_offset()
Dfdt_rw.c244 (*prop)->nameoff = cpu_to_fdt32(namestroff); in fdt_add_property_()
/external/dtc/tests/
Dtestutils.c92 uint32_t tag, nameoff, proplen; in check_property() local
103 nameoff = fdt32_to_cpu(prop->nameoff); in check_property()
109 propname = fdt_string(fdt, nameoff); in check_property()
Ddtbs_equal_ordered.c126 name1 = fdt_string(fdt1, fdt32_to_cpu(prop1->nameoff)); in compare_structure()
127 name2 = fdt_string(fdt2, fdt32_to_cpu(prop2->nameoff)); in compare_structure()
/external/kmod/libkmod/
Dlibkmod-elf.c64 uint32_t nameoff; /* offset in strings itself */ member
224 …info(const struct kmod_elf *elf, uint16_t idx, uint64_t *offset, uint64_t *size, uint32_t *nameoff) in elf_get_section_info() argument
233 *nameoff = 0; in elf_get_section_info()
244 *nameoff = READV(sh_name); in elf_get_section_info()
249 *nameoff = READV(sh_name); in elf_get_section_info()
261 idx, *offset, *size, *nameoff); in elf_get_section_info()
342 &elf->header.strings.nameoff) < 0) { in kmod_elf_new()
381 uint32_t nameoff; in elf_find_section() local
383 int err = elf_get_section_info(elf, i, &off, &size, &nameoff); in elf_find_section()
386 if (nameoff >= nameslen) in elf_find_section()
[all …]
/external/u-boot/tools/libfdt/
Dfdt_rw.c27 str = fdt_string(old, fdt32_to_cpu(old_prop->nameoff)); in fdt_remove_unused_strings()
31 new_prop->nameoff = cpu_to_fdt32(ret); in fdt_remove_unused_strings()
/external/u-boot/lib/libfdt/
Dfdt_region.c65 str = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in fdt_find_regions()
254 name = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in fdt_add_alias_regions()
496 str = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in fdt_next_region()
Dfdt_ro.c285 if (_fdt_string_eq(fdt, fdt32_to_cpu(prop->nameoff), in fdt_get_property_namelen()
324 *namep = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in fdt_getprop_by_offset()
/external/u-boot/lib/efi_selftest/
Defi_selftest_fdt.c79 const char *label = &strings[f2h(prop->nameoff)]; in get_property()
/external/dtc/
Dflattree.c271 int nameoff; in flatten_tree() local
276 nameoff = stringtable_insert(strbuf, prop->name); in flatten_tree()
280 emit->cell(etarget, nameoff); in flatten_tree()
Dfdtget.c134 name = fdt_string(blob, fdt32_to_cpu(data->nameoff)); in list_properties()
/external/u-boot/scripts/dtc/
Dflattree.c271 int nameoff; in flatten_tree() local
276 nameoff = stringtable_insert(strbuf, prop->name); in flatten_tree()
280 emit->cell(etarget, nameoff); in flatten_tree()
/external/dtc/pylibfdt/
Dlibfdt.i401 fdt_string(fdt1, fdt32_to_cpu($1->nameoff)));
/external/u-boot/tools/
Dfdtgrep.c344 name = fdt_string(blob, fdt32_to_cpu(prop->nameoff)); in display_fdt_by_regions()
622 str = fdt_string(fdt, fdt32_to_cpu(prop->nameoff)); in h_include()
/external/u-boot/cmd/
Dfdt.c1028 fdt32_to_cpu(fdt_prop->nameoff)); in fdt_print()
/external/u-boot/scripts/dtc/pylibfdt/
Dlibfdt.i_shipped416 fdt_string(fdt1, fdt32_to_cpu($1->nameoff)));
/external/iproute2/misc/
Dss.c415 int nameoff; in user_ent_hash_build() local
433 nameoff = strlen(name); in user_ent_hash_build()
453 snprintf(name + nameoff, sizeof(name) - nameoff, "%d/fd/", pid); in user_ent_hash_build()
/external/u-boot/lib/
Dfdtdec.c446 path = fdt_string(blob, fdt32_to_cpu(prop->nameoff)); in fdtdec_add_aliases_for_id()