Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
81 static inline int ssusb_otg_switch_init(struct ssusb_mtk *ssusb) in ssusb_otg_switch_init()
86 static inline void ssusb_otg_switch_exit(struct ssusb_mtk *ssusb) in ssusb_otg_switch_exit()
[all …]
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_dr.c42 static void toggle_opstate(struct ssusb_mtk *ssusb) in toggle_opstate()
49 static int ssusb_port0_switch(struct ssusb_mtk *ssusb, in ssusb_port0_switch()
87 static void switch_port_to_host(struct ssusb_mtk *ssusb) in switch_port_to_host()
106 static void switch_port_to_device(struct ssusb_mtk *ssusb) in switch_port_to_device()
124 struct ssusb_mtk *ssusb = in ssusb_set_vbus() local
155 struct ssusb_mtk *ssusb = in ssusb_set_mailbox() local
239 struct ssusb_mtk *ssusb = in ssusb_extcon_register() local
283 void ssusb_mode_switch(struct ssusb_mtk *ssusb, int to_host) in ssusb_mode_switch()
298 void ssusb_set_force_mode(struct ssusb_mtk *ssusb, in ssusb_set_force_mode()
323 struct ssusb_mtk *ssusb = usb_role_switch_get_drvdata(sw); in ssusb_role_sw_set() 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_debug.h37 static inline void ssusb_dev_debugfs_init(struct ssusb_mtk *ssusb) {} in ssusb_dev_debugfs_init()
38 static inline void ssusb_dr_debugfs_init(struct ssusb_mtk *ssusb) {} in ssusb_dr_debugfs_init()
39 static inline void ssusb_debugfs_create_root(struct ssusb_mtk *ssusb) {} in ssusb_debugfs_create_root()
40 static inline void ssusb_debugfs_remove_root(struct ssusb_mtk *ssusb) {} in ssusb_debugfs_remove_root()
Dmtu3_debugfs.c351 struct ssusb_mtk *ssusb = mtu->ssusb; in mtu3_debugfs_create_prb_files() local
388 struct ssusb_mtk *ssusb = mtu->ssusb; in mtu3_debugfs_create_ep_dirs() local
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() local
449 struct ssusb_mtk *ssusb = sf->private; in ssusb_mode_write() local
477 struct ssusb_mtk *ssusb = sf->private; in ssusb_vbus_show() local
495 struct ssusb_mtk *ssusb = sf->private; in ssusb_vbus_write() local
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_core.c873 int ssusb_gadget_init(struct ssusb_mtk *ssusb) in ssusb_gadget_init()
954 void ssusb_gadget_exit(struct ssusb_mtk *ssusb) in ssusb_gadget_exit()
Dmtu3.h326 struct ssusb_mtk *ssusb; member
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dmt7629.dtsi308 ssusb: usb@1a0c0000 { label
/kernel/linux/linux-5.10/arch/arm64/boot/dts/mediatek/
Dmt7622.dtsi725 ssusb: usb@1a0c0000 { label
Dmt8183.dtsi663 ssusb: usb@11201000 { label
Dmt2712e.dtsi791 ssusb: usb@11271000 { label
Dmt8173.dtsi862 ssusb: usb@11271000 { label