Lines Matching refs:ssusb_mtk
15 int ssusb_host_init(struct ssusb_mtk *ssusb, struct device_node *parent_dn);
16 void ssusb_host_exit(struct ssusb_mtk *ssusb);
17 int ssusb_wakeup_of_property_parse(struct ssusb_mtk *ssusb,
19 int ssusb_host_resume(struct ssusb_mtk *ssusb, bool p0_skipped);
20 int ssusb_host_suspend(struct ssusb_mtk *ssusb);
21 void ssusb_wakeup_set(struct ssusb_mtk *ssusb, bool enable);
25 static inline int ssusb_host_init(struct ssusb_mtk *ssusb, in ssusb_host_init()
32 static inline void ssusb_host_exit(struct ssusb_mtk *ssusb) in ssusb_host_exit()
36 struct ssusb_mtk *ssusb, struct device_node *dn) in ssusb_wakeup_of_property_parse()
41 static inline int ssusb_host_resume(struct ssusb_mtk *ssusb, bool p0_skipped) in ssusb_host_resume()
46 static inline int ssusb_host_suspend(struct ssusb_mtk *ssusb) in ssusb_host_suspend()
51 static inline void ssusb_wakeup_set(struct ssusb_mtk *ssusb, bool enable) in ssusb_wakeup_set()
58 int ssusb_gadget_init(struct ssusb_mtk *ssusb);
59 void ssusb_gadget_exit(struct ssusb_mtk *ssusb);
60 int ssusb_gadget_suspend(struct ssusb_mtk *ssusb, pm_message_t msg);
61 int ssusb_gadget_resume(struct ssusb_mtk *ssusb, pm_message_t msg);
62 bool ssusb_gadget_ip_sleep_check(struct ssusb_mtk *ssusb);
65 static inline int ssusb_gadget_init(struct ssusb_mtk *ssusb) in ssusb_gadget_init()
70 static inline void ssusb_gadget_exit(struct ssusb_mtk *ssusb) in ssusb_gadget_exit()
74 ssusb_gadget_suspend(struct ssusb_mtk *ssusb, pm_message_t msg) in ssusb_gadget_suspend()
80 ssusb_gadget_resume(struct ssusb_mtk *ssusb, pm_message_t msg) in ssusb_gadget_resume()
85 static inline bool ssusb_gadget_ip_sleep_check(struct ssusb_mtk *ssusb) in ssusb_gadget_ip_sleep_check()
94 int ssusb_otg_switch_init(struct ssusb_mtk *ssusb);
95 void ssusb_otg_switch_exit(struct ssusb_mtk *ssusb);
96 void ssusb_mode_switch(struct ssusb_mtk *ssusb, int to_host);
98 void ssusb_set_force_mode(struct ssusb_mtk *ssusb,
103 static inline int ssusb_otg_switch_init(struct ssusb_mtk *ssusb) in ssusb_otg_switch_init()
108 static inline void ssusb_otg_switch_exit(struct ssusb_mtk *ssusb) in ssusb_otg_switch_exit()
111 static inline void ssusb_mode_switch(struct ssusb_mtk *ssusb, int to_host) in ssusb_mode_switch()
120 ssusb_set_force_mode(struct ssusb_mtk *ssusb, enum mtu3_dr_force_mode mode) in ssusb_set_force_mode()