Home
last modified time | relevance | path

Searched refs:otg_switch (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/usb/mtu3/
Dmtu3_dr.c44 if (!ssusb->otg_switch.is_u3_drd) { in toggle_opstate()
97 if (ssusb->otg_switch.is_u3_drd) { in switch_port_to_host()
116 if (ssusb->otg_switch.is_u3_drd) { in switch_port_to_device()
127 container_of(otg_sx, struct ssusb_mtk, otg_switch); in ssusb_set_vbus()
158 container_of(otg_sx, struct ssusb_mtk, otg_switch); in ssusb_set_mailbox()
242 container_of(otg_sx, struct ssusb_mtk, otg_switch); in ssusb_extcon_register()
287 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_mode_switch()
351 container_of(otg_sx, struct ssusb_mtk, otg_switch); 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()
Dmtu3_host.c194 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()
Dmtu3_debugfs.c435 ssusb->otg_switch.manual_drd_enabled ? "manual" : "auto"); in ssusb_mode_show()
478 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_vbus_show()
496 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_vbus_write()
Dmtu3.h258 struct otg_switch_mtk otg_switch; member
Dmtu3_plat.c217 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in get_ssusb_rscs()