| /OK3568_Linux_fs/kernel/drivers/phy/qualcomm/ |
| H A D | phy-qcom-snps-femto-v2.c | 77 * @phy_reset: phy reset control 88 struct reset_control *phy_reset; member 192 ret = reset_control_assert(hsphy->phy_reset); in qcom_snps_hsphy_init() 194 dev_err(&phy->dev, "failed to assert phy_reset, %d\n", ret); in qcom_snps_hsphy_init() 200 ret = reset_control_deassert(hsphy->phy_reset); in qcom_snps_hsphy_init() 202 dev_err(&phy->dev, "failed to de-assert phy_reset, %d\n", ret); in qcom_snps_hsphy_init() 261 reset_control_assert(hsphy->phy_reset); in qcom_snps_hsphy_exit() 314 hsphy->phy_reset = devm_reset_control_get_exclusive(&pdev->dev, NULL); in qcom_snps_hsphy_probe() 315 if (IS_ERR(hsphy->phy_reset)) { in qcom_snps_hsphy_probe() 317 return PTR_ERR(hsphy->phy_reset); in qcom_snps_hsphy_probe()
|
| H A D | phy-qcom-pcie2.c | 45 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()
|
| H A D | phy-qcom-usb-hs-28nm.c | 61 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()
|
| H A D | phy-qcom-qusb2.c | 329 * @phy_reset: phy reset control 349 struct reset_control *phy_reset; member 668 ret = reset_control_assert(qphy->phy_reset); in qusb2_phy_init() 670 dev_err(&phy->dev, "failed to assert phy_reset, %d\n", ret); in qusb2_phy_init() 677 ret = reset_control_deassert(qphy->phy_reset); in qusb2_phy_init() 679 dev_err(&phy->dev, "failed to de-assert phy_reset, %d\n", ret); in qusb2_phy_init() 774 reset_control_assert(qphy->phy_reset); in qusb2_phy_init() 796 reset_control_assert(qphy->phy_reset); in qusb2_phy_exit() 887 qphy->phy_reset = devm_reset_control_get_by_index(&pdev->dev, 0); in qusb2_phy_probe() 888 if (IS_ERR(qphy->phy_reset)) { in qusb2_phy_probe() [all …]
|
| H A D | phy-qcom-usb-ss.c | 30 #define PHY_RESET BIT(7) macro 55 qcom_ssphy_updatel(priv->base + PHY_CTRL1, PHY_RESET, in qcom_ssphy_do_reset() 56 PHY_RESET); in qcom_ssphy_do_reset() 58 qcom_ssphy_updatel(priv->base + PHY_CTRL1, PHY_RESET, 0); in qcom_ssphy_do_reset()
|
| H A D | phy-qcom-ipq806x-sata.c | 84 /* Setting PHY_RESET to 1 */ in qcom_ipq806x_sata_phy_init() 100 /* Clearing PHY_RESET to 0 */ in qcom_ipq806x_sata_phy_init() 113 /* Setting PHY_RESET to 1 */ in qcom_ipq806x_sata_phy_exit()
|
| /OK3568_Linux_fs/kernel/drivers/phy/lantiq/ |
| H A D | phy-lantiq-rcu-usb2.c | 44 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()
|
| H A D | phy-lantiq-vrx200-pcie.c | 92 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()
|
| /OK3568_Linux_fs/kernel/drivers/pci/controller/dwc/ |
| H A D | pcie-qcom.c | 106 struct reset_control *phy_reset; member 140 struct reset_control *phy_reset; member 285 res->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_pcie_get_resources_2_1_0() 286 return PTR_ERR_OR_ZERO(res->phy_reset); in qcom_pcie_get_resources_2_1_0() 299 reset_control_assert(res->phy_reset); in qcom_pcie_deinit_2_1_0() 321 reset_control_assert(res->phy_reset); in qcom_pcie_init_2_1_0() 341 ret = reset_control_deassert(res->phy_reset); in qcom_pcie_init_2_1_0() 420 reset_control_assert(res->phy_reset); in qcom_pcie_init_2_1_0() 745 res->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_pcie_get_resources_2_4_0() 746 if (IS_ERR(res->phy_reset)) in qcom_pcie_get_resources_2_4_0() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/phy/hisilicon/ |
| H A D | phy-hix5hd2-sata.c | 20 #define PHY_RESET BIT(0) macro 84 REF_SSP_EN | PHY_RESET; in hix5hd2_sata_phy_init() 87 val &= ~PHY_RESET; in hix5hd2_sata_phy_init()
|
| /OK3568_Linux_fs/u-boot/board/barco/platinum/ |
| H A D | platinum_picon.c | 136 unsigned phy_reset = IMX_GPIO_NR(1, 19); in platinum_setup_enet() local 142 gpio_direction_output(phy_reset, 0); in platinum_setup_enet() 145 gpio_set_value(phy_reset, 1); in platinum_setup_enet()
|
| /OK3568_Linux_fs/kernel/include/linux/platform_data/ |
| H A D | usb-omap.h | 49 unsigned phy_reset:1; member 69 unsigned phy_reset:1; member
|
| /OK3568_Linux_fs/u-boot/board/samtec/vining_2000/ |
| H A D | vining_2000.c | 124 #define PHY_RESET IMX_GPIO_NR(5, 9) macro 155 gpio_direction_output(PHY_RESET, 0); in board_eth_init() 157 gpio_set_value(PHY_RESET, 1); in board_eth_init() 169 gpio_set_value(PHY_RESET, 0); in board_eth_init()
|
| /OK3568_Linux_fs/u-boot/drivers/net/ |
| H A D | gmac_rockchip.c | 67 struct reset_ctl phy_reset; member 137 ret = reset_get_by_name(dev, "mac-phy", &pdata->phy_reset); in gmac_rockchip_ofdata_to_platdata() 145 ret = reset_get_by_index(phydev, 0, &pdata->phy_reset); in gmac_rockchip_ofdata_to_platdata() 1139 reset_assert(&pdata->phy_reset); in rk3228_gmac_integrated_phy_powerup() 1141 reset_deassert(&pdata->phy_reset); in rk3228_gmac_integrated_phy_powerup() 1199 reset_assert(&pdata->phy_reset); in rk3328_gmac_integrated_phy_powerup() 1201 reset_deassert(&pdata->phy_reset); in rk3328_gmac_integrated_phy_powerup() 1265 reset_assert(&pdata->phy_reset); in rk3528_gmac_integrated_phy_powerup() 1281 reset_deassert(&pdata->phy_reset); in rk3528_gmac_integrated_phy_powerup() 1710 reset_assert(&pdata->phy_reset); in rv1106_gmac_integrated_phy_powerup() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | dwmac-rk.c | 72 struct reset_control *phy_reset; member 253 if (priv->phy_reset) { in rk_gmac_integrated_ephy_powerup() 256 if (priv->phy_reset) in rk_gmac_integrated_ephy_powerup() 257 reset_control_assert(priv->phy_reset); in rk_gmac_integrated_ephy_powerup() 259 if (priv->phy_reset) in rk_gmac_integrated_ephy_powerup() 260 reset_control_deassert(priv->phy_reset); in rk_gmac_integrated_ephy_powerup() 270 if (priv->phy_reset) in rk_gmac_integrated_ephy_powerdown() 271 reset_control_assert(priv->phy_reset); in rk_gmac_integrated_ephy_powerdown() 292 if (IS_ERR(priv->grf) || !priv->phy_reset) { in rk_gmac_integrated_fephy_power() 293 dev_err(dev, "%s: Missing rockchip,grf or phy_reset property\n", in rk_gmac_integrated_fephy_power() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qualcomm/emac/ |
| H A D | emac-sgmii.c | 186 writel(((val & ~PHY_RESET) | PHY_RESET), phy->base + in emac_sgmii_reset_prepare() 191 writel((val & ~PHY_RESET), phy->base + EMAC_EMAC_WRAPPER_CSR2); in emac_sgmii_reset_prepare()
|
| /OK3568_Linux_fs/u-boot/drivers/net/phy/ |
| H A D | marvell.c | 261 phy_reset(phydev); in m88e1111s_config() 274 phy_reset(phydev); in m88e1111s_config() 372 phy_reset(phydev); in m88e1518_config() 517 phy_reset(phydev); in m88e1149_config()
|
| H A D | phy.su | |
| H A D | broadcom.c | 61 phy_reset(phydev); in bcm5461_config() 217 phy_reset(phydev); in bcm_cygnus_config()
|
| H A D | phy.c | 774 int phy_reset(struct phy_device *phydev) in phy_reset() function 837 return phy_reset(phydev); in miiphy_reset() 861 phy_reset(phydev); in phy_connect_dev()
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/ |
| H A D | amlogic,meson-g12a-usb3-pcie-phy.yaml | 56 resets = <&phy_reset>;
|
| H A D | amlogic,meson-g12a-usb2-phy.yaml | 75 resets = <&phy_reset>;
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | phy.h | 260 * phy_reset() - Resets the specified PHY 267 int phy_reset(struct phy_device *phydev);
|
| /OK3568_Linux_fs/kernel/include/linux/phy/ |
| H A D | phy.h | 226 int phy_reset(struct phy *phy); 352 static inline int phy_reset(struct phy *phy) in phy_reset() function
|
| /OK3568_Linux_fs/kernel/drivers/usb/renesas_usbhs/ |
| H A D | common.c | 502 usbhs_platform_call(priv, phy_reset, pdev); in usbhsc_hotplug() 733 usbhs_platform_call(priv, phy_reset, pdev); in usbhs_probe() 817 usbhs_platform_call(priv, phy_reset, pdev); in usbhsc_resume()
|