Lines Matching refs:bos
790 struct usb_bos_descriptor *bos = cdev->req->buf; in bos_desc() local
792 bos->bLength = USB_DT_BOS_SIZE; in bos_desc()
793 bos->bDescriptorType = USB_DT_BOS; in bos_desc()
795 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE); in bos_desc()
796 bos->bNumDeviceCaps = 0; in bos_desc()
802 usb_ext = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
803 bos->bNumDeviceCaps++; in bos_desc()
804 le16_add_cpu_packed((__le16_packed *)&bos->wTotalLength, in bos_desc()
819 ss_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
820 bos->bNumDeviceCaps++; in bos_desc()
821 le16_add_cpu_packed((__le16_packed *)&bos->wTotalLength, in bos_desc()
847 return le16_to_cpu(bos->wTotalLength); in bos_desc()