/openbmc/linux/drivers/phy/lantiq/ |
H A D | phy-lantiq-rcu-usb2.c | 43 struct reset_control *phy_reset; member 123 reset_control_deassert(priv->phy_reset); in ltq_rcu_usb2_phy_power_on() 144 reset_control_assert(priv->phy_reset); in ltq_rcu_usb2_phy_power_off() 201 priv->phy_reset = devm_reset_control_get_optional(dev, "phy"); in ltq_rcu_usb2_of_parse() 203 return PTR_ERR_OR_ZERO(priv->phy_reset); in ltq_rcu_usb2_of_parse() 226 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() 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()
|
/openbmc/linux/drivers/phy/qualcomm/ |
H A D | phy-qcom-snps-eusb2.c | 129 struct reset_control *phy_reset; member 254 ret = reset_control_assert(phy->phy_reset); in qcom_snps_eusb2_hsphy_init() 256 dev_err(&p->dev, "failed to assert phy_reset, %d\n", ret); in qcom_snps_eusb2_hsphy_init() 262 ret = reset_control_deassert(phy->phy_reset); in qcom_snps_eusb2_hsphy_init() 264 dev_err(&p->dev, "failed to de-assert phy_reset, %d\n", ret); in qcom_snps_eusb2_hsphy_init() 385 phy->phy_reset = devm_reset_control_get_exclusive(dev, NULL); in qcom_snps_eusb2_hsphy_probe() 386 if (IS_ERR(phy->phy_reset)) in qcom_snps_eusb2_hsphy_probe() 387 return PTR_ERR(phy->phy_reset); in qcom_snps_eusb2_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() 288 qphy->phy_reset = devm_reset_control_get_exclusive(dev, "phy"); in qcom_pcie2_phy_probe() 289 if (IS_ERR(qphy->phy_reset)) { in qcom_pcie2_phy_probe() 291 return PTR_ERR(qphy->phy_reset); in qcom_pcie2_phy_probe()
|
H A D | phy-qcom-snps-femto-v2.c | 119 * @phy_reset: phy reset control 133 struct reset_control *phy_reset; member 403 ret = reset_control_assert(hsphy->phy_reset); in qcom_snps_hsphy_init() 405 dev_err(&phy->dev, "failed to assert phy_reset, %d\n", ret); in qcom_snps_hsphy_init() 411 ret = reset_control_deassert(hsphy->phy_reset); in qcom_snps_hsphy_init() 413 dev_err(&phy->dev, "failed to de-assert phy_reset, %d\n", ret); in qcom_snps_hsphy_init() 483 reset_control_assert(hsphy->phy_reset); in qcom_snps_hsphy_exit() 587 hsphy->phy_reset = devm_reset_control_get_exclusive(&pdev->dev, NULL); in qcom_snps_hsphy_probe() 588 if (IS_ERR(hsphy->phy_reset)) { in qcom_snps_hsphy_probe() 590 return PTR_ERR(hsphy->phy_reset); in qcom_snps_hsphy_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-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-qusb2.c | 415 * @phy_reset: phy reset control 435 struct reset_control *phy_reset; member 754 ret = reset_control_assert(qphy->phy_reset); in qusb2_phy_init() 756 dev_err(&phy->dev, "failed to assert phy_reset, %d\n", ret); in qusb2_phy_init() 763 ret = reset_control_deassert(qphy->phy_reset); in qusb2_phy_init() 765 dev_err(&phy->dev, "failed to de-assert phy_reset, %d\n", ret); in qusb2_phy_init() 865 reset_control_assert(qphy->phy_reset); in qusb2_phy_init() 887 reset_control_assert(qphy->phy_reset); in qusb2_phy_exit() 991 qphy->phy_reset = devm_reset_control_get_by_index(&pdev->dev, 0); in qusb2_phy_probe() 992 if (IS_ERR(qphy->phy_reset)) { in qusb2_phy_probe() [all …]
|
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()
|
/openbmc/u-boot/cmd/aspeed/nettest/ |
H A D | phy.c | 296 static void phy_reset(MAC_ENGINE *eng) in phy_reset() function 347 phy_reset(eng); in recov_phy_marvell() 365 phy_reset( eng ); in phy_marvell() 368 phy_reset( eng ); in phy_marvell() 378 phy_reset( eng ); in phy_marvell() 431 phy_reset( eng ); in phy_marvell0() 446 phy_reset( eng ); in phy_marvell0() 456 phy_reset( eng ); in phy_marvell0() 555 phy_reset( eng ); in phy_marvell2() 590 phy_reset( eng ); in phy_marvell2() [all …]
|
/openbmc/linux/include/linux/platform_data/ |
H A D | usb-omap.h | 35 unsigned phy_reset:1; member 55 unsigned phy_reset:1; member
|
/openbmc/u-boot/board/alliedtelesis/x530/ |
H A D | x530.c | 136 static struct gpio_desc usb_en = {}, nand_wp = {}, phy_reset[2] = {}, in misc_init_r() local 141 gpio_hog_list(phy_reset, ARRAY_SIZE(phy_reset), "atl,phy-reset", "reset-gpio", 0); in misc_init_r()
|
/openbmc/linux/drivers/phy/hisilicon/ |
H A D | phy-hix5hd2-sata.c | 21 #define PHY_RESET BIT(0) macro 85 REF_SSP_EN | PHY_RESET; in hix5hd2_sata_phy_init() 88 val &= ~PHY_RESET; in hix5hd2_sata_phy_init()
|
/openbmc/u-boot/board/barco/platinum/ |
H A D | platinum_picon.c | 135 unsigned phy_reset = IMX_GPIO_NR(1, 19); in platinum_setup_enet() local 141 gpio_direction_output(phy_reset, 0); in platinum_setup_enet() 144 gpio_set_value(phy_reset, 1); in platinum_setup_enet()
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-mediatek-gen3.c | 121 * @phy_reset: PHY reset control 140 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()
|
/openbmc/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()
|
/openbmc/linux/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-sgmii.c | 188 writel(((val & ~PHY_RESET) | PHY_RESET), phy->base + in emac_sgmii_reset_prepare() 193 writel((val & ~PHY_RESET), phy->base + EMAC_EMAC_WRAPPER_CSR2); in emac_sgmii_reset_prepare()
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | amlogic,meson-gxl-usb2-phy.yaml | 52 resets = <&phy_reset>;
|
H A D | amlogic,g12a-usb3-pcie-phy.yaml | 61 resets = <&phy_reset>;
|
H A D | amlogic,g12a-usb2-phy.yaml | 75 resets = <&phy_reset>;
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-rk.c | 77 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 …]
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | marvell.c | 284 phy_reset(phydev); in m88e1111s_config() 297 phy_reset(phydev); in m88e1111s_config() 396 phy_reset(phydev); in m88e1518_config() 541 phy_reset(phydev); in m88e1149_config()
|
/openbmc/u-boot/board/renesas/alt/ |
H A D | alt.c | 69 gpio_request(ETHERNET_PHY_RESET, "phy_reset"); in board_init()
|
/openbmc/u-boot/board/renesas/koelsch/ |
H A D | koelsch.c | 78 gpio_request(ETHERNET_PHY_RESET, "phy_reset"); in board_init()
|
/openbmc/u-boot/board/renesas/silk/ |
H A D | silk.c | 70 gpio_request(ETHERNET_PHY_RESET, "phy_reset"); in board_init()
|