s_desc 228 drivers/usb/early/xhci-dbc.c struct usb_string_descriptor *s_desc; s_desc 276 drivers/usb/early/xhci-dbc.c s_desc = (struct usb_string_descriptor *)strings->serial; s_desc 277 drivers/usb/early/xhci-dbc.c s_desc->bLength = (strlen(XDBC_STRING_SERIAL) + 1) * 2; s_desc 278 drivers/usb/early/xhci-dbc.c s_desc->bDescriptorType = USB_DT_STRING; s_desc 280 drivers/usb/early/xhci-dbc.c xdbc_put_utf16(s_desc->wData, XDBC_STRING_SERIAL, strlen(XDBC_STRING_SERIAL)); s_desc 281 drivers/usb/early/xhci-dbc.c string_length = s_desc->bLength; s_desc 285 drivers/usb/early/xhci-dbc.c s_desc = (struct usb_string_descriptor *)strings->product; s_desc 286 drivers/usb/early/xhci-dbc.c s_desc->bLength = (strlen(XDBC_STRING_PRODUCT) + 1) * 2; s_desc 287 drivers/usb/early/xhci-dbc.c s_desc->bDescriptorType = USB_DT_STRING; s_desc 289 drivers/usb/early/xhci-dbc.c xdbc_put_utf16(s_desc->wData, XDBC_STRING_PRODUCT, strlen(XDBC_STRING_PRODUCT)); s_desc 290 drivers/usb/early/xhci-dbc.c string_length += s_desc->bLength; s_desc 294 drivers/usb/early/xhci-dbc.c s_desc = (struct usb_string_descriptor *)strings->manufacturer; s_desc 295 drivers/usb/early/xhci-dbc.c s_desc->bLength = (strlen(XDBC_STRING_MANUFACTURER) + 1) * 2; s_desc 296 drivers/usb/early/xhci-dbc.c s_desc->bDescriptorType = USB_DT_STRING; s_desc 298 drivers/usb/early/xhci-dbc.c xdbc_put_utf16(s_desc->wData, XDBC_STRING_MANUFACTURER, strlen(XDBC_STRING_MANUFACTURER)); s_desc 299 drivers/usb/early/xhci-dbc.c string_length += s_desc->bLength; s_desc 39 drivers/usb/host/xhci-dbgcap.c struct usb_string_descriptor *s_desc; s_desc 43 drivers/usb/host/xhci-dbgcap.c s_desc = (struct usb_string_descriptor *)strings->serial; s_desc 45 drivers/usb/host/xhci-dbgcap.c UTF16_LITTLE_ENDIAN, (wchar_t *)s_desc->wData, s_desc 48 drivers/usb/host/xhci-dbgcap.c s_desc->bLength = (strlen(DBC_STRING_SERIAL) + 1) * 2; s_desc 49 drivers/usb/host/xhci-dbgcap.c s_desc->bDescriptorType = USB_DT_STRING; s_desc 50 drivers/usb/host/xhci-dbgcap.c string_length = s_desc->bLength; s_desc 54 drivers/usb/host/xhci-dbgcap.c s_desc = (struct usb_string_descriptor *)strings->product; s_desc 56 drivers/usb/host/xhci-dbgcap.c UTF16_LITTLE_ENDIAN, (wchar_t *)s_desc->wData, s_desc 59 drivers/usb/host/xhci-dbgcap.c s_desc->bLength = (strlen(DBC_STRING_PRODUCT) + 1) * 2; s_desc 60 drivers/usb/host/xhci-dbgcap.c s_desc->bDescriptorType = USB_DT_STRING; s_desc 61 drivers/usb/host/xhci-dbgcap.c string_length += s_desc->bLength; s_desc 65 drivers/usb/host/xhci-dbgcap.c s_desc = (struct usb_string_descriptor *)strings->manufacturer; s_desc 68 drivers/usb/host/xhci-dbgcap.c UTF16_LITTLE_ENDIAN, (wchar_t *)s_desc->wData, s_desc 71 drivers/usb/host/xhci-dbgcap.c s_desc->bLength = (strlen(DBC_STRING_MANUFACTURER) + 1) * 2; s_desc 72 drivers/usb/host/xhci-dbgcap.c s_desc->bDescriptorType = USB_DT_STRING; s_desc 73 drivers/usb/host/xhci-dbgcap.c string_length += s_desc->bLength;