Searched refs:otg_switch_mtk (Results 1 – 5 of 5) sorted by relevance
17 static inline struct ssusb_mtk *otg_sx_to_ssusb(struct otg_switch_mtk *otg_sx) in otg_sx_to_ssusb()102 int ssusb_set_vbus(struct otg_switch_mtk *otg_sx, int is_on) in ssusb_set_vbus()129 struct otg_switch_mtk *otg_sx = in ssusb_mode_sw_work()130 container_of(work, struct otg_switch_mtk, dr_work); in ssusb_mode_sw_work()174 static void ssusb_set_mode(struct otg_switch_mtk *otg_sx, enum usb_role role) in ssusb_set_mode()188 struct otg_switch_mtk *otg_sx = in ssusb_id_notifier()189 container_of(nb, struct otg_switch_mtk, id_nb); in ssusb_id_notifier()196 static int ssusb_extcon_register(struct otg_switch_mtk *otg_sx) in ssusb_extcon_register()232 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_mode_switch()263 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_role_sw_set()[all …]
97 int ssusb_set_vbus(struct otg_switch_mtk *otg_sx, int is_on);114 static inline int ssusb_set_vbus(struct otg_switch_mtk *otg_sx, int is_on) in ssusb_set_vbus()
211 struct otg_switch_mtk { struct255 struct otg_switch_mtk otg_switch;
195 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_u3_drd_check()221 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in get_ssusb_rscs()
479 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_vbus_show()497 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_vbus_write()