Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/remoteproc/
Dqcom_sysmon.c76 static void sysmon_send_event(struct qcom_sysmon *sysmon, in sysmon_send_event() argument
88 mutex_lock(&sysmon->lock); in sysmon_send_event()
89 reinit_completion(&sysmon->comp); in sysmon_send_event()
90 sysmon->ssr_ack = false; in sysmon_send_event()
92 ret = rpmsg_send(sysmon->ept, req, len); in sysmon_send_event()
94 dev_err(sysmon->dev, "failed to send sysmon event\n"); in sysmon_send_event()
98 ret = wait_for_completion_timeout(&sysmon->comp, in sysmon_send_event()
101 dev_err(sysmon->dev, "timeout waiting for sysmon ack\n"); in sysmon_send_event()
105 if (!sysmon->ssr_ack) in sysmon_send_event()
106 dev_err(sysmon->dev, "unexpected response to sysmon event\n"); in sysmon_send_event()
[all …]
Dqcom_common.h53 void qcom_remove_sysmon_subdev(struct qcom_sysmon *sysmon);
62 static inline void qcom_remove_sysmon_subdev(struct qcom_sysmon *sysmon) in qcom_remove_sysmon_subdev() argument
Dqcom_q6v5_adsp.c98 struct qcom_sysmon *sysmon; member
476 adsp->sysmon = qcom_add_sysmon_subdev(rproc, in adsp_probe()
479 if (IS_ERR(adsp->sysmon)) { in adsp_probe()
480 ret = PTR_ERR(adsp->sysmon); in adsp_probe()
505 qcom_remove_sysmon_subdev(adsp->sysmon); in adsp_remove()
Dqcom_wcnss.c95 struct qcom_sysmon *sysmon; member
556 wcnss->sysmon = qcom_add_sysmon_subdev(rproc, "wcnss", WCNSS_SSCTL_ID); in wcnss_probe()
557 if (IS_ERR(wcnss->sysmon)) { in wcnss_probe()
558 ret = PTR_ERR(wcnss->sysmon); in wcnss_probe()
583 qcom_remove_sysmon_subdev(wcnss->sysmon); in wcnss_remove()
Dqcom_q6v5_pas.c81 struct qcom_sysmon *sysmon; member
453 adsp->sysmon = qcom_add_sysmon_subdev(rproc, in adsp_probe()
456 if (IS_ERR(adsp->sysmon)) { in adsp_probe()
457 ret = PTR_ERR(adsp->sysmon); in adsp_probe()
484 qcom_remove_sysmon_subdev(adsp->sysmon); in adsp_remove()
DKconfig208 tristate "Qualcomm sysmon driver"
214 The sysmon driver implements a sysmon QMI client and a handler for
Dqcom_q6v5_mss.c200 struct qcom_sysmon *sysmon; member
1745 qproc->sysmon = qcom_add_sysmon_subdev(rproc, "modem", 0x12); in q6v5_probe()
1746 if (IS_ERR(qproc->sysmon)) { in q6v5_probe()
1747 ret = PTR_ERR(qproc->sysmon); in q6v5_probe()
1758 qcom_remove_sysmon_subdev(qproc->sysmon); in q6v5_probe()
1780 qcom_remove_sysmon_subdev(qproc->sysmon); in q6v5_remove()