Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/usb/dwc3/
H A Dcore.c886 struct phy *usb_phys; in dwc3_setup_phy() local
895 usb_phys = devm_kcalloc(dev, count, sizeof(struct phy), in dwc3_setup_phy()
897 if (!usb_phys) in dwc3_setup_phy()
901 ret = generic_phy_get_by_index(dev, i, &usb_phys[i]); in dwc3_setup_phy()
910 ret = generic_phy_init(&usb_phys[i]); in dwc3_setup_phy()
919 ret = generic_phy_power_on(&usb_phys[i]); in dwc3_setup_phy()
927 *array = usb_phys; in dwc3_setup_phy()
933 generic_phy_power_off(&usb_phys[i]); in dwc3_setup_phy()
936 generic_phy_exit(&usb_phys[i]); in dwc3_setup_phy()
942 generic_phy_exit(&usb_phys[i]); in dwc3_setup_phy()
[all …]
/OK3568_Linux_fs/u-boot/drivers/usb/gadget/
H A Ddwc2_udc_otg.c958 struct phy *usb_phys; in dwc2_phy_setup() local
968 usb_phys = devm_kcalloc(dev, count, sizeof(struct phy), in dwc2_phy_setup()
970 if (!usb_phys) in dwc2_phy_setup()
974 ret = generic_phy_get_by_index(dev, i, &usb_phys[i]); in dwc2_phy_setup()
983 ret = generic_phy_init(&usb_phys[i]); in dwc2_phy_setup()
992 ret = generic_phy_power_on(&usb_phys[i]); in dwc2_phy_setup()
1000 *array = usb_phys; in dwc2_phy_setup()
1007 generic_phy_power_off(&usb_phys[i]); in dwc2_phy_setup()
1010 generic_phy_exit(&usb_phys[i]); in dwc2_phy_setup()
1016 generic_phy_exit(&usb_phys[i]); in dwc2_phy_setup()
[all …]
/OK3568_Linux_fs/u-boot/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()
/OK3568_Linux_fs/u-boot/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