Home
last modified time | relevance | path

Searched refs:ssac (Results 1 – 4 of 4) sorted by relevance

/drivers/usb/host/
A Dxhci-hub.c47 u8 ssac; in xhci_create_usb3x_bos_desc() local
81 ssac = port_cap->psi_count + num_sym_ssa - 1; in xhci_create_usb3x_bos_desc()
85 ssac = 7; in xhci_create_usb3x_bos_desc()
87 ssac = 3; in xhci_create_usb3x_bos_desc()
89 ssic = (ssac + 1) / 2 - 1; in xhci_create_usb3x_bos_desc()
95 USB_DT_USB_SSP_CAP_SIZE(ssac)); in xhci_create_usb3x_bos_desc()
130 ssp_cap->bLength = USB_DT_USB_SSP_CAP_SIZE(ssac); in xhci_create_usb3x_bos_desc()
136 cpu_to_le32(FIELD_PREP(USB_SSP_SUBLINK_SPEED_ATTRIBS, ssac) | in xhci_create_usb3x_bos_desc()
140 for (i = 0; i < ssac + 1; i++) in xhci_create_usb3x_bos_desc()
/drivers/usb/gadget/
A Dcomposite.c802 u8 ssac = 1; in bos_desc() local
807 ssac = 3; in bos_desc()
813 ssic = (ssac + 1) / 2 - 1; in bos_desc()
818 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SSP_CAP_SIZE(ssac)); in bos_desc()
819 ssp_cap->bLength = USB_DT_USB_SSP_CAP_SIZE(ssac); in bos_desc()
826 cpu_to_le32(FIELD_PREP(USB_SSP_SUBLINK_SPEED_ATTRIBS, ssac) | in bos_desc()
846 for (i = 0; i < ssac + 1; i++) { in bos_desc()
/drivers/usb/core/
A Dconfig.c1039 int length, total_len, num, i, ssac; in usb_get_bos_descriptor() local
1118 ssac = (le32_to_cpu(ssp_cap->bmAttributes) & in usb_get_bos_descriptor()
1120 if (length >= USB_DT_USB_SSP_CAP_SIZE(ssac)) in usb_get_bos_descriptor()
A Dhub.c2819 u8 ssac; in get_port_ssp_rate() local
2833 ssac = le32_to_cpu(ssp_cap->bmAttributes) & in get_port_ssp_rate()
2836 for (i = 0; i <= ssac; i++) { in get_port_ssp_rate()

Completed in 27 milliseconds