Searched refs:strlist (Results 1 - 6 of 6) sorted by relevance

/u-boot/arch/mips/mach-octeon/
H A Docteon_fdt.c601 const char *strlist; local
606 strlist = fdt_getprop(fdt, nodeoffset, "compatible", &listlen);
607 if (!strlist)
612 debug("%s(%p, %d, %s (%p)) strlist: %s (%p), len: %d\n", __func__, fdt, nodeoffset, vendor,
613 vendor, strlist, strlist, len);
615 debug(" Comparing %d bytes of %s and %s\n", len, vendor, strlist);
616 if ((memcmp(vendor, strlist, len) == 0) &&
617 ((strlist[len] == ',') || (strlist[le
650 octeon_fdt_node_check_compatible(const void *fdt, int node_offset, const char *const *strlist) argument
[all...]
/u-boot/arch/mips/mach-octeon/include/mach/
H A Docteon_fdt.h162 * @param[in] strlist Array of FDT devices to check, end must be NULL
166 int octeon_fdt_node_check_compatible(const void *fdt, int node_offset, const char *const *strlist);
H A Dcvmx-helper-fdt.h330 * @param[in] strlist Array of FDT device compatibility strings,
335 int cvmx_fdt_node_check_compatible_list(const void *fdt_addr, int node, const char *const *strlist);
342 * @param strlist Array of FDT device compatibility strings, must
348 const char *const *strlist);
/u-boot/scripts/dtc/libfdt/
H A Dfdt_ro.c705 int fdt_stringlist_contains(const char *strlist, int listlen, const char *str) argument
711 if (memcmp(str, strlist, len+1) == 0)
713 p = memchr(strlist, '\0', listlen);
715 return 0; /* malformed strlist.. */
716 listlen -= (p-strlist) + 1;
717 strlist = p + 1;
H A Dlibfdt.h1035 * @strlist: Property containing a list of strings to check
1045 int fdt_stringlist_contains(const char *strlist, int listlen, const char *str);
/u-boot/tools/
H A Dimage-host.c696 struct strlist { struct
701 static void strlist_init(struct strlist *list)
706 static void strlist_free(struct strlist *list)
715 static int strlist_add(struct strlist *list, const char *str)
766 struct strlist *node_inc, const char *conf_name,
840 * returning it as a string list (struct strlist, not a devicetree string list)
851 int sig_offset, struct strlist *node_inc)
958 struct strlist node_inc;

Completed in 109 milliseconds