Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/chipidea/
Dci.h109 CI_ROLE_HOST = 0, enumerator
291 if (role == CI_ROLE_HOST) in ci_role_start()
318 if (ci->role == CI_ROLE_HOST) in ci_role_to_usb_role()
329 return CI_ROLE_HOST; in usb_role_to_ci_role()
462 return ci->is_otg && ci->roles[CI_ROLE_HOST] && in ci_otg_is_fsm_mode()
Dcore.c644 if (ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET]) { in ci_get_role()
657 role = ci->roles[CI_ROLE_HOST] ? CI_ROLE_HOST in ci_get_role()
924 if (ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET]) in ci_hdrc_query_available_role()
926 else if (ci->roles[CI_ROLE_HOST]) in ci_hdrc_query_available_role()
977 if (!(ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET])) { in role_store()
982 for (role = CI_ROLE_HOST; role < CI_ROLE_END; role++) in role_store()
1147 if (!ci->roles[CI_ROLE_HOST] && !ci->roles[CI_ROLE_GADGET]) { in ci_hdrc_probe()
Dotg.c126 : CI_ROLE_HOST; in ci_otg_role()
Dhost.c236 if (ci->role == CI_ROLE_HOST && ci->hcd) in ci_hdrc_host_destroy()
494 ci->roles[CI_ROLE_HOST] = rdrv; in ci_hdrc_host_init()
Dotg_fsm.c559 ci_role_start(ci, CI_ROLE_HOST); in ci_otg_start_host()
Dudc.c1792 if (ci_otg_is_fsm_mode(ci) || ci->role == CI_ROLE_HOST) in ci_udc_pullup()