/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | hub.c | 147 static const struct usb_string ast_vhub_str_array[] = { 165 .strings = (struct usb_string *)ast_vhub_str_array 934 struct usb_string *str_array; in ast_vhub_str_container_alloc() 940 size += sizeof(struct usb_string) * AST_VHUB_STR_INDEX_MAX; in ast_vhub_str_container_alloc() 946 str_array = (struct usb_string *)(lang_str + 1); in ast_vhub_str_container_alloc() 954 struct usb_string *src_array = src->strings; in ast_vhub_str_deep_copy() 955 struct usb_string *dest_array = dest->strings; in ast_vhub_str_deep_copy() 1002 struct usb_string str_array[AST_VHUB_STR_INDEX_MAX]; in ast_vhub_of_parse_str_desc() 1004 .strings = (struct usb_string *)str_array, in ast_vhub_of_parse_str_desc()
|
/openbmc/u-boot/drivers/usb/emul/ |
H A D | usb-emul-uclass.c | 29 static int usb_emul_get_string(struct usb_string *strings, int index, in usb_emul_get_string() 41 struct usb_string *ptr; in usb_emul_get_string() 259 int usb_emul_setup_device(struct udevice *dev, struct usb_string *strings, in usb_emul_setup_device()
|
H A D | sandbox_keyb.c | 45 struct usb_string keyb_strings[STRINGID_COUNT]; 198 struct usb_string *fs; in sandbox_keyb_bind()
|
H A D | sandbox_flash.c | 69 struct usb_string flash_strings[STRINGID_COUNT]; 380 struct usb_string *fs; in sandbox_flash_bind()
|
/openbmc/linux/include/linux/usb/ |
H A D | composite.h | 482 struct usb_string *usb_strings; 504 struct usb_string *str); 505 extern struct usb_string *usb_gstrings_attach(struct usb_composite_dev *cdev,
|
H A D | gadget.h | 805 struct usb_string { struct 820 struct usb_string *strings; argument 838 struct usb_string usb_string; member
|
/openbmc/linux/drivers/usb/gadget/ |
H A D | usbstring.c | 38 struct usb_string *s; in usb_gadget_get_string()
|
H A D | configfs.c | 91 struct usb_string strings[USB_GADGET_FIRST_AVAIL_IDX]; 104 struct usb_string strings; 808 ret = sprintf(page, "%u\n", string->usb_string.id); in gadget_string_id_show() 870 string->usb_string.id = language->nstrings++; in gadget_language_string_make() 871 string->usb_string.s = string->string; in gadget_language_string_make() 894 string->usb_string.id = i++; in gadget_language_string_drop() 1601 static struct usb_string * 1609 struct usb_string *us; in configfs_attach_gadget_strings() 1627 struct usb_string *stringtab; in configfs_attach_gadget_strings() 1653 memcpy(&stringtab[j], &string->usb_string, sizeof(struct usb_string)); in configfs_attach_gadget_strings() [all …]
|
H A D | composite.c | 1412 int usb_string_ids_tab(struct usb_composite_dev *cdev, struct usb_string *str) in usb_string_ids_tab() 1435 struct usb_string *s; in copy_gadget_strings() 1444 mem += sizeof(struct usb_string) * (n_strings + 1) * (n_gstrings); in copy_gadget_strings() 1452 struct usb_string *org_s; in copy_gadget_strings() 1463 stash += sizeof(struct usb_string); in copy_gadget_strings() 1472 stash += sizeof(struct usb_string); in copy_gadget_strings() 1496 struct usb_string *usb_gstrings_attach(struct usb_composite_dev *cdev, in usb_gstrings_attach() 1521 struct usb_string *m_s; in usb_gstrings_attach() 1522 struct usb_string *s; in usb_gstrings_attach() 2347 struct usb_string *dev_str = gstr->strings; in __composite_unbind() [all …]
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | usbstring.c | 107 struct usb_string *s; in usb_gadget_get_string()
|
H A D | f_dfu.c | 33 struct usb_string *strings; 92 static struct usb_string strings_dfu_generic[] = { 628 f_dfu->strings = calloc(sizeof(struct usb_string), n + 1); in dfu_prepare_strings()
|
H A D | g_dnl.c | 75 static struct usb_string g_dnl_string_defs[] = {
|
/openbmc/u-boot/include/linux/usb/ |
H A D | composite.h | 343 struct usb_string *str);
|
/openbmc/u-boot/include/ |
H A D | usb.h | 277 int usb_string(struct usb_device *dev, int index, char *buf, size_t size); 626 struct usb_string *strings; 997 int usb_emul_setup_device(struct udevice *dev, struct usb_string *strings,
|
/openbmc/linux/drivers/usb/gadget/legacy/ |
H A D | tcm_usb_gadget.c | 43 static struct usb_string usbg_us_strings[] = {
|
H A D | gmidi.c | 88 static struct usb_string strings_dev[] = {
|
H A D | ncm.c | 71 static struct usb_string strings_dev[] = {
|
H A D | printer.c | 91 static struct usb_string strings [] = {
|
H A D | mass_storage.c | 65 static struct usb_string strings_dev[] = {
|
H A D | cdc2.c | 62 static struct usb_string strings_dev[] = {
|
H A D | acm_ms.c | 60 static struct usb_string strings_dev[] = {
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_subset.c | 235 static struct usb_string geth_string_defs[] = { 296 struct usb_string *us; in geth_bind()
|
H A D | f_obex.c | 52 static struct usb_string obex_string_defs[] = { 306 struct usb_string *us; in obex_bind()
|
/openbmc/u-boot/common/ |
H A D | usb.c | 796 int usb_string(struct usb_device *dev, int index, char *buf, size_t size) in usb_string() function 1136 usb_string(dev, dev->descriptor.iManufacturer, in usb_select_config() 1139 usb_string(dev, dev->descriptor.iProduct, in usb_select_config() 1142 usb_string(dev, dev->descriptor.iSerialNumber, in usb_select_config()
|
/openbmc/linux/sound/usb/caiaq/ |
H A D | device.c | 460 usb_string(usb_dev, usb_dev->descriptor.iManufacturer, in init_card() 463 usb_string(usb_dev, usb_dev->descriptor.iProduct, in init_card()
|