Searched refs:otg_rev (Results 1 – 4 of 4) sorted by relevance
211 u32 otg_rev; in of_usb_update_otg_caps() local216 if (!of_property_read_u32(np, "otg-rev", &otg_rev)) { in of_usb_update_otg_caps()217 switch (otg_rev) { in of_usb_update_otg_caps()223 if (otg_caps->otg_rev) in of_usb_update_otg_caps()224 otg_caps->otg_rev = min_t(u16, otg_rev, in of_usb_update_otg_caps()225 otg_caps->otg_rev); in of_usb_update_otg_caps()227 otg_caps->otg_rev = otg_rev; in of_usb_update_otg_caps()231 np->full_name, otg_rev); in of_usb_update_otg_caps()240 otg_caps->otg_rev = 0; in of_usb_update_otg_caps()248 (otg_caps->otg_rev < 0x0200)) in of_usb_update_otg_caps()
213 if (gadget->otg_caps && (gadget->otg_caps->otg_rev >= 0x0200)) in usb_otg_descriptor_alloc()234 if (otg_caps && otg_caps->otg_rev) { in usb_otg_descriptor_init()239 if (otg_caps->adp_support && (otg_caps->otg_rev >= 0x0200)) in usb_otg_descriptor_init()245 if (otg_caps && (otg_caps->otg_rev >= 0x0200)) { in usb_otg_descriptor_init()250 otg20_desc->bcdOTG = cpu_to_le16(otg_caps->otg_rev); in usb_otg_descriptor_init()
1660 (gadget->otg_caps->otg_rev >= 0x0200)) in composite_setup()
643 platdata->ci_otg_caps.otg_rev = 0x0200; in ci_get_platdata()