Home
last modified time | relevance | path

Searched refs:qphy (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/phy/qualcomm/
H A Dphy-qcom-pcie2.c52 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 Dphy-qcom-qusb2.c555 static void qusb2_phy_override_phy_params(struct qusb2_phy *qphy)
557 const struct qusb2_phy_cfg *cfg = qphy->cfg;
558 struct override_params *or = &qphy->overrides;
561 qusb2_write_mask(qphy->base, QUSB2PHY_IMP_CTRL1, in qusb2_phy_set_tune2_param()
566 qusb2_write_mask(qphy->base, QUSB2PHY_PLL_BIAS_CONTROL_2, in qusb2_phy_set_tune2_param()
571 qusb2_write_mask(qphy->base, QUSB2PHY_CHG_CTRL2, in qusb2_phy_set_tune2_param()
576 qusb2_write_mask(qphy->base, cfg->regs[QUSB2PHY_PORT_TUNE1], in qusb2_phy_set_tune2_param()
581 qusb2_write_mask(qphy->base, cfg->regs[QUSB2PHY_PORT_TUNE1], in qusb2_phy_set_tune2_param()
588 qusb2_setbits(qphy->base, in qusb2_phy_set_tune2_param()
592 qusb2_clrbits(qphy in qusb2_phy_set_tune2_param()
506 qusb2_phy_override_phy_params(struct qusb2_phy * qphy) qusb2_phy_override_phy_params() argument
559 qusb2_phy_set_tune2_param(struct qusb2_phy * qphy) qusb2_phy_set_tune2_param() argument
600 struct qusb2_phy *qphy = phy_get_drvdata(phy); qusb2_phy_set_mode() local
609 struct qusb2_phy *qphy = dev_get_drvdata(dev); qusb2_phy_runtime_suspend() local
675 struct qusb2_phy *qphy = dev_get_drvdata(dev); qusb2_phy_runtime_resume() local
727 struct qusb2_phy *qphy = phy_get_drvdata(phy); qusb2_phy_init() local
878 struct qusb2_phy *qphy = phy_get_drvdata(phy); qusb2_phy_exit() local
960 struct qusb2_phy *qphy; qusb2_phy_probe() local
[all...]
H A Dphy-qcom-m31.c207 struct m31usb_phy *qphy = phy_get_drvdata(phy); in m31usb_phy_init() local
208 const struct m31_phy_regs *regs = qphy->regs; in m31usb_phy_init()
211 ret = regulator_enable(qphy->vreg); in m31usb_phy_init()
217 ret = clk_prepare_enable(qphy->clk); in m31usb_phy_init()
219 regulator_disable(qphy->vreg); in m31usb_phy_init()
225 reset_control_assert(qphy->reset); in m31usb_phy_init()
227 reset_control_deassert(qphy->reset); in m31usb_phy_init()
230 if (qphy->ulpi_mode) in m31usb_phy_init()
231 writel(0x0, qphy->base + USB2PHY_PORT_UTMI_CTRL2); in m31usb_phy_init()
234 writel(POWER_UP, qphy->base + USB2PHY_PORT_POWERDOWN); in m31usb_phy_init()
[all …]
H A Dphy-qcom-qmp-pcie-msm8996.c280 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 Drpmhpd.c210 static struct rpmhpd qphy = { variable
278 [RPMHPD_QPHY] = &qphy,
646 [SC8280XP_QPHY] = &qphy,