Searched refs:qphy (Results 1 – 5 of 5) sorted by relevance
/openbmc/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 | 506 static void qusb2_phy_override_phy_params(struct qusb2_phy *qphy) in qusb2_phy_override_phy_params() argument 508 const struct qusb2_phy_cfg *cfg = qphy->cfg; in qusb2_phy_override_phy_params() 509 struct override_params *or = &qphy->overrides; in qusb2_phy_override_phy_params() 512 qusb2_write_mask(qphy->base, QUSB2PHY_IMP_CTRL1, in qusb2_phy_override_phy_params() 517 qusb2_write_mask(qphy->base, QUSB2PHY_PLL_BIAS_CONTROL_2, in qusb2_phy_override_phy_params() 522 qusb2_write_mask(qphy->base, QUSB2PHY_CHG_CTRL2, in qusb2_phy_override_phy_params() 527 qusb2_write_mask(qphy->base, cfg->regs[QUSB2PHY_PORT_TUNE1], in qusb2_phy_override_phy_params() 532 qusb2_write_mask(qphy->base, cfg->regs[QUSB2PHY_PORT_TUNE1], in qusb2_phy_override_phy_params() 539 qusb2_setbits(qphy->base, in qusb2_phy_override_phy_params() 543 qusb2_clrbits(qphy->base, in qusb2_phy_override_phy_params() [all …]
|
H A D | phy-qcom-m31.c | 163 struct m31usb_phy *qphy = phy_get_drvdata(phy); in m31usb_phy_init() local 164 const struct m31_phy_regs *regs = qphy->regs; in m31usb_phy_init() 167 ret = regulator_enable(qphy->vreg); in m31usb_phy_init() 173 ret = clk_prepare_enable(qphy->clk); in m31usb_phy_init() 175 regulator_disable(qphy->vreg); in m31usb_phy_init() 181 reset_control_assert(qphy->reset); in m31usb_phy_init() 183 reset_control_deassert(qphy->reset); in m31usb_phy_init() 186 if (qphy->ulpi_mode) in m31usb_phy_init() 187 writel(0x0, qphy->base + USB2PHY_PORT_UTMI_CTRL2); in m31usb_phy_init() 190 writel(POWER_UP, qphy->base + USB2PHY_PORT_POWERDOWN); in m31usb_phy_init() [all …]
|
H A D | phy-qcom-qmp-pcie-msm8996.c | 336 static int qmp_pcie_msm8996_serdes_init(struct qmp_phy *qphy) in qmp_pcie_msm8996_serdes_init() argument 338 struct qcom_qmp *qmp = qphy->qmp; in qmp_pcie_msm8996_serdes_init() 339 const struct qmp_phy_cfg *cfg = qphy->cfg; in qmp_pcie_msm8996_serdes_init() 340 void __iomem *serdes = qphy->serdes; in qmp_pcie_msm8996_serdes_init() 365 static int qmp_pcie_msm8996_com_init(struct qmp_phy *qphy) in qmp_pcie_msm8996_com_init() argument 367 struct qcom_qmp *qmp = qphy->qmp; in qmp_pcie_msm8996_com_init() 368 const struct qmp_phy_cfg *cfg = qphy->cfg; in qmp_pcie_msm8996_com_init() 369 void __iomem *serdes = qphy->serdes; in qmp_pcie_msm8996_com_init() 418 static int qmp_pcie_msm8996_com_exit(struct qmp_phy *qphy) in qmp_pcie_msm8996_com_exit() argument 420 struct qcom_qmp *qmp = qphy->qmp; in qmp_pcie_msm8996_com_exit() [all …]
|
/openbmc/linux/drivers/pmdomain/qcom/ |
H A D | rpmhpd.c | 204 static struct rpmhpd qphy = { variable 545 [SC8280XP_QPHY] = &qphy,
|