Home
last modified time | relevance | path

Searched refs:s_desc (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/usb/early/
H A Dxhci-dbc.c229 struct usb_string_descriptor *s_desc; in xdbc_mem_init() local
277 s_desc = (struct usb_string_descriptor *)strings->serial; in xdbc_mem_init()
278 s_desc->bLength = (strlen(XDBC_STRING_SERIAL) + 1) * 2; in xdbc_mem_init()
279 s_desc->bDescriptorType = USB_DT_STRING; in xdbc_mem_init()
282 string_length = s_desc->bLength; in xdbc_mem_init()
286 s_desc = (struct usb_string_descriptor *)strings->product; in xdbc_mem_init()
287 s_desc->bLength = (strlen(XDBC_STRING_PRODUCT) + 1) * 2; in xdbc_mem_init()
288 s_desc->bDescriptorType = USB_DT_STRING; in xdbc_mem_init()
291 string_length += s_desc->bLength; in xdbc_mem_init()
297 s_desc->bDescriptorType = USB_DT_STRING; in xdbc_mem_init()
[all …]
/openbmc/linux/drivers/usb/host/
H A Dxhci-dbgcap.c42 struct usb_string_descriptor *s_desc; in xhci_dbc_populate_strings() local
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()
59 UTF16_LITTLE_ENDIAN, (wchar_t *)s_desc->wData, 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()
71 UTF16_LITTLE_ENDIAN, (wchar_t *)s_desc->wData, in xhci_dbc_populate_strings()
75 s_desc->bDescriptorType = USB_DT_STRING; in xhci_dbc_populate_strings()
[all …]
/openbmc/linux/drivers/media/test-drivers/vidtv/
H A Dvidtv_channel.c383 struct vidtv_psi_desc_service *s_desc; in vidtv_channel_build_service_list() local
390 s_desc = (struct vidtv_psi_desc_service *)desc; in vidtv_channel_build_service_list()
399 curr_e->service_type = s_desc->service_type; in vidtv_channel_build_service_list()