Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/gadget/
Dusbstring.c48 buf [1] = USB_DT_STRING; in usb_gadget_get_string()
68 buf [1] = USB_DT_STRING; in usb_gadget_get_string()
Dcomposite.c963 s->bDescriptorType = USB_DT_STRING; in get_string()
999 b->bDescriptorType = USB_DT_STRING; in get_string()
1525 case USB_DT_STRING: in composite_setup()
/linux-4.1.27/include/uapi/linux/usb/
Dch9.h213 #define USB_DT_STRING 0x03 macro
244 #define USB_DT_CS_STRING (USB_TYPE_CLASS | USB_DT_STRING)
/linux-4.1.27/drivers/hid/
Dhid-uclogic.c811 (USB_DT_STRING << 8) + 0x64, in uclogic_tablet_enable()
Dhid-cp2112.c850 report.type = USB_DT_STRING; in pstr_store()
/linux-4.1.27/drivers/usb/core/
Dmessage.c691 (USB_DT_STRING << 8) + index, langid, buf, size, in usb_get_string()
695 if (result > 1 && ((u8 *) buf)[1] != USB_DT_STRING) { in usb_get_string()
839 if (tbuf[1] != USB_DT_STRING) in usb_string()
Dhcd.c398 t += USB_DT_STRING << 8; /* Now t is first 16 bits to store */ in ascii2desc()
429 static char const langids[4] = {4, USB_DT_STRING, 0x09, 0x04}; in rh_string()
598 case USB_DT_STRING << 8: in rh_call_control()
/linux-4.1.27/drivers/usb/serial/
Dio_edgeport.c373 if (!usb_get_descriptor(dev, USB_DT_STRING, Id, &StringDesc,
381 if (!usb_get_descriptor(dev, USB_DT_STRING, Id, pStringDesc,
/linux-4.1.27/drivers/usb/gadget/legacy/
Dinode.c1367 case USB_DT_STRING: in gadgetfs_setup()
/linux-4.1.27/drivers/usb/misc/
Dusbtest.c1269 req.wValue = cpu_to_le16(USB_DT_STRING << 8); in test_ctrl_queue()
/linux-4.1.27/drivers/usb/gadget/function/
Df_fs.c1757 case USB_DT_STRING: in ffs_do_single_desc()