Home
last modified time | relevance | path

Searched full:qmp (Results 1 – 25 of 118) sorted by relevance

12345

/kernel/linux/linux-6.6/drivers/soc/qcom/
Dqcom_aoss.c51 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 …]
/kernel/linux/linux-5.10/drivers/soc/qcom/
Dqcom_aoss.c5 #include <dt-bindings/power/qcom-aoss-qmp.h>
51 struct qmp *qmp; member
57 * struct qmp - driver state for QMP implementation
59 * @dev: reference to QMP device
69 struct qmp { struct
89 struct qmp *qmp; argument
95 static void qmp_kick(struct qmp *qmp) in qmp_kick() argument
97 mbox_send_message(qmp->mbox_chan, NULL); in qmp_kick()
98 mbox_client_txdone(qmp->mbox_chan, 0); in qmp_kick()
101 static bool qmp_magic_valid(struct qmp *qmp) in qmp_magic_valid() argument
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/phy/
Dqcom,sc8280xp-qmp-ufs-phy.yaml4 $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-ufs-phy.yaml#
7 title: Qualcomm QMP PHY controller (UFS, SC8280XP)
13 The 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,sa8775p-qmp-ufs-phy
22 - qcom,sc8180x-qmp-ufs-phy
23 - qcom,sc8280xp-qmp-ufs-phy
24 - qcom,sdm845-qmp-ufs-phy
25 - qcom,sm6115-qmp-ufs-phy
[all …]
Dqcom,sc8280xp-qmp-pcie-phy.yaml4 $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-pcie-phy.yaml#
7 title: Qualcomm QMP PHY controller (PCIe, SC8280XP)
13 The QMP PHY controller supports physical layer functionality for a number of
19 - qcom,sa8775p-qmp-gen4x2-pcie-phy
20 - qcom,sa8775p-qmp-gen4x4-pcie-phy
21 - qcom,sc8180x-qmp-pcie-phy
22 - qcom,sc8280xp-qmp-gen3x1-pcie-phy
23 - qcom,sc8280xp-qmp-gen3x2-pcie-phy
24 - qcom,sc8280xp-qmp-gen3x4-pcie-phy
26 - qcom,sdm845-qmp-pcie-phy
[all …]
Dqcom,msm8996-qmp-usb3-phy.yaml4 $id: http://devicetree.org/schemas/phy/qcom,msm8996-qmp-usb3-phy.yaml#
7 title: Qualcomm QMP PHY controller (USB, MSM8996)
13 QMP PHY controller supports physical layer functionality for a number of
17 qcom,sc8280xp-qmp-usb3-uni-phy.yaml.
22 - qcom,ipq6018-qmp-usb3-phy
23 - qcom,ipq8074-qmp-usb3-phy
24 - qcom,msm8996-qmp-usb3-phy
25 - qcom,msm8998-qmp-usb3-phy
26 - qcom,sdm845-qmp-usb3-uni-phy
27 - qcom,sdx55-qmp-usb3-uni-phy
[all …]
Dqcom,sc8280xp-qmp-usb43dp-phy.yaml4 $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml#
7 title: Qualcomm QMP USB4-USB3-DP PHY controller (SC8280XP)
13 The QMP PHY controller supports physical layer functionality for a number of
19 - qcom,sc7180-qmp-usb3-dp-phy
20 - qcom,sc7280-qmp-usb3-dp-phy
21 - qcom,sc8180x-qmp-usb3-dp-phy
22 - qcom,sc8280xp-qmp-usb43dp-phy
23 - qcom,sdm845-qmp-usb3-dp-phy
24 - qcom,sm6350-qmp-usb3-dp-phy
25 - qcom,sm8150-qmp-usb3-dp-phy
[all …]
Dqcom,sc8280xp-qmp-usb3-uni-phy.yaml4 $id: http://devicetree.org/schemas/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml#
7 title: Qualcomm QMP PHY controller (USB, SC8280XP)
13 The QMP PHY controller supports physical layer functionality for a number of
19 - qcom,ipq9574-qmp-usb3-phy
20 - qcom,qcm2290-qmp-usb3-phy
21 - qcom,sa8775p-qmp-usb3-uni-phy
22 - qcom,sc8280xp-qmp-usb3-uni-phy
23 - qcom,sm6115-qmp-usb3-phy
77 - qcom,ipq9574-qmp-usb3-phy
92 - qcom,qcm2290-qmp-usb3-phy
[all …]
Dqcom,ipq8074-qmp-pcie-phy.yaml4 $id: http://devicetree.org/schemas/phy/qcom,ipq8074-qmp-pcie-phy.yaml#
7 title: Qualcomm QMP PHY controller (PCIe, IPQ8074)
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
72 compatible = "qcom,ipq6018-qmp-pcie-phy";
Dqcom,msm8998-qmp-pcie-phy.yaml4 $id: http://devicetree.org/schemas/phy/qcom,msm8998-qmp-pcie-phy.yaml#
7 title: Qualcomm QMP PHY controller (PCIe, MSM8998)
13 The QMP PHY controller supports physical layer functionality for a number of
18 const: qcom,msm8998-qmp-pcie-phy
75 compatible = "qcom,msm8998-qmp-pcie-phy";
/kernel/linux/linux-6.6/drivers/phy/qualcomm/
Dphy-qcom-qmp-combo.c26 #include <dt-bindings/phy/phy-qcom-qmp.h>
28 #include "phy-qcom-qmp.h"
29 #include "phy-qcom-qmp-pcs-misc-v3.h"
30 #include "phy-qcom-qmp-pcs-usb-v4.h"
31 #include "phy-qcom-qmp-pcs-usb-v5.h"
32 #include "phy-qcom-qmp-pcs-usb-v6.h"
1361 int (*configure_dp_phy)(struct qmp_combo *qmp);
1362 void (*configure_dp_tx)(struct qmp_combo *qmp);
1363 int (*calibrate_dp_phy)(struct qmp_combo *qmp);
1364 void (*dp_aux_init)(struct qmp_combo *qmp);
[all …]
Dphy-qcom-qmp-usb-legacy.c23 #include "phy-qcom-qmp.h"
24 #include "phy-qcom-qmp-pcs-misc-v3.h"
25 #include "phy-qcom-qmp-pcs-usb-v4.h"
26 #include "phy-qcom-qmp-pcs-usb-v5.h"
758 static int qmp_usb_legacy_serdes_init(struct qmp_usb *qmp) in qmp_usb_legacy_serdes_init() argument
760 const struct qmp_phy_cfg *cfg = qmp->cfg; in qmp_usb_legacy_serdes_init()
761 void __iomem *serdes = qmp->serdes; in qmp_usb_legacy_serdes_init()
772 struct qmp_usb *qmp = phy_get_drvdata(phy); in qmp_usb_legacy_init_dp_com() local
773 void __iomem *dp_com = qmp->dp_com; in qmp_usb_legacy_init_dp_com()
777 /* override hardware control for reset of qmp phy */ in qmp_usb_legacy_init_dp_com()
[all …]
Dphy-qcom-qmp.h9 #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 …]
Dphy-qcom-qmp-ufs.c23 #include "phy-qcom-qmp.h"
24 #include "phy-qcom-qmp-pcs-ufs-v2.h"
25 #include "phy-qcom-qmp-pcs-ufs-v3.h"
26 #include "phy-qcom-qmp-pcs-ufs-v4.h"
27 #include "phy-qcom-qmp-pcs-ufs-v5.h"
28 #include "phy-qcom-qmp-pcs-ufs-v6.h"
30 #include "phy-qcom-qmp-qserdes-txrx-ufs-v6.h"
1193 static void qmp_ufs_serdes_init(struct qmp_ufs *qmp, const struct qmp_phy_cfg_tbls *tbls) in qmp_ufs_serdes_init() argument
1195 void __iomem *serdes = qmp->serdes; in qmp_ufs_serdes_init()
1200 static void qmp_ufs_lanes_init(struct qmp_ufs *qmp, const struct qmp_phy_cfg_tbls *tbls) in qmp_ufs_lanes_init() argument
[all …]
Dphy-qcom-qmp-pcie-msm8996.c22 #include "phy-qcom-qmp.h"
209 * @qmp: QMP phy to which this lane belongs
221 struct qcom_qmp *qmp; member
226 * struct qcom_qmp - structure holding QMP phy block attributes
338 struct qcom_qmp *qmp = qphy->qmp; in qmp_pcie_msm8996_serdes_init() local
357 dev_err(qmp->dev, in qmp_pcie_msm8996_serdes_init()
367 struct qcom_qmp *qmp = qphy->qmp; in qmp_pcie_msm8996_com_init() local
372 mutex_lock(&qmp->phy_mutex); in qmp_pcie_msm8996_com_init()
373 if (qmp->init_count++) { in qmp_pcie_msm8996_com_init()
374 mutex_unlock(&qmp->phy_mutex); in qmp_pcie_msm8996_com_init()
[all …]
Dphy-qcom-qmp-usb.c22 #include "phy-qcom-qmp.h"
23 #include "phy-qcom-qmp-pcs-misc-v3.h"
24 #include "phy-qcom-qmp-pcs-usb-v4.h"
25 #include "phy-qcom-qmp-pcs-usb-v5.h"
1642 static int qmp_usb_serdes_init(struct qmp_usb *qmp) in qmp_usb_serdes_init() argument
1644 const struct qmp_phy_cfg *cfg = qmp->cfg; in qmp_usb_serdes_init()
1645 void __iomem *serdes = qmp->serdes; in qmp_usb_serdes_init()
1656 struct qmp_usb *qmp = phy_get_drvdata(phy); in qmp_usb_init() local
1657 const struct qmp_phy_cfg *cfg = qmp->cfg; in qmp_usb_init()
1658 void __iomem *pcs = qmp->pcs; in qmp_usb_init()
[all …]
Dphy-qcom-qmp-pcie.c25 #include "phy-qcom-qmp.h"
26 #include "phy-qcom-qmp-pcs-misc-v3.h"
27 #include "phy-qcom-qmp-pcs-pcie-v4.h"
28 #include "phy-qcom-qmp-pcs-pcie-v4_20.h"
29 #include "phy-qcom-qmp-pcs-pcie-v5.h"
30 #include "phy-qcom-qmp-pcs-pcie-v5_20.h"
31 #include "phy-qcom-qmp-pcs-pcie-v6.h"
32 #include "phy-qcom-qmp-pcs-pcie-v6_20.h"
33 #include "phy-qcom-qmp-pcie-qhp.h"
2215 /* QMP PHY pipe clock interface rate */
[all …]
DKconfig54 tristate "Qualcomm QMP PHY Drivers"
60 tristate "Qualcomm QMP Combo PHY Driver"
68 Enable this to support the QMP Combo PHY transceiver that is used
72 tristate "Qualcomm QMP PCIe PHY Driver"
77 Enable this to support the QMP PCIe PHY transceiver that is used
81 tristate "Qualcomm QMP PCIe 8996 PHY Driver"
86 Enable this to support the QMP PCIe PHY transceiver that is used
90 tristate "Qualcomm QMP UFS PHY Driver"
94 Enable this to support the QMP UFS PHY transceiver that is used
98 tristate "Qualcomm QMP USB PHY Driver"
[all …]
DMakefile10 obj-$(CONFIG_PHY_QCOM_QMP_COMBO) += phy-qcom-qmp-combo.o
11 obj-$(CONFIG_PHY_QCOM_QMP_PCIE) += phy-qcom-qmp-pcie.o
12 obj-$(CONFIG_PHY_QCOM_QMP_PCIE_8996) += phy-qcom-qmp-pcie-msm8996.o
13 obj-$(CONFIG_PHY_QCOM_QMP_UFS) += phy-qcom-qmp-ufs.o
14 obj-$(CONFIG_PHY_QCOM_QMP_USB) += phy-qcom-qmp-usb.o
15 obj-$(CONFIG_PHY_QCOM_QMP_USB_LEGACY) += phy-qcom-qmp-usb-legacy.o
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/qcom/
Dqcom,aoss-qmp.yaml4 $id: http://devicetree.org/schemas/soc/qcom/qcom,aoss-qmp.yaml#
18 Messaging Protocol (QMP)
28 - qcom,qdu1000-aoss-qmp
29 - qcom,sa8775p-aoss-qmp
30 - qcom,sc7180-aoss-qmp
31 - qcom,sc7280-aoss-qmp
32 - qcom,sc8180x-aoss-qmp
33 - qcom,sc8280xp-aoss-qmp
34 - qcom,sdm845-aoss-qmp
35 - qcom,sm6350-aoss-qmp
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/
Dqcom,qmp-phy.yaml5 $id: "http://devicetree.org/schemas/phy/qcom,qmp-phy.yaml#"
8 title: Qualcomm QMP PHY controller
14 QMP phy controller supports physical layer functionality for a number of
20 - qcom,ipq8074-qmp-pcie-phy
21 - qcom,ipq8074-qmp-usb3-phy
22 - qcom,msm8996-qmp-pcie-phy
23 - qcom,msm8996-qmp-ufs-phy
24 - qcom,msm8996-qmp-usb3-phy
25 - qcom,msm8998-qmp-pcie-phy
26 - qcom,msm8998-qmp-ufs-phy
[all …]
/kernel/linux/linux-6.6/include/linux/soc/qcom/
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
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/qcom/
Dqcom,aoss-qmp.txt8 Messaging Protocol (QMP)
19 "qcom,sc7180-aoss-qmp"
20 "qcom,sdm845-aoss-qmp"
21 "qcom,sm8150-aoss-qmp"
22 "qcom,sm8250-aoss-qmp"
57 these are expressed as subnodes of the QMP node. The name of the node is used
70 aoss_qmp: qmp@c300000 {
71 compatible = "qcom,sdm845-aoss-qmp";
/kernel/linux/linux-5.10/drivers/phy/qualcomm/
Dphy-qcom-qmp.c25 #include "phy-qcom-qmp.h"
1911 * @qmp: QMP phy to which this lane belongs
1927 struct qcom_qmp *qmp; member
1942 * struct qcom_qmp - structure holding QMP phy block attributes
2623 struct qcom_qmp *qmp = qphy->qmp; in qcom_qmp_phy_serdes_init() local
2676 dev_err(qmp->dev, in qcom_qmp_phy_serdes_init()
2912 struct qcom_qmp *qmp = qphy->qmp; in qcom_qmp_phy_com_init() local
2916 void __iomem *dp_com = qmp->dp_com; in qcom_qmp_phy_com_init()
2919 mutex_lock(&qmp->phy_mutex); in qcom_qmp_phy_com_init()
2920 if (qmp->init_count++) { in qcom_qmp_phy_com_init()
[all …]
Dphy-qcom-qmp.h9 /* Only for QMP V2 PHY - QSERDES COM registers */
79 /* Only for QMP V2 PHY - TX registers */
88 /* Only for QMP V2 PHY - RX registers */
110 /* Only for QMP V2 PHY - PCS registers */
130 /* Only for QMP V3 & V4 PHY - DP COM registers */
139 /* Only for QMP V3 PHY - QSERDES COM registers */
219 /* Only for QMP V3 PHY - TX registers */
251 /* Only for QMP V3 PHY - RX registers */
282 /* Only for QMP V3 PHY - PCS registers */
344 /* Only for QMP V3 PHY - PCS_MISC registers */
[all …]
/kernel/linux/linux-6.6/drivers/net/ipa/
Dipa_power.c57 * @qmp: QMP handle for AOSS communication
66 struct qmp *qmp; member
302 struct qmp *qmp = qmp_get(power->dev); in ipa_power_retention_init() local
304 if (IS_ERR(qmp)) { in ipa_power_retention_init()
305 if (PTR_ERR(qmp) == -EPROBE_DEFER) in ipa_power_retention_init()
309 qmp = NULL; in ipa_power_retention_init()
311 power->qmp = qmp; in ipa_power_retention_init()
318 qmp_put(power->qmp); in ipa_power_retention_exit()
319 power->qmp = NULL; in ipa_power_retention_exit()
329 if (!power->qmp) in ipa_power_retention()
[all …]

12345