Lines Matching refs:ssusb_mtk
42 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()
285 void ssusb_mode_switch(struct ssusb_mtk *ssusb, int to_host) in ssusb_mode_switch()
300 void ssusb_set_force_mode(struct ssusb_mtk *ssusb, in ssusb_set_force_mode()
325 struct ssusb_mtk *ssusb = dev_get_drvdata(dev); in ssusb_role_sw_set()
339 struct ssusb_mtk *ssusb = dev_get_drvdata(dev); in ssusb_role_sw_get()
350 struct ssusb_mtk *ssusb = in ssusb_role_sw_register()
351 container_of(otg_sx, struct ssusb_mtk, otg_switch); in ssusb_role_sw_register()
364 int ssusb_otg_switch_init(struct ssusb_mtk *ssusb) in ssusb_otg_switch_init()
382 void ssusb_otg_switch_exit(struct ssusb_mtk *ssusb) in ssusb_otg_switch_exit()