Searched refs:otg_switch (Results 1 – 4 of 4) sorted by relevance
33 if (!ssusb->otg_switch.is_u3_drd) { in toggle_opstate()86 if (ssusb->otg_switch.is_u3_drd) { in switch_port_to_host()105 if (ssusb->otg_switch.is_u3_drd) { in switch_port_to_device()116 container_of(otg_sx, struct ssusb_mtk, otg_switch); in ssusb_set_vbus()147 container_of(otg_sx, struct ssusb_mtk, otg_switch); in ssusb_set_mailbox()230 container_of(otg_sx, struct ssusb_mtk, otg_switch); in ssusb_extcon_register()271 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_mode_manual_switch()290 ssusb->otg_switch.manual_drd_enabled ? "manual" : "auto"); in ssusb_mode_show()333 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_vbus_show()351 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_vbus_write()[all …]
194 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_host_setup()208 ssusb_set_vbus(&ssusb->otg_switch, 1); in ssusb_host_setup()214 ssusb_set_vbus(&ssusb->otg_switch, 0); in ssusb_host_cleanup()
256 struct otg_switch_mtk otg_switch; member
221 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in get_ssusb_rscs()