Lines Matching refs:s_desc
42 struct usb_string_descriptor *s_desc; in xhci_dbc_populate_strings() local
46 s_desc = (struct usb_string_descriptor *)strings->serial; in xhci_dbc_populate_strings()
48 UTF16_LITTLE_ENDIAN, (wchar_t *)s_desc->wData, in xhci_dbc_populate_strings()
51 s_desc->bLength = (strlen(DBC_STRING_SERIAL) + 1) * 2; in xhci_dbc_populate_strings()
52 s_desc->bDescriptorType = USB_DT_STRING; in xhci_dbc_populate_strings()
53 string_length = s_desc->bLength; in xhci_dbc_populate_strings()
57 s_desc = (struct usb_string_descriptor *)strings->product; in xhci_dbc_populate_strings()
59 UTF16_LITTLE_ENDIAN, (wchar_t *)s_desc->wData, in xhci_dbc_populate_strings()
62 s_desc->bLength = (strlen(DBC_STRING_PRODUCT) + 1) * 2; in xhci_dbc_populate_strings()
63 s_desc->bDescriptorType = USB_DT_STRING; in xhci_dbc_populate_strings()
64 string_length += s_desc->bLength; in xhci_dbc_populate_strings()
68 s_desc = (struct usb_string_descriptor *)strings->manufacturer; in xhci_dbc_populate_strings()
71 UTF16_LITTLE_ENDIAN, (wchar_t *)s_desc->wData, in xhci_dbc_populate_strings()
74 s_desc->bLength = (strlen(DBC_STRING_MANUFACTURER) + 1) * 2; in xhci_dbc_populate_strings()
75 s_desc->bDescriptorType = USB_DT_STRING; in xhci_dbc_populate_strings()
76 string_length += s_desc->bLength; in xhci_dbc_populate_strings()