Lines Matching refs:bos
680 struct usb_bos_descriptor *bos = cdev->req->buf; in bos_desc() local
683 bos->bLength = USB_DT_BOS_SIZE; in bos_desc()
684 bos->bDescriptorType = USB_DT_BOS; in bos_desc()
686 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE); in bos_desc()
687 bos->bNumDeviceCaps = 0; in bos_desc()
716 usb_ext = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
717 bos->bNumDeviceCaps++; in bos_desc()
718 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_EXT_CAP_SIZE); in bos_desc()
732 ss_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
733 bos->bNumDeviceCaps++; in bos_desc()
734 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SS_CAP_SIZE); in bos_desc()
764 ssp_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
765 bos->bNumDeviceCaps++; in bos_desc()
767 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SSP_CAP_SIZE(ssac)); in bos_desc()
824 return le16_to_cpu(bos->wTotalLength); in bos_desc()