Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/usb/gadget/
A Dconfig.c221 if (gadget->otg_caps && (gadget->otg_caps->otg_rev >= 0x0200)) in usb_otg_descriptor_alloc()
236 struct usb_otg_caps *otg_caps = gadget->otg_caps; in usb_otg_descriptor_init() local
242 if (otg_caps && otg_caps->otg_rev) { in usb_otg_descriptor_init()
243 if (otg_caps->hnp_support) in usb_otg_descriptor_init()
245 if (otg_caps->srp_support) in usb_otg_descriptor_init()
247 if (otg_caps->adp_support && (otg_caps->otg_rev >= 0x0200)) in usb_otg_descriptor_init()
253 if (otg_caps && (otg_caps->otg_rev >= 0x0200)) { in usb_otg_descriptor_init()
258 otg20_desc->bcdOTG = cpu_to_le16(otg_caps->otg_rev); in usb_otg_descriptor_init()
A Dcomposite.c1836 if (gadget->otg_caps && in composite_setup()
1837 (gadget->otg_caps->otg_rev >= 0x0200)) in composite_setup()
/linux-6.3-rc2/drivers/usb/common/
A Dcommon.c343 struct usb_otg_caps *otg_caps) in of_usb_update_otg_caps() argument
347 if (!otg_caps) in of_usb_update_otg_caps()
357 if (otg_caps->otg_rev) in of_usb_update_otg_caps()
358 otg_caps->otg_rev = min_t(u16, otg_rev, in of_usb_update_otg_caps()
359 otg_caps->otg_rev); in of_usb_update_otg_caps()
361 otg_caps->otg_rev = otg_rev; in of_usb_update_otg_caps()
374 otg_caps->otg_rev = 0; in of_usb_update_otg_caps()
378 otg_caps->hnp_support = false; in of_usb_update_otg_caps()
380 otg_caps->srp_support = false; in of_usb_update_otg_caps()
382 (otg_caps->otg_rev < 0x0200)) in of_usb_update_otg_caps()
[all …]
/linux-6.3-rc2/drivers/usb/dwc2/
A Dparams.c27 p->otg_caps.hnp_support = false; in dwc2_set_his_params()
28 p->otg_caps.srp_support = false; in dwc2_set_his_params()
50 p->otg_caps.hnp_support = false; in dwc2_set_jz4775_params()
62 p->otg_caps.hnp_support = false; in dwc2_set_x1600_params()
75 p->otg_caps.hnp_support = false; in dwc2_set_x2000_params()
108 p->otg_caps.hnp_support = false; in dwc2_set_rk_params()
109 p->otg_caps.srp_support = false; in dwc2_set_rk_params()
126 p->otg_caps.hnp_support = false; in dwc2_set_ltq_params()
202 p->otg_caps.otg_rev = 0x200; in dwc2_set_stm32mp15_fsotg_params()
224 p->otg_caps.otg_rev = 0x200; in dwc2_set_stm32mp15_hsotg_params()
[all …]
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()
A Dcore.h433 struct usb_otg_caps otg_caps; member
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()
A Dgadget.c4993 hsotg->gadget.otg_caps = &hsotg->params.otg_caps; in dwc2_gadget_init()
/linux-6.3-rc2/include/linux/usb/
A Dof.h19 struct usb_otg_caps *otg_caps);
36 struct usb_otg_caps *otg_caps) in of_usb_update_otg_caps() argument
A Dgadget.h429 struct usb_otg_caps *otg_caps; member
/linux-6.3-rc2/drivers/usb/chipidea/
A Dci.h443 struct usb_otg_caps *otg_caps = &ci->platdata->ci_otg_caps; in ci_otg_is_fsm_mode() local
446 ci->roles[CI_ROLE_GADGET] && (otg_caps->srp_support || in ci_otg_is_fsm_mode()
447 otg_caps->hnp_support || otg_caps->adp_support); in ci_otg_is_fsm_mode()
A Dudc.c2080 struct usb_otg_caps *otg_caps = &ci->platdata->ci_otg_caps; in udc_start() local
2087 ci->gadget.otg_caps = otg_caps; in udc_start()
2094 if (ci->is_otg && (otg_caps->hnp_support || otg_caps->srp_support || in udc_start()
2095 otg_caps->adp_support)) in udc_start()

Completed in 36 milliseconds