Searched refs:otg_rev (Results 1 – 4 of 4) sorted by relevance
325 u32 otg_rev; in of_usb_update_otg_caps() local330 if (!of_property_read_u32(np, "otg-rev", &otg_rev)) { in of_usb_update_otg_caps()331 switch (otg_rev) { in of_usb_update_otg_caps()337 if (otg_caps->otg_rev) in of_usb_update_otg_caps()338 otg_caps->otg_rev = min_t(u16, otg_rev, in of_usb_update_otg_caps()339 otg_caps->otg_rev); in of_usb_update_otg_caps()341 otg_caps->otg_rev = otg_rev; in of_usb_update_otg_caps()345 np, otg_rev); in of_usb_update_otg_caps()354 otg_caps->otg_rev = 0; in of_usb_update_otg_caps()362 (otg_caps->otg_rev < 0x0200)) in of_usb_update_otg_caps()
221 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()
1800 (gadget->otg_caps->otg_rev >= 0x0200)) in composite_setup()
700 platdata->ci_otg_caps.otg_rev = 0x0200; in ci_get_platdata()