Home
last modified time | relevance | path

Searched defs:ssusb (Results 1 – 8 of 8) sorted by relevance

/drivers/usb/mtu3/
Dmtu3_dr.h25 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()
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()
[all …]
Dmtu3_dr.c22 static void toggle_opstate(struct ssusb_mtk *ssusb) in toggle_opstate()
29 static int ssusb_port0_switch(struct ssusb_mtk *ssusb, in ssusb_port0_switch()
67 static void switch_port_to_host(struct ssusb_mtk *ssusb) in switch_port_to_host()
86 static void switch_port_to_device(struct ssusb_mtk *ssusb) in switch_port_to_device()
104 struct ssusb_mtk *ssusb = otg_sx_to_ssusb(otg_sx); in ssusb_set_vbus() local
131 struct ssusb_mtk *ssusb = otg_sx_to_ssusb(otg_sx); in ssusb_mode_sw_work() local
176 struct ssusb_mtk *ssusb = otg_sx_to_ssusb(otg_sx); in ssusb_set_mode() local
198 struct ssusb_mtk *ssusb = otg_sx_to_ssusb(otg_sx); in ssusb_extcon_register() local
230 void ssusb_mode_switch(struct ssusb_mtk *ssusb, int to_host) in ssusb_mode_switch()
237 void ssusb_set_force_mode(struct ssusb_mtk *ssusb, in ssusb_set_force_mode()
[all …]
Dmtu3_plat.c22 int ssusb_check_clocks(struct ssusb_mtk *ssusb, u32 ex_clks) in ssusb_check_clocks()
48 static int wait_for_ip_sleep(struct ssusb_mtk *ssusb) in wait_for_ip_sleep()
74 static int ssusb_phy_init(struct ssusb_mtk *ssusb) in ssusb_phy_init()
93 static int ssusb_phy_exit(struct ssusb_mtk *ssusb) in ssusb_phy_exit()
103 static int ssusb_phy_power_on(struct ssusb_mtk *ssusb) in ssusb_phy_power_on()
122 static void ssusb_phy_power_off(struct ssusb_mtk *ssusb) in ssusb_phy_power_off()
130 static int ssusb_rscs_init(struct ssusb_mtk *ssusb) in ssusb_rscs_init()
168 static void ssusb_rscs_exit(struct ssusb_mtk *ssusb) in ssusb_rscs_exit()
176 static void ssusb_ip_sw_reset(struct ssusb_mtk *ssusb) in ssusb_ip_sw_reset()
192 static int get_ssusb_rscs(struct platform_device *pdev, struct ssusb_mtk *ssusb) in get_ssusb_rscs()
[all …]
Dmtu3_host.c52 static void ssusb_wakeup_ip_sleep_set(struct ssusb_mtk *ssusb, bool enable) in ssusb_wakeup_ip_sleep_set()
83 int ssusb_wakeup_of_property_parse(struct ssusb_mtk *ssusb, in ssusb_wakeup_of_property_parse()
109 void ssusb_wakeup_set(struct ssusb_mtk *ssusb, bool enable) in ssusb_wakeup_set()
115 static void host_ports_num_get(struct ssusb_mtk *ssusb) in host_ports_num_get()
128 static int ssusb_host_enable(struct ssusb_mtk *ssusb) in ssusb_host_enable()
173 static int ssusb_host_disable(struct ssusb_mtk *ssusb) in ssusb_host_disable()
207 int ssusb_host_resume(struct ssusb_mtk *ssusb, bool p0_skipped) in ssusb_host_resume()
250 int ssusb_host_suspend(struct ssusb_mtk *ssusb) in ssusb_host_suspend()
284 static void ssusb_host_setup(struct ssusb_mtk *ssusb) in ssusb_host_setup()
299 static void ssusb_host_cleanup(struct ssusb_mtk *ssusb) in ssusb_host_cleanup()
[all …]
Dmtu3_debugfs.c352 struct ssusb_mtk *ssusb = mtu->ssusb; in mtu3_debugfs_create_prb_files() local
389 struct ssusb_mtk *ssusb = mtu->ssusb; in mtu3_debugfs_create_ep_dirs() local
401 void ssusb_dev_debugfs_init(struct ssusb_mtk *ssusb) in ssusb_dev_debugfs_init()
432 struct ssusb_mtk *ssusb = sf->private; in ssusb_mode_show() local
450 struct ssusb_mtk *ssusb = sf->private; in ssusb_mode_write() local
478 struct ssusb_mtk *ssusb = sf->private; in ssusb_vbus_show() local
496 struct ssusb_mtk *ssusb = sf->private; in ssusb_vbus_write() local
522 void ssusb_dr_debugfs_init(struct ssusb_mtk *ssusb) in ssusb_dr_debugfs_init()
530 void ssusb_debugfs_create_root(struct ssusb_mtk *ssusb) in ssusb_debugfs_create_root()
536 void ssusb_debugfs_remove_root(struct ssusb_mtk *ssusb) in ssusb_debugfs_remove_root()
Dmtu3_debug.h36 static inline void ssusb_dev_debugfs_init(struct ssusb_mtk *ssusb) {} in ssusb_dev_debugfs_init()
37 static inline void ssusb_dr_debugfs_init(struct ssusb_mtk *ssusb) {} in ssusb_dr_debugfs_init()
38 static inline void ssusb_debugfs_create_root(struct ssusb_mtk *ssusb) {} in ssusb_debugfs_create_root()
39 static inline void ssusb_debugfs_remove_root(struct ssusb_mtk *ssusb) {} in ssusb_debugfs_remove_root()
Dmtu3_core.c916 int ssusb_gadget_init(struct ssusb_mtk *ssusb) in ssusb_gadget_init()
1001 void ssusb_gadget_exit(struct ssusb_mtk *ssusb) in ssusb_gadget_exit()
1010 bool ssusb_gadget_ip_sleep_check(struct ssusb_mtk *ssusb) in ssusb_gadget_ip_sleep_check()
1026 int ssusb_gadget_suspend(struct ssusb_mtk *ssusb, pm_message_t msg) in ssusb_gadget_suspend()
1042 int ssusb_gadget_resume(struct ssusb_mtk *ssusb, pm_message_t msg) in ssusb_gadget_resume()
Dmtu3.h323 struct ssusb_mtk *ssusb; member