Home
last modified time | relevance | path

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

/linux/drivers/usb/host/
H A Dxhci-hub.c46 u8 ssac; in xhci_create_usb3x_bos_desc() local
80 ssac = port_cap->psi_count + num_sym_ssa - 1; in xhci_create_usb3x_bos_desc()
84 ssac = 7; in xhci_create_usb3x_bos_desc()
86 ssac = 3; in xhci_create_usb3x_bos_desc()
88 ssic = (ssac + 1) / 2 - 1; in xhci_create_usb3x_bos_desc()
94 USB_DT_USB_SSP_CAP_SIZE(ssac)); in xhci_create_usb3x_bos_desc()
129 ssp_cap->bLength = USB_DT_USB_SSP_CAP_SIZE(ssac); in xhci_create_usb3x_bos_desc()
135 cpu_to_le32(FIELD_PREP(USB_SSP_SUBLINK_SPEED_ATTRIBS, ssac) | in xhci_create_usb3x_bos_desc()
139 for (i = 0; i < ssac + 1; i++) in xhci_create_usb3x_bos_desc()
/linux/drivers/usb/gadget/
H 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()
/linux/include/uapi/linux/usb/
H A Dch9.h1130 #define USB_DT_USB_SSP_CAP_SIZE(ssac) (12 + (ssac + 1) * 4) argument
/linux/drivers/usb/core/
H A Dconfig.c997 int length, total_len, num, i, ssac; in usb_get_bos_descriptor() local
1076 ssac = (le32_to_cpu(ssp_cap->bmAttributes) & in usb_get_bos_descriptor()
1078 if (length >= USB_DT_USB_SSP_CAP_SIZE(ssac)) in usb_get_bos_descriptor()