• Home
  • Raw
  • Download

Lines Matching refs:model

23 	char model[16];  member
52 char *model; member
337 static int scsi_dev_info_list_add(int compatible, char *vendor, char *model, in scsi_dev_info_list_add() argument
340 return scsi_dev_info_list_add_keyed(compatible, vendor, model, in scsi_dev_info_list_add()
363 int scsi_dev_info_list_add_keyed(int compatible, char *vendor, char *model, in scsi_dev_info_list_add_keyed() argument
381 scsi_strcpy_devinfo("model", devinfo->model, sizeof(devinfo->model), in scsi_dev_info_list_add_keyed()
382 model, compatible); in scsi_dev_info_list_add_keyed()
415 const char *model, int key) in scsi_dev_info_list_find() argument
446 mmax = sizeof(devinfo->model); in scsi_dev_info_list_find()
447 mskip = model; in scsi_dev_info_list_find()
465 if (memcmp(devinfo->model, mskip, mmax) || in scsi_dev_info_list_find()
466 (mmax < sizeof(devinfo->model) && in scsi_dev_info_list_find()
467 devinfo->model[mmax])) in scsi_dev_info_list_find()
473 !memcmp(devinfo->model, model, in scsi_dev_info_list_find()
474 sizeof(devinfo->model))) in scsi_dev_info_list_find()
494 int scsi_dev_info_list_del_keyed(char *vendor, char *model, int key) in scsi_dev_info_list_del_keyed() argument
498 found = scsi_dev_info_list_find(vendor, model, key); in scsi_dev_info_list_del_keyed()
522 char *vendor, *model, *strflags, *next; in scsi_dev_info_list_add_str() local
544 model = strsep(&next, ":"); in scsi_dev_info_list_add_str()
545 if (model) in scsi_dev_info_list_add_str()
547 if (!model || !strflags) { in scsi_dev_info_list_add_str()
549 " '%s'\n", __func__, vendor, model, in scsi_dev_info_list_add_str()
554 model, strflags, 0); in scsi_dev_info_list_add_str()
573 const unsigned char *model) in scsi_get_device_flags() argument
575 return scsi_get_device_flags_keyed(sdev, vendor, model, in scsi_get_device_flags()
595 const unsigned char *model, in scsi_get_device_flags_keyed() argument
600 devinfo = scsi_dev_info_list_find(vendor, model, key); in scsi_get_device_flags_keyed()
636 devinfo->vendor, devinfo->model, devinfo->flags); in devinfo_seq_show()
861 scsi_static_device_list[i].model, in scsi_init_devinfo()