Home
last modified time | relevance | path

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

/drivers/remoteproc/
Dqcom_sysmon.c57 static void sysmon_send_event(struct qcom_sysmon *sysmon, const char *name) in sysmon_send_event() argument
67 mutex_lock(&sysmon->lock); in sysmon_send_event()
68 reinit_completion(&sysmon->comp); in sysmon_send_event()
69 sysmon->ssr_ack = false; in sysmon_send_event()
71 ret = rpmsg_send(sysmon->ept, req, len); in sysmon_send_event()
73 dev_err(sysmon->dev, "failed to send sysmon event\n"); in sysmon_send_event()
77 ret = wait_for_completion_timeout(&sysmon->comp, in sysmon_send_event()
80 dev_err(sysmon->dev, "timeout waiting for sysmon ack\n"); in sysmon_send_event()
84 if (!sysmon->ssr_ack) in sysmon_send_event()
85 dev_err(sysmon->dev, "unexpected response to sysmon event\n"); in sysmon_send_event()
[all …]
Dqcom_q6v5_pas.c67 struct qcom_sysmon *sysmon; member
303 adsp->sysmon = qcom_add_sysmon_subdev(rproc, in adsp_probe()
306 if (IS_ERR(adsp->sysmon)) { in adsp_probe()
307 ret = PTR_ERR(adsp->sysmon); in adsp_probe()
330 qcom_remove_sysmon_subdev(adsp->sysmon); in adsp_remove()
Dqcom_common.h49 void qcom_remove_sysmon_subdev(struct qcom_sysmon *sysmon);
58 static inline void qcom_remove_sysmon_subdev(struct qcom_sysmon *sysmon) in qcom_remove_sysmon_subdev() argument
Dqcom_q6v5_adsp.c96 struct qcom_sysmon *sysmon; member
457 adsp->sysmon = qcom_add_sysmon_subdev(rproc, in adsp_probe()
460 if (IS_ERR(adsp->sysmon)) { in adsp_probe()
461 ret = PTR_ERR(adsp->sysmon); in adsp_probe()
486 qcom_remove_sysmon_subdev(adsp->sysmon); in adsp_remove()
Dqcom_wcnss.c94 struct qcom_sysmon *sysmon; member
547 wcnss->sysmon = qcom_add_sysmon_subdev(rproc, "wcnss", WCNSS_SSCTL_ID); in wcnss_probe()
548 if (IS_ERR(wcnss->sysmon)) { in wcnss_probe()
549 ret = PTR_ERR(wcnss->sysmon); in wcnss_probe()
574 qcom_remove_sysmon_subdev(wcnss->sysmon); in wcnss_remove()
DKconfig161 tristate "Qualcomm sysmon driver"
167 The sysmon driver implements a sysmon QMI client and a handler for
Dqcom_q6v5_mss.c186 struct qcom_sysmon *sysmon; member
1499 qproc->sysmon = qcom_add_sysmon_subdev(rproc, "modem", 0x12); in q6v5_probe()
1500 if (IS_ERR(qproc->sysmon)) { in q6v5_probe()
1501 ret = PTR_ERR(qproc->sysmon); in q6v5_probe()
1527 qcom_remove_sysmon_subdev(qproc->sysmon); in q6v5_remove()