Searched refs:CI_ROLE_HOST (Results 1 – 6 of 6) sorted by relevance
109 CI_ROLE_HOST = 0, enumerator293 if (role == CI_ROLE_HOST) in ci_role_start()320 if (ci->role == CI_ROLE_HOST) in ci_role_to_usb_role()331 return CI_ROLE_HOST; in usb_role_to_ci_role()464 return ci->is_otg && ci->roles[CI_ROLE_HOST] && in ci_otg_is_fsm_mode()
651 if (ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET]) { in ci_get_role()664 role = ci->roles[CI_ROLE_HOST] ? CI_ROLE_HOST in ci_get_role()952 if (ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET]) in ci_hdrc_query_available_role()954 else if (ci->roles[CI_ROLE_HOST]) in ci_hdrc_query_available_role()1005 if (!(ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET])) { in role_store()1010 for (role = CI_ROLE_HOST; role < CI_ROLE_END; role++) in role_store()1177 if (!ci->roles[CI_ROLE_HOST] && !ci->roles[CI_ROLE_GADGET]) { in ci_hdrc_probe()
235 if (ci->role == CI_ROLE_HOST && ci->hcd) in ci_hdrc_host_destroy()486 ci->roles[CI_ROLE_HOST] = rdrv; in ci_hdrc_host_init()
126 : CI_ROLE_HOST; in ci_otg_role()
559 ci_role_start(ci, CI_ROLE_HOST); in ci_otg_start_host()
1792 if (ci_otg_is_fsm_mode(ci) || ci->role == CI_ROLE_HOST) in ci_udc_pullup()