Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/
H A Dconfig.c166 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() local
187 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()
H A Dcomposite.c1873 if (gadget->otg_caps && in composite_setup()
1874 (gadget->otg_caps->otg_rev >= 0x0200)) in composite_setup()
/linux/include/linux/usb/
H A Dof.h20 struct usb_otg_caps *otg_caps);
38 struct usb_otg_caps *otg_caps) in of_usb_update_otg_caps() argument
H A Dgadget.h465 struct usb_otg_caps *otg_caps; member
/linux/drivers/usb/dwc2/
H A Ddebugfs.c673 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()
H A Dcore.h439 struct usb_otg_caps otg_caps; member
H A Dhcd.c112 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()