Lines Matching refs:vendor
23 char vendor[8]; member
51 char *vendor; member
322 static int scsi_dev_info_list_add(int compatible, char *vendor, char *model, in scsi_dev_info_list_add() argument
325 return scsi_dev_info_list_add_keyed(compatible, vendor, model, in scsi_dev_info_list_add()
348 int scsi_dev_info_list_add_keyed(int compatible, char *vendor, char *model, in scsi_dev_info_list_add_keyed() argument
365 scsi_strcpy_devinfo("vendor", devinfo->vendor, sizeof(devinfo->vendor), in scsi_dev_info_list_add_keyed()
366 vendor, compatible); in scsi_dev_info_list_add_keyed()
382 vendor, model, flags & __BLIST_UNUSED_MASK); in scsi_dev_info_list_add_keyed()
412 static struct scsi_dev_info_list *scsi_dev_info_list_find(const char *vendor, in scsi_dev_info_list_find() argument
434 vmax = sizeof(devinfo->vendor); in scsi_dev_info_list_find()
435 vskip = vendor; in scsi_dev_info_list_find()
459 if (vmax != strnlen(devinfo->vendor, in scsi_dev_info_list_find()
460 sizeof(devinfo->vendor)) || in scsi_dev_info_list_find()
461 memcmp(devinfo->vendor, vskip, vmax)) in scsi_dev_info_list_find()
473 if (!memcmp(devinfo->vendor, vendor, in scsi_dev_info_list_find()
474 sizeof(devinfo->vendor)) && in scsi_dev_info_list_find()
496 int scsi_dev_info_list_del_keyed(char *vendor, char *model, in scsi_dev_info_list_del_keyed() argument
501 found = scsi_dev_info_list_find(vendor, model, key); in scsi_dev_info_list_del_keyed()
525 char *vendor, *model, *strflags, *next; in scsi_dev_info_list_add_str() local
544 for (vendor = strsep(&next, ":"); vendor && (vendor[0] != '\0') in scsi_dev_info_list_add_str()
545 && (res == 0); vendor = strsep(&next, ":")) { in scsi_dev_info_list_add_str()
552 " '%s'\n", __func__, vendor, model, in scsi_dev_info_list_add_str()
556 res = scsi_dev_info_list_add(0 /* compatible */, vendor, in scsi_dev_info_list_add_str()
575 const unsigned char *vendor, in scsi_get_device_flags() argument
578 return scsi_get_device_flags_keyed(sdev, vendor, model, in scsi_get_device_flags()
597 const unsigned char *vendor, in scsi_get_device_flags_keyed() argument
603 devinfo = scsi_dev_info_list_find(vendor, model, key); in scsi_get_device_flags_keyed()
639 devinfo->vendor, devinfo->model, devinfo->flags); in devinfo_seq_show()
860 for (i = 0; scsi_static_device_list[i].vendor; i++) { in scsi_init_devinfo()
862 scsi_static_device_list[i].vendor, in scsi_init_devinfo()