Searched refs:otg_rev (Results 1 - 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/common/ |
H A D | common.c | 325 u32 otg_rev; in of_usb_update_otg_caps() local 330 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() [all...] |
/kernel/linux/linux-6.6/drivers/usb/common/ |
H A D | common.c | 346 u32 otg_rev; in of_usb_update_otg_caps() local 351 if (!of_property_read_u32(np, "otg-rev", &otg_rev)) { in of_usb_update_otg_caps() 352 switch (otg_rev) { in of_usb_update_otg_caps() 358 if (otg_caps->otg_rev) in of_usb_update_otg_caps() 359 otg_caps->otg_rev = min_t(u16, otg_rev, in of_usb_update_otg_caps() 360 otg_caps->otg_rev); in of_usb_update_otg_caps() 362 otg_caps->otg_rev = otg_rev; in of_usb_update_otg_caps() 366 np, otg_rev); in of_usb_update_otg_caps() [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/ |
H A D | config.c | 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()
|
H A D | composite.c | 1756 (gadget->otg_caps->otg_rev >= 0x0200)) in composite_setup()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/ |
H A D | config.c | 219 if (gadget->otg_caps && (gadget->otg_caps->otg_rev >= 0x0200)) in usb_otg_descriptor_alloc() 240 if (otg_caps && otg_caps->otg_rev) { in usb_otg_descriptor_init() 245 if (otg_caps->adp_support && (otg_caps->otg_rev >= 0x0200)) in usb_otg_descriptor_init() 251 if (otg_caps && (otg_caps->otg_rev >= 0x0200)) { in usb_otg_descriptor_init() 256 otg20_desc->bcdOTG = cpu_to_le16(otg_caps->otg_rev); in usb_otg_descriptor_init()
|
H A D | composite.c | 1896 (gadget->otg_caps->otg_rev >= 0x0200)) in composite_setup()
|
/kernel/linux/linux-5.10/include/linux/usb/ |
H A D | otg.h | 47 * @otg_rev: The OTG revision number the device is compliant with, it's 54 u16 otg_rev; member
|
/kernel/linux/linux-6.6/include/linux/usb/ |
H A D | otg.h | 47 * @otg_rev: The OTG revision number the device is compliant with, it's 54 u16 otg_rev; member
|
/kernel/linux/linux-6.6/drivers/usb/dwc2/ |
H A D | params.c | 234 p->otg_caps.otg_rev = 0x200; in dwc2_set_stm32mp15_fsotg_params() 256 p->otg_caps.otg_rev = 0x200; in dwc2_set_stm32mp15_hsotg_params()
|
H A D | debugfs.c | 675 print_param(seq, p, otg_caps.otg_rev); in params_show()
|
/kernel/linux/linux-5.10/drivers/usb/chipidea/ |
H A D | core.c | 700 platdata->ci_otg_caps.otg_rev = 0x0200; in ci_get_platdata()
|
/kernel/linux/linux-6.6/drivers/usb/chipidea/ |
H A D | core.c | 714 platdata->ci_otg_caps.otg_rev = 0x0200; in ci_get_platdata()
|
Completed in 14 milliseconds