Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/usb/common/
A Dcommon.c345 u32 otg_rev; in of_usb_update_otg_caps() local
350 if (!of_property_read_u32(np, "otg-rev", &otg_rev)) { in of_usb_update_otg_caps()
351 switch (otg_rev) { 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()
365 np, otg_rev); in of_usb_update_otg_caps()
374 otg_caps->otg_rev = 0; in of_usb_update_otg_caps()
382 (otg_caps->otg_rev < 0x0200)) in of_usb_update_otg_caps()
/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()
242 if (otg_caps && otg_caps->otg_rev) { 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.c1837 (gadget->otg_caps->otg_rev >= 0x0200)) in composite_setup()
/linux-6.3-rc2/include/linux/usb/
A Dotg.h54 u16 otg_rev; member
/linux-6.3-rc2/drivers/usb/dwc2/
A Dparams.c202 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()
A Ddebugfs.c675 print_param(seq, p, otg_caps.otg_rev); in params_show()
/linux-6.3-rc2/drivers/usb/chipidea/
A Dcore.c707 platdata->ci_otg_caps.otg_rev = 0x0200; in ci_get_platdata()

Completed in 13 milliseconds