Searched refs:ssac (Results 1 – 4 of 4) sorted by relevance
46 u8 ssac; in xhci_create_usb3x_bos_desc() local80 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()
802 u8 ssac = 1; in bos_desc() local807 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()
1130 #define USB_DT_USB_SSP_CAP_SIZE(ssac) (12 + (ssac + 1) * 4) argument
997 int length, total_len, num, i, ssac; in usb_get_bos_descriptor() local1076 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()