Searched refs:ss_cap (Results 1 – 7 of 7) 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 …]
4823 u2_del_ns = le16_to_cpu(udev->bos->ss_cap->bU2DevExitLat) * 1000ULL; in xhci_calculate_intel_u2_timeout()
743 struct usb_ss_cap_descriptor *ss_cap; in bos_desc() local745 ss_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()748 ss_cap->bLength = USB_DT_USB_SS_CAP_SIZE; in bos_desc()749 ss_cap->bDescriptorType = USB_DT_DEVICE_CAPABILITY; in bos_desc()750 ss_cap->bDevCapabilityType = USB_SS_CAP_TYPE; in bos_desc()751 ss_cap->bmAttributes = 0; /* LTM is not supported yet */ in bos_desc()752 ss_cap->wSpeedSupported = cpu_to_le16(USB_LOW_SPEED_OPERATION | in bos_desc()756 ss_cap->bFunctionalitySupport = USB_LOW_SPEED_OPERATION; in bos_desc()757 ss_cap->bU1devExitLat = dcd_config_params.bU1devExitLat; in bos_desc()758 ss_cap->bU2DevExitLat = dcd_config_params.bU2DevExitLat; in bos_desc()
174 if (!udev->bos->ss_cap) { in usb_device_supports_lpm()179 if (udev->bos->ss_cap->bU1devExitLat == 0 && in usb_device_supports_lpm()180 udev->bos->ss_cap->bU2DevExitLat == 0) { in usb_device_supports_lpm()345 udev_u1_del = udev->bos->ss_cap->bU1devExitLat; in usb_set_lpm_parameters()346 udev_u2_del = le16_to_cpu(udev->bos->ss_cap->bU2DevExitLat); in usb_set_lpm_parameters()347 hub_u1_del = udev->parent->bos->ss_cap->bU1devExitLat; in usb_set_lpm_parameters()348 hub_u2_del = le16_to_cpu(udev->parent->bos->ss_cap->bU2DevExitLat); in usb_set_lpm_parameters()4302 u1_mel = udev->bos->ss_cap->bU1devExitLat; in usb_enable_link_state()4303 u2_mel = udev->bos->ss_cap->bU2DevExitLat; in usb_enable_link_state()
1062 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 = {