Home
last modified time | relevance | path

Searched full:sysmon (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/remoteproc/
H A Dqcom_sysmon.c77 * @sysmon: sysmon context
78 * @event: sysmon event context
80 static void sysmon_send_event(struct qcom_sysmon *sysmon, in sysmon_send_event() argument
92 mutex_lock(&sysmon->lock); in sysmon_send_event()
93 reinit_completion(&sysmon->comp); in sysmon_send_event()
94 sysmon->ssr_ack = false; in sysmon_send_event()
96 ret = rpmsg_send(sysmon->ept, req, len); in sysmon_send_event()
98 dev_err(sysmon->dev, "failed to send sysmon event\n"); in sysmon_send_event()
102 ret = wait_for_completion_timeout(&sysmon->comp, in sysmon_send_event()
105 dev_err(sysmon->dev, "timeout waiting for sysmon ack\n"); in sysmon_send_event()
[all …]
H A Dqcom_common.h69 void qcom_remove_sysmon_subdev(struct qcom_sysmon *sysmon);
70 bool qcom_sysmon_shutdown_acked(struct qcom_sysmon *sysmon);
79 static inline void qcom_remove_sysmon_subdev(struct qcom_sysmon *sysmon) in qcom_remove_sysmon_subdev() argument
83 static inline bool qcom_sysmon_shutdown_acked(struct qcom_sysmon *sysmon) in qcom_sysmon_shutdown_acked() argument
H A Dqcom_q6v5.c192 * @sysmon: reference to the remote's sysmon instance, or NULL
196 int qcom_q6v5_request_stop(struct qcom_q6v5 *q6v5, struct qcom_sysmon *sysmon) in qcom_q6v5_request_stop() argument
203 if (q6v5->rproc->state != RPROC_RUNNING || qcom_sysmon_shutdown_acked(sysmon)) in qcom_q6v5_request_stop()
H A DKconfig259 tristate "Qualcomm sysmon driver"
265 The sysmon driver implements a sysmon QMI client and a handler for
H A Dqcom_q6v5_adsp.c117 struct qcom_sysmon *sysmon; member
468 ret = qcom_q6v5_request_stop(&adsp->q6v5, adsp->sysmon); in adsp_stop()
732 adsp->sysmon = qcom_add_sysmon_subdev(rproc, in adsp_probe()
735 if (IS_ERR(adsp->sysmon)) { in adsp_probe()
736 ret = PTR_ERR(adsp->sysmon); in adsp_probe()
761 qcom_remove_sysmon_subdev(adsp->sysmon); in adsp_remove()
H A Dqcom_wcnss.c101 struct qcom_sysmon *sysmon; member
635 wcnss->sysmon = qcom_add_sysmon_subdev(rproc, "wcnss", WCNSS_SSCTL_ID); in wcnss_probe()
636 if (IS_ERR(wcnss->sysmon)) { in wcnss_probe()
637 ret = PTR_ERR(wcnss->sysmon); in wcnss_probe()
669 qcom_remove_sysmon_subdev(wcnss->sysmon); in wcnss_remove()
H A Dqcom_q6v5.h52 int qcom_q6v5_request_stop(struct qcom_q6v5 *q6v5, struct qcom_sysmon *sysmon);
H A Dqcom_q6v5_pas.c116 struct qcom_sysmon *sysmon; member
384 ret = qcom_q6v5_request_stop(&adsp->q6v5, adsp->sysmon); in adsp_stop()
782 adsp->sysmon = qcom_add_sysmon_subdev(rproc, in adsp_probe()
785 if (IS_ERR(adsp->sysmon)) { in adsp_probe()
786 ret = PTR_ERR(adsp->sysmon); in adsp_probe()
814 qcom_remove_sysmon_subdev(adsp->sysmon); in adsp_remove()
H A Dqcom_q6v5_mss.c233 struct qcom_sysmon *sysmon; member
1626 ret = qcom_q6v5_request_stop(&qproc->q6v5, qproc->sysmon); in q6v5_stop()
2108 qproc->sysmon = qcom_add_sysmon_subdev(rproc, "modem", 0x12); in q6v5_probe()
2109 if (IS_ERR(qproc->sysmon)) { in q6v5_probe()
2110 ret = PTR_ERR(qproc->sysmon); in q6v5_probe()
2125 qcom_remove_sysmon_subdev(qproc->sysmon); in q6v5_probe()
2146 qcom_remove_sysmon_subdev(qproc->sysmon); in q6v5_remove()
H A Dqcom_q6v5_wcss.c132 struct qcom_sysmon *sysmon; member
1060 wcss->sysmon = qcom_add_sysmon_subdev(rproc, in q6v5_wcss_probe()
/linux/Documentation/devicetree/bindings/iio/adc/
H A Dxlnx,zynqmp-ams.yaml16 The AMS has two SYSMON blocks which are PL (Programmable Logic) SYSMON and
17 PS (Processing System) SYSMON.
25 Sysmon Block |Channel| Details |Measurement
36 PS Sysmon |7 |LPD temperature measurement. |Temperature
50 PL Sysmon |20 |PL temperature measurement. |Temperature
116 PS (Processing System) SYSMON is memory mapped to PS. This block has
126 description: Register Space for PS-SYSMON
139 PL-SYSMON is capable of monitoring off chip voltage and temperature.
140 PL-SYSMON block has DRP, JTAG and I2C interface to enable monitoring
152 description: Register Space for PL-SYSMON.
/linux/drivers/iio/adc/
H A Dxilinx-ams.c429 /* put sysmon in a soft reset to change the sequence */ in ams_enable_channel_sequence()
446 /* put sysmon in a soft reset to change the sequence */ in ams_enable_channel_sequence()
483 /* put sysmon in a default state */ in ams_init_device()
495 /* put sysmon in a default state */ in ams_init_device()
548 /* put sysmon in a soft reset to change the sequence */ in ams_enable_single_channel()
H A Dxilinx-xadc-core.c588 * See https://docs.xilinx.com/v/u/en-US/ug580-ultrascale-sysmon
/linux/arch/arm64/boot/dts/xilinx/
H A Dzynqmp-zcu111-revA.dts377 /* SYSMON */
541 /* SYSMON */
H A Dzynqmp-zcu106-revA.dts652 /* SYSMON */
H A Dzynqmp-zcu102-revA.dts641 /* SYSMON */