Home
last modified time | relevance | path

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

12345678910>>...30

/openbmc/linux/drivers/soc/qcom/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/phy/
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
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 …]
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,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 …]
H A 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 …]
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
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 …]
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,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 …]
/openbmc/linux/drivers/phy/qualcomm/
H A 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 …]
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"
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 …]
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-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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/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,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 …]
/openbmc/qemu/tests/qemu-iotests/
H A D21921 # Check using the job-* QMP commands with block jobs
32 result = vm.qmp('query-jobs')
45 iotests.log(vm.qmp(pause_cmd, **{pause_arg: 'job0'}))
48 result = vm.qmp('query-jobs')
54 iotests.log(vm.qmp(resume_cmd, **{resume_arg: 'job0'}))
59 result = vm.qmp('query-jobs')
65 iotests.log(vm.qmp('query-jobs'))
76 iotests.log(vm.qmp(job, job_id='job0', **job_args))
82 result = vm.qmp('query-jobs')
93 while vm.qmp('query-jobs')['return'][0]['total-progress'] < img_size:
[all …]
H A D11884 result = self.vm.qmp('query-block')
94 result = self.vm.qmp('query-block')
104 result = self.vm.qmp('query-block')
114 result = self.vm.qmp('query-block')
125 result = self.vm.qmp('query-block')
138 result = self.vm.qmp('query-block')
151 result = self.vm.qmp('query-block')
160 result = self.vm.qmp('query-block')
171 result = self.vm.qmp('query-block')
185 result = self.vm.qmp('query-block')
[all …]
/openbmc/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
/openbmc/qemu/docs/devel/
H A Dwriting-monitor-commands.rst4 This document is a step-by-step guide on how to write new QMP commands using
7 This document doesn't discuss QMP protocol level details, nor does it dive
11 :doc:`qapi-code-gen`. For the QMP protocol, see the
12 :doc:`/interop/qmp-spec`.
14 New commands may be implemented in QMP only. New HMP commands should be
15 implemented on top of QMP. The typical HMP command wraps around an
16 equivalent QMP command, but HMP convenience commands built from QMP
27 new QMP command.
32 2. Write the QMP command itself, which is a regular C function. Preferably,
34 added to the monitor/qmp-cmds.c file
[all …]
/openbmc/qemu/qapi/
H A Dcontrol.json6 # = QMP monitor control
12 # Enable QMP capabilities.
16 # the QMP greeting message. If the field is not provided, it
17 # means no QMP capabilities will be enabled. (since 2.12)
19 # .. qmp-example::
28 # :doc:`/interop/qmp-spec`)
30 # .. note:: The QMP client needs to explicitly enable QMP
31 # capabilities, otherwise all the QMP capabilities will be turned
44 # connection, used for agreeing on particular QMP extension behaviors.
46 # @oob: QMP ability to support out-of-band requests. (Please refer to
[all …]
/openbmc/qemu/python/qemu/qmp/
H A Devents.py2 QMP Events and EventListeners
4 Asynchronous QMP uses `EventListener` objects to listen for events. An
15 instantiated named ``qmp`` that is already connected.
26 with qmp.listener('STOP') as listener:
27 await qmp.execute('stop')
41 with qmp.listener(('STOP', 'RESUME')) as listener:
42 await qmp.execute('stop')
46 await qmp.execute('cont')
58 with qmp.listener() as listener:
59 await qmp.execute('stop')
[all …]
H A Dqmp_client.py2 QMP Protocol Implementation
5 and send commands to a QMP server such as QEMU. The QMP class can be
86 #: The QMP error class
111 :param msg: The QMP `Message` that caused the error.
133 :param msg: The QMP `Message` that caused the error.
141 If a QMP message is received with an 'id' field to allow it to be
160 Implements a QMP client connection.
162 QMP can be used to establish a connection as either the transport
163 client or server, though this class always acts as the QMP client.
169 qmp = QMPClient('my_virtual_machine_name')
[all …]
H A Dmodels.py2 QMP Data Models
5 structures that the QMP spec mandates; they are used to verify incoming
23 Abstract data model, representing some QMP object of some kind.
57 Defined in qmp-spec.rst, section "Server Greeting".
65 #: 'QMP' member
66 self.QMP: QMPGreeting # pylint: disable=invalid-name
68 self._check_member('QMP', abc.Mapping, "JSON object")
69 self.QMP = QMPGreeting(self._raw['QMP'])
73 For compatibility with the iotests sync QMP wrapper.
75 The legacy QMP interface needs Greetings as a garden-variety Dict.
[all …]
H A Dlegacy.py2 (Legacy) Sync QMP Wrapper
43 #: QMPMessage is an entire QMP message of any kind.
49 #: QMPObject is any object in a QMP message.
68 Provide an API to connect to QEMU via QEMU Monitor Protocol (QMP)
126 Parse a string into a QMP address.
145 Connect to the QMP Monitor and perform capabilities negotiation.
147 :return: QMP greeting dict, or None if negotiate is false
160 Await connection from QMP Monitor and perform capabilities negotiation.
166 :return: QMP greeting dict
180 Send a QMP command to the QMP Monitor.
[all …]
/openbmc/qemu/tests/qtest/
H A Dlibqmp.c28 #include "qapi/qmp/json-parser.h"
29 #include "qapi/qmp/qjson.h"
47 QMPResponseParser *qmp = opaque; in qmp_response() local
52 error_prepend(&err, "QMP JSON response parsing failed: "); in qmp_response()
57 g_assert(!qmp->response); in qmp_response()
58 qmp->response = qobject_to(QDict, obj); in qmp_response()
59 g_assert(qmp->response); in qmp_response()
64 QMPResponseParser qmp; in qmp_fd_receive() local
67 qmp.response = NULL; in qmp_fd_receive()
68 json_message_parser_init(&qmp.parser, qmp_response, &qmp, NULL); in qmp_fd_receive()
[all …]
H A Dtest-netfilter.c13 #include "qapi/qmp/qdict.h"
20 response = qmp("{'execute': 'object-add'," in add_one_netfilter()
33 response = qmp("{'execute': 'object-del'," in add_one_netfilter()
47 response = qmp("{'execute': 'object-add'," in remove_netdev_with_one_netfilter()
60 response = qmp("{'execute': 'netdev_del'," in remove_netdev_with_one_netfilter()
69 response = qmp("{'execute': 'netdev_add'," in remove_netdev_with_one_netfilter()
84 response = qmp("{'execute': 'object-add'," in add_multi_netfilter()
97 response = qmp("{'execute': 'object-add'," in add_multi_netfilter()
110 response = qmp("{'execute': 'object-del'," in add_multi_netfilter()
118 response = qmp("{'execute': 'object-del'," in add_multi_netfilter()
[all …]

12345678910>>...30