Home
last modified time | relevance | path

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

/freebsd/sys/dev/ofw/
H A Dofw_fdt.c107 #define FDT_COMPAT_LEN 255 macro
112 static char fdt_compatible[FDT_COMPAT_LEN];
141 FDT_COMPAT_LEN, "Compatible platforms"); in sysctl_register_fdt_oid()
173 if (len > 0 && len <= FDT_COMPAT_LEN) { in ofw_fdt_init()
174 bzero(fdt_compatible, FDT_COMPAT_LEN); in ofw_fdt_init()
176 FDT_COMPAT_LEN); in ofw_fdt_init()
/freebsd/sys/dev/fdt/
H A Dfdt_common.c57 #define FDT_COMPAT_LEN 255 macro
237 char compat[FDT_COMPAT_LEN]; in fdt_is_compatible_strict()
242 if (OF_getprop(node, "compatible", compat, FDT_COMPAT_LEN) < 0) in fdt_is_compatible_strict()
245 if (strncasecmp(compat, compatible, FDT_COMPAT_LEN) == 0) in fdt_is_compatible_strict()