Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/chipidea/
Dotg.c123 ? CI_ROLE_GADGET in ci_otg_role()
175 if (role == CI_ROLE_GADGET && in ci_handle_id_switch()
188 if (role == CI_ROLE_GADGET) in ci_handle_id_switch()
Dci.h108 CI_ROLE_GADGET, enumerator
299 else if (ci->role == CI_ROLE_GADGET && ci->vbus_active) in ci_role_to_usb_role()
432 ci->roles[CI_ROLE_GADGET] && (otg_caps->srp_support || in ci_otg_is_fsm_mode()
Dcore.c906 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) in ci_role_destroy()
944 if (!(ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET])) { in role_store()
961 if (!ret && ci->role == CI_ROLE_GADGET) in role_store()
1104 if (!ci->roles[CI_ROLE_HOST] && !ci->roles[CI_ROLE_GADGET]) { in ci_hdrc_probe()
1110 if (ci->is_otg && 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()
1138 ci->role = CI_ROLE_GADGET; in ci_hdrc_probe()
1143 : CI_ROLE_GADGET; in ci_hdrc_probe()
1148 if (ci->role == CI_ROLE_GADGET) in ci_hdrc_probe()
1188 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) in ci_hdrc_probe()
Ddebug.c127 if (ci->role != CI_ROLE_GADGET) { in ci_qheads_show()
161 if (ci->role != CI_ROLE_GADGET) { in ci_requests_show()
Dotg_fsm.c553 ci_role_start(ci, CI_ROLE_GADGET); in ci_otg_start_host()
Dudc.c1991 if (!ci->roles[CI_ROLE_GADGET]) in ci_hdrc_gadget_destroy()
2057 ci->roles[CI_ROLE_GADGET] = rdrv; in ci_hdrc_gadget_init()