Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/phy/qualcomm/
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 …]
Dphy-qcom-qusb2.c507 static void qusb2_phy_override_phy_params(struct qusb2_phy *qphy) in qusb2_phy_override_phy_params() argument
509 const struct qusb2_phy_cfg *cfg = qphy->cfg; in qusb2_phy_override_phy_params()
510 struct override_params *or = &qphy->overrides; in qusb2_phy_override_phy_params()
513 qusb2_write_mask(qphy->base, QUSB2PHY_IMP_CTRL1, in qusb2_phy_override_phy_params()
518 qusb2_write_mask(qphy->base, QUSB2PHY_PLL_BIAS_CONTROL_2, in qusb2_phy_override_phy_params()
523 qusb2_write_mask(qphy->base, QUSB2PHY_CHG_CTRL2, in qusb2_phy_override_phy_params()
528 qusb2_write_mask(qphy->base, cfg->regs[QUSB2PHY_PORT_TUNE1], in qusb2_phy_override_phy_params()
533 qusb2_write_mask(qphy->base, cfg->regs[QUSB2PHY_PORT_TUNE1], in qusb2_phy_override_phy_params()
540 qusb2_setbits(qphy->base, in qusb2_phy_override_phy_params()
544 qusb2_clrbits(qphy->base, in qusb2_phy_override_phy_params()
[all …]
Dphy-qcom-qmp.c3164 int (*configure_dp_phy)(struct qmp_phy *qphy);
3165 void (*configure_dp_tx)(struct qmp_phy *qphy);
3166 int (*calibrate_dp_phy)(struct qmp_phy *qphy);
3167 void (*dp_aux_init)(struct qmp_phy *qphy);
3254 struct qmp_phy *qphy; member
3290 static void qcom_qmp_v3_phy_dp_aux_init(struct qmp_phy *qphy);
3291 static void qcom_qmp_v3_phy_configure_dp_tx(struct qmp_phy *qphy);
3292 static int qcom_qmp_v3_phy_configure_dp_phy(struct qmp_phy *qphy);
3293 static int qcom_qmp_v3_dp_phy_calibrate(struct qmp_phy *qphy);
3295 static void qcom_qmp_v4_phy_dp_aux_init(struct qmp_phy *qphy);
[all …]
/linux-5.19.10/drivers/soc/qcom/
Drpmhpd.c188 static struct rpmhpd qphy = { variable
424 [SC8280XP_QPHY] = &qphy,