Lines Matching refs:bos
660 struct usb_bos_descriptor *bos = cdev->req->buf; in bos_desc() local
663 bos->bLength = USB_DT_BOS_SIZE; in bos_desc()
664 bos->bDescriptorType = USB_DT_BOS; in bos_desc()
666 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE); in bos_desc()
667 bos->bNumDeviceCaps = 0; in bos_desc()
696 usb_ext = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
697 bos->bNumDeviceCaps++; in bos_desc()
698 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_EXT_CAP_SIZE); in bos_desc()
712 ss_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
713 bos->bNumDeviceCaps++; in bos_desc()
714 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SS_CAP_SIZE); in bos_desc()
732 ssp_cap = cdev->req->buf + le16_to_cpu(bos->wTotalLength); in bos_desc()
733 bos->bNumDeviceCaps++; in bos_desc()
739 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SSP_CAP_SIZE(1)); in bos_desc()
774 return le16_to_cpu(bos->wTotalLength); in bos_desc()