Home
last modified time | relevance | path

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

/linux/drivers/remoteproc/
H A Dqcom_sysmon.c80 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()
109 if (!sysmon->ssr_ack) in sysmon_send_event()
110 dev_err(sysmon->dev, "unexpected response to sysmon event\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.h52 int qcom_q6v5_request_stop(struct qcom_q6v5 *q6v5, struct qcom_sysmon *sysmon);
H A Dqcom_q6v5.c196 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()