Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/chipidea/
Dci.h107 CI_ROLE_HOST = 0, enumerator
297 if (ci->role == CI_ROLE_HOST) in ci_role_to_usb_role()
431 return ci->is_otg && ci->roles[CI_ROLE_HOST] && in ci_otg_is_fsm_mode()
Dcore.c944 if (!(ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET])) { in role_store()
949 for (role = CI_ROLE_HOST; role < CI_ROLE_END; role++) in role_store()
1104 if (!ci->roles[CI_ROLE_HOST] && !ci->roles[CI_ROLE_GADGET]) { in ci_hdrc_probe()
1127 if (ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET]) { in ci_hdrc_probe()
1141 ci->role = ci->roles[CI_ROLE_HOST] in ci_hdrc_probe()
1142 ? CI_ROLE_HOST in ci_hdrc_probe()
Dhost.c219 if (ci->role == CI_ROLE_HOST && ci->hcd) in ci_hdrc_host_destroy()
365 ci->roles[CI_ROLE_HOST] = rdrv; in ci_hdrc_host_init()
Dotg.c124 : CI_ROLE_HOST; in ci_otg_role()
Ddebug.c272 for (role = CI_ROLE_HOST; role < CI_ROLE_END; role++) in ci_role_write()
Dotg_fsm.c550 ci_role_start(ci, CI_ROLE_HOST); in ci_otg_start_host()
Dudc.c1625 if (ci_otg_is_fsm_mode(ci) || ci->role == CI_ROLE_HOST) in ci_udc_pullup()