Home
last modified time | relevance | path

Searched refs:ci_role (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/usb/chipidea/
Dotg.c120 enum ci_role ci_otg_role(struct ci_hdrc *ci) in ci_otg_role()
122 enum ci_role role = hw_read_otgsc(ci, OTGSC_ID) in ci_otg_role()
167 enum ci_role role = ci_otg_role(ci); in ci_handle_id_switch()
171 ci_role(ci)->name, ci->roles[role]->name); in ci_handle_id_switch()
Dci.h105 enum ci_role { enum
212 enum ci_role role;
259 static inline struct ci_role_driver *ci_role(struct ci_hdrc *ci) in ci_role() function
265 static inline int ci_role_start(struct ci_hdrc *ci, enum ci_role role) in ci_role_start()
283 enum ci_role role = ci->role; in ci_role_stop()
Dotg.h15 enum ci_role ci_otg_role(struct ci_hdrc *ci);
Dcore.c525 pr_err("cannot enter in %s device mode", ci_role(ci)->name); in hw_device_reset()
583 ret = ci_role(ci)->irq(ci); in ci_irq()
844 return sprintf(buf, "%s\n", ci_role(ci)->name); in role_show()
853 enum ci_role role; in role_store()
1039 ci_role(ci)->name); in ci_hdrc_probe()
Ddebug.c255 seq_printf(s, "%s\n", ci_role(ci)->name); in ci_role_show()
265 enum ci_role role; in ci_role_write()