Home
last modified time | relevance | path

Searched refs:otg20_desc (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/gadget/
Dconfig.c235 struct usb_otg20_descriptor *otg20_desc; in usb_otg_descriptor_init() local
254 otg20_desc = (struct usb_otg20_descriptor *)otg_desc; in usb_otg_descriptor_init()
255 otg20_desc->bLength = sizeof(struct usb_otg20_descriptor); in usb_otg_descriptor_init()
256 otg20_desc->bDescriptorType = USB_DT_OTG; in usb_otg_descriptor_init()
257 otg20_desc->bmAttributes = otg_attributes; in usb_otg_descriptor_init()
258 otg20_desc->bcdOTG = cpu_to_le16(otg_caps->otg_rev); in usb_otg_descriptor_init()