Searched refs:qphy (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/phy/qualcomm/ |
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 …]
|
D | phy-qcom-qusb2.c | 507 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 …]
|
D | phy-qcom-qmp-combo.c | 850 int (*configure_dp_phy)(struct qmp_phy *qphy); 851 void (*configure_dp_tx)(struct qmp_phy *qphy); 852 int (*calibrate_dp_phy)(struct qmp_phy *qphy); 853 void (*dp_aux_init)(struct qmp_phy *qphy); 929 struct qmp_phy *qphy; member 966 static void qcom_qmp_v3_phy_dp_aux_init(struct qmp_phy *qphy); 967 static void qcom_qmp_v3_phy_configure_dp_tx(struct qmp_phy *qphy); 968 static int qcom_qmp_v3_phy_configure_dp_phy(struct qmp_phy *qphy); 969 static int qcom_qmp_v3_dp_phy_calibrate(struct qmp_phy *qphy); 971 static void qcom_qmp_v4_phy_dp_aux_init(struct qmp_phy *qphy); [all …]
|
D | phy-qcom-qmp-pcie-msm8996.c | 380 static int qmp_pcie_msm8996_serdes_init(struct qmp_phy *qphy) in qmp_pcie_msm8996_serdes_init() argument 382 struct qcom_qmp *qmp = qphy->qmp; in qmp_pcie_msm8996_serdes_init() 383 const struct qmp_phy_cfg *cfg = qphy->cfg; in qmp_pcie_msm8996_serdes_init() 384 void __iomem *serdes = qphy->serdes; in qmp_pcie_msm8996_serdes_init() 411 static int qmp_pcie_msm8996_com_init(struct qmp_phy *qphy) in qmp_pcie_msm8996_com_init() argument 413 struct qcom_qmp *qmp = qphy->qmp; in qmp_pcie_msm8996_com_init() 414 const struct qmp_phy_cfg *cfg = qphy->cfg; in qmp_pcie_msm8996_com_init() 415 void __iomem *serdes = qphy->serdes; in qmp_pcie_msm8996_com_init() 464 static int qmp_pcie_msm8996_com_exit(struct qmp_phy *qphy) in qmp_pcie_msm8996_com_exit() argument 466 struct qcom_qmp *qmp = qphy->qmp; in qmp_pcie_msm8996_com_exit() [all …]
|
D | phy-qcom-qmp-ufs.c | 829 static int qmp_ufs_serdes_init(struct qmp_phy *qphy) in qmp_ufs_serdes_init() argument 831 const struct qmp_phy_cfg *cfg = qphy->cfg; in qmp_ufs_serdes_init() 832 void __iomem *serdes = qphy->serdes; in qmp_ufs_serdes_init() 841 static int qmp_ufs_com_init(struct qmp_phy *qphy) in qmp_ufs_com_init() argument 843 struct qcom_qmp *qmp = qphy->qmp; in qmp_ufs_com_init() 844 const struct qmp_phy_cfg *cfg = qphy->cfg; in qmp_ufs_com_init() 845 void __iomem *pcs = qphy->pcs; in qmp_ufs_com_init() 875 static int qmp_ufs_com_exit(struct qmp_phy *qphy) in qmp_ufs_com_exit() argument 877 struct qcom_qmp *qmp = qphy->qmp; in qmp_ufs_com_exit() 878 const struct qmp_phy_cfg *cfg = qphy->cfg; in qmp_ufs_com_exit() [all …]
|
D | phy-qcom-qmp-usb.c | 1997 static int qmp_usb_serdes_init(struct qmp_phy *qphy) in qmp_usb_serdes_init() argument 1999 const struct qmp_phy_cfg *cfg = qphy->cfg; in qmp_usb_serdes_init() 2000 void __iomem *serdes = qphy->serdes; in qmp_usb_serdes_init() 2011 struct qmp_phy *qphy = phy_get_drvdata(phy); in qmp_usb_init() local 2012 struct qcom_qmp *qmp = qphy->qmp; in qmp_usb_init() 2013 const struct qmp_phy_cfg *cfg = qphy->cfg; in qmp_usb_init() 2014 void __iomem *pcs = qphy->pcs; in qmp_usb_init() 2078 struct qmp_phy *qphy = phy_get_drvdata(phy); in qmp_usb_exit() local 2079 struct qcom_qmp *qmp = qphy->qmp; in qmp_usb_exit() 2080 const struct qmp_phy_cfg *cfg = qphy->cfg; in qmp_usb_exit() [all …]
|
D | phy-qcom-qmp-pcie.c | 1898 static void qmp_pcie_serdes_init(struct qmp_phy *qphy, const struct qmp_phy_cfg_tables *tables) in qmp_pcie_serdes_init() argument 1900 const struct qmp_phy_cfg *cfg = qphy->cfg; in qmp_pcie_serdes_init() 1901 void __iomem *serdes = qphy->serdes; in qmp_pcie_serdes_init() 1909 static void qmp_pcie_lanes_init(struct qmp_phy *qphy, const struct qmp_phy_cfg_tables *tables) in qmp_pcie_lanes_init() argument 1911 const struct qmp_phy_cfg *cfg = qphy->cfg; in qmp_pcie_lanes_init() 1912 void __iomem *tx = qphy->tx; in qmp_pcie_lanes_init() 1913 void __iomem *rx = qphy->rx; in qmp_pcie_lanes_init() 1921 qmp_pcie_configure_lane(qphy->tx2, cfg->regs, tables->tx, tables->tx_num, 2); in qmp_pcie_lanes_init() 1925 qmp_pcie_configure_lane(qphy->rx2, cfg->regs, tables->rx, tables->rx_num, 2); in qmp_pcie_lanes_init() 1928 static void qmp_pcie_pcs_init(struct qmp_phy *qphy, const struct qmp_phy_cfg_tables *tables) in qmp_pcie_pcs_init() argument [all …]
|
/linux-6.1.9/drivers/soc/qcom/ |
D | rpmhpd.c | 188 static struct rpmhpd qphy = { variable 424 [SC8280XP_QPHY] = &qphy,
|