Searched refs:USB_DT_STRING (Results 1 – 15 of 15) sorted by relevance
/Linux-v5.10/drivers/usb/gadget/ |
D | usbstring.c | 44 buf [1] = USB_DT_STRING; in usb_gadget_get_string() 64 buf [1] = USB_DT_STRING; in usb_gadget_get_string()
|
D | composite.c | 1139 s->bDescriptorType = USB_DT_STRING; in get_string() 1175 b->bDescriptorType = USB_DT_STRING; in get_string() 1706 case USB_DT_STRING: in composite_setup()
|
/Linux-v5.10/drivers/usb/early/ |
D | xhci-dbc.c | 272 s_desc->bDescriptorType = USB_DT_STRING; in xdbc_mem_init() 281 s_desc->bDescriptorType = USB_DT_STRING; in xdbc_mem_init() 290 s_desc->bDescriptorType = USB_DT_STRING; in xdbc_mem_init() 298 strings->string0[1] = USB_DT_STRING; in xdbc_mem_init()
|
/Linux-v5.10/drivers/usb/host/ |
D | xhci-dbgcap.c | 52 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-v5.10/drivers/usb/common/ |
D | debug.c | 117 case USB_DT_STRING: in usb_decode_get_set_descriptor()
|
/Linux-v5.10/include/uapi/linux/usb/ |
D | ch9.h | 242 #define USB_DT_STRING 0x03 macro 275 #define USB_DT_CS_STRING (USB_TYPE_CLASS | USB_DT_STRING)
|
/Linux-v5.10/drivers/usb/gadget/udc/aspeed-vhub/ |
D | hub.c | 330 sdesc->bDescriptorType = USB_DT_STRING; in ast_vhub_collect_languages() 438 case USB_DT_STRING: in ast_vhub_std_hub_request()
|
/Linux-v5.10/drivers/usb/core/ |
D | message.c | 840 (USB_DT_STRING << 8) + index, langid, buf, size, in usb_get_string() 844 if (result > 1 && ((u8 *) buf)[1] != USB_DT_STRING) { in usb_get_string() 990 if (tbuf[1] != USB_DT_STRING) in usb_string()
|
D | hcd.c | 412 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-v5.10/drivers/hid/ |
D | hid-uclogic-params.c | 85 (USB_DT_STRING << 8) + idx, in uclogic_params_get_str_desc()
|
D | hid-cp2112.c | 962 report.type = USB_DT_STRING; in pstr_store()
|
/Linux-v5.10/drivers/usb/serial/ |
D | io_edgeport.c | 449 if (!usb_get_descriptor(dev, USB_DT_STRING, Id, &StringDesc, 457 if (!usb_get_descriptor(dev, USB_DT_STRING, Id, pStringDesc,
|
/Linux-v5.10/drivers/usb/gadget/legacy/ |
D | inode.c | 1391 case USB_DT_STRING: in gadgetfs_setup()
|
/Linux-v5.10/drivers/usb/misc/ |
D | usbtest.c | 1323 req.wValue = cpu_to_le16(USB_DT_STRING << 8); in test_ctrl_queue()
|
/Linux-v5.10/drivers/usb/gadget/function/ |
D | f_fs.c | 2054 case USB_DT_STRING: in ffs_do_single_desc()
|