Home
last modified time | relevance | path

Searched refs:usb_string (Results 1 – 25 of 91) sorted by relevance

1234

/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Dhub.c147 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 Dusb-emul-uclass.c29 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 Dsandbox_keyb.c45 struct usb_string keyb_strings[STRINGID_COUNT];
198 struct usb_string *fs; in sandbox_keyb_bind()
H A Dsandbox_flash.c69 struct usb_string flash_strings[STRINGID_COUNT];
380 struct usb_string *fs; in sandbox_flash_bind()
/openbmc/linux/include/linux/usb/
H A Dcomposite.h482 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 Dgadget.h805 struct usb_string { struct
820 struct usb_string *strings; argument
838 struct usb_string usb_string; member
/openbmc/linux/drivers/usb/gadget/
H A Dusbstring.c38 struct usb_string *s; in usb_gadget_get_string()
H A Dconfigfs.c91 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 Dcomposite.c1412 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 Dusbstring.c107 struct usb_string *s; in usb_gadget_get_string()
H A Df_dfu.c33 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 Dg_dnl.c75 static struct usb_string g_dnl_string_defs[] = {
/openbmc/u-boot/include/linux/usb/
H A Dcomposite.h343 struct usb_string *str);
/openbmc/u-boot/include/
H A Dusb.h277 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 Dtcm_usb_gadget.c43 static struct usb_string usbg_us_strings[] = {
H A Dgmidi.c88 static struct usb_string strings_dev[] = {
H A Dncm.c71 static struct usb_string strings_dev[] = {
H A Dprinter.c91 static struct usb_string strings [] = {
H A Dmass_storage.c65 static struct usb_string strings_dev[] = {
H A Dcdc2.c62 static struct usb_string strings_dev[] = {
H A Dacm_ms.c60 static struct usb_string strings_dev[] = {
/openbmc/linux/drivers/usb/gadget/function/
H A Df_subset.c235 static struct usb_string geth_string_defs[] = {
296 struct usb_string *us; in geth_bind()
H A Df_obex.c52 static struct usb_string obex_string_defs[] = {
306 struct usb_string *us; in obex_bind()
/openbmc/u-boot/common/
H A Dusb.c796 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 Ddevice.c460 usb_string(usb_dev, usb_dev->descriptor.iManufacturer, in init_card()
463 usb_string(usb_dev, usb_dev->descriptor.iProduct, in init_card()

1234