| /linux/drivers/usb/dwc3/ |
| H A D | dwc3-keystone.c | 39 struct phy *usb3_phy; member 102 kdwc->usb3_phy = devm_phy_optional_get(dev, "usb3-phy"); in kdwc3_probe() 103 if (IS_ERR(kdwc->usb3_phy)) in kdwc3_probe() 104 return dev_err_probe(dev, PTR_ERR(kdwc->usb3_phy), "couldn't get usb3 phy\n"); in kdwc3_probe() 106 phy_pm_runtime_get_sync(kdwc->usb3_phy); in kdwc3_probe() 108 error = phy_reset(kdwc->usb3_phy); in kdwc3_probe() 114 error = phy_init(kdwc->usb3_phy); in kdwc3_probe() 120 error = phy_power_on(kdwc->usb3_phy); in kdwc3_probe() 123 phy_exit(kdwc->usb3_phy); in kdwc3_probe() 169 phy_power_off(kdwc->usb3_phy); in kdwc3_probe() [all …]
|
| H A D | dwc3-xilinx.c | 50 struct phy *usb3_phy; member 127 priv_data->usb3_phy = devm_phy_optional_get(dev, "usb3-phy"); in dwc3_xlnx_init_zynqmp() 128 if (IS_ERR(priv_data->usb3_phy)) { in dwc3_xlnx_init_zynqmp() 129 ret = PTR_ERR(priv_data->usb3_phy); in dwc3_xlnx_init_zynqmp() 166 if (priv_data->usb3_phy) { in dwc3_xlnx_init_zynqmp() 186 ret = phy_init(priv_data->usb3_phy); in dwc3_xlnx_init_zynqmp() 188 phy_exit(priv_data->usb3_phy); in dwc3_xlnx_init_zynqmp() 198 if (priv_data->usb3_phy) { in dwc3_xlnx_init_zynqmp() 220 ret = phy_power_on(priv_data->usb3_phy); in dwc3_xlnx_init_zynqmp() 222 phy_exit(priv_data->usb3_phy); in dwc3_xlnx_init_zynqmp() [all …]
|
| H A D | core.c | 820 usb_phy_init(dwc->usb3_phy); in dwc3_phy_init() 863 usb_phy_shutdown(dwc->usb3_phy); in dwc3_phy_init() 879 usb_phy_shutdown(dwc->usb3_phy); in dwc3_phy_exit() 890 usb_phy_set_suspend(dwc->usb3_phy, 0); in dwc3_phy_power_on() 914 usb_phy_set_suspend(dwc->usb3_phy, 1); in dwc3_phy_power_on() 930 usb_phy_set_suspend(dwc->usb3_phy, 1); in dwc3_phy_power_off() 1544 dwc->usb3_phy = devm_usb_get_phy_by_phandle(dev, "usb-phy", 1); in dwc3_core_get_phy() 1547 dwc->usb3_phy = devm_usb_get_phy(dev, USB_PHY_TYPE_USB3); in dwc3_core_get_phy() 1558 if (IS_ERR(dwc->usb3_phy)) { in dwc3_core_get_phy() 1559 ret = PTR_ERR(dwc->usb3_phy); in dwc3_core_get_phy() [all …]
|
| /linux/drivers/usb/cdns3/ |
| H A D | cdns3-plat.c | 34 ret = phy_power_on(cdns->usb3_phy); in set_phy_power_on() 43 phy_power_off(cdns->usb3_phy); in set_phy_power_off() 133 cdns->usb3_phy = devm_phy_optional_get(dev, "cdns3,usb3-phy"); in cdns3_plat_probe() 134 if (IS_ERR(cdns->usb3_phy)) in cdns3_plat_probe() 135 return dev_err_probe(dev, PTR_ERR(cdns->usb3_phy), in cdns3_plat_probe() 138 ret = phy_init(cdns->usb3_phy); in cdns3_plat_probe() 172 phy_exit(cdns->usb3_phy); in cdns3_plat_probe() 194 phy_exit(cdns->usb3_phy); in cdns3_plat_remove() 250 phy_exit(cdns->usb3_phy); in cdns3_controller_resume() 251 ret = phy_init(cdns->usb3_phy); in cdns3_controller_resume()
|
| H A D | drd.c | 201 phy_set_mode(cdns->usb3_phy, PHY_MODE_USB_HOST); in cdns_drd_host_on() 222 phy_set_mode(cdns->usb3_phy, PHY_MODE_INVALID); in cdns_drd_host_off() 255 phy_set_mode(cdns->usb3_phy, PHY_MODE_USB_DEVICE); in cdns_drd_gadget_on() 281 phy_set_mode(cdns->usb3_phy, PHY_MODE_INVALID); in cdns_drd_gadget_off()
|
| H A D | core.h | 112 struct phy *usb3_phy; member
|
| /linux/arch/arm/boot/dts/marvell/ |
| H A D | armada-385-db-ap.dts | 140 usb-phy = <&usb3_phy>; 172 usb3_phy: usb3_phy { label
|
| H A D | armada-388-gp.dts | 203 usb-phy = <&usb3_phy>; 251 usb3_phy: usb3_phy { label
|
| /linux/arch/arm64/boot/dts/marvell/ |
| H A D | armada-3720-espressobin-ultra.dts | 38 usb3_phy: usb3-phy { label 113 usb-phy = <&usb3_phy>;
|
| H A D | armada-3720-db.dts | 42 usb3_phy: usb3-phy { label 220 usb-phy = <&usb3_phy>;
|
| /linux/arch/arm/boot/dts/broadcom/ |
| H A D | bcm47094.dtsi | 20 &usb3_phy {
|
| H A D | bcm4708-linksys-ea6300-v1.dts | 46 &usb3_phy {
|
| H A D | bcm4708-linksys-ea6500-v2.dts | 43 &usb3_phy {
|
| H A D | bcm47094-phicomm-k3.dts | 37 &usb3_phy {
|
| H A D | bcm4709-linksys-ea9200.dts | 47 &usb3_phy {
|
| H A D | bcm47081-asus-rt-n18u.dts | 77 &usb3_phy {
|
| H A D | bcm4708-netgear-r6300-v2.dts | 86 &usb3_phy {
|
| H A D | bcm4708-asus-rt-ac68u.dts | 83 &usb3_phy {
|
| H A D | bcm47094-luxul-abr-4500.dts | 77 &usb3_phy {
|
| H A D | bcm47094-luxul-xbr-4500.dts | 77 &usb3_phy {
|
| H A D | bcm4708-asus-rt-ac56u.dts | 92 &usb3_phy {
|
| H A D | bcm4709-asus-rt-ac87u.dts | 76 &usb3_phy {
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx8x-colibri-aster.dtsi | 56 &usb3_phy {
|
| H A D | imx8x-colibri-eval-v3.dtsi | 108 &usb3_phy {
|
| /linux/drivers/power/supply/ |
| H A D | bq256xx_charger.c | 238 struct usb_phy *usb3_phy; member 897 if (!IS_ERR_OR_NULL(bq->usb3_phy)) in bq256xx_charger_reset() 898 usb_unregister_notifier(bq->usb3_phy, &bq->usb_nb); in bq256xx_charger_reset() 1736 bq->usb3_phy = devm_usb_get_phy(dev, USB_PHY_TYPE_USB3); in bq256xx_probe() 1737 if (!IS_ERR_OR_NULL(bq->usb3_phy)) { in bq256xx_probe() 1740 usb_register_notifier(bq->usb3_phy, &bq->usb_nb); in bq256xx_probe()
|