Home
last modified time | relevance | path

Searched refs:ssp_cap (Results 1 – 5 of 5) sorted by relevance

/drivers/usb/host/
Dxhci-hub.c40 struct usb_ssp_cap_descriptor *ssp_cap; in xhci_create_usb3x_bos_desc() local
127 ssp_cap = (struct usb_ssp_cap_descriptor *)&buf[USB_DT_BOS_SIZE + in xhci_create_usb3x_bos_desc()
129 ssp_cap->bLength = USB_DT_USB_SSP_CAP_SIZE(ssac); in xhci_create_usb3x_bos_desc()
130 ssp_cap->bDescriptorType = USB_DT_DEVICE_CAPABILITY; in xhci_create_usb3x_bos_desc()
131 ssp_cap->bDevCapabilityType = USB_SSP_CAP_TYPE; in xhci_create_usb3x_bos_desc()
132 ssp_cap->bReserved = 0; in xhci_create_usb3x_bos_desc()
133 ssp_cap->wReserved = 0; in xhci_create_usb3x_bos_desc()
134 ssp_cap->bmAttributes = in xhci_create_usb3x_bos_desc()
140 ssp_cap->bmSublinkSpeedAttr[i] = in xhci_create_usb3x_bos_desc()
226 ssp_cap->bmSublinkSpeedAttr[offset++] = cpu_to_le32(attr); in xhci_create_usb3x_bos_desc()
[all …]
/drivers/usb/gadget/
Dcomposite.c763 struct usb_ssp_cap_descriptor *ssp_cap; in bos_desc() local
777 ssp_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
781 ssp_cap->bLength = USB_DT_USB_SSP_CAP_SIZE(ssac); in bos_desc()
782 ssp_cap->bDescriptorType = USB_DT_DEVICE_CAPABILITY; in bos_desc()
783 ssp_cap->bDevCapabilityType = USB_SSP_CAP_TYPE; in bos_desc()
784 ssp_cap->bReserved = 0; in bos_desc()
785 ssp_cap->wReserved = 0; in bos_desc()
787 ssp_cap->bmAttributes = in bos_desc()
791 ssp_cap->wFunctionalitySupport = in bos_desc()
826 ssp_cap->bmSublinkSpeedAttr[i] = in bos_desc()
/drivers/usb/core/
Dconfig.c983 struct usb_ssp_cap_descriptor *ssp_cap; in usb_get_bos_descriptor() local
1066 ssp_cap = (struct usb_ssp_cap_descriptor *)buffer; in usb_get_bos_descriptor()
1067 ssac = (le32_to_cpu(ssp_cap->bmAttributes) & in usb_get_bos_descriptor()
1070 dev->bos->ssp_cap = ssp_cap; in usb_get_bos_descriptor()
Dhub.h152 hdev->bos && hdev->bos->ssp_cap); in hub_is_superspeedplus()
Dhub.c2761 struct usb_ssp_cap_descriptor *ssp_cap; in get_port_ssp_rate() local
2771 ssp_cap = hdev->bos->ssp_cap; in get_port_ssp_rate()
2772 if (!ssp_cap) in get_port_ssp_rate()
2778 ssac = le32_to_cpu(ssp_cap->bmAttributes) & in get_port_ssp_rate()
2784 attr = le32_to_cpu(ssp_cap->bmSublinkSpeedAttr[i]); in get_port_ssp_rate()