Home
last modified time | relevance | path

Searched refs:usb_phys (Results 1 – 4 of 4) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Ddwc3-uboot.h50 int dwc3_shutdown_phy(struct udevice *dev, struct phy *usb_phys, int num_phys);
58 static inline int dwc3_shutdown_phy(struct udevice *dev, struct phy *usb_phys, in dwc3_shutdown_phy() argument
/rk3399_rockchip-uboot/drivers/usb/dwc3/
H A Dcore.c892 struct phy *usb_phys; in dwc3_setup_phy() local
901 usb_phys = devm_kcalloc(dev, count, sizeof(struct phy), in dwc3_setup_phy()
903 if (!usb_phys) in dwc3_setup_phy()
907 ret = generic_phy_get_by_index(dev, i, &usb_phys[i]); in dwc3_setup_phy()
916 ret = generic_phy_init(&usb_phys[i]); in dwc3_setup_phy()
925 ret = generic_phy_power_on(&usb_phys[i]); in dwc3_setup_phy()
933 *array = usb_phys; in dwc3_setup_phy()
939 generic_phy_power_off(&usb_phys[i]); in dwc3_setup_phy()
942 generic_phy_exit(&usb_phys[i]); in dwc3_setup_phy()
948 generic_phy_exit(&usb_phys[i]); in dwc3_setup_phy()
[all …]
/rk3399_rockchip-uboot/drivers/usb/host/
H A Dxhci-dwc3.c25 struct phy *usb_phys; member
131 ret = dwc3_setup_phy(dev, &plat->usb_phys, &plat->num_phys); in xhci_dwc3_probe()
174 dwc3_shutdown_phy(dev, plat->usb_phys, plat->num_phys); in xhci_dwc3_remove()
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Ddwc2_udc_otg.c961 struct phy *usb_phys; in dwc2_phy_setup() local
971 usb_phys = devm_kcalloc(dev, count, sizeof(struct phy), in dwc2_phy_setup()
973 if (!usb_phys) in dwc2_phy_setup()
977 ret = generic_phy_get_by_index(dev, i, &usb_phys[i]); in dwc2_phy_setup()
986 ret = generic_phy_init(&usb_phys[i]); in dwc2_phy_setup()
995 ret = generic_phy_power_on(&usb_phys[i]); in dwc2_phy_setup()
1003 *array = usb_phys; in dwc2_phy_setup()
1010 generic_phy_power_off(&usb_phys[i]); in dwc2_phy_setup()
1013 generic_phy_exit(&usb_phys[i]); in dwc2_phy_setup()
1019 generic_phy_exit(&usb_phys[i]); in dwc2_phy_setup()
[all …]