| /OK3568_Linux_fs/kernel/drivers/usb/mtu3/ |
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A D | mtu3.h | 258 struct otg_switch_mtk otg_switch; member
|
| H A D | mtu3_plat.c | 217 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in get_ssusb_rscs()
|
| /OK3568_Linux_fs/kernel/drivers/misc/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3562-rk817.dtsi | 230 otg_switch: OTG_SWITCH { label 231 regulator-name = "otg_switch";
|
| H A D | rk3566-rk817-eink-w6.dts | 519 otg_switch: OTG_SWITCH { label 520 regulator-name = "otg_switch"; 868 <&vccio_acodec>, <&vccio_sd>, <&vcc1v8_dvp>, <&dcdc_boost>, <&otg_switch>, 875 <&vccio_acodec>, <&vccio_sd>, <&vcc1v8_dvp>, <&dcdc_boost>, <&otg_switch>, 883 <&vcc1v8_dvp>, <&dcdc_boost>, <&otg_switch>;
|
| H A D | rk3566-rk817-eink-w103.dts | 621 otg_switch: OTG_SWITCH { label 622 regulator-name = "otg_switch"; 1015 <&vccio_acodec>, <&vccio_sd>, <&vcc1v8_dvp>, <&dcdc_boost>, <&otg_switch>, 1022 <&vccio_acodec>, <&vccio_sd>, <&vcc1v8_dvp>, <&dcdc_boost>, <&otg_switch>, 1030 <&vcc1v8_dvp>, <&dcdc_boost>, <&otg_switch>;
|
| H A D | rk3562-dictpen-test3-v20.dts | 591 vbus-supply = <&otg_switch>; 831 otg_switch: OTG_SWITCH { label 832 regulator-name = "otg_switch"; 1196 vbus-supply = <&otg_switch>;
|
| H A D | rk3562-rk817-tablet-v10.dts | 760 otg_switch: OTG_SWITCH { label 761 regulator-name = "otg_switch"; 1025 vbus-supply = <&otg_switch>;
|
| H A D | rk3326-evb-lp3-v10-robot-linux.dts | 403 otg_switch: OTG_SWITCH { label 404 regulator-name = "otg_switch";
|
| H A D | rk3326-evb-lp3-v10-robot-no-gpu-linux.dts | 398 otg_switch: OTG_SWITCH { label 399 regulator-name = "otg_switch";
|
| H A D | rk3326-863-lp3-v10.dtsi | 550 otg_switch: OTG_SWITCH { label 551 regulator-name = "otg_switch";
|
| H A D | rk3368-xikp.dtsi | 552 otg_switch: OTG_SWITCH { label 553 regulator-name = "otg_switch";
|
| H A D | rk3326-evb-lp3-v10.dtsi | 601 otg_switch: OTG_SWITCH { label 602 regulator-name = "otg_switch";
|
| H A D | rk3368-p9.dtsi | 514 otg_switch: OTG_SWITCH { label 515 regulator-name = "otg_switch";
|
| H A D | rk3326-86v-v10.dts | 500 otg_switch: OTG_SWITCH { label 501 regulator-name = "otg_switch";
|
| H A D | rk3368a-817-tablet-bnd.dts | 606 otg_switch: OTG_SWITCH { label 607 regulator-name = "otg_switch";
|
| H A D | rk3566-rk817-eink.dts | 474 otg_switch: OTG_SWITCH { label 475 regulator-name = "otg_switch";
|
| H A D | rk3368-tablet.dts | 602 otg_switch: OTG_SWITCH { label 603 regulator-name = "otg_switch";
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | rk3326-evb.dts | 330 otg_switch: OTG_SWITCH { label 333 regulator-name = "otg_switch";
|
| H A D | px30-evb.dts | 345 otg_switch: OTG_SWITCH { label 348 regulator-name = "otg_switch";
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/ |
| H A D | rk817.txt | 315 otg_switch: OTG_SWITCH { 317 regulator-name = "otg_switch";
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | rk3288-th804.dtsi | 424 otg_switch: OTG_SWITCH { label 425 regulator-name = "otg_switch";
|