Lines Matching refs:s_desc
40 struct usb_string_descriptor *s_desc; in xhci_dbc_populate_strings() local
44 s_desc = (struct usb_string_descriptor *)strings->serial; in xhci_dbc_populate_strings()
46 UTF16_LITTLE_ENDIAN, (wchar_t *)s_desc->wData, in xhci_dbc_populate_strings()
49 s_desc->bLength = (strlen(DBC_STRING_SERIAL) + 1) * 2; in xhci_dbc_populate_strings()
50 s_desc->bDescriptorType = USB_DT_STRING; in xhci_dbc_populate_strings()
51 string_length = s_desc->bLength; in xhci_dbc_populate_strings()
55 s_desc = (struct usb_string_descriptor *)strings->product; in xhci_dbc_populate_strings()
57 UTF16_LITTLE_ENDIAN, (wchar_t *)s_desc->wData, in xhci_dbc_populate_strings()
60 s_desc->bLength = (strlen(DBC_STRING_PRODUCT) + 1) * 2; in xhci_dbc_populate_strings()
61 s_desc->bDescriptorType = USB_DT_STRING; in xhci_dbc_populate_strings()
62 string_length += s_desc->bLength; in xhci_dbc_populate_strings()
66 s_desc = (struct usb_string_descriptor *)strings->manufacturer; in xhci_dbc_populate_strings()
69 UTF16_LITTLE_ENDIAN, (wchar_t *)s_desc->wData, in xhci_dbc_populate_strings()
72 s_desc->bLength = (strlen(DBC_STRING_MANUFACTURER) + 1) * 2; in xhci_dbc_populate_strings()
73 s_desc->bDescriptorType = USB_DT_STRING; in xhci_dbc_populate_strings()
74 string_length += s_desc->bLength; in xhci_dbc_populate_strings()