Searched refs:CI_ROLE_GADGET (Results 1 – 6 of 6) sorted by relevance
125 ? CI_ROLE_GADGET in ci_otg_role()176 if (ci->vbus_active && ci->role == CI_ROLE_GADGET) in ci_handle_id_switch()185 if (role == CI_ROLE_GADGET && in ci_handle_id_switch()198 if (role == CI_ROLE_GADGET) in ci_handle_id_switch()
109 CI_ROLE_GADGET, enumerator298 else if (ci->role == CI_ROLE_GADGET && ci->vbus_active) in ci_role_to_usb_role()309 return CI_ROLE_GADGET; in usb_role_to_ci_role()441 ci->roles[CI_ROLE_GADGET] && (otg_caps->srp_support || in ci_otg_is_fsm_mode()
914 if (ci->roles[CI_ROLE_HOST] && ci->roles[CI_ROLE_GADGET]) in ci_hdrc_query_available_role()918 else if (ci->roles[CI_ROLE_GADGET]) in ci_hdrc_query_available_role()929 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) in ci_role_destroy()984 if (!ret && ci->role == CI_ROLE_GADGET) in role_store()1127 if (!ci->roles[CI_ROLE_HOST] && !ci->roles[CI_ROLE_GADGET]) { in ci_hdrc_probe()1133 if (ci->is_otg && 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()1162 ci->role = CI_ROLE_GADGET; in ci_hdrc_probe()1167 : CI_ROLE_GADGET; in ci_hdrc_probe()1172 if (ci->role == CI_ROLE_GADGET) { in ci_hdrc_probe()[all …]
127 if (ci->role != CI_ROLE_GADGET) { in ci_qheads_show()161 if (ci->role != CI_ROLE_GADGET) { in ci_requests_show()
553 ci_role_start(ci, CI_ROLE_GADGET); in ci_otg_start_host()
2126 if (!ci->roles[CI_ROLE_GADGET]) in ci_hdrc_gadget_destroy()2192 ci->roles[CI_ROLE_GADGET] = rdrv; in ci_hdrc_gadget_init()
Completed in 127 milliseconds