Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/ofw/
H A Dofw_fdt.c108 #define FDT_COMPAT_LEN 255 macro
113 static char fdt_compatible[FDT_COMPAT_LEN];
142 FDT_COMPAT_LEN, "Compatible platforms"); in sysctl_register_fdt_oid()
174 if (len > 0 && len <= FDT_COMPAT_LEN) { in ofw_fdt_init()
175 bzero(fdt_compatible, FDT_COMPAT_LEN); in ofw_fdt_init()
177 FDT_COMPAT_LEN); in ofw_fdt_init()
/freebsd-14.2/sys/dev/fdt/
H A Dfdt_common.c58 #define FDT_COMPAT_LEN 255 macro
238 char compat[FDT_COMPAT_LEN]; in fdt_is_compatible_strict()
243 if (OF_getprop(node, "compatible", compat, FDT_COMPAT_LEN) < 0) in fdt_is_compatible_strict()
246 if (strncasecmp(compat, compatible, FDT_COMPAT_LEN) == 0) in fdt_is_compatible_strict()