Searched refs:ci_role (Results 1 – 4 of 4) sorted by relevance
108 enum ci_role { enum219 enum ci_role role;268 static inline struct ci_role_driver *ci_role(struct ci_hdrc *ci) in ci_role() function274 static inline int ci_role_start(struct ci_hdrc *ci, enum ci_role role) in ci_role_start()303 enum ci_role role = ci->role; in ci_role_stop()326 static inline enum ci_role usb_role_to_ci_role(enum usb_role role) in usb_role_to_ci_role()
122 enum ci_role ci_otg_role(struct ci_hdrc *ci) in ci_otg_role()124 enum ci_role role = hw_read_otgsc(ci, OTGSC_ID) in ci_otg_role()170 enum ci_role role; in ci_handle_id_switch()176 ci_role(ci)->name, ci->roles[role]->name); in ci_handle_id_switch()
509 ci_role(ci)->name); in hw_device_reset()567 ret = ci_role(ci)->irq(ci); in ci_irq_handler()640 static enum ci_role ci_get_role(struct ci_hdrc *ci) in ci_get_role()642 enum ci_role role; in ci_get_role()965 return sprintf(buf, "%s\n", ci_role(ci)->name); in role_show()974 enum ci_role role; in role_store()1183 ci_role(ci)->name); in ci_hdrc_probe()1376 if (ci->role != CI_ROLE_END && ci_role(ci)->suspend) in ci_suspend()1377 ci_role(ci)->suspend(ci); in ci_suspend()1394 enum ci_role role; in ci_handle_power_lost()[all …]
15 enum ci_role ci_otg_role(struct ci_hdrc *ci);