Searched refs:qphy (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/phy/qualcomm/ |
| H A D | phy-qcom-pcie2.c | 52 struct qcom_phy *qphy = phy_get_drvdata(phy); in qcom_pcie2_phy_init() local 55 ret = reset_control_deassert(qphy->phy_reset); in qcom_pcie2_phy_init() 57 dev_err(qphy->dev, "cannot deassert pipe reset\n"); in qcom_pcie2_phy_init() 61 ret = regulator_bulk_enable(ARRAY_SIZE(qphy->vregs), qphy->vregs); in qcom_pcie2_phy_init() 63 reset_control_assert(qphy->phy_reset); in qcom_pcie2_phy_init() 70 struct qcom_phy *qphy = phy_get_drvdata(phy); in qcom_pcie2_phy_power_on() local 75 val = readl(qphy->base + PCIE20_PARF_PHY_REFCLK_CTRL2); in qcom_pcie2_phy_power_on() 77 writel(val, qphy->base + PCIE20_PARF_PHY_REFCLK_CTRL2); in qcom_pcie2_phy_power_on() 82 val = readl(qphy->base + PCIE20_PARF_PHY_REFCLK_CTRL2); in qcom_pcie2_phy_power_on() 84 writel(val, qphy->base + PCIE20_PARF_PHY_REFCLK_CTRL2); in qcom_pcie2_phy_power_on() [all …]
|
| H A D | phy-qcom-qusb2.c | 530 static void qusb2_phy_override_phy_params(struct qusb2_phy *qphy) in qusb2_phy_override_phy_params() argument 532 const struct qusb2_phy_cfg *cfg = qphy->cfg; in qusb2_phy_override_phy_params() 533 struct override_params *or = &qphy->overrides; in qusb2_phy_override_phy_params() 536 qusb2_write_mask(qphy->base, QUSB2PHY_IMP_CTRL1, in qusb2_phy_override_phy_params() 541 qusb2_write_mask(qphy->base, QUSB2PHY_PLL_BIAS_CONTROL_2, in qusb2_phy_override_phy_params() 546 qusb2_write_mask(qphy->base, QUSB2PHY_CHG_CTRL2, in qusb2_phy_override_phy_params() 551 qusb2_write_mask(qphy->base, cfg->regs[QUSB2PHY_PORT_TUNE1], in qusb2_phy_override_phy_params() 556 qusb2_write_mask(qphy->base, cfg->regs[QUSB2PHY_PORT_TUNE1], in qusb2_phy_override_phy_params() 563 qusb2_setbits(qphy->base, in qusb2_phy_override_phy_params() 567 qusb2_clrbits(qphy->base, in qusb2_phy_override_phy_params() [all …]
|
| H A D | phy-qcom-m31.c | 213 struct m31usb_phy *qphy = phy_get_drvdata(phy); in m31usb_phy_init() local 214 const struct m31_phy_regs *regs = qphy->regs; in m31usb_phy_init() 217 ret = regulator_enable(qphy->vreg); in m31usb_phy_init() 223 ret = clk_prepare_enable(qphy->clk); in m31usb_phy_init() 225 regulator_disable(qphy->vreg); in m31usb_phy_init() 231 reset_control_assert(qphy->reset); in m31usb_phy_init() 233 reset_control_deassert(qphy->reset); in m31usb_phy_init() 236 if (qphy->ulpi_mode) in m31usb_phy_init() 237 writel(0x0, qphy->base + USB2PHY_PORT_UTMI_CTRL2); in m31usb_phy_init() 240 writel(POWER_UP, qphy->base + USB2PHY_PORT_POWERDOWN); in m31usb_phy_init() [all …]
|
| H A D | phy-qcom-qmp-pcie-msm8996.c | 280 static int qmp_pcie_msm8996_serdes_init(struct qmp_phy *qphy) in qmp_pcie_msm8996_serdes_init() argument 282 struct qcom_qmp *qmp = qphy->qmp; in qmp_pcie_msm8996_serdes_init() 283 const struct qmp_phy_cfg *cfg = qphy->cfg; in qmp_pcie_msm8996_serdes_init() 284 void __iomem *serdes = qphy->serdes; in qmp_pcie_msm8996_serdes_init() 309 static int qmp_pcie_msm8996_com_init(struct qmp_phy *qphy) in qmp_pcie_msm8996_com_init() argument 311 struct qcom_qmp *qmp = qphy->qmp; in qmp_pcie_msm8996_com_init() 312 const struct qmp_phy_cfg *cfg = qphy->cfg; in qmp_pcie_msm8996_com_init() 313 void __iomem *serdes = qphy->serdes; in qmp_pcie_msm8996_com_init() 362 static int qmp_pcie_msm8996_com_exit(struct qmp_phy *qphy) in qmp_pcie_msm8996_com_exit() argument 364 struct qcom_qmp *qmp = qphy->qmp; in qmp_pcie_msm8996_com_exit() [all …]
|
| /linux/drivers/pmdomain/qcom/ |
| H A D | rpmhpd.c | 210 static struct rpmhpd qphy = { variable 298 [RPMHPD_QPHY] = &qphy, 708 [SC8280XP_QPHY] = &qphy,
|