Home
last modified time | relevance | path

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

/openbmc/linux/scripts/dtc/libfdt/
H A Dfdt_ro.c55 absoffset = stroffset + fdt_off_dt_strings(fdt); in fdt_get_string()
61 if (stroffset < 0) in fdt_get_string()
64 if ((unsigned)stroffset >= fdt_size_dt_strings(fdt)) in fdt_get_string()
66 if ((fdt_size_dt_strings(fdt) - stroffset) < len) in fdt_get_string()
67 len = fdt_size_dt_strings(fdt) - stroffset; in fdt_get_string()
70 unsigned int sw_stroffset = -stroffset; in fdt_get_string()
72 if ((stroffset >= 0) || in fdt_get_string()
100 const char *fdt_string(const void *fdt, int stroffset) in fdt_string() argument
102 return fdt_get_string(fdt, stroffset, NULL); in fdt_string()
105 static int fdt_string_eq_(const void *fdt, int stroffset, in fdt_string_eq_() argument
[all …]
H A Dlibfdt.h353 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp);
367 const char *fdt_string(const void *fdt, int stroffset);
/openbmc/u-boot/lib/libfdt/
H A Dfdt_ro.c37 const char *fdt_string(const void *fdt, int stroffset) in fdt_string() argument
39 return (const char *)fdt + fdt_off_dt_strings(fdt) + stroffset; in fdt_string()
42 static int _fdt_string_eq(const void *fdt, int stroffset, in _fdt_string_eq() argument
45 const char *p = fdt_string(fdt, stroffset); in _fdt_string_eq()
/openbmc/u-boot/scripts/dtc/libfdt/
H A Dfdt_ro.c79 const char *fdt_string(const void *fdt, int stroffset) in fdt_string() argument
81 return (const char *)fdt + fdt_off_dt_strings(fdt) + stroffset; in fdt_string()
84 static int fdt_string_eq_(const void *fdt, int stroffset, in fdt_string_eq_() argument
87 const char *p = fdt_string(fdt, stroffset); in fdt_string_eq_()
H A Dlibfdt.h299 const char *fdt_string(const void *fdt, int stroffset);