Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/usb/mtu3/
H A Dmtu3_dr.c95 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 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()
H A 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()
H A Dmtu3.h258 struct otg_switch_mtk otg_switch; member
H A Dmtu3_plat.c217 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in get_ssusb_rscs()
/OK3568_Linux_fs/kernel/drivers/misc/
H A 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()
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3562-rk817.dtsi230 otg_switch: OTG_SWITCH { label
231 regulator-name = "otg_switch";
H A Drk3566-rk817-eink-w6.dts519 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 Drk3566-rk817-eink-w103.dts621 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 Drk3562-dictpen-test3-v20.dts591 vbus-supply = <&otg_switch>;
831 otg_switch: OTG_SWITCH { label
832 regulator-name = "otg_switch";
1196 vbus-supply = <&otg_switch>;
H A Drk3562-rk817-tablet-v10.dts760 otg_switch: OTG_SWITCH { label
761 regulator-name = "otg_switch";
1025 vbus-supply = <&otg_switch>;
H A Drk3326-evb-lp3-v10-robot-linux.dts403 otg_switch: OTG_SWITCH { label
404 regulator-name = "otg_switch";
H A Drk3326-evb-lp3-v10-robot-no-gpu-linux.dts398 otg_switch: OTG_SWITCH { label
399 regulator-name = "otg_switch";
H A Drk3326-863-lp3-v10.dtsi550 otg_switch: OTG_SWITCH { label
551 regulator-name = "otg_switch";
H A Drk3368-xikp.dtsi552 otg_switch: OTG_SWITCH { label
553 regulator-name = "otg_switch";
H A Drk3326-evb-lp3-v10.dtsi601 otg_switch: OTG_SWITCH { label
602 regulator-name = "otg_switch";
H A Drk3368-p9.dtsi514 otg_switch: OTG_SWITCH { label
515 regulator-name = "otg_switch";
H A Drk3326-86v-v10.dts500 otg_switch: OTG_SWITCH { label
501 regulator-name = "otg_switch";
H A Drk3368a-817-tablet-bnd.dts606 otg_switch: OTG_SWITCH { label
607 regulator-name = "otg_switch";
H A Drk3566-rk817-eink.dts474 otg_switch: OTG_SWITCH { label
475 regulator-name = "otg_switch";
H A Drk3368-tablet.dts602 otg_switch: OTG_SWITCH { label
603 regulator-name = "otg_switch";
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Drk3326-evb.dts330 otg_switch: OTG_SWITCH { label
333 regulator-name = "otg_switch";
H A Dpx30-evb.dts345 otg_switch: OTG_SWITCH { label
348 regulator-name = "otg_switch";
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/
H A Drk817.txt315 otg_switch: OTG_SWITCH {
317 regulator-name = "otg_switch";
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Drk3288-th804.dtsi424 otg_switch: OTG_SWITCH { label
425 regulator-name = "otg_switch";

12