Lines Matching refs:vendor
23 char vendor[8]; member
51 char *vendor; member
325 static int scsi_dev_info_list_add(int compatible, char *vendor, char *model, in scsi_dev_info_list_add() argument
328 return scsi_dev_info_list_add_keyed(compatible, vendor, model, in scsi_dev_info_list_add()
351 int scsi_dev_info_list_add_keyed(int compatible, char *vendor, char *model, in scsi_dev_info_list_add_keyed() argument
368 scsi_strcpy_devinfo("vendor", devinfo->vendor, sizeof(devinfo->vendor), in scsi_dev_info_list_add_keyed()
369 vendor, compatible); in scsi_dev_info_list_add_keyed()
385 vendor, model, flags & __BLIST_UNUSED_MASK); in scsi_dev_info_list_add_keyed()
415 static struct scsi_dev_info_list *scsi_dev_info_list_find(const char *vendor, in scsi_dev_info_list_find() argument
437 vmax = sizeof(devinfo->vendor); in scsi_dev_info_list_find()
438 vskip = vendor; in scsi_dev_info_list_find()
462 if (vmax != strnlen(devinfo->vendor, in scsi_dev_info_list_find()
463 sizeof(devinfo->vendor)) || in scsi_dev_info_list_find()
464 memcmp(devinfo->vendor, vskip, vmax)) in scsi_dev_info_list_find()
476 if (!memcmp(devinfo->vendor, vendor, in scsi_dev_info_list_find()
477 sizeof(devinfo->vendor)) && in scsi_dev_info_list_find()
499 int scsi_dev_info_list_del_keyed(char *vendor, char *model, in scsi_dev_info_list_del_keyed() argument
504 found = scsi_dev_info_list_find(vendor, model, key); in scsi_dev_info_list_del_keyed()
528 char *vendor, *model, *strflags, *next; in scsi_dev_info_list_add_str() local
547 for (vendor = strsep(&next, ":"); vendor && (vendor[0] != '\0') in scsi_dev_info_list_add_str()
548 && (res == 0); vendor = strsep(&next, ":")) { in scsi_dev_info_list_add_str()
555 " '%s'\n", __func__, vendor, model, in scsi_dev_info_list_add_str()
559 res = scsi_dev_info_list_add(0 /* compatible */, vendor, in scsi_dev_info_list_add_str()
579 const unsigned char *vendor, in scsi_get_device_flags() argument
582 return scsi_get_device_flags_keyed(sdev, vendor, model, in scsi_get_device_flags()
601 const unsigned char *vendor, in scsi_get_device_flags_keyed() argument
607 devinfo = scsi_dev_info_list_find(vendor, model, key); in scsi_get_device_flags_keyed()
643 devinfo->vendor, devinfo->model, devinfo->flags); in devinfo_seq_show()
864 for (i = 0; scsi_static_device_list[i].vendor; i++) { in scsi_init_devinfo()
866 scsi_static_device_list[i].vendor, in scsi_init_devinfo()