Home
last modified time | relevance | path

Searched refs:USB_DT_STRING (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/drivers/usb/gadget/
Dusbstring.c44 buf [1] = USB_DT_STRING; in usb_gadget_get_string()
64 buf [1] = USB_DT_STRING; in usb_gadget_get_string()
Dcomposite.c1194 s->bDescriptorType = USB_DT_STRING; in get_string()
1230 b->bDescriptorType = USB_DT_STRING; in get_string()
1774 case USB_DT_STRING: in composite_setup()
/linux-6.1.9/drivers/usb/early/
Dxhci-dbc.c279 s_desc->bDescriptorType = USB_DT_STRING; in xdbc_mem_init()
288 s_desc->bDescriptorType = USB_DT_STRING; in xdbc_mem_init()
297 s_desc->bDescriptorType = USB_DT_STRING; in xdbc_mem_init()
305 strings->string0[1] = USB_DT_STRING; in xdbc_mem_init()
/linux-6.1.9/drivers/usb/host/
Dxhci-dbgcap.c52 s_desc->bDescriptorType = USB_DT_STRING; in xhci_dbc_populate_strings()
63 s_desc->bDescriptorType = USB_DT_STRING; in xhci_dbc_populate_strings()
75 s_desc->bDescriptorType = USB_DT_STRING; in xhci_dbc_populate_strings()
81 strings->string0[1] = USB_DT_STRING; in xhci_dbc_populate_strings()
/linux-6.1.9/include/uapi/linux/usb/
Dch9.h242 #define USB_DT_STRING 0x03 macro
275 #define USB_DT_CS_STRING (USB_TYPE_CLASS | USB_DT_STRING)
/linux-6.1.9/drivers/usb/common/
Ddebug.c118 case USB_DT_STRING: in usb_decode_get_set_descriptor()
/linux-6.1.9/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c354 sdesc->bDescriptorType = USB_DT_STRING; in ast_vhub_collect_languages()
464 case USB_DT_STRING: in ast_vhub_std_hub_request()
/linux-6.1.9/drivers/usb/core/
Dmessage.c845 (USB_DT_STRING << 8) + index, langid, buf, size, in usb_get_string()
849 if (result > 1 && ((u8 *) buf)[1] != USB_DT_STRING) { in usb_get_string()
996 if (tbuf[1] != USB_DT_STRING) in usb_string()
Dhcd.c412 t += USB_DT_STRING << 8; /* Now t is first 16 bits to store */ in ascii2desc()
443 static char const langids[4] = {4, USB_DT_STRING, 0x09, 0x04}; in rh_string()
620 case USB_DT_STRING << 8: in rh_call_control()
/linux-6.1.9/drivers/hid/
Dhid-uclogic-params.c178 (USB_DT_STRING << 8) + idx, in uclogic_params_get_str_desc()
Dhid-cp2112.c970 report.type = USB_DT_STRING; in pstr_store()
/linux-6.1.9/drivers/usb/gadget/legacy/
Dinode.c1405 case USB_DT_STRING: in gadgetfs_setup()
/linux-6.1.9/drivers/usb/misc/
Dusbtest.c1323 req.wValue = cpu_to_le16(USB_DT_STRING << 8); in test_ctrl_queue()
/linux-6.1.9/drivers/usb/gadget/function/
Df_fs.c2101 case USB_DT_STRING: in ffs_do_single_desc()