• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/

Lines Matching refs:model

23 	char model[16];
52 char *model;
275 * devinfo vendor and model strings.
307 * @model: model (product) string
312 * Create and add one dev_info entry for @vendor, @model, @strflags or
319 static int scsi_dev_info_list_add(int compatible, char *vendor, char *model,
322 return scsi_dev_info_list_add_keyed(compatible, vendor, model,
331 * @model: model (product) string
337 * Create and add one dev_info entry for @vendor, @model,
345 int scsi_dev_info_list_add_keyed(int compatible, char *vendor, char *model,
363 scsi_strcpy_devinfo("model", devinfo->model, sizeof(devinfo->model),
364 model, compatible);
398 char *vendor, *model, *strflags, *next;
420 model = strsep(&next, ":");
421 if (model)
423 if (!model || !strflags) {
425 " '%s'\n", __func__, vendor, model,
430 model, strflags, 0);
439 * @model: model name
443 * for an entry matching @vendor and @model, if found, return the
449 const unsigned char *model)
451 return scsi_get_device_flags_keyed(sdev, vendor, model,
460 * @model: model name
465 * matching @vendor and @model, if found, return the matching
471 const unsigned char *model,
500 max = 16; /* max length of model */
501 while ((max > 0) && *model == ' ') {
503 model++;
505 if (memcmp(devinfo->model, model,
506 min(max, strlen(devinfo->model))))
512 !memcmp(devinfo->model, model,
513 sizeof(devinfo->model)))
549 devinfo->vendor, devinfo->model, devinfo->flags);
617 * Description: Adds a black/white list entry for vendor and model with an
619 * To use, echo "vendor:model:flag" > /proc/scsi/device_info
663 "Given scsi_dev_flags=vendor:model:flags[,v:m:f] add black/white"
664 " list entries for vendor and model with an integer value of flags"
774 scsi_static_device_list[i].model,