Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/usb/common/
Dcommon.c225 u32 otg_rev; in of_usb_update_otg_caps() local
230 if (!of_property_read_u32(np, "otg-rev", &otg_rev)) { in of_usb_update_otg_caps()
231 switch (otg_rev) { in of_usb_update_otg_caps()
237 if (otg_caps->otg_rev) in of_usb_update_otg_caps()
238 otg_caps->otg_rev = min_t(u16, otg_rev, in of_usb_update_otg_caps()
239 otg_caps->otg_rev); in of_usb_update_otg_caps()
241 otg_caps->otg_rev = otg_rev; in of_usb_update_otg_caps()
245 np, otg_rev); in of_usb_update_otg_caps()
254 otg_caps->otg_rev = 0; in of_usb_update_otg_caps()
262 (otg_caps->otg_rev < 0x0200)) in of_usb_update_otg_caps()
/Linux-v5.10/drivers/usb/gadget/
Dconfig.c209 if (gadget->otg_caps && (gadget->otg_caps->otg_rev >= 0x0200)) in usb_otg_descriptor_alloc()
230 if (otg_caps && otg_caps->otg_rev) { in usb_otg_descriptor_init()
235 if (otg_caps->adp_support && (otg_caps->otg_rev >= 0x0200)) in usb_otg_descriptor_init()
241 if (otg_caps && (otg_caps->otg_rev >= 0x0200)) { in usb_otg_descriptor_init()
246 otg20_desc->bcdOTG = cpu_to_le16(otg_caps->otg_rev); in usb_otg_descriptor_init()
Dcomposite.c1734 (gadget->otg_caps->otg_rev >= 0x0200)) in composite_setup()
/Linux-v5.10/include/linux/usb/
Dotg.h54 u16 otg_rev; member
/Linux-v5.10/drivers/usb/chipidea/
Dcore.c684 platdata->ci_otg_caps.otg_rev = 0x0200; in ci_get_platdata()