Searched refs:stroffset (Results 1 – 2 of 2) sorted by relevance
/linux/scripts/dtc/libfdt/ |
H A D | fdt_ro.c | 34 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp) in fdt_get_string() argument 43 s = (const char *)fdt + fdt_off_dt_strings(fdt) + stroffset; in fdt_get_string() 55 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 105 fdt_string_eq_(const void * fdt,int stroffset,const char * s,int len) fdt_string_eq_() argument [all...] |
H A D | libfdt.h | 342 * @stroffset: offset of the string within the strings block (native endian) 351 * NULL, if stroffset is out of bounds, or doesn't point to a valid string 353 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp); 358 * @stroffset: offset of the string within the strings block (native endian) 365 * NULL, if stroffset is out of bounds, or doesn't point to a valid string 367 const char *fdt_string(const void *fdt, int stroffset);
|