Searched refs:roles (Results 1 – 6 of 6) sorted by relevance
46 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()
53 cdns->roles[USB_ROLE_HOST] = rdrv; in cdns3_host_init()
87 struct cdns3_role_driver *roles[USB_ROLE_DEVICE + 1]; member
2738 cdns->roles[USB_ROLE_DEVICE] = rdrv; in cdns3_gadget_init()
48 from docutils.parsers.rst import directives, roles71 roles.register_local_role('cspan', c_span)72 roles.register_local_role('rspan', r_span)
226 and roles of each function are the same. Some boards or architectures
Completed in 12 milliseconds