| /kernel/linux/linux-5.10/drivers/usb/mtu3/ |
| D | mtu3_dr.c | 95 if (ssusb->otg_switch.is_u3_drd) { in switch_port_to_host() 114 if (ssusb->otg_switch.is_u3_drd) { in switch_port_to_device() 125 container_of(otg_sx, struct ssusb_mtk, otg_switch); in ssusb_set_vbus() 156 container_of(otg_sx, struct ssusb_mtk, otg_switch); in ssusb_set_mailbox() 240 container_of(otg_sx, struct ssusb_mtk, otg_switch); in ssusb_extcon_register() 285 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_mode_switch() 349 container_of(otg_sx, struct ssusb_mtk, otg_switch); in ssusb_role_sw_register() 365 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_otg_switch_init() 383 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_otg_switch_exit()
|
| D | mtu3_host.c | 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()
|
| D | mtu3_debugfs.c | 435 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()
|
| D | mtu3_plat.c | 217 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in get_ssusb_rscs()
|
| D | mtu3.h | 258 struct otg_switch_mtk otg_switch; member
|
| /kernel/linux/linux-6.6/drivers/misc/ |
| D | hisi_hikey_usb.c | 35 struct gpio_desc *otg_switch; member 77 if (!hisi_hikey_usb->otg_switch) in usb_switch_ctrl() 80 gpiod_set_value_cansleep(hisi_hikey_usb->otg_switch, switch_to); in usb_switch_ctrl() 155 hisi_hikey_usb->otg_switch = devm_gpiod_get(dev, "otg-switch", in hisi_hikey_usb_of_role_switch() 157 if (IS_ERR(hisi_hikey_usb->otg_switch)) { in hisi_hikey_usb_of_role_switch() 159 PTR_ERR(hisi_hikey_usb->otg_switch)); in hisi_hikey_usb_of_role_switch() 160 return PTR_ERR(hisi_hikey_usb->otg_switch); in hisi_hikey_usb_of_role_switch()
|
| /kernel/linux/linux-5.10/drivers/misc/ |
| D | hisi_hikey_usb.c | 35 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()
|
| /kernel/linux/linux-6.6/drivers/usb/mtu3/ |
| D | mtu3_dr.c | 19 return container_of(otg_sx, struct ssusb_mtk, otg_switch); in otg_sx_to_ssusb() 75 if (ssusb->otg_switch.is_u3_drd) { in switch_port_to_host() 94 if (ssusb->otg_switch.is_u3_drd) { in switch_port_to_device() 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() 309 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_otg_switch_init() 326 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_otg_switch_exit()
|
| D | mtu3_host.c | 220 if (ssusb->otg_switch.is_u3_drd) in ssusb_host_resume() 297 ssusb_set_vbus(&ssusb->otg_switch, 1); in ssusb_host_setup() 303 ssusb_set_vbus(&ssusb->otg_switch, 0); in ssusb_host_cleanup()
|
| D | mtu3_debugfs.c | 436 ssusb->otg_switch.manual_drd_enabled ? "manual" : "auto"); in ssusb_mode_show() 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()
|
| D | mtu3_plat.c | 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()
|
| D | mtu3.h | 255 struct otg_switch_mtk otg_switch; member
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | rk808.txt | 67 - vcc9-supply: The input supply for OTG_SWITCH 80 - usb-supply: The input supply for OTG_SWITCH 123 - OTG_SWITCH for RK817 135 - OTG_SWITCH
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | rockchip,rk818.yaml | 94 The input supply for OTG_SWITCH. 99 "^(DCDC_REG[1-4]|DCDC_BOOST|LDO_REG[1-9]|SWITCH_REG|HDMI_SWITCH|OTG_SWITCH)$":
|
| D | rockchip,rk817.yaml | 83 The input supply for OTG_SWITCH. 88 "^(LDO_REG[1-9]|DCDC_REG[1-4]|BOOST|OTG_SWITCH)$":
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/ |
| D | rk3566-pinenote.dtsi | 416 otg_switch: OTG_SWITCH { label 417 regulator-name = "otg_switch"; 479 vbus-supply = <&otg_switch>;
|
| D | rk3566-quartz64-a.dts | 526 otg_switch: OTG_SWITCH { label 527 regulator-name = "otg_switch";
|
| D | rk3566-anbernic-rgxx3.dtsi | 517 otg_switch: OTG_SWITCH { label 518 regulator-name = "otg_switch";
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/ |
| D | willsemi,wusb3801.yaml | 68 vbus-supply = <&otg_switch>;
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/amlogic/ |
| D | meson-g12b-odroid-go-ultra.dts | 502 OTG_SWITCH { 503 regulator-name = "otg_switch"; 598 usb_host: OTG_SWITCH {
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| D | rk808-regulator.c | 1155 RK817_DESC_SWITCH(RK817_ID_BOOST_OTG_SW, "OTG_SWITCH", "vcc9", 1258 RK8XX_DESC_SWITCH(RK818_ID_OTG_SWITCH, "OTG_SWITCH", "usb",
|
| /kernel/linux/linux-6.6/drivers/regulator/ |
| D | rk808-regulator.c | 1523 RK817_DESC_SWITCH(RK817_ID_BOOST_OTG_SW, "OTG_SWITCH", "vcc9", 1626 RK8XX_DESC_SWITCH(RK818_ID_OTG_SWITCH, "OTG_SWITCH", "usb",
|
| /kernel/linux/patches/linux-5.10/yangfan_patch/ |
| D | drivers.patch | 57877 RK817_DESC_SWITCH(RK817_ID_BOOST_OTG_SW, "OTG_SWITCH", "vcc9",
|