Lines Matching defs:model
8108 if (!strcmp(namebuf, "model")) {
8109 prop_buf = np->vpd.model;
8112 } else if (!strcmp(namebuf, "board-model")) {
8295 if ((!strcmp(np->vpd.model, NIU_QGC_LP_MDL_STR)) ||
8296 (!strcmp(np->vpd.model, NIU_QGC_PEM_MDL_STR)) ||
8297 (!strcmp(np->vpd.model, NIU_MARAMBA_MDL_STR)) ||
8298 (!strcmp(np->vpd.model, NIU_KIMI_MDL_STR)) ||
8299 (!strcmp(np->vpd.model, NIU_ALONSO_MDL_STR))) {
8301 } else if ((!strcmp(np->vpd.model, NIU_2XGF_LP_MDL_STR)) ||
8302 (!strcmp(np->vpd.model, NIU_2XGF_PEM_MDL_STR)) ||
8303 (!strcmp(np->vpd.model, NIU_FOXXY_MDL_STR)) ||
8304 (!strcmp(np->vpd.model, NIU_2XGF_MRVL_MDL_STR))) {
8324 if (!strcmp(np->vpd.model, NIU_ALONSO_MDL_STR) ||
8325 !strcmp(np->vpd.model, NIU_KIMI_MDL_STR)) {
8336 } else if (!strcmp(np->vpd.model, NIU_FOXXY_MDL_STR)) {
8480 np->vpd.model[i + 3] = (tmp >> 0) & 0xff;
8481 np->vpd.model[i + 2] = (tmp >> 8) & 0xff;
8482 np->vpd.model[i + 1] = (tmp >> 16) & 0xff;
8483 np->vpd.model[i + 0] = (tmp >> 24) & 0xff;
8485 np->vpd.model[val] = '\0';
8799 if (!strcmp(np->vpd.model, NIU_ALONSO_MDL_STR) ||
8800 !strcmp(np->vpd.model, NIU_KIMI_MDL_STR)) {
8809 } else if (!strcmp(np->vpd.model, NIU_FOXXY_MDL_STR)) {
9203 const char *model;
9245 model = of_get_property(dp, "model", &prop_len);
9247 if (model)
9248 strcpy(np->vpd.model, model);