Home
last modified time | relevance | path

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

/Linux-v4.19/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_enable(struct ssusb_mtk *ssusb) in ssusb_host_enable()
46 static inline int ssusb_host_disable(struct ssusb_mtk *ssusb, bool suspend) in ssusb_host_disable()
51 static inline void ssusb_wakeup_set(struct ssusb_mtk *ssusb, bool enable) in ssusb_wakeup_set()
61 static inline int ssusb_gadget_init(struct ssusb_mtk *ssusb) in ssusb_gadget_init()
66 static inline void ssusb_gadget_exit(struct ssusb_mtk *ssusb) in ssusb_gadget_exit()
80 static inline int ssusb_otg_switch_init(struct ssusb_mtk *ssusb) in ssusb_otg_switch_init()
85 static inline void ssusb_otg_switch_exit(struct ssusb_mtk *ssusb) in ssusb_otg_switch_exit()
[all …]
Dmtu3_plat.c21 int ssusb_check_clocks(struct ssusb_mtk *ssusb, u32 ex_clks) in ssusb_check_clocks()
47 static int ssusb_phy_init(struct ssusb_mtk *ssusb) in ssusb_phy_init()
66 static int ssusb_phy_exit(struct ssusb_mtk *ssusb) in ssusb_phy_exit()
76 static int ssusb_phy_power_on(struct ssusb_mtk *ssusb) in ssusb_phy_power_on()
95 static void ssusb_phy_power_off(struct ssusb_mtk *ssusb) in ssusb_phy_power_off()
103 static int ssusb_clks_enable(struct ssusb_mtk *ssusb) in ssusb_clks_enable()
143 static void ssusb_clks_disable(struct ssusb_mtk *ssusb) in ssusb_clks_disable()
151 static int ssusb_rscs_init(struct ssusb_mtk *ssusb) in ssusb_rscs_init()
189 static void ssusb_rscs_exit(struct ssusb_mtk *ssusb) in ssusb_rscs_exit()
197 static void ssusb_ip_sw_reset(struct ssusb_mtk *ssusb) in ssusb_ip_sw_reset()
[all …]
Dmtu3_dr.c31 static void toggle_opstate(struct ssusb_mtk *ssusb) in toggle_opstate()
40 static int ssusb_port0_switch(struct ssusb_mtk *ssusb, in ssusb_port0_switch()
78 static void switch_port_to_host(struct ssusb_mtk *ssusb) in switch_port_to_host()
97 static void switch_port_to_device(struct ssusb_mtk *ssusb) in switch_port_to_device()
115 struct ssusb_mtk *ssusb = in ssusb_set_vbus() local
146 struct ssusb_mtk *ssusb = in ssusb_set_mailbox() local
229 struct ssusb_mtk *ssusb = in ssusb_extcon_register() local
269 static void ssusb_mode_manual_switch(struct ssusb_mtk *ssusb, int to_host) in ssusb_mode_manual_switch()
286 struct ssusb_mtk *ssusb = sf->private; in ssusb_mode_show() local
304 struct ssusb_mtk *ssusb = sf->private; in ssusb_mode_write() local
[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_core.c814 int ssusb_gadget_init(struct ssusb_mtk *ssusb) in ssusb_gadget_init()
914 void ssusb_gadget_exit(struct ssusb_mtk *ssusb) in ssusb_gadget_exit()
Dmtu3.h325 struct ssusb_mtk *ssusb; member
/Linux-v4.19/arch/arm64/boot/dts/mediatek/
Dmt7622.dtsi655 ssusb: usb@1a0c0000 { label
Dmt8173.dtsi818 ssusb: usb@11271000 { label