Searched refs:otg_caps (Results 1 – 8 of 8) sorted by relevance
166 if (gadget->otg_caps && (gadget->otg_caps->otg_rev >= 0x0200)) in usb_otg_descriptor_alloc()181 struct usb_otg_caps *otg_caps = gadget->otg_caps; in usb_otg_descriptor_init() local187 if (otg_caps && otg_caps->otg_rev) { in usb_otg_descriptor_init()188 if (otg_caps->hnp_support) in usb_otg_descriptor_init()190 if (otg_caps->srp_support) in usb_otg_descriptor_init()192 if (otg_caps->adp_support && (otg_caps->otg_rev >= 0x0200)) in usb_otg_descriptor_init()198 if (otg_caps && (otg_caps->otg_rev >= 0x0200)) { in usb_otg_descriptor_init()203 otg20_desc->bcdOTG = cpu_to_le16(otg_caps->otg_rev); in usb_otg_descriptor_init()
1872 if (gadget->otg_caps && in composite_setup()1873 (gadget->otg_caps->otg_rev >= 0x0200)) in composite_setup()
20 struct usb_otg_caps *otg_caps);38 struct usb_otg_caps *otg_caps) in of_usb_update_otg_caps() argument
465 struct usb_otg_caps *otg_caps; member
673 print_param(seq, p, otg_caps.hnp_support); in params_show()674 print_param(seq, p, otg_caps.srp_support); in params_show()675 print_param(seq, p, otg_caps.otg_rev); in params_show()
112 if (hsotg->params.otg_caps.hnp_support && in dwc2_gusbcfg_init()113 hsotg->params.otg_caps.srp_support) in dwc2_gusbcfg_init()120 if (hsotg->params.otg_caps.srp_support) in dwc2_gusbcfg_init()
5012 hsotg->gadget.otg_caps = &hsotg->params.otg_caps; in dwc2_gadget_init()
2275 struct usb_otg_caps *otg_caps = &ci->platdata->ci_otg_caps; in udc_start() local2282 ci->gadget.otg_caps = otg_caps; in udc_start()2289 if (ci->is_otg && (otg_caps->hnp_support || otg_caps->srp_support || in udc_start()2290 otg_caps->adp_support)) in udc_start()