Home
last modified time | relevance | path

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

12

/openbmc/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()
/openbmc/u-boot/drivers/usb/gadget/
H A Dusbstring.c116 buf[1] = USB_DT_STRING; in usb_gadget_get_string()
136 buf[1] = USB_DT_STRING; in usb_gadget_get_string()
H A Dcomposite.c541 s->bDescriptorType = USB_DT_STRING; in get_string()
772 case USB_DT_STRING: in composite_setup()
/openbmc/u-boot/drivers/serial/
H A Dusbtty.c94 static u8 wstrLang[4] = {4,USB_DT_STRING,0x9,0x4};
587 string->bDescriptorType = USB_DT_STRING; in usbtty_init_strings()
594 string->bDescriptorType = USB_DT_STRING; in usbtty_init_strings()
601 string->bDescriptorType = USB_DT_STRING; in usbtty_init_strings()
608 string->bDescriptorType = USB_DT_STRING; in usbtty_init_strings()
615 string->bDescriptorType = USB_DT_STRING; in usbtty_init_strings()
621 string->bDescriptorType = USB_DT_STRING; in usbtty_init_strings()
/openbmc/u-boot/drivers/usb/emul/
H A Dusb-emul-uclass.c19 buff[1] = USB_DT_STRING; in copy_to_unicode()
36 desc[1] = USB_DT_STRING; in usb_emul_get_string()
86 if (type == USB_DT_STRING) { in usb_emul_get_descriptor()
/openbmc/u-boot/include/
H A Dusb_defs.h87 #define USB_DT_STRING 0x03 macro
H A Dusbdevice.h195 #define USB_DT_STRING 0x03 macro
/openbmc/u-boot/include/linux/usb/
H A Dch9.h208 #define USB_DT_STRING 0x03 macro
241 #define USB_DT_CS_STRING (USB_TYPE_CLASS | USB_DT_STRING)
/openbmc/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()
/openbmc/linux/drivers/usb/host/
H A 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()
/openbmc/linux/include/uapi/linux/usb/
H A Dch9.h239 #define USB_DT_STRING 0x03 macro
272 #define USB_DT_CS_STRING (USB_TYPE_CLASS | USB_DT_STRING)
/openbmc/linux/drivers/usb/common/
H A Ddebug.c118 case USB_DT_STRING: in usb_decode_get_set_descriptor()
/openbmc/qemu/hw/usb/
H A Ddesc.c604 dest[1] = USB_DT_STRING; in usb_desc_string()
620 dest[1] = USB_DT_STRING; in usb_desc_string()
664 case USB_DT_STRING: in usb_desc_get_descriptor()
/openbmc/u-boot/drivers/usb/musb/
H A Dmusb_hcd.c663 case ((USB_DT_STRING << 8) | 0x00): /* string 0 descriptors */ in musb_submit_rh_msg()
671 case ((USB_DT_STRING << 8) | 0x01): /* string 1 descriptors */ in musb_submit_rh_msg()
/openbmc/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()
/openbmc/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.c391 t += USB_DT_STRING << 8; /* Now t is first 16 bits to store */ in ascii2desc()
422 static char const langids[4] = {4, USB_DT_STRING, 0x09, 0x04}; in rh_string()
595 case USB_DT_STRING << 8: in rh_call_control()
/openbmc/u-boot/drivers/usb/host/
H A Dsl811-hcd.c674 case USB_DT_STRING: in sl811_rh_submit_urb()
H A Dxhci.c921 case USB_DT_STRING: in xhci_submit_root()
H A Dehci-hcd.c716 case USB_DT_STRING: in ehci_submit_root()
/openbmc/qemu/include/hw/
H A Dusb.h149 #define USB_DT_STRING 0x03 macro
/openbmc/u-boot/common/
H A Dusb.c730 (USB_DT_STRING << 8) + index, langid, buf, size, in usb_get_string()
/openbmc/linux/drivers/hid/
H A Dhid-uclogic-params.c178 (USB_DT_STRING << 8) + idx, in uclogic_params_get_str_desc()
H A Dhid-cp2112.c960 report.type = USB_DT_STRING; in pstr_store()

12