Home
last modified time | relevance | path

Searched refs:otg_caps (Results 1 – 8 of 8) 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.c1872 if (gadget->otg_caps && in composite_setup()
1873 (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 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()
H A Dgadget.c5012 hsotg->gadget.otg_caps = &hsotg->params.otg_caps; in dwc2_gadget_init()
/linux/drivers/usb/chipidea/
H A Dudc.c2275 struct usb_otg_caps *otg_caps = &ci->platdata->ci_otg_caps; in udc_start() local
2282 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()