Home
last modified time | relevance | path

Searched refs:qmp (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/soc/qcom/
H A Dqcom_aoss.c58 struct qmp *qmp; member
78 struct qmp { struct
98 static void qmp_kick(struct qmp *qmp) in qmp_kick() argument
100 mbox_send_message(qmp->mbox_chan, NULL); in qmp_kick()
101 mbox_client_txdone(qmp->mbox_chan, 0); in qmp_kick()
104 static bool qmp_magic_valid(struct qmp *qmp) in qmp_magic_valid() argument
106 return readl(qmp->msgram + QMP_DESC_MAGIC) == QMP_MAGIC; in qmp_magic_valid()
109 static bool qmp_link_acked(struct qmp *qmp) in qmp_link_acked() argument
111 return readl(qmp->msgram + QMP_DESC_MCORE_LINK_STATE_ACK) == QMP_STATE_UP; in qmp_link_acked()
114 static bool qmp_mcore_channel_acked(struct qmp *qmp) in qmp_mcore_channel_acked() argument
[all …]
H A Dqcom_stats.c41 static struct qmp *qcom_stats_qmp;
/linux/drivers/phy/qualcomm/
H A Dphy-qcom-qmp-usb-legacy.c727 static int qmp_usb_legacy_serdes_init(struct qmp_usb *qmp) in qmp_usb_legacy_serdes_init() argument
729 const struct qmp_phy_cfg *cfg = qmp->cfg; in qmp_usb_legacy_serdes_init()
730 void __iomem *serdes = qmp->serdes; in qmp_usb_legacy_serdes_init()
741 struct qmp_usb *qmp = phy_get_drvdata(phy); in qmp_usb_legacy_init_dp_com() local
742 void __iomem *dp_com = qmp->dp_com; in qmp_usb_legacy_init_dp_com()
768 struct qmp_usb *qmp = phy_get_drvdata(phy); in qmp_usb_legacy_init() local
769 const struct qmp_phy_cfg *cfg = qmp->cfg; in qmp_usb_legacy_init()
770 void __iomem *pcs = qmp->pcs; in qmp_usb_legacy_init()
773 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_usb_legacy_init()
775 dev_err(qmp->dev, "failed to enable regulators, err=%d\n", ret); in qmp_usb_legacy_init()
[all …]
H A Dphy-qcom-qmp-pcie-msm8996.c191 struct qcom_qmp *qmp; member
282 struct qcom_qmp *qmp = qphy->qmp; in qmp_pcie_msm8996_serdes_init() local
291 qmp_configure(qmp->dev, serdes, serdes_tbl, serdes_tbl_num); in qmp_pcie_msm8996_serdes_init()
301 dev_err(qmp->dev, in qmp_pcie_msm8996_serdes_init()
311 struct qcom_qmp *qmp = qphy->qmp; in qmp_pcie_msm8996_com_init() local
316 mutex_lock(&qmp->phy_mutex); in qmp_pcie_msm8996_com_init()
317 if (qmp->init_count++) { in qmp_pcie_msm8996_com_init()
318 mutex_unlock(&qmp->phy_mutex); in qmp_pcie_msm8996_com_init()
322 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_pcie_msm8996_com_init()
324 dev_err(qmp->dev, "failed to enable regulators, err=%d\n", ret); in qmp_pcie_msm8996_com_init()
[all …]
H A DMakefile11 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_8996) += phy-qcom-qmp-pcie-msm8996.o
14 obj-$(CONFIG_PHY_QCOM_QMP_UFS) += phy-qcom-qmp-ufs.o
15 obj-$(CONFIG_PHY_QCOM_QMP_USB) += phy-qcom-qmp-usb.o
16 obj-$(CONFIG_PHY_QCOM_QMP_USB_LEGACY) += phy-qcom-qmp-usb-legacy.o
/linux/include/linux/soc/qcom/
H A Dqcom_aoss.h12 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 Dipa_power.c48 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 Dqcom_q6v5.h20 struct qmp *qmp; member
/linux/drivers/gpu/drm/msm/adreno/
H A Da6xx_gmu.h123 struct qmp *qmp; member
/linux/arch/arm64/boot/dts/qcom/
H A Dipq5424.dtsi234 compatible = "qcom,ipq5424-qmp-gen3x1-pcie-phy",
235 "qcom,ipq9574-qmp-gen3x1-pcie-phy";
260 compatible = "qcom,ipq5424-qmp-gen3x1-pcie-phy",
261 "qcom,ipq9574-qmp-gen3x1-pcie-phy";
355 compatible = "qcom,ipq5424-qmp-gen3x2-pcie-phy",
356 "qcom,ipq9574-qmp-gen3x2-pcie-phy";
381 compatible = "qcom,ipq5424-qmp-gen3x2-pcie-phy",
382 "qcom,ipq9574-qmp-gen3x2-pcie-phy";
676 compatible = "qcom,ipq5424-qmp-usb3-phy";
H A Dsc8180x.dtsi18 #include <dt-bindings/phy/phy-qcom-qmp.h>
1800 compatible = "qcom,sc8180x-qmp-pcie-phy";
1919 compatible = "qcom,sc8180x-qmp-pcie-phy";
2039 compatible = "qcom,sc8180x-qmp-pcie-phy";
2159 compatible = "qcom,sc8180x-qmp-pcie-phy";
2236 compatible = "qcom,sc8180x-qmp-ufs-phy";
2442 qcom,qmp = <&aoss_qmp>;
2473 qcom,qmp = <&aoss_qmp>;
2549 compatible = "qcom,sc8180x-qmp-usb3-dp-phy";
2597 compatible = "qcom,sc8180x-qmp-usb3-uni-phy";
[all …]
H A Dsm8350.dtsi19 #include <dt-bindings/phy/phy-qcom-qmp.h>
1603 compatible = "qcom,sm8350-qmp-gen3x1-pcie-phy";
1712 compatible = "qcom,sm8350-qmp-gen3x2-pcie-phy";
1788 compatible = "qcom,sm8350-qmp-ufs-phy";
1862 qcom,qmp = <&aoss_qmp>;
1904 qcom,qmp = <&aoss_qmp>;
2243 qcom,qmp = <&aoss_qmp>;
2282 qcom,qmp = <&aoss_qmp>;
2401 compatible = "qcom,sm8350-qmp-usb3-dp-phy";
2451 compatible = "qcom,sm8350-qmp-usb3-uni-phy";
[all …]
H A Dpurwa.dtsi152 compatible = "qcom,x1p42100-qmp-gen4x4-pcie-phy";
165 compatible = "qcom,x1p42100-qmp-gen4x4-pcie-phy";
H A Dsc8280xp.dtsi18 #include <dt-bindings/phy/phy-qcom-qmp.h>
2239 compatible = "qcom,sc8280xp-qmp-gen3x1-pcie-phy";
2350 compatible = "qcom,sc8280xp-qmp-gen3x2-pcie-phy";
2461 compatible = "qcom,sc8280xp-qmp-gen3x4-pcie-phy";
2575 compatible = "qcom,sc8280xp-qmp-gen3x2-pcie-phy";
2686 compatible = "qcom,sc8280xp-qmp-gen3x4-pcie-phy";
2763 compatible = "qcom,sc8280xp-qmp-ufs-phy";
2828 compatible = "qcom,sc8280xp-qmp-ufs-phy";
2883 qcom,qmp = <&aoss_qmp>;
2951 qcom,qmp = <&aoss_qmp>;
[all …]
H A Dtalos.dtsi18 #include <dt-bindings/phy/phy-qcom-qmp.h>
1365 compatible = "qcom,qcs615-qmp-gen3x1-pcie-phy";
1486 compatible = "qcom,qcs615-qmp-ufs-phy", "qcom,sm6115-qmp-ufs-phy";
3494 qcom,qmp = <&aoss_qmp>;
4092 compatible = "qcom,qcs615-aoss-qmp", "qcom,aoss-qmp";
4437 compatible = "qcom,qcs615-qmp-usb3-phy";
4464 compatible = "qcom,qcs615-qmp-usb3-dp-phy";
4650 qcom,qmp = <&aoss_qmp>;
H A Dsm8450.dtsi18 #include <dt-bindings/phy/phy-qcom-qmp.h>
2087 compatible = "qcom,sm8450-qmp-gen3x1-pcie-phy";
2354 compatible = "qcom,sm8450-qmp-gen4x2-pcie-phy";
2564 qcom,qmp = <&aoss_qmp>;
2656 compatible = "qcom,sm8450-qmp-usb3-dp-phy";
2726 qcom,qmp = <&aoss_qmp>;
2794 qcom,qmp = <&aoss_qmp>;
3096 qcom,qmp = <&aoss_qmp>;
3204 qcom,qmp = <&aoss_qmp>;
3762 compatible = "qcom,sm8450-aoss-qmp", "qcom,aoss-qmp";
[all …]
H A Dsdx75.dtsi842 compatible = "qcom,sdx75-qmp-usb3-uni-phy";
956 qcom,qmp = <&aoss_qmp>;
1114 compatible = "qcom,sdx75-aoss-qmp", "qcom,aoss-qmp";
H A Dsm8550.dtsi26 #include <dt-bindings/phy/phy-qcom-qmp.h>
2091 compatible = "qcom,sm8550-qmp-gen3x2-pcie-phy";
2287 compatible = "qcom,sm8550-qmp-gen4x2-pcie-phy";
2341 compatible = "qcom,sm8550-qmp-ufs-phy";
2585 qcom,qmp = <&aoss_qmp>;
2690 qcom,qmp = <&aoss_qmp>;
2725 qcom,qmp = <&aoss_qmp>;
2767 qcom,qmp = <&aoss_qmp>;
4081 compatible = "qcom,sm8550-qmp-usb3-dp-phy";
4268 compatible = "qcom,sm8550-aoss-qmp", "qcom,aoss-qmp";
[all …]
H A Dsm8250.dtsi17 #include <dt-bindings/phy/phy-qcom-qmp.h>
2220 compatible = "qcom,sm8250-qmp-gen3x1-pcie-phy";
2347 compatible = "qcom,sm8250-qmp-gen3x2-pcie-phy";
2474 compatible = "qcom,sm8250-qmp-modem-pcie-phy";
2575 compatible = "qcom,sm8250-qmp-ufs-phy";
3098 qcom,qmp = <&aoss_qmp>;
3800 qcom,qmp = <&aoss_qmp>;
3910 compatible = "qcom,sm8250-qmp-usb3-dp-phy";
3958 compatible = "qcom,sm8250-qmp-usb3-uni-phy";
5082 compatible = "qcom,sm8250-aoss-qmp", "qcom,aoss-qmp";
[all …]
H A Dsdm845.dtsi23 #include <dt-bindings/phy/phy-qcom-qmp.h>
918 qcom,qmp = <&aoss_qmp>;
1020 qcom,qmp = <&aoss_qmp>;
2414 compatible = "qcom,sdm845-qmp-pcie-phy";
2698 compatible = "qcom,sdm845-qmp-ufs-phy";
3363 qcom,qmp = <&aoss_qmp>;
3430 qcom,qmp = <&aoss_qmp>;
4051 compatible = "qcom,sdm845-qmp-usb3-dp-phy";
4104 compatible = "qcom,sdm845-qmp-usb3-uni-phy";
5089 compatible = "qcom,sdm845-aoss-qmp", "qcom,aoss-qmp";
H A Dsc7180.dtsi20 #include <dt-bindings/phy/phy-qcom-qmp.h>
1589 compatible = "qcom,sc7180-qmp-ufs-phy";
1642 qcom,qmp = <&aoss_qmp>;
2155 qcom,qmp = <&aoss_qmp>;
2889 compatible = "qcom,sc7180-qmp-usb3-dp-phy";
3550 compatible = "qcom,sc7180-aoss-qmp", "qcom,aoss-qmp";
3927 qcom,qmp = <&aoss_qmp>;
H A Dsm8650.dtsi22 #include <dt-bindings/phy/phy-qcom-qmp.h>
3723 compatible = "qcom,sm8650-qmp-gen3x2-pcie-phy";
3932 compatible = "qcom,sm8650-qmp-gen4x2-pcie-phy";
3965 compatible = "qcom,sm8650-qmp-ufs-phy";
4282 qcom,qmp = <&aoss_qmp>;
4389 qcom,qmp = <&aoss_qmp>;
4431 qcom,qmp = <&aoss_qmp>;
4480 qcom,qmp = <&aoss_qmp>;
5030 compatible = "qcom,sm8650-qmp-usb3-dp-phy";
6048 compatible = "qcom,sm8650-aoss-qmp", "qcom,aoss-qmp";
[all …]
H A Dmsm8996.dtsi682 compatible = "qcom,msm8996-qmp-pcie-phy";
2169 compatible = "qcom,msm8996-qmp-ufs-phy";
3162 compatible = "qcom,msm8996-qmp-usb3-phy";
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-sdx65.dtsi243 compatible = "qcom,sdx65-qmp-usb3-uni-phy";
358 compatible = "qcom,sdx65-qmp-gen4x2-pcie-phy";