Searched refs:ss_cap (Results 1 – 4 of 4) sorted by relevance
40 struct usb_ss_cap_descriptor *ss_cap; in xhci_create_usb3x_bos_desc() local102 ss_cap = (struct usb_ss_cap_descriptor *)&buf[USB_DT_BOS_SIZE]; in xhci_create_usb3x_bos_desc()103 ss_cap->bLength = USB_DT_USB_SS_CAP_SIZE; in xhci_create_usb3x_bos_desc()104 ss_cap->bDescriptorType = USB_DT_DEVICE_CAPABILITY; in xhci_create_usb3x_bos_desc()105 ss_cap->bDevCapabilityType = USB_SS_CAP_TYPE; in xhci_create_usb3x_bos_desc()106 ss_cap->bmAttributes = 0; /* set later */ in xhci_create_usb3x_bos_desc()107 ss_cap->wSpeedSupported = cpu_to_le16(USB_5GBPS_OPERATION); in xhci_create_usb3x_bos_desc()108 ss_cap->bFunctionalitySupport = USB_LOW_SPEED_OPERATION; in xhci_create_usb3x_bos_desc()109 ss_cap->bU1devExitLat = 0; /* set later */ in xhci_create_usb3x_bos_desc()110 ss_cap->bU2DevExitLat = 0; /* set later */ in xhci_create_usb3x_bos_desc()[all …]
4786 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()
187 if (!udev->bos->ss_cap) { in usb_device_supports_lpm()192 if (udev->bos->ss_cap->bU1devExitLat == 0 && in usb_device_supports_lpm()193 udev->bos->ss_cap->bU2DevExitLat == 0) { in usb_device_supports_lpm()358 udev_u1_del = udev->bos->ss_cap->bU1devExitLat; in usb_set_lpm_parameters()359 udev_u2_del = le16_to_cpu(udev->bos->ss_cap->bU2DevExitLat); in usb_set_lpm_parameters()360 hub_u1_del = udev->parent->bos->ss_cap->bU1devExitLat; in usb_set_lpm_parameters()361 hub_u2_del = le16_to_cpu(udev->parent->bos->ss_cap->bU2DevExitLat); in usb_set_lpm_parameters()4306 u1_mel = udev->bos->ss_cap->bU1devExitLat; in usb_enable_link_state()4307 u2_mel = udev->bos->ss_cap->bU2DevExitLat; in usb_enable_link_state()