Searched refs:ss_cap (Results 1 – 8 of 8) sorted by relevance
39 struct usb_ss_cap_descriptor *ss_cap; in xhci_create_usb3x_bos_desc() local101 ss_cap = (struct usb_ss_cap_descriptor *)&buf[USB_DT_BOS_SIZE]; in xhci_create_usb3x_bos_desc()102 ss_cap->bLength = USB_DT_USB_SS_CAP_SIZE; in xhci_create_usb3x_bos_desc()103 ss_cap->bDescriptorType = USB_DT_DEVICE_CAPABILITY; in xhci_create_usb3x_bos_desc()104 ss_cap->bDevCapabilityType = USB_SS_CAP_TYPE; in xhci_create_usb3x_bos_desc()105 ss_cap->bmAttributes = 0; /* set later */ in xhci_create_usb3x_bos_desc()106 ss_cap->wSpeedSupported = cpu_to_le16(USB_5GBPS_OPERATION); in xhci_create_usb3x_bos_desc()107 ss_cap->bFunctionalitySupport = USB_LOW_SPEED_OPERATION; in xhci_create_usb3x_bos_desc()108 ss_cap->bU1devExitLat = 0; /* set later */ in xhci_create_usb3x_bos_desc()109 ss_cap->bU2DevExitLat = 0; /* set later */ in xhci_create_usb3x_bos_desc()[all …]
4652 u2_del_ns = le16_to_cpu(udev->bos->ss_cap->bU2DevExitLat) * 1000ULL; in xhci_calculate_intel_u2_timeout()
781 struct usb_ss_cap_descriptor *ss_cap; in bos_desc() local783 ss_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()786 ss_cap->bLength = USB_DT_USB_SS_CAP_SIZE; in bos_desc()787 ss_cap->bDescriptorType = USB_DT_DEVICE_CAPABILITY; in bos_desc()788 ss_cap->bDevCapabilityType = USB_SS_CAP_TYPE; in bos_desc()789 ss_cap->bmAttributes = 0; /* LTM is not supported yet */ in bos_desc()790 ss_cap->wSpeedSupported = cpu_to_le16(USB_LOW_SPEED_OPERATION | in bos_desc()794 ss_cap->bFunctionalitySupport = USB_LOW_SPEED_OPERATION; in bos_desc()795 ss_cap->bU1devExitLat = dcd_config_params.bU1devExitLat; in bos_desc()796 ss_cap->bU2DevExitLat = dcd_config_params.bU2DevExitLat; in bos_desc()
428 struct usb_ss_cap_descriptor *ss_cap; member849 if (udev->speed < USB_SPEED_SUPER || !udev->bos || !udev->bos->ss_cap) in usb_device_supports_ltm()851 return udev->bos->ss_cap->bmAttributes & USB_LTM_SUPPORT; in usb_device_supports_ltm()
180 if (!udev->bos->ss_cap) { in usb_device_supports_lpm()185 if (udev->bos->ss_cap->bU1devExitLat == 0 && in usb_device_supports_lpm()186 udev->bos->ss_cap->bU2DevExitLat == 0) { in usb_device_supports_lpm()351 udev_u1_del = udev->bos->ss_cap->bU1devExitLat; in usb_set_lpm_parameters()352 udev_u2_del = le16_to_cpu(udev->bos->ss_cap->bU2DevExitLat); in usb_set_lpm_parameters()353 hub_u1_del = udev->parent->bos->ss_cap->bU1devExitLat; in usb_set_lpm_parameters()354 hub_u2_del = le16_to_cpu(udev->parent->bos->ss_cap->bU2DevExitLat); in usb_set_lpm_parameters()4246 u1_mel = udev->bos->ss_cap->bU1devExitLat; in usb_enable_link_state()4247 u2_mel = udev->bos->ss_cap->bU2DevExitLat; in usb_enable_link_state()
1059 dev->bos->ss_cap = in usb_get_bos_descriptor()
267 struct usb_ss_cap_descriptor ss_cap; member276 .ss_cap = {
2047 struct usb_ss_cap_descriptor ss_cap; member2056 .ss_cap = {