Home
last modified time | relevance | path

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

123

/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c136 static const struct usb_string ast_vhub_str_array[] = {
154 .strings = (struct usb_string *)ast_vhub_str_array
904 struct usb_string *str_array; in ast_vhub_str_container_alloc()
910 size += sizeof(struct usb_string) * AST_VHUB_STR_INDEX_MAX; in ast_vhub_str_container_alloc()
916 str_array = (struct usb_string *)(lang_str + 1); in ast_vhub_str_container_alloc()
924 struct usb_string *src_array = src->strings; in ast_vhub_str_deep_copy()
925 struct usb_string *dest_array = dest->strings; in ast_vhub_str_deep_copy()
972 struct usb_string str_array[AST_VHUB_STR_INDEX_MAX]; in ast_vhub_of_parse_str_desc()
974 .strings = (struct usb_string *)str_array, in ast_vhub_of_parse_str_desc()
/drivers/usb/gadget/
Dcomposite.c1339 int usb_string_ids_tab(struct usb_composite_dev *cdev, struct usb_string *str) in usb_string_ids_tab()
1362 struct usb_string *s; in copy_gadget_strings()
1371 mem += sizeof(struct usb_string) * (n_strings + 1) * (n_gstrings); in copy_gadget_strings()
1379 struct usb_string *org_s; in copy_gadget_strings()
1390 stash += sizeof(struct usb_string); in copy_gadget_strings()
1399 stash += sizeof(struct usb_string); in copy_gadget_strings()
1423 struct usb_string *usb_gstrings_attach(struct usb_composite_dev *cdev, in usb_gstrings_attach()
1448 struct usb_string *m_s; in usb_gstrings_attach()
1449 struct usb_string *s; in usb_gstrings_attach()
2180 struct usb_string *dev_str = gstr->strings; in __composite_unbind()
[all …]
Dusbstring.c38 struct usb_string *s; in usb_gadget_get_string()
/drivers/usb/gadget/function/
Df_subset.c235 static struct usb_string geth_string_defs[] = {
296 struct usb_string *us; in geth_bind()
Df_obex.c52 static struct usb_string obex_string_defs[] = {
306 struct usb_string *us; in obex_bind()
Df_eem.c154 static struct usb_string eem_string_defs[] = {
249 struct usb_string *us; in eem_bind()
Df_acm.c280 static struct usb_string acm_string_defs[] = {
612 struct usb_string *us; in acm_bind()
Df_ecm.c355 static struct usb_string ecm_string_defs[] = {
687 struct usb_string *us; in ecm_bind()
/drivers/usb/gadget/legacy/
Dtcm_usb_gadget.c43 static struct usb_string usbg_us_strings[] = {
Dncm.c71 static struct usb_string strings_dev[] = {
Dgmidi.c88 static struct usb_string strings_dev[] = {
Dprinter.c91 static struct usb_string strings [] = {
Dmass_storage.c65 static struct usb_string strings_dev[] = {
Dcdc2.c62 static struct usb_string strings_dev[] = {
Dacm_ms.c60 static struct usb_string strings_dev[] = {
Dserial.c44 static struct usb_string strings_dev[] = {
Dhid.c69 static struct usb_string strings_dev[] = {
Daudio.c116 static struct usb_string strings_dev[] = {
Dether.c172 static struct usb_string strings_dev[] = {
Dzero.c131 static struct usb_string strings_dev[] = {
Dmulti.c84 static struct usb_string strings_dev[] = {
/drivers/media/rc/
Dstreamzap.c383 && usb_string(usbdev, usbdev->descriptor.iManufacturer, in streamzap_probe()
388 && usb_string(usbdev, usbdev->descriptor.iProduct, in streamzap_probe()
/drivers/media/usb/uvc/
Duvc_driver.c862 usb_string(udev, buffer[24+p+2*n], unit->name, sizeof(unit->name)) < 0) in uvc_parse_vendor_control()
987 usb_string(udev, buffer[7], term->name, sizeof(term->name)) < 0) { in uvc_parse_standard_control()
1027 usb_string(udev, buffer[8], term->name, sizeof(term->name)) < 0) in uvc_parse_standard_control()
1050 usb_string(udev, buffer[5+p], unit->name, sizeof(unit->name)) < 0) in uvc_parse_standard_control()
1081 usb_string(udev, buffer[8+n], unit->name, sizeof(unit->name)) < 0) in uvc_parse_standard_control()
1110 usb_string(udev, buffer[23+p+n], unit->name, sizeof(unit->name)) < 0) in uvc_parse_standard_control()
2101 usb_string(udev, function, dev->name + len, in uvc_probe()
/drivers/hid/
Dhid-uclogic-params.c476 rc = usb_string(usb_dev, 123, str_buf, str_len); in uclogic_params_frame_init_v1_buttonpad()
747 rc = usb_string(udev, 201, ver_ptr, ver_len); in uclogic_params_huion_init()
/drivers/net/usb/
Dcx82310_eth.c151 if (usb_string(udev, udev->descriptor.iProduct, buf, sizeof(buf)) > 0 in cx82310_bind()

123