Lines Matching refs:model
39 * The model value is expected to match the model in the flashprom node.
42 char *model;
169 check_timestamp(char *model, int tstamp)
174 for (ortp = obp_min_revs; ortp->model != NULL; ortp++) {
175 if (prom_strcmp(model, ortp->model) == 0) {
205 char vers[512], model[64];
208 static char model_name[] = "model";
216 (void) prom_getprop(node, OBP_NAME, model);
217 if (prom_strncmp(model, flashprom, sizeof (flashprom)) != 0)
231 if (plen <= 0 || plen > sizeof (model))
233 (void) prom_getprop(node, model_name, model);
234 model[plen] = '\0';
244 i = check_timestamp(model, tstamp);
254 * "model" value to be able to do this, so we can use it as
286 i = check_timestamp(model, tstamp);