Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
367 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_otg_switch_init()
385 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()
/kernel/linux/linux-5.10/drivers/misc/
Dhisi_hikey_usb.c35 struct gpio_desc *otg_switch; member
81 if (!hisi_hikey_usb->otg_switch) in usb_switch_ctrl()
84 gpiod_set_value_cansleep(hisi_hikey_usb->otg_switch, switch_to); in usb_switch_ctrl()
190 hisi_hikey_usb->otg_switch = devm_gpiod_get(dev, "otg-switch", in hisi_hikey_usb_probe()
192 if (IS_ERR(hisi_hikey_usb->otg_switch)) in hisi_hikey_usb_probe()
193 return PTR_ERR(hisi_hikey_usb->otg_switch); in hisi_hikey_usb_probe()