Searched refs:usb3_phy (Results 1 – 10 of 10) sorted by relevance
| /drivers/usb/dwc3/ |
| A D | dwc3-keystone.c | 39 struct phy *usb3_phy; member 103 if (IS_ERR(kdwc->usb3_phy)) 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() 170 phy_exit(kdwc->usb3_phy); in kdwc3_probe() 197 phy_power_off(kdwc->usb3_phy); in kdwc3_remove() [all …]
|
| A D | dwc3-xilinx.c | 50 struct phy *usb3_phy; member 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() 144 if (!priv_data->usb3_phy) { in dwc3_xlnx_init_zynqmp() 192 ret = phy_init(priv_data->usb3_phy); in dwc3_xlnx_init_zynqmp() 194 phy_exit(priv_data->usb3_phy); in dwc3_xlnx_init_zynqmp() 222 ret = phy_power_on(priv_data->usb3_phy); in dwc3_xlnx_init_zynqmp() 224 phy_exit(priv_data->usb3_phy); in dwc3_xlnx_init_zynqmp() 396 phy_exit(priv_data->usb3_phy); in dwc3_xlnx_suspend() 413 ret = phy_init(priv_data->usb3_phy); in dwc3_xlnx_resume() [all …]
|
| A D | core.c | 817 usb_phy_init(dwc->usb3_phy); in dwc3_phy_init() 860 usb_phy_shutdown(dwc->usb3_phy); in dwc3_phy_init() 876 usb_phy_shutdown(dwc->usb3_phy); in dwc3_phy_exit() 887 usb_phy_set_suspend(dwc->usb3_phy, 0); in dwc3_phy_power_on() 911 usb_phy_set_suspend(dwc->usb3_phy, 1); in dwc3_phy_power_on() 927 usb_phy_set_suspend(dwc->usb3_phy, 1); in dwc3_phy_power_off() 1541 dwc->usb3_phy = devm_usb_get_phy_by_phandle(dev, "usb-phy", 1); in dwc3_core_get_phy() 1544 dwc->usb3_phy = devm_usb_get_phy(dev, USB_PHY_TYPE_USB3); in dwc3_core_get_phy() 1555 if (IS_ERR(dwc->usb3_phy)) { in dwc3_core_get_phy() 1556 ret = PTR_ERR(dwc->usb3_phy); in dwc3_core_get_phy() [all …]
|
| A D | core.h | 1209 struct usb_phy *usb3_phy; member
|
| /drivers/usb/cdns3/ |
| 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()
|
| 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()
|
| A D | core.h | 112 struct phy *usb3_phy; member
|
| A D | core.c | 271 phy_reset(cdns->usb3_phy); in cdns_idle_role_stop()
|
| /drivers/power/supply/ |
| A D | bq256xx_charger.c | 239 struct usb_phy *usb3_phy; member 898 if (!IS_ERR_OR_NULL(bq->usb3_phy)) in bq256xx_charger_reset() 899 usb_unregister_notifier(bq->usb3_phy, &bq->usb_nb); in bq256xx_charger_reset() 1737 bq->usb3_phy = devm_usb_get_phy(dev, USB_PHY_TYPE_USB3); in bq256xx_probe() 1738 if (!IS_ERR_OR_NULL(bq->usb3_phy)) { in bq256xx_probe() 1741 usb_register_notifier(bq->usb3_phy, &bq->usb_nb); in bq256xx_probe()
|
| /drivers/usb/gadget/udc/ |
| A D | tegra-xudc.c | 507 struct phy **usb3_phy; member 819 xudc->curr_usb3_phy = xudc->usb3_phy[phy_index]; in tegra_xudc_update_data_role() 3507 sizeof(*xudc->usb3_phy), GFP_KERNEL); in tegra_xudc_phy_get() 3508 if (!xudc->usb3_phy) in tegra_xudc_phy_get() 3553 if (IS_ERR(xudc->usb3_phy[i])) { in tegra_xudc_phy_get() 3554 err = PTR_ERR(xudc->usb3_phy[i]); in tegra_xudc_phy_get() 3558 } else if (xudc->usb3_phy[i]) { in tegra_xudc_phy_get() 3576 xudc->usb3_phy[i] = NULL; in tegra_xudc_phy_get() 3589 phy_exit(xudc->usb3_phy[i]); in tegra_xudc_phy_exit() 3606 err = phy_init(xudc->usb3_phy[i]); in tegra_xudc_phy_init() [all …]
|
Completed in 33 milliseconds