Home
last modified time | relevance | path

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

/Linux-v5.4/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_enable(struct ssusb_mtk *ssusb);
20 int ssusb_host_disable(struct ssusb_mtk *ssusb, bool suspend);
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_enable(struct ssusb_mtk *ssusb) in ssusb_host_enable()
[all …]
Dmtu3_debug.h29 void ssusb_dev_debugfs_init(struct ssusb_mtk *ssusb);
30 void ssusb_dr_debugfs_init(struct ssusb_mtk *ssusb);
31 void ssusb_debugfs_create_root(struct ssusb_mtk *ssusb);
32 void ssusb_debugfs_remove_root(struct ssusb_mtk *ssusb);
35 static inline void ssusb_dev_debugfs_init(struct ssusb_mtk *ssusb) {} in ssusb_dev_debugfs_init()
36 static inline void ssusb_dr_debugfs_init(struct ssusb_mtk *ssusb) {} in ssusb_dr_debugfs_init()
37 static inline void ssusb_debugfs_create_root(struct ssusb_mtk *ssusb) {} in ssusb_debugfs_create_root()
38 static inline void ssusb_debugfs_remove_root(struct ssusb_mtk *ssusb) {} in ssusb_debugfs_remove_root()
Dmtu3_dr.c42 static void toggle_opstate(struct ssusb_mtk *ssusb) in toggle_opstate()
51 static int ssusb_port0_switch(struct ssusb_mtk *ssusb, in ssusb_port0_switch()
89 static void switch_port_to_host(struct ssusb_mtk *ssusb) in switch_port_to_host()
108 static void switch_port_to_device(struct ssusb_mtk *ssusb) in switch_port_to_device()
126 struct ssusb_mtk *ssusb = in ssusb_set_vbus()
127 container_of(otg_sx, struct ssusb_mtk, otg_switch); in ssusb_set_vbus()
157 struct ssusb_mtk *ssusb = in ssusb_set_mailbox()
158 container_of(otg_sx, struct ssusb_mtk, otg_switch); in ssusb_set_mailbox()
241 struct ssusb_mtk *ssusb = in ssusb_extcon_register()
242 container_of(otg_sx, struct ssusb_mtk, otg_switch); in ssusb_extcon_register()
[all …]
Dmtu3_host.c41 static void ssusb_wakeup_ip_sleep_set(struct ssusb_mtk *ssusb, bool enable) in ssusb_wakeup_ip_sleep_set()
62 int ssusb_wakeup_of_property_parse(struct ssusb_mtk *ssusb, in ssusb_wakeup_of_property_parse()
88 void ssusb_wakeup_set(struct ssusb_mtk *ssusb, bool enable) in ssusb_wakeup_set()
94 static void host_ports_num_get(struct ssusb_mtk *ssusb) in host_ports_num_get()
107 int ssusb_host_enable(struct ssusb_mtk *ssusb) in ssusb_host_enable()
149 int ssusb_host_disable(struct ssusb_mtk *ssusb, bool suspend) in ssusb_host_disable()
192 static void ssusb_host_setup(struct ssusb_mtk *ssusb) in ssusb_host_setup()
211 static void ssusb_host_cleanup(struct ssusb_mtk *ssusb) in ssusb_host_cleanup()
225 int ssusb_host_init(struct ssusb_mtk *ssusb, struct device_node *parent_dn) in ssusb_host_init()
244 void ssusb_host_exit(struct ssusb_mtk *ssusb) in ssusb_host_exit()
Dmtu3_plat.c22 int ssusb_check_clocks(struct ssusb_mtk *ssusb, u32 ex_clks) in ssusb_check_clocks()
48 static int ssusb_phy_init(struct ssusb_mtk *ssusb) in ssusb_phy_init()
67 static int ssusb_phy_exit(struct ssusb_mtk *ssusb) in ssusb_phy_exit()
77 static int ssusb_phy_power_on(struct ssusb_mtk *ssusb) in ssusb_phy_power_on()
96 static void ssusb_phy_power_off(struct ssusb_mtk *ssusb) in ssusb_phy_power_off()
104 static int ssusb_clks_enable(struct ssusb_mtk *ssusb) in ssusb_clks_enable()
144 static void ssusb_clks_disable(struct ssusb_mtk *ssusb) in ssusb_clks_disable()
152 static int ssusb_rscs_init(struct ssusb_mtk *ssusb) in ssusb_rscs_init()
190 static void ssusb_rscs_exit(struct ssusb_mtk *ssusb) in ssusb_rscs_exit()
198 static void ssusb_ip_sw_reset(struct ssusb_mtk *ssusb) in ssusb_ip_sw_reset()
[all …]
Dmtu3_debugfs.c351 struct ssusb_mtk *ssusb = mtu->ssusb; in mtu3_debugfs_create_prb_files()
388 struct ssusb_mtk *ssusb = mtu->ssusb; in mtu3_debugfs_create_ep_dirs()
400 void ssusb_dev_debugfs_init(struct ssusb_mtk *ssusb) in ssusb_dev_debugfs_init()
431 struct ssusb_mtk *ssusb = sf->private; in ssusb_mode_show()
449 struct ssusb_mtk *ssusb = sf->private; in ssusb_mode_write()
477 struct ssusb_mtk *ssusb = sf->private; in ssusb_vbus_show()
495 struct ssusb_mtk *ssusb = sf->private; in ssusb_vbus_write()
521 void ssusb_dr_debugfs_init(struct ssusb_mtk *ssusb) in ssusb_dr_debugfs_init()
529 void ssusb_debugfs_create_root(struct ssusb_mtk *ssusb) in ssusb_debugfs_create_root()
535 void ssusb_debugfs_remove_root(struct ssusb_mtk *ssusb) in ssusb_debugfs_remove_root()
Dmtu3.h244 struct ssusb_mtk { struct
309 static inline struct ssusb_mtk *dev_to_ssusb(struct device *dev) in dev_to_ssusb()
328 struct ssusb_mtk *ssusb;
422 int ssusb_check_clocks(struct ssusb_mtk *ssusb, u32 ex_clks);
Dmtu3_core.c826 int ssusb_gadget_init(struct ssusb_mtk *ssusb) in ssusb_gadget_init()
926 void ssusb_gadget_exit(struct ssusb_mtk *ssusb) in ssusb_gadget_exit()