Home
last modified time | relevance | path

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

/Linux-v4.19/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.c1070 s->bDescriptorType = USB_DT_STRING; in get_string()
1106 b->bDescriptorType = USB_DT_STRING; in get_string()
1637 case USB_DT_STRING: in composite_setup()
/Linux-v4.19/drivers/usb/host/
Dxhci-dbgcap.c50 s_desc->bDescriptorType = USB_DT_STRING; in xhci_dbc_populate_strings()
61 s_desc->bDescriptorType = USB_DT_STRING; in xhci_dbc_populate_strings()
73 s_desc->bDescriptorType = USB_DT_STRING; in xhci_dbc_populate_strings()
79 strings->string0[1] = USB_DT_STRING; in xhci_dbc_populate_strings()
/Linux-v4.19/drivers/usb/early/
Dxhci-dbc.c278 s_desc->bDescriptorType = USB_DT_STRING; in xdbc_mem_init()
287 s_desc->bDescriptorType = USB_DT_STRING; in xdbc_mem_init()
296 s_desc->bDescriptorType = USB_DT_STRING; in xdbc_mem_init()
304 strings->string0[1] = USB_DT_STRING; in xdbc_mem_init()
/Linux-v4.19/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-v4.19/drivers/usb/dwc3/
Ddebug.h318 case USB_DT_STRING: in dwc3_decode_get_set_descriptor()
/Linux-v4.19/drivers/hid/
Dhid-uclogic.c808 (USB_DT_STRING << 8) + 0x64, in uclogic_tablet_enable()
Dhid-cp2112.c969 report.type = USB_DT_STRING; in pstr_store()
/Linux-v4.19/drivers/usb/core/
Dmessage.c695 (USB_DT_STRING << 8) + index, langid, buf, size, in usb_get_string()
699 if (result > 1 && ((u8 *) buf)[1] != USB_DT_STRING) { in usb_get_string()
843 if (tbuf[1] != USB_DT_STRING) in usb_string()
Dhcd.c408 t += USB_DT_STRING << 8; /* Now t is first 16 bits to store */ in ascii2desc()
439 static char const langids[4] = {4, USB_DT_STRING, 0x09, 0x04}; in rh_string()
616 case USB_DT_STRING << 8: in rh_call_control()
/Linux-v4.19/drivers/usb/gadget/udc/aspeed-vhub/
Dhub.c396 case USB_DT_STRING: in ast_vhub_std_hub_request()
/Linux-v4.19/drivers/usb/serial/
Dio_edgeport.c449 if (!usb_get_descriptor(dev, USB_DT_STRING, Id, &StringDesc,
457 if (!usb_get_descriptor(dev, USB_DT_STRING, Id, pStringDesc,
/Linux-v4.19/drivers/usb/gadget/legacy/
Dinode.c1392 case USB_DT_STRING: in gadgetfs_setup()
/Linux-v4.19/drivers/usb/misc/
Dusbtest.c1315 req.wValue = cpu_to_le16(USB_DT_STRING << 8); in test_ctrl_queue()
/Linux-v4.19/drivers/usb/gadget/function/
Df_fs.c1981 case USB_DT_STRING: in ffs_do_single_desc()