Lines Matching refs:otg_switch_mtk
124 int ssusb_set_vbus(struct otg_switch_mtk *otg_sx, int is_on) in ssusb_set_vbus()
154 static void ssusb_set_mailbox(struct otg_switch_mtk *otg_sx, in ssusb_set_mailbox()
191 struct otg_switch_mtk *otg_sx = in ssusb_id_work()
192 container_of(work, struct otg_switch_mtk, id_work); in ssusb_id_work()
202 struct otg_switch_mtk *otg_sx = in ssusb_vbus_work()
203 container_of(work, struct otg_switch_mtk, vbus_work); in ssusb_vbus_work()
218 struct otg_switch_mtk *otg_sx = in ssusb_id_notifier()
219 container_of(nb, struct otg_switch_mtk, id_nb); in ssusb_id_notifier()
230 struct otg_switch_mtk *otg_sx = in ssusb_vbus_notifier()
231 container_of(nb, struct otg_switch_mtk, vbus_nb); in ssusb_vbus_notifier()
239 static int ssusb_extcon_register(struct otg_switch_mtk *otg_sx) in ssusb_extcon_register()
287 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_mode_switch()
347 static int ssusb_role_sw_register(struct otg_switch_mtk *otg_sx) in ssusb_role_sw_register()
366 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_otg_switch_init()
384 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_otg_switch_exit()