Home
last modified time | relevance | path

Searched refs:phy_reset (Results 1 – 25 of 29) sorted by relevance

12

/drivers/phy/lantiq/
Dphy-lantiq-rcu-usb2.c44 struct reset_control *phy_reset; member
124 reset_control_deassert(priv->phy_reset); in ltq_rcu_usb2_phy_power_on()
137 reset_control_assert(priv->phy_reset); in ltq_rcu_usb2_phy_power_off()
194 priv->phy_reset = devm_reset_control_get_optional(dev, "phy"); in ltq_rcu_usb2_of_parse()
196 return PTR_ERR_OR_ZERO(priv->phy_reset); in ltq_rcu_usb2_of_parse()
219 reset_control_assert(priv->phy_reset); in ltq_rcu_usb2_phy_probe()
Dphy-lantiq-vrx200-pcie.c92 struct reset_control *phy_reset; member
262 ret = reset_control_assert(priv->phy_reset); in ltq_vrx200_pcie_phy_init()
268 ret = reset_control_deassert(priv->phy_reset); in ltq_vrx200_pcie_phy_init()
284 reset_control_assert(priv->phy_reset); in ltq_vrx200_pcie_phy_init()
298 ret = reset_control_assert(priv->phy_reset); in ltq_vrx200_pcie_phy_exit()
451 priv->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in ltq_vrx200_pcie_phy_probe()
452 if (IS_ERR(priv->phy_reset)) in ltq_vrx200_pcie_phy_probe()
453 return PTR_ERR(priv->phy_reset); in ltq_vrx200_pcie_phy_probe()
/drivers/phy/qualcomm/
Dphy-qcom-pcie2.c45 struct reset_control *phy_reset; member
55 ret = reset_control_deassert(qphy->phy_reset); in qcom_pcie2_phy_init()
63 reset_control_assert(qphy->phy_reset); in qcom_pcie2_phy_init()
192 reset_control_assert(qphy->phy_reset); in qcom_pcie2_phy_exit()
287 qphy->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_pcie2_phy_probe()
288 if (IS_ERR(qphy->phy_reset)) { in qcom_pcie2_phy_probe()
290 return PTR_ERR(qphy->phy_reset); in qcom_pcie2_phy_probe()
Dphy-qcom-qusb2.c316 struct reset_control *phy_reset; member
622 ret = reset_control_assert(qphy->phy_reset); in qusb2_phy_init()
631 ret = reset_control_deassert(qphy->phy_reset); in qusb2_phy_init()
728 reset_control_assert(qphy->phy_reset); in qusb2_phy_init()
750 reset_control_assert(qphy->phy_reset); in qusb2_phy_exit()
829 qphy->phy_reset = devm_reset_control_get_by_index(&pdev->dev, 0); in qusb2_phy_probe()
830 if (IS_ERR(qphy->phy_reset)) { in qusb2_phy_probe()
832 return PTR_ERR(qphy->phy_reset); in qusb2_phy_probe()
/drivers/pci/controller/dwc/
Dpcie-qcom.c95 struct reset_control *phy_reset; member
128 struct reset_control *phy_reset; member
265 res->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_pcie_get_resources_2_1_0()
266 return PTR_ERR_OR_ZERO(res->phy_reset); in qcom_pcie_get_resources_2_1_0()
338 ret = reset_control_deassert(res->phy_reset); in qcom_pcie_init_2_1_0()
700 res->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_pcie_get_resources_2_4_0()
701 if (IS_ERR(res->phy_reset)) in qcom_pcie_get_resources_2_4_0()
702 return PTR_ERR(res->phy_reset); in qcom_pcie_get_resources_2_4_0()
740 reset_control_assert(res->phy_reset); in qcom_pcie_deinit_2_4_0()
782 ret = reset_control_assert(res->phy_reset); in qcom_pcie_init_2_4_0()
[all …]
Dpci-exynos.c247 phy_reset(ep->phy); in exynos_pcie_establish_link()
Dpci-keystone.c1039 ret = phy_reset(ks_pcie->phy[i]); in ks_pcie_enable_phy()
/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk.c60 struct reset_control *phy_reset; member
1026 if (priv->phy_reset) { in rk_gmac_integrated_phy_powerup()
1029 if (priv->phy_reset) in rk_gmac_integrated_phy_powerup()
1030 reset_control_assert(priv->phy_reset); in rk_gmac_integrated_phy_powerup()
1032 if (priv->phy_reset) in rk_gmac_integrated_phy_powerup()
1033 reset_control_deassert(priv->phy_reset); in rk_gmac_integrated_phy_powerup()
1043 if (priv->phy_reset) in rk_gmac_integrated_phy_powerdown()
1044 reset_control_assert(priv->phy_reset); in rk_gmac_integrated_phy_powerdown()
1282 bsp_priv->phy_reset = of_reset_control_get(plat->phy_node, NULL); in rk_gmac_setup()
1283 if (IS_ERR(bsp_priv->phy_reset)) { in rk_gmac_setup()
[all …]
/drivers/usb/renesas_usbhs/
Dcommon.c503 usbhs_platform_call(priv, phy_reset, pdev); in usbhsc_hotplug()
738 usbhs_platform_call(priv, phy_reset, pdev); in usbhs_probe()
822 usbhs_platform_call(priv, phy_reset, pdev); in usbhsc_resume()
/drivers/scsi/mvsas/
Dmv_94xx.h175 u32 phy_reset:1; member
Dmv_sas.c159 MVS_CHIP_DISP->phy_reset(mvi, no, hard); in mvs_phys_reset()
188 MVS_CHIP_DISP->phy_reset(mvi, phy_id, MVS_HARD_RESET); in mvs_phy_control()
193 MVS_CHIP_DISP->phy_reset(mvi, phy_id, MVS_SOFT_RESET); in mvs_phy_control()
1949 MVS_CHIP_DISP->phy_reset(mvi, phy_no, MVS_HARD_RESET); in mvs_sig_time_out()
1993 MVS_CHIP_DISP->phy_reset(mvi, in mvs_int_port()
2025 MVS_CHIP_DISP->phy_reset(mvi, phy_no, MVS_PHY_TUNE); in mvs_int_port()
Dmv_sas.h139 void (*phy_reset)(struct mvs_info *mvi, u32 phy_id, int hard); member
/drivers/phy/
Dphy-core.c376 int phy_reset(struct phy *phy) in phy_reset() function
395 EXPORT_SYMBOL_GPL(phy_reset);
/drivers/net/ethernet/freescale/
Dfec_main.c3294 int err, phy_reset; in fec_reset_phy() local
3307 phy_reset = of_get_named_gpio(np, "phy-reset-gpios", 0); in fec_reset_phy()
3308 if (phy_reset == -EPROBE_DEFER) in fec_reset_phy()
3309 return phy_reset; in fec_reset_phy()
3310 else if (!gpio_is_valid(phy_reset)) in fec_reset_phy()
3320 err = devm_gpio_request_one(&pdev->dev, phy_reset, in fec_reset_phy()
3333 gpio_set_value_cansleep(phy_reset, !active_high); in fec_reset_phy()
/drivers/net/phy/
Dat803x.c75 bool phy_reset:1; member
/drivers/usb/cdns3/
Dcore.c262 phy_reset(cdns->usb3_phy); in cdns3_idle_role_stop()
/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c572 .phy_reset = pqi_sas_phy_reset,
/drivers/scsi/
Dscsi_transport_sas.c580 error = i->f->phy_reset(phy, hard_reset); in do_sas_phy_reset()
1802 SETUP_OPTIONAL_PHY_ATTRIBUTE_WRONLY(link_reset, phy_reset); in sas_attach_transport()
1803 SETUP_OPTIONAL_PHY_ATTRIBUTE_WRONLY(hard_reset, phy_reset); in sas_attach_transport()
/drivers/scsi/libsas/
Dsas_init.c536 .phy_reset = queue_phy_reset,
/drivers/net/ethernet/amd/xgbe/
Dxgbe.h906 int (*phy_reset)(struct xgbe_prv_data *); member
Dxgbe-mdio.c1622 phy_if->phy_reset = xgbe_phy_reset; in xgbe_init_function_ptrs_phy()
Dxgbe-drv.c1234 return pdata->phy_if.phy_reset(pdata); in xgbe_phy_reset()
/drivers/net/ethernet/nvidia/
Dforcedeth.c1179 static int phy_reset(struct net_device *dev, u32 bmcr_setup) in phy_reset() function
1479 if (phy_reset(dev, mii_control)) { in phy_init()
4480 if (phy_reset(dev, bmcr)) { in nv_set_link_ksettings()
4529 if (phy_reset(dev, bmcr)) { in nv_set_link_ksettings()
4599 if (phy_reset(dev, bmcr)) { in nv_nway_reset()
/drivers/scsi/mpt3sas/
Dmpt3sas_transport.c1972 .phy_reset = _transport_phy_reset,
/drivers/usb/dwc2/
Dhcd.c4208 ret = phy_reset(hsotg->phy); in dwc2_hcd_phy_reset_func()

12