Searched refs:ssusb_mtk (Results 1 – 8 of 8) sorted by relevance
/drivers/usb/mtu3/ |
D | mtu3_dr.h | 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() [all …]
|
D | mtu3_debug.h | 15 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()
|
D | mtu3_dr.c | 17 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 …]
|
D | mtu3_host.c | 53 static void ssusb_wakeup_ip_sleep_set(struct ssusb_mtk *ssusb, bool enable) in ssusb_wakeup_ip_sleep_set() 84 int ssusb_wakeup_of_property_parse(struct ssusb_mtk *ssusb, in ssusb_wakeup_of_property_parse() 110 void ssusb_wakeup_set(struct ssusb_mtk *ssusb, bool enable) in ssusb_wakeup_set() 116 static void host_ports_num_get(struct ssusb_mtk *ssusb) in host_ports_num_get() 129 static int ssusb_host_enable(struct ssusb_mtk *ssusb) in ssusb_host_enable() 174 static int ssusb_host_disable(struct ssusb_mtk *ssusb) in ssusb_host_disable() 208 int ssusb_host_resume(struct ssusb_mtk *ssusb, bool p0_skipped) in ssusb_host_resume() 251 int ssusb_host_suspend(struct ssusb_mtk *ssusb) in ssusb_host_suspend() 285 static void ssusb_host_setup(struct ssusb_mtk *ssusb) in ssusb_host_setup() 300 static void ssusb_host_cleanup(struct ssusb_mtk *ssusb) in ssusb_host_cleanup() [all …]
|
D | mtu3_plat.c | 23 int ssusb_check_clocks(struct ssusb_mtk *ssusb, u32 ex_clks) in ssusb_check_clocks() 49 static int wait_for_ip_sleep(struct ssusb_mtk *ssusb) in wait_for_ip_sleep() 75 static int ssusb_phy_init(struct ssusb_mtk *ssusb) in ssusb_phy_init() 94 static int ssusb_phy_exit(struct ssusb_mtk *ssusb) in ssusb_phy_exit() 104 static int ssusb_phy_power_on(struct ssusb_mtk *ssusb) in ssusb_phy_power_on() 123 static void ssusb_phy_power_off(struct ssusb_mtk *ssusb) in ssusb_phy_power_off() 131 static int ssusb_rscs_init(struct ssusb_mtk *ssusb) in ssusb_rscs_init() 169 static void ssusb_rscs_exit(struct ssusb_mtk *ssusb) in ssusb_rscs_exit() 177 static void ssusb_ip_sw_reset(struct ssusb_mtk *ssusb) in ssusb_ip_sw_reset() 193 static void ssusb_u3_drd_check(struct ssusb_mtk *ssusb) in ssusb_u3_drd_check() [all …]
|
D | mtu3_debugfs.c | 352 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()
|
D | mtu3.h | 243 struct ssusb_mtk { struct 305 static inline struct ssusb_mtk *dev_to_ssusb(struct device *dev) in dev_to_ssusb() 325 struct ssusb_mtk *ssusb; 417 int ssusb_check_clocks(struct ssusb_mtk *ssusb, u32 ex_clks);
|
D | mtu3_core.c | 922 int ssusb_gadget_init(struct ssusb_mtk *ssusb) in ssusb_gadget_init() 1008 void ssusb_gadget_exit(struct ssusb_mtk *ssusb) in ssusb_gadget_exit() 1017 bool ssusb_gadget_ip_sleep_check(struct ssusb_mtk *ssusb) in ssusb_gadget_ip_sleep_check() 1033 int ssusb_gadget_suspend(struct ssusb_mtk *ssusb, pm_message_t msg) in ssusb_gadget_suspend() 1049 int ssusb_gadget_resume(struct ssusb_mtk *ssusb, pm_message_t msg) in ssusb_gadget_resume()
|