Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/gadget/
Dcomposite.c716 struct usb_ss_cap_descriptor *ss_cap; in bos_desc() local
718 ss_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
721 ss_cap->bLength = USB_DT_USB_SS_CAP_SIZE; in bos_desc()
722 ss_cap->bDescriptorType = USB_DT_DEVICE_CAPABILITY; in bos_desc()
723 ss_cap->bDevCapabilityType = USB_SS_CAP_TYPE; in bos_desc()
724 ss_cap->bmAttributes = 0; /* LTM is not supported yet */ in bos_desc()
725 ss_cap->wSpeedSupported = cpu_to_le16(USB_LOW_SPEED_OPERATION | in bos_desc()
729 ss_cap->bFunctionalitySupport = USB_LOW_SPEED_OPERATION; in bos_desc()
730 ss_cap->bU1devExitLat = dcd_config_params.bU1devExitLat; in bos_desc()
731 ss_cap->bU2DevExitLat = dcd_config_params.bU2DevExitLat; in bos_desc()
/kernel/linux/linux-5.10/include/linux/
Dusb.h401 struct usb_ss_cap_descriptor *ss_cap; member
821 if (udev->speed < USB_SPEED_SUPER || !udev->bos || !udev->bos->ss_cap) in usb_device_supports_ltm()
823 return udev->bos->ss_cap->bmAttributes & USB_LTM_SUPPORT; in usb_device_supports_ltm()
/kernel/linux/linux-5.10/drivers/usb/core/
Dhub.c172 if (!udev->bos->ss_cap) { in usb_device_supports_lpm()
177 if (udev->bos->ss_cap->bU1devExitLat == 0 && in usb_device_supports_lpm()
178 udev->bos->ss_cap->bU2DevExitLat == 0) { in usb_device_supports_lpm()
343 udev_u1_del = udev->bos->ss_cap->bU1devExitLat; in usb_set_lpm_parameters()
344 udev_u2_del = le16_to_cpu(udev->bos->ss_cap->bU2DevExitLat); in usb_set_lpm_parameters()
345 hub_u1_del = udev->parent->bos->ss_cap->bU1devExitLat; in usb_set_lpm_parameters()
346 hub_u2_del = le16_to_cpu(udev->parent->bos->ss_cap->bU2DevExitLat); in usb_set_lpm_parameters()
4138 u1_mel = udev->bos->ss_cap->bU1devExitLat; in usb_enable_link_state()
4139 u2_mel = udev->bos->ss_cap->bU2DevExitLat; in usb_enable_link_state()
Dconfig.c1062 dev->bos->ss_cap = in usb_get_bos_descriptor()
/kernel/linux/linux-5.10/drivers/usb/usbip/
Dvhci_hcd.c267 struct usb_ss_cap_descriptor ss_cap; member
276 .ss_cap = {
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Ddummy_hcd.c2034 struct usb_ss_cap_descriptor ss_cap; member
2043 .ss_cap = {
/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci.c4761 u2_del_ns = le16_to_cpu(udev->bos->ss_cap->bU2DevExitLat) * 1000ULL; in xhci_calculate_intel_u2_timeout()