Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/
H A Dusbstring.c44 buf [1] = USB_DT_STRING; in usb_gadget_get_string()
64 buf [1] = USB_DT_STRING; in usb_gadget_get_string()
H A Dcomposite.c1288 s->bDescriptorType = USB_DT_STRING; in get_string()
1324 b->bDescriptorType = USB_DT_STRING; in get_string()
1868 case USB_DT_STRING: in composite_setup()
/linux/drivers/usb/early/
H A 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/include/uapi/linux/usb/
H A Dch9.h239 #define USB_DT_STRING 0x03 macro
275 #define USB_DT_CS_STRING (USB_TYPE_CLASS | USB_DT_STRING)
/linux/drivers/usb/host/
H A Dxhci-dbgcap.c67 s_desc->bDescriptorType = USB_DT_STRING; in xhci_dbc_populate_strings()
78 s_desc->bDescriptorType = USB_DT_STRING; in xhci_dbc_populate_strings()
90 s_desc->bDescriptorType = USB_DT_STRING; in xhci_dbc_populate_strings()
96 strings->string0[1] = USB_DT_STRING; in xhci_dbc_populate_strings()
/linux/drivers/usb/common/
H A Ddebug.c118 case USB_DT_STRING: in usb_decode_get_set_descriptor()
/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Dhub.c353 sdesc->bDescriptorType = USB_DT_STRING; in ast_vhub_collect_languages()
463 case USB_DT_STRING: in ast_vhub_std_hub_request()
/linux/drivers/usb/core/
H A Dmessage.c846 (USB_DT_STRING << 8) + index, langid, buf, size, in usb_get_string()
850 if (result > 1 && ((u8 *) buf)[1] != USB_DT_STRING) { in usb_get_string()
997 if (tbuf[1] != USB_DT_STRING) in usb_string()
H A Dhcd.c389 t += USB_DT_STRING << 8; /* Now t is first 16 bits to store */ in ascii2desc()
420 static char const langids[4] = {4, USB_DT_STRING, 0x09, 0x04}; in rh_string()
593 case USB_DT_STRING << 8: in rh_call_control()
/linux/drivers/hid/
H A Dhid-cp2112.c960 report.type = USB_DT_STRING; in pstr_store()
H A Dhid-uclogic-params.c178 (USB_DT_STRING << 8) + idx, in uclogic_params_get_str_desc()
/linux/drivers/usb/misc/
H A Dusbtest.c1323 req.wValue = cpu_to_le16(USB_DT_STRING << 8); in test_ctrl_queue()
/linux/drivers/usb/gadget/function/
H A Df_fs.c2519 case USB_DT_STRING: in ffs_do_single_desc()