Home
last modified time | relevance | path

Searched refs:usb3_phy (Results 1 – 25 of 90) sorted by relevance

1234

/linux/drivers/usb/dwc3/
H A Ddwc3-keystone.c39 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 Ddwc3-xilinx.c50 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 Dcore.c820 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 Dcdns3-plat.c34 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 Ddrd.c201 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 Dcore.h112 struct phy *usb3_phy; member
/linux/arch/arm/boot/dts/marvell/
H A Darmada-385-db-ap.dts140 usb-phy = <&usb3_phy>;
172 usb3_phy: usb3_phy { label
H A Darmada-388-gp.dts203 usb-phy = <&usb3_phy>;
251 usb3_phy: usb3_phy { label
/linux/arch/arm64/boot/dts/marvell/
H A Darmada-3720-espressobin-ultra.dts38 usb3_phy: usb3-phy { label
113 usb-phy = <&usb3_phy>;
H A Darmada-3720-db.dts42 usb3_phy: usb3-phy { label
220 usb-phy = <&usb3_phy>;
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm47094.dtsi20 &usb3_phy {
H A Dbcm4708-linksys-ea6300-v1.dts46 &usb3_phy {
H A Dbcm4708-linksys-ea6500-v2.dts43 &usb3_phy {
H A Dbcm47094-phicomm-k3.dts37 &usb3_phy {
H A Dbcm4709-linksys-ea9200.dts47 &usb3_phy {
H A Dbcm47081-asus-rt-n18u.dts77 &usb3_phy {
H A Dbcm4708-netgear-r6300-v2.dts86 &usb3_phy {
H A Dbcm4708-asus-rt-ac68u.dts83 &usb3_phy {
H A Dbcm47094-luxul-abr-4500.dts77 &usb3_phy {
H A Dbcm47094-luxul-xbr-4500.dts77 &usb3_phy {
H A Dbcm4708-asus-rt-ac56u.dts92 &usb3_phy {
H A Dbcm4709-asus-rt-ac87u.dts76 &usb3_phy {
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8x-colibri-aster.dtsi56 &usb3_phy {
H A Dimx8x-colibri-eval-v3.dtsi108 &usb3_phy {
/linux/drivers/power/supply/
H A Dbq256xx_charger.c238 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()

1234