/Linux-v6.1/drivers/soc/qcom/ |
D | qcom_aoss.c | 51 struct qmp *qmp; member 57 * struct qmp - driver state for QMP implementation 59 * @dev: reference to QMP device 69 struct qmp { struct 87 static void qmp_kick(struct qmp *qmp) in qmp_kick() argument 89 mbox_send_message(qmp->mbox_chan, NULL); in qmp_kick() 90 mbox_client_txdone(qmp->mbox_chan, 0); in qmp_kick() 93 static bool qmp_magic_valid(struct qmp *qmp) in qmp_magic_valid() argument 95 return readl(qmp->msgram + QMP_DESC_MAGIC) == QMP_MAGIC; in qmp_magic_valid() 98 static bool qmp_link_acked(struct qmp *qmp) in qmp_link_acked() argument [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/phy/ |
D | qcom,qmp-usb-phy.yaml | 4 $id: http://devicetree.org/schemas/phy/qcom,qmp-usb-phy.yaml# 7 title: Qualcomm QMP PHY controller (USB) 13 QMP PHY controller supports physical layer functionality for a number of 19 - qcom,ipq6018-qmp-usb3-phy 20 - qcom,ipq8074-qmp-usb3-phy 21 - qcom,msm8996-qmp-usb3-phy 22 - qcom,msm8998-qmp-usb3-phy 23 - qcom,qcm2290-qmp-usb3-phy 24 - qcom,sc7180-qmp-usb3-phy 25 - qcom,sc8180x-qmp-usb3-phy [all …]
|
D | qcom,qmp-ufs-phy.yaml | 4 $id: http://devicetree.org/schemas/phy/qcom,qmp-ufs-phy.yaml# 7 title: Qualcomm QMP PHY controller (UFS) 13 QMP PHY controller supports physical layer functionality for a number of 19 - qcom,msm8996-qmp-ufs-phy 20 - qcom,msm8998-qmp-ufs-phy 21 - qcom,sc8180x-qmp-ufs-phy 22 - qcom,sc8280xp-qmp-ufs-phy 23 - qcom,sdm845-qmp-ufs-phy 24 - qcom,sm6115-qmp-ufs-phy 25 - qcom,sm6350-qmp-ufs-phy [all …]
|
D | qcom,qmp-pcie-phy.yaml | 4 $id: http://devicetree.org/schemas/phy/qcom,qmp-pcie-phy.yaml# 7 title: Qualcomm QMP PHY controller (PCIe) 13 QMP PHY controller supports physical layer functionality for a number of 19 - qcom,ipq6018-qmp-pcie-phy 20 - qcom,ipq8074-qmp-gen3-pcie-phy 21 - qcom,ipq8074-qmp-pcie-phy 22 - qcom,msm8998-qmp-pcie-phy 23 - qcom,sc8180x-qmp-pcie-phy 25 - qcom,sdm845-qmp-pcie-phy 26 - qcom,sdx55-qmp-pcie-phy [all …]
|
D | qcom,qmp-usb3-dp-phy.yaml | 5 $id: "http://devicetree.org/schemas/phy/qcom,qmp-usb3-dp-phy.yaml#" 8 title: Qualcomm QMP USB3 DP PHY controller 16 - qcom,sc7180-qmp-usb3-dp-phy 17 - qcom,sc7280-qmp-usb3-dp-phy 18 - qcom,sc8180x-qmp-usb3-dp-phy 19 - qcom,sc8280xp-qmp-usb43dp-phy 20 - qcom,sdm845-qmp-usb3-dp-phy 21 - qcom,sm8250-qmp-usb3-dp-phy 171 - qcom,sc8280xp-qmp-usb43dp-phy 180 compatible = "qcom,sdm845-qmp-usb3-dp-phy";
|
D | qcom,msm8996-qmp-pcie-phy.yaml | 4 $id: http://devicetree.org/schemas/phy/qcom,msm8996-qmp-pcie-phy.yaml# 7 title: Qualcomm QMP PHY controller (MSM8996 PCIe) 13 QMP PHY controller supports physical layer functionality for a number of 18 const: qcom,msm8996-qmp-pcie-phy 129 compatible = "qcom,msm8996-qmp-pcie-phy";
|
D | qcom,hdmi-phy-qmp.yaml | 5 $id: http://devicetree.org/schemas/phy/qcom,hdmi-phy-qmp.yaml# 8 title: Qualcomm Adreno/Snapdragon QMP HDMI phy
|
/Linux-v6.1/drivers/phy/qualcomm/ |
D | phy-qcom-qmp.h | 9 #include "phy-qcom-qmp-qserdes-com.h" 10 #include "phy-qcom-qmp-qserdes-txrx.h" 12 #include "phy-qcom-qmp-qserdes-com-v3.h" 13 #include "phy-qcom-qmp-qserdes-txrx-v3.h" 15 #include "phy-qcom-qmp-qserdes-com-v4.h" 16 #include "phy-qcom-qmp-qserdes-txrx-v4.h" 17 #include "phy-qcom-qmp-qserdes-txrx-v4_20.h" 19 #include "phy-qcom-qmp-qserdes-com-v5.h" 20 #include "phy-qcom-qmp-qserdes-txrx-v5.h" 21 #include "phy-qcom-qmp-qserdes-txrx-v5_20.h" [all …]
|
D | phy-qcom-qmp-pcie-msm8996.c | 25 #include "phy-qcom-qmp.h" 239 * @qmp: QMP phy to which this lane belongs 251 struct qcom_qmp *qmp; member 256 * struct qcom_qmp - structure holding QMP phy block attributes 382 struct qcom_qmp *qmp = qphy->qmp; in qmp_pcie_msm8996_serdes_init() local 403 dev_err(qmp->dev, in qmp_pcie_msm8996_serdes_init() 413 struct qcom_qmp *qmp = qphy->qmp; in qmp_pcie_msm8996_com_init() local 418 mutex_lock(&qmp->phy_mutex); in qmp_pcie_msm8996_com_init() 419 if (qmp->init_count++) { in qmp_pcie_msm8996_com_init() 420 mutex_unlock(&qmp->phy_mutex); in qmp_pcie_msm8996_com_init() [all …]
|
D | phy-qcom-qmp-ufs.c | 25 #include "phy-qcom-qmp.h" 579 * @qmp: QMP phy to which this lane belongs 591 struct qcom_qmp *qmp; member 595 * struct qcom_qmp - structure holding QMP phy block attributes 843 struct qcom_qmp *qmp = qphy->qmp; in qmp_ufs_com_init() local 849 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_ufs_com_init() 851 dev_err(qmp->dev, "failed to enable regulators, err=%d\n", ret); in qmp_ufs_com_init() 855 ret = clk_bulk_prepare_enable(cfg->num_clks, qmp->clks); in qmp_ufs_com_init() 870 regulator_bulk_disable(cfg->num_vregs, qmp->vregs); in qmp_ufs_com_init() 877 struct qcom_qmp *qmp = qphy->qmp; in qmp_ufs_com_exit() local [all …]
|
D | phy-qcom-qmp-combo.c | 25 #include "phy-qcom-qmp.h" 903 * @qmp: QMP phy to which this lane belongs 921 struct qcom_qmp *qmp; member 935 * struct qcom_qmp - structure holding QMP phy block attributes 1942 struct qcom_qmp *qmp = qphy->qmp; in qmp_combo_com_init() local 1945 void __iomem *dp_com = qmp->dp_com; in qmp_combo_com_init() 1948 mutex_lock(&qmp->phy_mutex); in qmp_combo_com_init() 1949 if (qmp->init_count++) { in qmp_combo_com_init() 1950 mutex_unlock(&qmp->phy_mutex); in qmp_combo_com_init() 1955 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_combo_com_init() [all …]
|
D | phy-qcom-qmp-usb.c | 25 #include "phy-qcom-qmp.h" 1491 * @qmp: QMP phy to which this lane belongs 1506 struct qcom_qmp *qmp; member 1511 * struct qcom_qmp - structure holding QMP phy block attributes 2115 struct qcom_qmp *qmp = qphy->qmp; in qmp_usb_init() local 2118 void __iomem *dp_com = qmp->dp_com; in qmp_usb_init() 2122 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_usb_init() 2124 dev_err(qmp->dev, "failed to enable regulators, err=%d\n", ret); in qmp_usb_init() 2128 ret = reset_control_bulk_assert(cfg->num_resets, qmp->resets); in qmp_usb_init() 2130 dev_err(qmp->dev, "reset assert failed\n"); in qmp_usb_init() [all …]
|
D | phy-qcom-qmp-pcie.c | 25 #include "phy-qcom-qmp.h" 1353 /* QMP PHY pipe clock interface rate */ 1370 * @qmp: QMP phy to which this lane belongs 1383 struct qcom_qmp *qmp; member 1387 * struct qcom_qmp - structure holding QMP phy block attributes 1869 struct qcom_qmp *qmp = qphy->qmp; in qmp_pcie_init() local 1875 ret = regulator_bulk_enable(cfg->num_vregs, qmp->vregs); in qmp_pcie_init() 1877 dev_err(qmp->dev, "failed to enable regulators, err=%d\n", ret); in qmp_pcie_init() 1881 ret = reset_control_bulk_assert(cfg->num_resets, qmp->resets); in qmp_pcie_init() 1883 dev_err(qmp->dev, "reset assert failed\n"); in qmp_pcie_init() [all …]
|
D | Makefile | 9 phy-qcom-qmp-combo.o \ 10 phy-qcom-qmp-pcie.o \ 11 phy-qcom-qmp-pcie-msm8996.o \ 12 phy-qcom-qmp-ufs.o \ 13 phy-qcom-qmp-usb.o
|
D | phy-qcom-qmp-pcs-pcie-v5.h | 1 /* Only for QMP V5 PHY - PCS_PCIE registers */ 10 /* Only for QMP V5 PHY - PCS_PCIE registers */
|
D | phy-qcom-qmp-pcs-ufs-v5.h | 1 /* Only for QMP V5 PHY - UFS PCS registers */ 10 /* Only for QMP V5 PHY - UFS PCS registers */
|
D | phy-qcom-qmp-qserdes-txrx-v4_20.h | 9 /* Only for QMP V4_20 PHY - TX registers */ 16 /* Only for QMP V4_20 PHY - RX registers */
|
D | phy-qcom-qmp-qserdes-txrx-v5_20.h | 9 /* Only for QMP V5_20 PHY - TX registers */ 15 /* Only for QMP V5_20 PHY - RX registers */
|
D | phy-qcom-qmp-qserdes-txrx-v3.h | 9 /* Only for QMP V3 PHY - TX registers */ 36 /* Only for QMP V3 PHY - RX registers */
|
D | phy-qcom-qmp-qserdes-txrx-v5.h | 10 /* Only for QMP V5 PHY - TX registers */ 100 /* Only for QMP V5 PHY - RX registers */ 225 /* Only for QMP V5 UFS ? */
|
/Linux-v6.1/Documentation/devicetree/bindings/soc/qcom/ |
D | qcom,aoss-qmp.yaml | 4 $id: http://devicetree.org/schemas/soc/qcom/qcom,aoss-qmp.yaml# 18 Messaging Protocol (QMP) 28 - qcom,sc7180-aoss-qmp 29 - qcom,sc7280-aoss-qmp 30 - qcom,sc8180x-aoss-qmp 31 - qcom,sdm845-aoss-qmp 32 - qcom,sm6350-aoss-qmp 33 - qcom,sm8150-aoss-qmp 34 - qcom,sm8250-aoss-qmp 35 - qcom,sm8350-aoss-qmp [all …]
|
/Linux-v6.1/include/linux/soc/qcom/ |
D | qcom_aoss.h | 12 struct qmp; 16 int qmp_send(struct qmp *qmp, const void *data, size_t len); 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 void *data, size_t len) 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-v6.1/drivers/net/ipa/ |
D | ipa_power.c | 57 * @qmp: QMP handle for AOSS communication 66 struct qmp *qmp; member 295 struct qmp *qmp = qmp_get(power->dev); in ipa_power_retention_init() local 297 if (IS_ERR(qmp)) { in ipa_power_retention_init() 298 if (PTR_ERR(qmp) == -EPROBE_DEFER) in ipa_power_retention_init() 302 qmp = NULL; in ipa_power_retention_init() 304 power->qmp = qmp; in ipa_power_retention_init() 311 qmp_put(power->qmp); in ipa_power_retention_exit() 312 power->qmp = NULL; in ipa_power_retention_exit() 323 if (!power->qmp) in ipa_power_retention() [all …]
|
/Linux-v6.1/drivers/remoteproc/ |
D | qcom_q6v5.c | 29 if (!q6v5->qmp) in q6v5_load_state_toggle() 38 ret = qmp_send(q6v5->qmp, buf, sizeof(buf)); in q6v5_load_state_toggle() 339 q6v5->qmp = qmp_get(&pdev->dev); in qcom_q6v5_init() 340 if (IS_ERR(q6v5->qmp)) { in qcom_q6v5_init() 341 if (PTR_ERR(q6v5->qmp) != -ENODEV) in qcom_q6v5_init() 342 return dev_err_probe(&pdev->dev, PTR_ERR(q6v5->qmp), in qcom_q6v5_init() 344 q6v5->qmp = NULL; in qcom_q6v5_init() 349 qmp_put(q6v5->qmp); in qcom_q6v5_init() 368 qmp_put(q6v5->qmp); in qcom_q6v5_deinit()
|
D | qcom_q6v5.h | 20 struct qmp *qmp; member
|