Home
last modified time | relevance | path

Searched refs:stroffset (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/scripts/dtc/libfdt/
Dfdt_ro.c34 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp) in fdt_get_string() argument
36 uint32_t absoffset = stroffset + fdt_off_dt_strings(fdt); in fdt_get_string()
51 if (stroffset < 0) in fdt_get_string()
54 if (stroffset >= fdt_size_dt_strings(fdt)) in fdt_get_string()
56 if ((fdt_size_dt_strings(fdt) - stroffset) < len) in fdt_get_string()
57 len = fdt_size_dt_strings(fdt) - stroffset; in fdt_get_string()
60 if ((stroffset >= 0) in fdt_get_string()
61 || (stroffset < -fdt_size_dt_strings(fdt))) in fdt_get_string()
63 if ((-stroffset) < len) in fdt_get_string()
64 len = -stroffset; in fdt_get_string()
[all …]
Dlibfdt.h335 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp);
349 const char *fdt_string(const void *fdt, int stroffset);