Home
last modified time | relevance | path

Searched refs:inquiry_string (Results 1 – 5 of 5) sorted by relevance

/drivers/usb/gadget/function/
Dstorage_common.c372 return sprintf(buf, "%s\n", curlun->inquiry_string); in fsg_show_inquiry_string()
509 const size_t len = min(count, sizeof(curlun->inquiry_string)); in fsg_store_inquiry_string()
512 curlun->inquiry_string[0] = 0; in fsg_store_inquiry_string()
514 snprintf(curlun->inquiry_string, in fsg_store_inquiry_string()
515 sizeof(curlun->inquiry_string), "%-28s", buf); in fsg_store_inquiry_string()
516 if (curlun->inquiry_string[len-1] == '\n') in fsg_store_inquiry_string()
517 curlun->inquiry_string[len-1] = ' '; in fsg_store_inquiry_string()
Df_mass_storage.h93 char inquiry_string[INQUIRY_STRING_LEN]; member
Df_mass_storage.c317 char inquiry_string[INQUIRY_STRING_LEN]; member
1098 if (curlun->inquiry_string[0]) in do_inquiry()
1099 memcpy(buf + 8, curlun->inquiry_string, in do_inquiry()
1100 sizeof(curlun->inquiry_string)); in do_inquiry()
1102 memcpy(buf + 8, common->inquiry_string, in do_inquiry()
1103 sizeof(common->inquiry_string)); in do_inquiry()
2882 snprintf(common->inquiry_string, sizeof(common->inquiry_string), in fsg_common_set_inquiry_string()
3149 CONFIGFS_ATTR(fsg_lun_opts_, inquiry_string);
Dstorage_common.h122 char inquiry_string[INQUIRY_STRING_LEN]; member
/drivers/staging/rts5208/
Drtsx_scsi.c470 char *inquiry_string; in inquiry() local
488 inquiry_string = inquiry_sd; in inquiry()
490 inquiry_string = inquiry_ms; in inquiry()
493 inquiry_string = inquiry_sdms; in inquiry()
495 inquiry_string = inquiry_default; in inquiry()
526 strncpy(buf + 8, inquiry_string, sendbytes - 8); in inquiry()