Searched refs:ci_role (Results 1 – 5 of 5) sorted by relevance
108 enum ci_role { enum214 enum ci_role role;261 static inline struct ci_role_driver *ci_role(struct ci_hdrc *ci) in ci_role() function267 static inline int ci_role_start(struct ci_hdrc *ci, enum ci_role role) in ci_role_start()285 enum ci_role role = ci->role; in ci_role_stop()305 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 = ci_otg_role(ci); in ci_handle_id_switch()174 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()613 enum ci_role ci_role = usb_role_to_ci_role(role); in ci_usb_role_switch_set() local616 if ((ci_role != CI_ROLE_END && !ci->roles[ci_role]) || in ci_usb_role_switch_set()958 return sprintf(buf, "%s\n", ci_role(ci)->name); in role_show()967 enum ci_role role; in role_store()1184 ci_role(ci)->name); in ci_hdrc_probe()
15 enum ci_role ci_otg_role(struct ci_hdrc *ci);
255 seq_printf(s, "%s\n", ci_role(ci)->name); in ci_role_show()265 enum ci_role role; in ci_role_write()