Home
last modified time | relevance | path

Searched refs:roles (Results 1 – 6 of 6) sorted by relevance

/u-boot/drivers/usb/cdns3/
A Dcore.c46 WARN_ON(!cdns->roles[cdns->role]); in cdns3_get_current_role_driver()
47 return cdns->roles[cdns->role]; in cdns3_get_current_role_driver()
61 if (!cdns->roles[role]) in cdns3_role_start()
64 if (cdns->roles[role]->state == CDNS3_ROLE_STATE_ACTIVE) in cdns3_role_start()
68 ret = cdns->roles[role]->start(cdns); in cdns3_role_start()
70 cdns->roles[role]->state = CDNS3_ROLE_STATE_ACTIVE; in cdns3_role_start()
83 if (cdns->roles[role]->state == CDNS3_ROLE_STATE_INACTIVE) in cdns3_role_stop()
87 cdns->roles[role]->stop(cdns); in cdns3_role_stop()
88 cdns->roles[role]->state = CDNS3_ROLE_STATE_INACTIVE; in cdns3_role_stop()
277 cdns->roles[USB_ROLE_NONE] = rdrv; in cdns3_idle_init()
A Dhost.c53 cdns->roles[USB_ROLE_HOST] = rdrv; in cdns3_host_init()
A Dcore.h87 struct cdns3_role_driver *roles[USB_ROLE_DEVICE + 1]; member
A Dgadget.c2738 cdns->roles[USB_ROLE_DEVICE] = rdrv; in cdns3_gadget_init()
/u-boot/doc/sphinx/
A DrstFlatTable.py48 from docutils.parsers.rst import directives, roles
71 roles.register_local_role('cspan', c_span)
72 roles.register_local_role('rspan', r_span)
/u-boot/
A DREADME226 and roles of each function are the same. Some boards or architectures

Completed in 12 milliseconds