Searched refs:CI_ROLE_HOST (Results 1 – 7 of 7) sorted by relevance
108 CI_ROLE_HOST = 0, enumerator296 if (ci->role == CI_ROLE_HOST) in ci_role_to_usb_role()307 return CI_ROLE_HOST; in usb_role_to_ci_role()440 return ci->is_otg && ci->roles[CI_ROLE_HOST] && in ci_otg_is_fsm_mode()
914 if (ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET]) in ci_hdrc_query_available_role()916 else if (ci->roles[CI_ROLE_HOST]) in ci_hdrc_query_available_role()967 if (!(ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET])) { in role_store()972 for (role = CI_ROLE_HOST; role < CI_ROLE_END; role++) in role_store()1127 if (!ci->roles[CI_ROLE_HOST] && !ci->roles[CI_ROLE_GADGET]) { in ci_hdrc_probe()1151 if (ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET]) { in ci_hdrc_probe()1165 ci->role = ci->roles[CI_ROLE_HOST] in ci_hdrc_probe()1166 ? CI_ROLE_HOST in ci_hdrc_probe()
228 if (ci->role == CI_ROLE_HOST && ci->hcd) in ci_hdrc_host_destroy()470 ci->roles[CI_ROLE_HOST] = rdrv; in ci_hdrc_host_init()
126 : CI_ROLE_HOST; in ci_otg_role()
272 for (role = CI_ROLE_HOST; role < CI_ROLE_END; role++) in ci_role_write()
550 ci_role_start(ci, CI_ROLE_HOST); in ci_otg_start_host()
1769 if (ci_otg_is_fsm_mode(ci) || ci->role == CI_ROLE_HOST) in ci_udc_pullup()
Completed in 18 milliseconds