| /linux/drivers/phy/qualcomm/ |
| H A D | phy-qcom-qmp-usbc.c | 416 void (*dp_aux_init)(struct qmp_usbc *qmp); 417 void (*configure_dp_tx)(struct qmp_usbc *qmp); 418 int (*configure_dp_phy)(struct qmp_usbc *qmp); 419 int (*calibrate_dp_phy)(struct qmp_usbc *qmp); 648 static void qcs615_qmp_dp_aux_init(struct qmp_usbc *qmp); 649 static void qcs615_qmp_configure_dp_tx(struct qmp_usbc *qmp); 650 static int qcs615_qmp_configure_dp_phy(struct qmp_usbc *qmp); 651 static int qcs615_qmp_calibrate_dp_phy(struct qmp_usbc *qmp); 733 static void qmp_usbc_set_phy_mode(struct qmp_usbc *qmp, bool is_dp) in qmp_usbc_set_phy_mode() argument 735 if (qmp->tcsr_map && qmp->dp_phy_mode_reg) in qmp_usbc_set_phy_mode() [all …]
|
| H A D | phy-qcom-qmp-pcie-multiphy.c | 235 static int qmp_pcie_pd_power_on(struct qmp_pcie *qmp) in qmp_pcie_pd_power_on() argument 237 const struct qmp_phy_cfg *cfg = qmp->cfg; in qmp_pcie_pd_power_on() 241 ret = pm_runtime_resume_and_get(qmp->pd_devs[i]); in qmp_pcie_pd_power_on() 243 dev_err(qmp->dev, "failed to power on %s domain: %d\n", in qmp_pcie_pd_power_on() 253 pm_runtime_put(qmp->pd_devs[i]); in qmp_pcie_pd_power_on() 258 static void qmp_pcie_pd_power_off(struct qmp_pcie *qmp) in qmp_pcie_pd_power_off() argument 260 const struct qmp_phy_cfg *cfg = qmp->cfg; in qmp_pcie_pd_power_off() 264 pm_runtime_put(qmp->pd_devs[i]); in qmp_pcie_pd_power_off() 269 struct qmp_pcie *qmp = phy_get_drvdata(phy); in qmp_pcie_init() local 270 const struct qmp_phy_cfg *cfg = qmp->cfg; in qmp_pcie_init() [all …]
|
| H A D | phy-qcom-qmp-usb-legacy.c | 729 static int qmp_usb_legacy_serdes_init(struct qmp_usb *qmp) in qmp_usb_legacy_serdes_init() argument 731 const struct qmp_phy_cfg *cfg = qmp->cfg; in qmp_usb_legacy_serdes_init() 732 void __iomem *serdes = qmp->serdes; in qmp_usb_legacy_serdes_init() 743 struct qmp_usb *qmp = phy_get_drvdata(phy); in qmp_usb_legacy_init_dp_com() local 744 void __iomem *dp_com = qmp->dp_com; in qmp_usb_legacy_init_dp_com() 770 struct qmp_usb *qmp = phy_get_drvdata(phy); in qmp_usb_legacy_init() local 771 const struct qmp_phy_cfg *cfg = qmp->cfg; in qmp_usb_legacy_init() 772 void __iomem *pcs = qmp->pcs; in qmp_usb_legacy_init() 775 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_usb_legacy_init() 777 dev_err(qmp->dev, "failed to enable regulators, err=%d\n", ret); in qmp_usb_legacy_init() [all …]
|
| H A D | phy-qcom-qmp-combo.c | 2533 int (*configure_dp_clocks)(struct qmp_combo *qmp); 2534 int (*configure_dp_phy)(struct qmp_combo *qmp); 2535 void (*configure_dp_tx)(struct qmp_combo *qmp); 2536 int (*calibrate_dp_phy)(struct qmp_combo *qmp); 2537 void (*dp_aux_init)(struct qmp_combo *qmp); 2611 static void qmp_v3_dp_aux_init(struct qmp_combo *qmp); 2612 static void qmp_v3_configure_dp_tx(struct qmp_combo *qmp); 2613 static int qmp_v3_configure_dp_clocks(struct qmp_combo *qmp); 2614 static int qmp_v3_configure_dp_phy(struct qmp_combo *qmp); 2615 static int qmp_v3_calibrate_dp_phy(struct qmp_combo *qmp); [all …]
|
| H A D | phy-qcom-qmp-usb.c | 1870 static int qmp_usb_serdes_init(struct qmp_usb *qmp) in qmp_usb_serdes_init() argument 1872 const struct qmp_phy_cfg *cfg = qmp->cfg; in qmp_usb_serdes_init() 1873 void __iomem *serdes = qmp->serdes; in qmp_usb_serdes_init() 1877 qmp_configure(qmp->dev, serdes, serdes_tbl, serdes_tbl_num); in qmp_usb_serdes_init() 1884 struct qmp_usb *qmp = phy_get_drvdata(phy); in qmp_usb_init() local 1885 const struct qmp_phy_cfg *cfg = qmp->cfg; in qmp_usb_init() 1886 void __iomem *pcs = qmp->pcs; in qmp_usb_init() 1889 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_usb_init() 1891 dev_err(qmp->dev, "failed to enable regulators, err=%d\n", ret); in qmp_usb_init() 1895 ret = reset_control_bulk_assert(qmp->num_resets, qmp->resets); in qmp_usb_init() [all …]
|
| H A D | phy-qcom-qmp-ufs.c | 1984 static void qmp_ufs_serdes_init(struct qmp_ufs *qmp, const struct qmp_phy_cfg_tbls *tbls) in qmp_ufs_serdes_init() argument 1986 void __iomem *serdes = qmp->serdes; in qmp_ufs_serdes_init() 1988 qmp_configure(qmp->dev, serdes, tbls->serdes, tbls->serdes_num); in qmp_ufs_serdes_init() 1991 static void qmp_ufs_lanes_init(struct qmp_ufs *qmp, const struct qmp_phy_cfg_tbls *tbls) in qmp_ufs_lanes_init() argument 1993 const struct qmp_phy_cfg *cfg = qmp->cfg; in qmp_ufs_lanes_init() 1994 void __iomem *tx = qmp->tx; in qmp_ufs_lanes_init() 1995 void __iomem *rx = qmp->rx; in qmp_ufs_lanes_init() 1997 qmp_configure_lane(qmp->dev, tx, tbls->tx, tbls->tx_num, 1); in qmp_ufs_lanes_init() 1998 qmp_configure_lane(qmp->dev, rx, tbls->rx, tbls->rx_num, 1); in qmp_ufs_lanes_init() 2001 qmp_configure_lane(qmp->dev, qmp->tx2, tbls->tx, tbls->tx_num, 2); in qmp_ufs_lanes_init() [all …]
|
| H A D | phy-qcom-qmp-pcie.c | 5599 static void qmp_pcie_init_port_b(struct qmp_pcie *qmp, const struct qmp_phy_cfg_tbls *tbls) in qmp_pcie_init_port_b() argument 5601 const struct qmp_phy_cfg *cfg = qmp->cfg; in qmp_pcie_init_port_b() 5605 serdes = qmp->port_b + offs->serdes; in qmp_pcie_init_port_b() 5606 tx3 = qmp->port_b + offs->tx; in qmp_pcie_init_port_b() 5607 rx3 = qmp->port_b + offs->rx; in qmp_pcie_init_port_b() 5608 tx4 = qmp->port_b + offs->tx2; in qmp_pcie_init_port_b() 5609 rx4 = qmp->port_b + offs->rx2; in qmp_pcie_init_port_b() 5610 pcs = qmp->port_b + offs->pcs; in qmp_pcie_init_port_b() 5611 pcs_misc = qmp->port_b + offs->pcs_misc; in qmp_pcie_init_port_b() 5612 ln_shrd = qmp->port_b + offs->ln_shrd; in qmp_pcie_init_port_b() [all …]
|
| H A D | Makefile | 11 obj-$(CONFIG_PHY_QCOM_QMP_COMBO) += phy-qcom-qmp-combo.o phy-qcom-qmp-usbc.o 12 obj-$(CONFIG_PHY_QCOM_QMP_PCIE) += phy-qcom-qmp-pcie.o 13 obj-$(CONFIG_PHY_QCOM_QMP_PCIE_MULTIPHY) += phy-qcom-qmp-pcie-multiphy.o 14 obj-$(CONFIG_PHY_QCOM_QMP_PCIE_8996) += phy-qcom-qmp-pcie-msm8996.o 15 obj-$(CONFIG_PHY_QCOM_QMP_UFS) += phy-qcom-qmp-ufs.o 16 obj-$(CONFIG_PHY_QCOM_QMP_USB) += phy-qcom-qmp-usb.o 17 obj-$(CONFIG_PHY_QCOM_QMP_USB_LEGACY) += phy-qcom-qmp-usb-legacy.o
|
| /linux/include/linux/soc/qcom/ |
| H A D | qcom_aoss.h | 12 struct qmp; 16 int qmp_send(struct qmp *qmp, const char *fmt, ...); 17 struct qmp *qmp_get(struct device *dev); 18 void qmp_put(struct qmp *qmp); 22 static inline int qmp_send(struct qmp *qmp, const char *fmt, ...) in qmp_send() argument 27 static inline struct qmp *qmp_get(struct device *dev) in qmp_get() 32 static inline void qmp_put(struct qmp *qmp) in qmp_put() argument
|
| /linux/drivers/net/ipa/ |
| H A D | ipa_power.c | 48 struct qmp *qmp; member 199 struct qmp *qmp = qmp_get(power->dev); in ipa_power_retention_init() local 201 if (IS_ERR(qmp)) { in ipa_power_retention_init() 202 if (PTR_ERR(qmp) == -EPROBE_DEFER) in ipa_power_retention_init() 206 qmp = NULL; in ipa_power_retention_init() 208 power->qmp = qmp; in ipa_power_retention_init() 215 qmp_put(power->qmp); in ipa_power_retention_exit() 216 power->qmp = NULL; in ipa_power_retention_exit() 226 if (!power->qmp) in ipa_power_retention() 229 ret = qmp_send(power->qmp, fmt, enable ? '1' : '0'); in ipa_power_retention()
|
| /linux/drivers/remoteproc/ |
| H A D | qcom_q6v5.h | 20 struct qmp *qmp; member
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | purwa.dtsi | 224 compatible = "qcom,x1p42100-qmp-gen4x4-pcie-phy"; 237 compatible = "qcom,x1p42100-qmp-gen4x4-pcie-phy";
|
| H A D | sc8280xp.dtsi | 21 #include <dt-bindings/phy/phy-qcom-qmp.h> 2244 compatible = "qcom,sc8280xp-qmp-gen3x1-pcie-phy"; 2354 compatible = "qcom,sc8280xp-qmp-gen3x2-pcie-phy"; 2464 compatible = "qcom,sc8280xp-qmp-gen3x4-pcie-phy"; 2577 compatible = "qcom,sc8280xp-qmp-gen3x2-pcie-phy"; 2687 compatible = "qcom,sc8280xp-qmp-gen3x4-pcie-phy"; 2764 compatible = "qcom,sc8280xp-qmp-ufs-phy"; 2829 compatible = "qcom,sc8280xp-qmp-ufs-phy"; 2884 qcom,qmp = <&aoss_qmp>; 2952 qcom,qmp = <&aoss_qmp>; [all …]
|
| H A D | eliza.dtsi | 18 #include <dt-bindings/phy/phy-qcom-qmp.h> 1798 compatible = "qcom,eliza-qmp-ufs-phy", 1799 "qcom,sm8650-qmp-ufs-phy"; 2009 qcom,qmp = <&aoss_qmp>; 2338 compatible = "qcom,eliza-qmp-usb3-dp-phy", 2339 "qcom,sm8650-qmp-usb3-dp-phy"; 3008 compatible = "qcom,eliza-aoss-qmp", "qcom,aoss-qmp";
|
| H A D | sm8650.dtsi | 22 #include <dt-bindings/phy/phy-qcom-qmp.h> 3779 compatible = "qcom,sm8650-qmp-gen3x2-pcie-phy"; 3988 compatible = "qcom,sm8650-qmp-gen4x2-pcie-phy"; 4021 compatible = "qcom,sm8650-qmp-ufs-phy"; 4342 qcom,qmp = <&aoss_qmp>; 4449 qcom,qmp = <&aoss_qmp>; 4496 qcom,qmp = <&aoss_qmp>; 4545 qcom,qmp = <&aoss_qmp>; 5092 compatible = "qcom,sm8650-qmp-usb3-dp-phy"; 6121 compatible = "qcom,sm8650-aoss-qmp", "qcom,aoss-qmp"; [all …]
|
| H A D | glymur.dtsi | 22 #include <dt-bindings/phy/phy-qcom-qmp.h> 2422 compatible = "qcom,glymur-qmp-usb3-uni-phy"; 2449 compatible = "qcom,glymur-qmp-usb3-uni-phy"; 2514 compatible = "qcom,glymur-qmp-usb3-dp-phy"; 2587 compatible = "qcom,glymur-qmp-usb3-dp-phy"; 3012 compatible = "qcom,glymur-qmp-gen4x2-pcie-phy"; 3284 compatible = "qcom,glymur-qmp-gen5x4-pcie-phy"; 3500 compatible = "qcom,glymur-qmp-gen4x2-pcie-phy"; 3988 qcom,qmp = <&aoss_qmp>; 4115 qcom,qmp = <&aoss_qmp>; [all …]
|
| H A D | monaco.dtsi | 2409 compatible = "qcom,qcs8300-qmp-gen4x2-pcie-phy"; 2600 compatible = "qcom,sa8775p-qmp-gen4x4-pcie-phy"; 2683 compatible = "qcom,qcs8300-qmp-ufs-phy", "qcom,sa8775p-qmp-ufs-phy"; 2776 qcom,qmp = <&aoss_qmp>; 4911 compatible = "qcom,qcs8300-qmp-usb3-uni-phy"; 6180 compatible = "qcom,qcs8300-aoss-qmp", "qcom,aoss-qmp"; 7621 qcom,qmp = <&aoss_qmp>; 7741 qcom,qmp = <&aoss_qmp>;
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-sdx65.dtsi | 243 compatible = "qcom,sdx65-qmp-usb3-uni-phy"; 358 compatible = "qcom,sdx65-qmp-gen4x2-pcie-phy";
|