Home
last modified time | relevance | path

Searched refs:sysmon (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/remoteproc/
Dqcom_sysmon.c81 static void sysmon_send_event(struct qcom_sysmon *sysmon, in sysmon_send_event() argument
93 mutex_lock(&sysmon->lock); in sysmon_send_event()
94 reinit_completion(&sysmon->comp); in sysmon_send_event()
95 sysmon->ssr_ack = false; in sysmon_send_event()
97 ret = rpmsg_send(sysmon->ept, req, len); in sysmon_send_event()
99 dev_err(sysmon->dev, "failed to send sysmon event\n"); in sysmon_send_event()
103 ret = wait_for_completion_timeout(&sysmon->comp, in sysmon_send_event()
106 dev_err(sysmon->dev, "timeout waiting for sysmon ack\n"); in sysmon_send_event()
110 if (!sysmon->ssr_ack) in sysmon_send_event()
111 dev_err(sysmon->dev, "unexpected response to sysmon event\n"); in sysmon_send_event()
[all …]
Dqcom_common.h55 void qcom_remove_sysmon_subdev(struct qcom_sysmon *sysmon);
56 bool qcom_sysmon_shutdown_acked(struct qcom_sysmon *sysmon);
65 static inline void qcom_remove_sysmon_subdev(struct qcom_sysmon *sysmon) in qcom_remove_sysmon_subdev() argument
69 static inline bool qcom_sysmon_shutdown_acked(struct qcom_sysmon *sysmon) in qcom_sysmon_shutdown_acked() argument
Dqcom_q6v5_adsp.c108 struct qcom_sysmon *sysmon; member
413 ret = qcom_q6v5_request_stop(&adsp->q6v5, adsp->sysmon); in adsp_stop()
642 adsp->sysmon = qcom_add_sysmon_subdev(rproc, in adsp_probe()
645 if (IS_ERR(adsp->sysmon)) { in adsp_probe()
646 ret = PTR_ERR(adsp->sysmon); in adsp_probe()
673 qcom_remove_sysmon_subdev(adsp->sysmon); in adsp_remove()
Dqcom_wcnss.c101 struct qcom_sysmon *sysmon; member
630 wcnss->sysmon = qcom_add_sysmon_subdev(rproc, "wcnss", WCNSS_SSCTL_ID); in wcnss_probe()
631 if (IS_ERR(wcnss->sysmon)) { in wcnss_probe()
632 ret = PTR_ERR(wcnss->sysmon); in wcnss_probe()
666 qcom_remove_sysmon_subdev(wcnss->sysmon); in wcnss_remove()
Dqcom_q6v5_pas.c86 struct qcom_sysmon *sysmon; member
276 ret = qcom_q6v5_request_stop(&adsp->q6v5, adsp->sysmon); in adsp_stop()
543 adsp->sysmon = qcom_add_sysmon_subdev(rproc, in adsp_probe()
546 if (IS_ERR(adsp->sysmon)) { in adsp_probe()
547 ret = PTR_ERR(adsp->sysmon); in adsp_probe()
574 qcom_remove_sysmon_subdev(adsp->sysmon); in adsp_remove()
Dqcom_q6v5.h52 int qcom_q6v5_request_stop(struct qcom_q6v5 *q6v5, struct qcom_sysmon *sysmon);
Dqcom_q6v5.c202 int qcom_q6v5_request_stop(struct qcom_q6v5 *q6v5, struct qcom_sysmon *sysmon) in qcom_q6v5_request_stop() argument
209 if (qcom_sysmon_shutdown_acked(sysmon)) in qcom_q6v5_request_stop()
Dqcom_q6v5_mss.c221 struct qcom_sysmon *sysmon; member
1573 ret = qcom_q6v5_request_stop(&qproc->q6v5, qproc->sysmon); in q6v5_stop()
2025 qproc->sysmon = qcom_add_sysmon_subdev(rproc, "modem", 0x12); in q6v5_probe()
2026 if (IS_ERR(qproc->sysmon)) { in q6v5_probe()
2027 ret = PTR_ERR(qproc->sysmon); in q6v5_probe()
2042 qcom_remove_sysmon_subdev(qproc->sysmon); in q6v5_probe()
2065 qcom_remove_sysmon_subdev(qproc->sysmon); in q6v5_remove()
DKconfig258 tristate "Qualcomm sysmon driver"
264 The sysmon driver implements a sysmon QMI client and a handler for
Dqcom_q6v5_wcss.c132 struct qcom_sysmon *sysmon; member
1059 wcss->sysmon = qcom_add_sysmon_subdev(rproc, in q6v5_wcss_probe()