Home
last modified time | relevance | path

Searched refs:phy_reset (Results 1 – 25 of 38) 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()
145 reset_control_assert(priv->phy_reset); in ltq_rcu_usb2_phy_power_off()
202 priv->phy_reset = devm_reset_control_get_optional(dev, "phy"); in ltq_rcu_usb2_of_parse()
204 return PTR_ERR_OR_ZERO(priv->phy_reset); in ltq_rcu_usb2_of_parse()
227 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()
449 priv->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in ltq_vrx200_pcie_phy_probe()
450 if (IS_ERR(priv->phy_reset)) in ltq_vrx200_pcie_phy_probe()
451 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()
284 qphy->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_pcie2_phy_probe()
285 if (IS_ERR(qphy->phy_reset)) { in qcom_pcie2_phy_probe()
287 return PTR_ERR(qphy->phy_reset); in qcom_pcie2_phy_probe()
Dphy-qcom-usb-hs-28nm.c61 struct reset_control *phy_reset; member
185 ret = reset_control_assert(priv->phy_reset); in qcom_snps_hsphy_reset()
191 ret = reset_control_deassert(priv->phy_reset); in qcom_snps_hsphy_reset()
336 priv->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_snps_hsphy_probe()
337 if (IS_ERR(priv->phy_reset)) in qcom_snps_hsphy_probe()
338 return PTR_ERR(priv->phy_reset); in qcom_snps_hsphy_probe()
Dphy-qcom-snps-femto-v2.c134 struct reset_control *phy_reset; member
404 ret = reset_control_assert(hsphy->phy_reset); in qcom_snps_hsphy_init()
412 ret = reset_control_deassert(hsphy->phy_reset); in qcom_snps_hsphy_init()
484 reset_control_assert(hsphy->phy_reset); in qcom_snps_hsphy_exit()
588 hsphy->phy_reset = devm_reset_control_get_exclusive(&pdev->dev, NULL); in qcom_snps_hsphy_probe()
589 if (IS_ERR(hsphy->phy_reset)) { in qcom_snps_hsphy_probe()
591 return PTR_ERR(hsphy->phy_reset); in qcom_snps_hsphy_probe()
Dphy-qcom-qusb2.c436 struct reset_control *phy_reset; member
755 ret = reset_control_assert(qphy->phy_reset); in qusb2_phy_init()
764 ret = reset_control_deassert(qphy->phy_reset); in qusb2_phy_init()
866 reset_control_assert(qphy->phy_reset); in qusb2_phy_init()
888 reset_control_assert(qphy->phy_reset); in qusb2_phy_exit()
989 qphy->phy_reset = devm_reset_control_get_by_index(&pdev->dev, 0); in qusb2_phy_probe()
990 if (IS_ERR(qphy->phy_reset)) { in qusb2_phy_probe()
992 return PTR_ERR(qphy->phy_reset); in qusb2_phy_probe()
/drivers/pci/controller/dwc/
Dpcie-qcom.c142 struct reset_control *phy_reset; member
175 struct reset_control *phy_reset; member
328 res->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_pcie_get_resources_2_1_0()
329 return PTR_ERR_OR_ZERO(res->phy_reset); in qcom_pcie_get_resources_2_1_0()
342 reset_control_assert(res->phy_reset); in qcom_pcie_deinit_2_1_0()
362 reset_control_assert(res->phy_reset); in qcom_pcie_init_2_1_0()
382 ret = reset_control_deassert(res->phy_reset); in qcom_pcie_init_2_1_0()
413 reset_control_assert(res->phy_reset); in qcom_pcie_init_2_1_0()
783 res->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_pcie_get_resources_2_4_0()
784 if (IS_ERR(res->phy_reset)) in qcom_pcie_get_resources_2_4_0()
[all …]
Dpci-meson.c152 ret = phy_reset(mp->phy); in meson_pcie_reset()
/drivers/pci/controller/
Dpcie-mediatek-gen3.c140 struct reset_control *phy_reset; member
794 pcie->phy_reset = devm_reset_control_get_optional_exclusive(dev, "phy"); in mtk_pcie_parse_port()
795 if (IS_ERR(pcie->phy_reset)) { in mtk_pcie_parse_port()
796 ret = PTR_ERR(pcie->phy_reset); in mtk_pcie_parse_port()
836 reset_control_deassert(pcie->phy_reset); in mtk_pcie_power_up()
872 reset_control_assert(pcie->phy_reset); in mtk_pcie_power_up()
887 reset_control_assert(pcie->phy_reset); in mtk_pcie_power_down()
902 reset_control_assert(pcie->phy_reset); in mtk_pcie_setup()
/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk.c77 struct reset_control *phy_reset; member
1469 if (priv->phy_reset) { in rk_gmac_integrated_phy_powerup()
1472 if (priv->phy_reset) in rk_gmac_integrated_phy_powerup()
1473 reset_control_assert(priv->phy_reset); in rk_gmac_integrated_phy_powerup()
1475 if (priv->phy_reset) in rk_gmac_integrated_phy_powerup()
1476 reset_control_deassert(priv->phy_reset); in rk_gmac_integrated_phy_powerup()
1486 if (priv->phy_reset) in rk_gmac_integrated_phy_powerdown()
1487 reset_control_assert(priv->phy_reset); in rk_gmac_integrated_phy_powerdown()
1687 bsp_priv->phy_reset = of_reset_control_get(plat->phy_node, NULL); in rk_gmac_setup()
1688 if (IS_ERR(bsp_priv->phy_reset)) { in rk_gmac_setup()
[all …]
/drivers/usb/renesas_usbhs/
Dcommon.c502 usbhs_platform_call(priv, phy_reset, pdev); in usbhsc_hotplug()
729 usbhs_platform_call(priv, phy_reset, pdev); in usbhs_probe()
813 usbhs_platform_call(priv, phy_reset, pdev); in usbhsc_resume()
/drivers/scsi/mvsas/
Dmv_94xx.h175 u32 phy_reset:1; member
Dmv_sas.c164 MVS_CHIP_DISP->phy_reset(mvi, no, hard); in mvs_phys_reset()
193 MVS_CHIP_DISP->phy_reset(mvi, phy_id, MVS_HARD_RESET); in mvs_phy_control()
198 MVS_CHIP_DISP->phy_reset(mvi, phy_id, MVS_SOFT_RESET); in mvs_phy_control()
1786 MVS_CHIP_DISP->phy_reset(mvi, phy_no, MVS_HARD_RESET); in mvs_sig_time_out()
1830 MVS_CHIP_DISP->phy_reset(mvi, in mvs_int_port()
1862 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/amlogic/
Dphy-meson-axg-pcie.c99 ret = phy_reset(priv->analog); in phy_axg_pcie_reset()
/drivers/usb/dwc3/
Ddwc3-keystone.c107 error = phy_reset(kdwc->usb3_phy); in kdwc3_probe()
/drivers/phy/
Dphy-core.c444 int phy_reset(struct phy *phy) in phy_reset() function
463 EXPORT_SYMBOL_GPL(phy_reset);
/drivers/usb/cdns3/
Dcore.c270 phy_reset(cdns->usb3_phy); in cdns_idle_role_stop()
/drivers/net/ethernet/freescale/
Dfec_main.c3731 int err, phy_reset; in fec_reset_phy() local
3744 phy_reset = of_get_named_gpio(np, "phy-reset-gpios", 0); in fec_reset_phy()
3745 if (phy_reset == -EPROBE_DEFER) in fec_reset_phy()
3746 return phy_reset; in fec_reset_phy()
3747 else if (!gpio_is_valid(phy_reset)) in fec_reset_phy()
3757 err = devm_gpio_request_one(&pdev->dev, phy_reset, in fec_reset_phy()
3770 gpio_set_value_cansleep(phy_reset, !active_high); in fec_reset_phy()
/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c568 .phy_reset = pqi_sas_phy_reset,
/drivers/scsi/
Dscsi_transport_sas.c586 error = i->f->phy_reset(phy, hard_reset); in do_sas_phy_reset()
1812 SETUP_OPTIONAL_PHY_ATTRIBUTE_WRONLY(link_reset, phy_reset); in sas_attach_transport()
1813 SETUP_OPTIONAL_PHY_ATTRIBUTE_WRONLY(hard_reset, phy_reset); in sas_attach_transport()
/drivers/media/platform/sunxi/sun6i-mipi-csi2/
Dsun6i_mipi_csi2.c249 ret = phy_reset(dphy); in sun6i_mipi_csi2_s_stream()
/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/
Dsun8i_a83t_mipi_csi2.c281 ret = phy_reset(dphy); in sun8i_a83t_mipi_csi2_s_stream()
/drivers/scsi/libsas/
Dsas_init.c584 .phy_reset = queue_phy_reset,
/drivers/net/ethernet/amd/xgbe/
Dxgbe.h932 int (*phy_reset)(struct xgbe_prv_data *); member

12