Home
last modified time | relevance | path

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

123456

/linux/drivers/soc/qcom/
H A Dqcom_aoss.c58 struct qmp *qmp; member
64 * struct qmp - driver state for QMP implementation
66 * @dev: reference to QMP device
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
[all …]
/linux/drivers/phy/qualcomm/
H A Dphy-qcom-qmp-usbc.c25 #include <dt-bindings/phy/phy-qcom-qmp.h>
27 #include "phy-qcom-qmp-common.h"
29 #include "phy-qcom-qmp.h"
30 #include "phy-qcom-qmp-pcs-misc-v3.h"
32 #include "phy-qcom-qmp-dp-phy.h"
33 #include "phy-qcom-qmp-dp-phy-v2.h"
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);
[all …]
H A 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-v2.h"
13 #include "phy-qcom-qmp-qserdes-txrx-v2.h"
15 #include "phy-qcom-qmp-qserdes-com-v3.h"
16 #include "phy-qcom-qmp-qserdes-txrx-v3.h"
18 #include "phy-qcom-qmp-qserdes-com-v4.h"
19 #include "phy-qcom-qmp-qserdes-txrx-v4.h"
20 #include "phy-qcom-qmp-qserdes-txrx-v4_20.h"
22 #include "phy-qcom-qmp-qserdes-com-v5.h"
[all …]
H A 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"
28 #include "phy-qcom-qmp-dp-com-v3.h"
727 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()
[all …]
H A Dphy-qcom-qmp-combo.c28 #include <dt-bindings/phy/phy-qcom-qmp.h>
30 #include "phy-qcom-qmp-common.h"
32 #include "phy-qcom-qmp.h"
33 #include "phy-qcom-qmp-pcs-aon-v6.h"
34 #include "phy-qcom-qmp-pcs-aon-v8.h"
35 #include "phy-qcom-qmp-pcs-misc-v3.h"
36 #include "phy-qcom-qmp-pcs-misc-v4.h"
37 #include "phy-qcom-qmp-pcs-misc-v5.h"
38 #include "phy-qcom-qmp-pcs-misc-v8.h"
39 #include "phy-qcom-qmp-pcs-usb-v4.h"
[all …]
H A Dphy-qcom-qmp-pcie-msm8996.c22 #include "phy-qcom-qmp-common.h"
24 #include "phy-qcom-qmp.h"
179 * @qmp: QMP phy to which this lane belongs
191 struct qcom_qmp *qmp; member
196 * struct qcom_qmp - structure holding QMP phy block attributes
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()
[all …]
H A Dphy-qcom-qmp-usb.c22 #include "phy-qcom-qmp-common.h"
24 #include "phy-qcom-qmp.h"
25 #include "phy-qcom-qmp-pcs-misc-v3.h"
26 #include "phy-qcom-qmp-pcs-misc-v4.h"
27 #include "phy-qcom-qmp-pcs-usb-v4.h"
28 #include "phy-qcom-qmp-pcs-usb-v5.h"
29 #include "phy-qcom-qmp-pcs-usb-v6.h"
30 #include "phy-qcom-qmp-pcs-usb-v7.h"
31 #include "phy-qcom-qmp-pcs-usb-v8.h"
1868 static int qmp_usb_serdes_init(struct qmp_usb *qmp) in qmp_usb_serdes_init() argument
[all …]
H A Dphy-qcom-qmp-ufs.c24 #include "phy-qcom-qmp-common.h"
26 #include "phy-qcom-qmp.h"
27 #include "phy-qcom-qmp-pcs-ufs-v2.h"
28 #include "phy-qcom-qmp-pcs-ufs-v3.h"
29 #include "phy-qcom-qmp-pcs-ufs-v4.h"
30 #include "phy-qcom-qmp-pcs-ufs-v5.h"
31 #include "phy-qcom-qmp-pcs-ufs-v6.h"
33 #include "phy-qcom-qmp-qserdes-txrx-ufs-v6.h"
34 #include "phy-qcom-qmp-qserdes-txrx-ufs-v7.h"
1847 static void qmp_ufs_serdes_init(struct qmp_ufs *qmp, const struct qmp_phy_cfg_tbls *tbls) in qmp_ufs_serdes_init() argument
[all …]
H A Dphy-qcom-qmp-pcie.c25 #include <dt-bindings/phy/phy-qcom-qmp.h>
27 #include "phy-qcom-qmp-common.h"
29 #include "phy-qcom-qmp.h"
30 #include "phy-qcom-qmp-pcs-misc-v3.h"
31 #include "phy-qcom-qmp-pcs-pcie-v4.h"
32 #include "phy-qcom-qmp-pcs-pcie-v4_20.h"
33 #include "phy-qcom-qmp-pcs-pcie-v5.h"
34 #include "phy-qcom-qmp-pcs-pcie-v5_20.h"
35 #include "phy-qcom-qmp-pcs-pcie-v6.h"
36 #include "phy-qcom-qmp-pcs-pcie-v6_20.h"
[all …]
H A 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 …]
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/Documentation/devicetree/bindings/phy/
H A 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,glymur-qmp-gen4x2-pcie-phy
20 - qcom,glymur-qmp-gen5x4-pcie-phy
21 - qcom,kaanapali-qmp-gen3x2-pcie-phy
22 - qcom,qcs615-qmp-gen3x1-pcie-phy
23 - qcom,qcs8300-qmp-gen4x2-pcie-phy
24 - qcom,sa8775p-qmp-gen4x2-pcie-phy
25 - qcom,sa8775p-qmp-gen4x4-pcie-phy
[all …]
H A 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
21 - qcom,qcs615-qmp-ufs-phy
22 - const: qcom,sm6115-qmp-ufs-phy
25 - qcom,x1e80100-qmp-ufs-phy
26 - const: qcom,sm8550-qmp-ufs-phy
29 - qcom,qcs8300-qmp-ufs-phy
30 - const: qcom,sa8775p-qmp-ufs-phy
33 - qcom,kaanapali-qmp-ufs-phy
[all …]
H A 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,glymur-qmp-usb3-uni-phy
20 - qcom,ipq5424-qmp-usb3-phy
21 - qcom,ipq6018-qmp-usb3-phy
22 - qcom,ipq8074-qmp-usb3-phy
23 - qcom,ipq9574-qmp-usb3-phy
24 - qcom,msm8996-qmp-usb3-phy
25 - qcom,qcs8300-qmp-usb3-uni-phy
[all …]
H A 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
21 - qcom,kaanapali-qmp-usb3-dp-phy
22 - const: qcom,sm8750-qmp-usb3-dp-phy
24 - qcom,glymur-qmp-usb3-dp-phy
25 - qcom,sar2130p-qmp-usb3-dp-phy
26 - qcom,sc7180-qmp-usb3-dp-phy
27 - qcom,sc7280-qmp-usb3-dp-phy
28 - qcom,sc8180x-qmp-usb3-dp-phy
[all …]
H A 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
20 - qcom,ipq6018-qmp-pcie-phy
21 - qcom,ipq8074-qmp-gen3-pcie-phy
22 - qcom,ipq8074-qmp-pcie-phy
23 - qcom,ipq9574-qmp-gen3x1-pcie-phy
24 - qcom,ipq9574-qmp-gen3x2-pcie-phy
27 - qcom,ipq5424-qmp-gen3x1-pcie-phy
28 - const: qcom,ipq9574-qmp-gen3x1-pcie-phy
[all …]
H A Dqcom,msm8998-qmp-usb3-phy.yaml4 $id: http://devicetree.org/schemas/phy/qcom,msm8998-qmp-usb3-phy.yaml#
7 title: Qualcomm QMP PHY controller (USB, MSM8998)
13 The QMP PHY controller supports physical layer functionality for USB-C on
19 - qcom,msm8998-qmp-usb3-phy
20 - qcom,qcm2290-qmp-usb3-phy
21 - qcom,qcs615-qmp-usb3-phy
22 - qcom,sdm660-qmp-usb3-phy
23 - qcom,sm6115-qmp-usb3-phy
99 - qcom,msm8998-qmp-usb3-phy
100 - qcom,qcs615-qmp-usb3-phy
[all …]
H A Dqcom,qcs615-qmp-usb3dp-phy.yaml4 $id: http://devicetree.org/schemas/phy/qcom,qcs615-qmp-usb3dp-phy.yaml#
7 title: Qualcomm QMP USB3-DP PHY controller (DP, QCS615)
13 The QMP PHY controller supports physical layer functionality for both USB3
20 - qcom,qcs615-qmp-usb3-dp-phy
50 See include/dt-bindings/phy/phy-qcom-qmp.h
55 See include/dt-bindings/phy/phy-qcom-qmp.h
87 compatible = "qcom,qcs615-qmp-usb3-dp-phy";
H A 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";
H A Dqcom,msm8996-qmp-pcie-phy.yaml4 $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";
/linux/Documentation/devicetree/bindings/soc/qcom/
H A Dqcom,aoss-qmp.yaml4 $id: http://devicetree.org/schemas/soc/qcom/qcom,aoss-qmp.yaml#
18 Messaging Protocol (QMP)
28 - qcom,glymur-aoss-qmp
29 - qcom,kaanapali-aoss-qmp
30 - qcom,milos-aoss-qmp
31 - qcom,qcs615-aoss-qmp
32 - qcom,qcs8300-aoss-qmp
33 - qcom,qdu1000-aoss-qmp
34 - qcom,sa8255p-aoss-qmp
35 - qcom,sa8775p-aoss-qmp
[all …]
/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.c41 * @qmp: QMP handle for AOSS communication
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()
[all …]
/linux/include/dt-bindings/phy/
H A Dphy-qcom-qmp.h3 * Qualcomm QMP PHY constants
11 /* QMP USB4-USB3-DP clocks */
16 /* QMP USB4-USB3-DP PHYs */
20 /* QMP PCIE PHYs */
/linux/drivers/remoteproc/
H A Dqcom_q6v5.c28 if (!q6v5->qmp) in q6v5_load_state_toggle()
31 ret = qmp_send(q6v5->qmp, "{class: image, res: load_state, name: %s, val: %s}", in q6v5_load_state_toggle()
335 q6v5->qmp = qmp_get(&pdev->dev); in qcom_q6v5_init()
336 if (IS_ERR(q6v5->qmp)) { in qcom_q6v5_init()
337 if (PTR_ERR(q6v5->qmp) != -ENODEV) in qcom_q6v5_init()
338 return dev_err_probe(&pdev->dev, PTR_ERR(q6v5->qmp), in qcom_q6v5_init()
340 q6v5->qmp = NULL; in qcom_q6v5_init()
345 qmp_put(q6v5->qmp); in qcom_q6v5_init()
364 qmp_put(q6v5->qmp); in qcom_q6v5_deinit()

123456