Lines Matching defs: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() local
131 struct ssusb_mtk *ssusb = otg_sx_to_ssusb(otg_sx); in ssusb_mode_sw_work() local
176 struct ssusb_mtk *ssusb = otg_sx_to_ssusb(otg_sx); in ssusb_set_mode() local
198 struct ssusb_mtk *ssusb = otg_sx_to_ssusb(otg_sx); in ssusb_extcon_register() local
230 void ssusb_mode_switch(struct ssusb_mtk *ssusb, int to_host) in ssusb_mode_switch()
237 void ssusb_set_force_mode(struct ssusb_mtk *ssusb, in ssusb_set_force_mode()
262 struct ssusb_mtk *ssusb = usb_role_switch_get_drvdata(sw); in ssusb_role_sw_set() local
272 struct ssusb_mtk *ssusb = usb_role_switch_get_drvdata(sw); in ssusb_role_sw_get() local
280 struct ssusb_mtk *ssusb = otg_sx_to_ssusb(otg_sx); in ssusb_role_sw_register() local
306 int ssusb_otg_switch_init(struct ssusb_mtk *ssusb) in ssusb_otg_switch_init()
323 void ssusb_otg_switch_exit(struct ssusb_mtk *ssusb) in ssusb_otg_switch_exit()