Searched refs:FDT_MODEL_LEN (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/dev/ofw/ |
H A D | ofw_fdt.c | 106 #define FDT_MODEL_LEN 80 macro 111 static char fdt_model[FDT_MODEL_LEN]; 137 FDT_MODEL_LEN, "System board model"); in sysctl_register_fdt_oid() 168 if (len > 0 && len <= FDT_MODEL_LEN) { in ofw_fdt_init() 169 bzero(fdt_model, FDT_MODEL_LEN); in ofw_fdt_init() 170 ofw_fdt_getprop(NULL, root, "model", fdt_model, FDT_MODEL_LEN); in ofw_fdt_init() 479 char model[FDT_MODEL_LEN]; in ofw_fdt_fixup() 490 bzero(model, FDT_MODEL_LEN); in ofw_fdt_fixup() 491 if (ofw_fdt_getprop(ofw, root, "model", model, FDT_MODEL_LEN) <= 0) in ofw_fdt_fixup() 499 FDT_MODEL_LEN) != 0) in ofw_fdt_fixup()
|