Home
last modified time | relevance | path

Searched refs:ssusb_mtk (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/drivers/usb/mtu3/ !
Dmtu3_dr.h15 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()
[all …]
Dmtu3_debug.h15 struct ssusb_mtk;
30 void ssusb_dev_debugfs_init(struct ssusb_mtk *ssusb);
31 void ssusb_dr_debugfs_init(struct ssusb_mtk *ssusb);
32 void ssusb_debugfs_create_root(struct ssusb_mtk *ssusb);
33 void ssusb_debugfs_remove_root(struct ssusb_mtk *ssusb);
36 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_dr.c17 static inline struct ssusb_mtk *otg_sx_to_ssusb(struct otg_switch_mtk *otg_sx) in otg_sx_to_ssusb()
19 return container_of(otg_sx, struct ssusb_mtk, otg_switch); in otg_sx_to_ssusb()
22 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()
131 struct ssusb_mtk *ssusb = otg_sx_to_ssusb(otg_sx); in ssusb_mode_sw_work()
176 struct ssusb_mtk *ssusb = otg_sx_to_ssusb(otg_sx); in ssusb_set_mode()
198 struct ssusb_mtk *ssusb = otg_sx_to_ssusb(otg_sx); in ssusb_extcon_register()
[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_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_debugfs.c352 struct ssusb_mtk *ssusb = mtu->ssusb; in mtu3_debugfs_create_prb_files()
389 struct ssusb_mtk *ssusb = mtu->ssusb; in mtu3_debugfs_create_ep_dirs()
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()
450 struct ssusb_mtk *ssusb = sf->private; in ssusb_mode_write()
478 struct ssusb_mtk *ssusb = sf->private; in ssusb_vbus_show()
496 struct ssusb_mtk *ssusb = sf->private; in ssusb_vbus_write()
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.h242 struct ssusb_mtk { struct
304 static inline struct ssusb_mtk *dev_to_ssusb(struct device *dev) in dev_to_ssusb()
323 struct ssusb_mtk *ssusb;
413 int ssusb_check_clocks(struct ssusb_mtk *ssusb, u32 ex_clks);
Dmtu3_core.c916 int ssusb_gadget_init(struct ssusb_mtk *ssusb) in ssusb_gadget_init()
1003 void ssusb_gadget_exit(struct ssusb_mtk *ssusb) in ssusb_gadget_exit()
1012 bool ssusb_gadget_ip_sleep_check(struct ssusb_mtk *ssusb) in ssusb_gadget_ip_sleep_check()
1028 int ssusb_gadget_suspend(struct ssusb_mtk *ssusb, pm_message_t msg) in ssusb_gadget_suspend()
1044 int ssusb_gadget_resume(struct ssusb_mtk *ssusb, pm_message_t msg) in ssusb_gadget_resume()