Searched refs:otg_switch_mtk (Results 1 – 4 of 4) sorted by relevance
18 static inline struct ssusb_mtk *otg_sx_to_ssusb(struct otg_switch_mtk *otg_sx) in otg_sx_to_ssusb() 103 int ssusb_set_vbus(struct otg_switch_mtk *otg_sx, int is_on) in ssusb_set_vbus() 130 struct otg_switch_mtk *otg_sx = in ssusb_mode_sw_work() 131 container_of(work, struct otg_switch_mtk, dr_work); in ssusb_mode_sw_work() 175 static void ssusb_set_mode(struct otg_switch_mtk *otg_sx, enum usb_role role) in ssusb_set_mode() 189 struct otg_switch_mtk *otg_sx = in ssusb_id_notifier() 190 container_of(nb, struct otg_switch_mtk, id_nb); in ssusb_id_notifier() 197 static int ssusb_extcon_register(struct otg_switch_mtk *otg_sx) in ssusb_extcon_register() 233 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_mode_switch() 264 struct otg_switch_mtk *otg_s 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;
454 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_mode_write() 472 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch;