Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/usb/gadget/
H A Dcomposite.c731 struct usb_ss_cap_descriptor *ss_cap; in bos_desc() local
767 ss_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
771 ss_cap->bLength = USB_DT_USB_SS_CAP_SIZE; in bos_desc()
772 ss_cap->bDescriptorType = USB_DT_DEVICE_CAPABILITY; in bos_desc()
773 ss_cap->bDevCapabilityType = USB_SS_CAP_TYPE; in bos_desc()
774 ss_cap->bmAttributes = 0; /* LTM is not supported yet */ in bos_desc()
775 ss_cap->wSpeedSupported = cpu_to_le16(USB_FULL_SPEED_OPERATION | in bos_desc()
778 ss_cap->bFunctionalitySupport = USB_FULL_SPEED_OPERATION; in bos_desc()
779 ss_cap->bU1devExitLat = USB_DEFAULT_U1_DEV_EXIT_LAT; in bos_desc()
780 ss_cap->bU2DevExitLat = cpu_to_le16(USB_DEFAULT_U2_DEV_EXIT_LAT); in bos_desc()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/
H A Dcomposite.c730 struct usb_ss_cap_descriptor *ss_cap; in bos_desc() local
732 ss_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
735 ss_cap->bLength = USB_DT_USB_SS_CAP_SIZE; in bos_desc()
736 ss_cap->bDescriptorType = USB_DT_DEVICE_CAPABILITY; in bos_desc()
737 ss_cap->bDevCapabilityType = USB_SS_CAP_TYPE; in bos_desc()
738 ss_cap->bmAttributes = 0; /* LTM is not supported yet */ in bos_desc()
739 ss_cap->wSpeedSupported = cpu_to_le16(USB_LOW_SPEED_OPERATION | in bos_desc()
743 ss_cap->bFunctionalitySupport = USB_LOW_SPEED_OPERATION; in bos_desc()
744 ss_cap->bU1devExitLat = dcd_config_params.bU1devExitLat; in bos_desc()
745 ss_cap->bU2DevExitLat = dcd_config_params.bU2DevExitLat; in bos_desc()
/OK3568_Linux_fs/kernel/include/linux/
H A Dusb.h407 struct usb_ss_cap_descriptor *ss_cap; member
837 if (udev->speed < USB_SPEED_SUPER || !udev->bos || !udev->bos->ss_cap) in usb_device_supports_ltm()
839 return udev->bos->ss_cap->bmAttributes & USB_LTM_SUPPORT; in usb_device_supports_ltm()
/OK3568_Linux_fs/kernel/drivers/usb/core/
H A Dhub.c165 if (!udev->bos->ss_cap) { in usb_device_supports_lpm()
170 if (udev->bos->ss_cap->bU1devExitLat == 0 && in usb_device_supports_lpm()
171 udev->bos->ss_cap->bU2DevExitLat == 0) { in usb_device_supports_lpm()
332 udev_u1_del = udev->bos->ss_cap->bU1devExitLat; in usb_set_lpm_parameters()
333 udev_u2_del = le16_to_cpu(udev->bos->ss_cap->bU2DevExitLat); in usb_set_lpm_parameters()
334 hub_u1_del = udev->parent->bos->ss_cap->bU1devExitLat; in usb_set_lpm_parameters()
335 hub_u2_del = le16_to_cpu(udev->parent->bos->ss_cap->bU2DevExitLat); in usb_set_lpm_parameters()
4111 __u8 u1_mel = udev->bos->ss_cap->bU1devExitLat; in usb_enable_link_state()
4112 __le16 u2_mel = udev->bos->ss_cap->bU2DevExitLat; in usb_enable_link_state()
H A Dconfig.c1062 dev->bos->ss_cap = in usb_get_bos_descriptor()
/OK3568_Linux_fs/kernel/drivers/usb/usbip/
H A Dvhci_hcd.c267 struct usb_ss_cap_descriptor ss_cap; member
276 .ss_cap = {
/OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/
H A Ddummy_hcd.c2034 struct usb_ss_cap_descriptor ss_cap; member
2043 .ss_cap = {
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dxhci.c4750 u2_del_ns = le16_to_cpu(udev->bos->ss_cap->bU2DevExitLat) * 1000ULL; in xhci_calculate_intel_u2_timeout()