Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/host/
H A 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 …]
/openbmc/linux/drivers/usb/core/
H A Dconfig.c995 struct usb_ssp_cap_descriptor *ssp_cap; in usb_get_bos_descriptor() local
1075 ssp_cap = (struct usb_ssp_cap_descriptor *)buffer; in usb_get_bos_descriptor()
1076 ssac = (le32_to_cpu(ssp_cap->bmAttributes) & in usb_get_bos_descriptor()
1079 dev->bos->ssp_cap = ssp_cap; in usb_get_bos_descriptor()
H A Dhub.h158 hdev->bos && hdev->bos->ssp_cap); in hub_is_superspeedplus()
H A Dhub.c2739 struct usb_ssp_cap_descriptor *ssp_cap; in get_port_ssp_rate() local
2749 ssp_cap = hdev->bos->ssp_cap; in get_port_ssp_rate()
2750 if (!ssp_cap) in get_port_ssp_rate()
2756 ssac = le32_to_cpu(ssp_cap->bmAttributes) & in get_port_ssp_rate()
2762 attr = le32_to_cpu(ssp_cap->bmSublinkSpeedAttr[i]); in get_port_ssp_rate()
/openbmc/linux/drivers/usb/gadget/
H A Dcomposite.c801 struct usb_ssp_cap_descriptor *ssp_cap; in bos_desc() local
815 ssp_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
819 ssp_cap->bLength = USB_DT_USB_SSP_CAP_SIZE(ssac); in bos_desc()
820 ssp_cap->bDescriptorType = USB_DT_DEVICE_CAPABILITY; in bos_desc()
821 ssp_cap->bDevCapabilityType = USB_SSP_CAP_TYPE; in bos_desc()
822 ssp_cap->bReserved = 0; in bos_desc()
823 ssp_cap->wReserved = 0; in bos_desc()
825 ssp_cap->bmAttributes = in bos_desc()
829 ssp_cap->wFunctionalitySupport = in bos_desc()
864 ssp_cap->bmSublinkSpeedAttr[i] = in bos_desc()
/openbmc/linux/include/linux/
H A Dusb.h429 struct usb_ssp_cap_descriptor *ssp_cap; member