Home
last modified time | relevance | path

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

12

/linux-5.19.10/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()
/linux-5.19.10/drivers/phy/qualcomm/
Dphy-qcom-snps-femto-v2.c89 struct reset_control *phy_reset; member
193 ret = reset_control_assert(hsphy->phy_reset); in qcom_snps_hsphy_init()
201 ret = reset_control_deassert(hsphy->phy_reset); in qcom_snps_hsphy_init()
265 reset_control_assert(hsphy->phy_reset); in qcom_snps_hsphy_exit()
319 hsphy->phy_reset = devm_reset_control_get_exclusive(&pdev->dev, NULL); in qcom_snps_hsphy_probe()
320 if (IS_ERR(hsphy->phy_reset)) { in qcom_snps_hsphy_probe()
322 return PTR_ERR(hsphy->phy_reset); in qcom_snps_hsphy_probe()
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-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()
995 qphy->phy_reset = devm_reset_control_get_by_index(&pdev->dev, 0); in qusb2_phy_probe()
996 if (IS_ERR(qphy->phy_reset)) { in qusb2_phy_probe()
998 return PTR_ERR(qphy->phy_reset); in qusb2_phy_probe()
/linux-5.19.10/include/linux/platform_data/
Dusb-omap.h49 unsigned phy_reset:1; member
69 unsigned phy_reset:1; member
/linux-5.19.10/drivers/pci/controller/dwc/
Dpcie-qcom.c111 struct reset_control *phy_reset; member
145 struct reset_control *phy_reset; member
302 res->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_pcie_get_resources_2_1_0()
303 return PTR_ERR_OR_ZERO(res->phy_reset); in qcom_pcie_get_resources_2_1_0()
316 reset_control_assert(res->phy_reset); in qcom_pcie_deinit_2_1_0()
338 reset_control_assert(res->phy_reset); in qcom_pcie_init_2_1_0()
358 ret = reset_control_deassert(res->phy_reset); in qcom_pcie_init_2_1_0()
437 reset_control_assert(res->phy_reset); in qcom_pcie_init_2_1_0()
762 res->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_pcie_get_resources_2_4_0()
763 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()
Dpci-exynos.c261 phy_reset(ep->phy); in exynos_pcie_host_init()
/linux-5.19.10/drivers/pci/controller/
Dpcie-mediatek-gen3.c140 struct reset_control *phy_reset; member
740 pcie->phy_reset = devm_reset_control_get_optional_exclusive(dev, "phy"); in mtk_pcie_parse_port()
741 if (IS_ERR(pcie->phy_reset)) { in mtk_pcie_parse_port()
742 ret = PTR_ERR(pcie->phy_reset); in mtk_pcie_parse_port()
782 reset_control_deassert(pcie->phy_reset); in mtk_pcie_power_up()
818 reset_control_assert(pcie->phy_reset); in mtk_pcie_power_up()
833 reset_control_assert(pcie->phy_reset); in mtk_pcie_power_down()
848 reset_control_assert(pcie->phy_reset); in mtk_pcie_setup()
/linux-5.19.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk.c63 struct reset_control *phy_reset; member
1179 if (priv->phy_reset) { in rk_gmac_integrated_phy_powerup()
1182 if (priv->phy_reset) in rk_gmac_integrated_phy_powerup()
1183 reset_control_assert(priv->phy_reset); in rk_gmac_integrated_phy_powerup()
1185 if (priv->phy_reset) in rk_gmac_integrated_phy_powerup()
1186 reset_control_deassert(priv->phy_reset); in rk_gmac_integrated_phy_powerup()
1196 if (priv->phy_reset) in rk_gmac_integrated_phy_powerdown()
1197 reset_control_assert(priv->phy_reset); in rk_gmac_integrated_phy_powerdown()
1452 bsp_priv->phy_reset = of_reset_control_get(plat->phy_node, NULL); in rk_gmac_setup()
1453 if (IS_ERR(bsp_priv->phy_reset)) { in rk_gmac_setup()
[all …]
/linux-5.19.10/include/linux/usb/
Drenesas_usbhs.h72 int (*phy_reset)(struct platform_device *pdev); member
/linux-5.19.10/Documentation/devicetree/bindings/phy/
Damlogic,meson-g12a-usb3-pcie-phy.yaml56 resets = <&phy_reset>;
Damlogic,meson-g12a-usb2-phy.yaml75 resets = <&phy_reset>;
/linux-5.19.10/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()
/linux-5.19.10/include/linux/phy/
Dphy.h242 int phy_reset(struct phy *phy);
382 static inline int phy_reset(struct phy *phy) in phy_reset() function
/linux-5.19.10/drivers/phy/amlogic/
Dphy-meson-axg-pcie.c99 ret = phy_reset(priv->analog); in phy_axg_pcie_reset()
/linux-5.19.10/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()
/linux-5.19.10/include/scsi/
Dscsi_transport_sas.h178 int (*phy_reset)(struct sas_phy *, int); member
/linux-5.19.10/drivers/usb/dwc3/
Ddwc3-keystone.c107 error = phy_reset(kdwc->usb3_phy); in kdwc3_probe()
/linux-5.19.10/drivers/phy/
Dphy-core.c444 int phy_reset(struct phy *phy) in phy_reset() function
463 EXPORT_SYMBOL_GPL(phy_reset);
/linux-5.19.10/drivers/usb/cdns3/
Dcore.c270 phy_reset(cdns->usb3_phy); in cdns_idle_role_stop()
/linux-5.19.10/drivers/net/ethernet/freescale/
Dfec_main.c3601 int err, phy_reset; in fec_reset_phy() local
3614 phy_reset = of_get_named_gpio(np, "phy-reset-gpios", 0); in fec_reset_phy()
3615 if (phy_reset == -EPROBE_DEFER) in fec_reset_phy()
3616 return phy_reset; in fec_reset_phy()
3617 else if (!gpio_is_valid(phy_reset)) in fec_reset_phy()
3627 err = devm_gpio_request_one(&pdev->dev, phy_reset, in fec_reset_phy()
3640 gpio_set_value_cansleep(phy_reset, !active_high); in fec_reset_phy()

12