Home
last modified time | relevance | path

Searched refs:ss_cap (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/usb/host/
Dxhci-hub.c39 struct usb_ss_cap_descriptor *ss_cap; in xhci_create_usb3x_bos_desc() local
101 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 …]
Dxhci.c4652 u2_del_ns = le16_to_cpu(udev->bos->ss_cap->bU2DevExitLat) * 1000ULL; in xhci_calculate_intel_u2_timeout()
/linux-6.6.21/drivers/usb/gadget/
Dcomposite.c781 struct usb_ss_cap_descriptor *ss_cap; in bos_desc() local
783 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()
/linux-6.6.21/include/linux/
Dusb.h428 struct usb_ss_cap_descriptor *ss_cap; member
849 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()
/linux-6.6.21/drivers/usb/core/
Dhub.c180 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()
Dconfig.c1059 dev->bos->ss_cap = in usb_get_bos_descriptor()
/linux-6.6.21/drivers/usb/usbip/
Dvhci_hcd.c267 struct usb_ss_cap_descriptor ss_cap; member
276 .ss_cap = {
/linux-6.6.21/drivers/usb/gadget/udc/
Ddummy_hcd.c2047 struct usb_ss_cap_descriptor ss_cap; member
2056 .ss_cap = {