Lines Matching refs:bos
732 struct usb_bos_descriptor *bos = cdev->req->buf; in bos_desc() local
734 bos->bLength = USB_DT_BOS_SIZE; in bos_desc()
735 bos->bDescriptorType = USB_DT_BOS; in bos_desc()
736 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE); in bos_desc()
737 bos->bNumDeviceCaps = 0; in bos_desc()
741 cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
742 bos->bNumDeviceCaps++; in bos_desc()
743 bos->wTotalLength = cpu_to_le16(bos->wTotalLength + in bos_desc()
754 usb_ext = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
755 bos->bNumDeviceCaps++; in bos_desc()
756 le16_add_cpu_packed((__le16_packed *)&bos->wTotalLength, in bos_desc()
767 ss_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
768 bos->bNumDeviceCaps++; in bos_desc()
769 le16_add_cpu_packed((__le16_packed *)&bos->wTotalLength, in bos_desc()
783 return le16_to_cpu(bos->wTotalLength); in bos_desc()