Searched refs:sysmon (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/remoteproc/ |
H A D | qcom_sysmon.c | 164 if (!sysmon) in sysmon_callback() 345 ret = qmi_send_request(&sysmon->qmi, &sysmon->ssctl, &txn, in ssctl_request_shutdown() 396 ret = qmi_send_request(&sysmon->qmi, &sysmon->ssctl, &txn, in ssctl_send_event() 559 sysmon->shutdown_acked = ssctl_request_shutdown(sysmon); in sysmon_stop() 561 sysmon->shutdown_acked = sysmon_request_shutdown(sysmon); in sysmon_stop() 594 dev_dbg(sysmon->dev, "not notifying %s\n", sysmon->name); in sysmon_notify() 631 sysmon = kzalloc(sizeof(*sysmon), GFP_KERNEL); in qcom_add_sysmon_subdev() 632 if (!sysmon) in qcom_add_sysmon_subdev() 706 if (!sysmon) in qcom_remove_sysmon_subdev() 715 rproc_remove_subdev(sysmon->rproc, &sysmon->subdev); in qcom_remove_sysmon_subdev() [all …]
|
H A D | qcom_common.h | 59 void qcom_remove_sysmon_subdev(struct qcom_sysmon *sysmon); 60 bool qcom_sysmon_shutdown_acked(struct qcom_sysmon *sysmon); 69 static inline void qcom_remove_sysmon_subdev(struct qcom_sysmon *sysmon) in qcom_remove_sysmon_subdev() argument 73 static inline bool qcom_sysmon_shutdown_acked(struct qcom_sysmon *sysmon) in qcom_sysmon_shutdown_acked() argument
|
H A D | qcom_q6v5_adsp.c | 118 struct qcom_sysmon *sysmon; member 476 ret = qcom_q6v5_request_stop(&adsp->q6v5, adsp->sysmon); in adsp_stop() 741 adsp->sysmon = qcom_add_sysmon_subdev(rproc, in adsp_probe() 744 if (IS_ERR(adsp->sysmon)) { in adsp_probe() 745 ret = PTR_ERR(adsp->sysmon); in adsp_probe() 772 qcom_remove_sysmon_subdev(adsp->sysmon); in adsp_remove()
|
H A D | qcom_wcnss.c | 101 struct qcom_sysmon *sysmon; member 637 wcnss->sysmon = qcom_add_sysmon_subdev(rproc, "wcnss", WCNSS_SSCTL_ID); in wcnss_probe() 638 if (IS_ERR(wcnss->sysmon)) { in wcnss_probe() 639 ret = PTR_ERR(wcnss->sysmon); in wcnss_probe() 673 qcom_remove_sysmon_subdev(wcnss->sysmon); in wcnss_remove()
|
H A D | qcom_q6v5.h | 52 int qcom_q6v5_request_stop(struct qcom_q6v5 *q6v5, struct qcom_sysmon *sysmon);
|
H A D | qcom_q6v5_pas.c | 103 struct qcom_sysmon *sysmon; member 368 ret = qcom_q6v5_request_stop(&adsp->q6v5, adsp->sysmon); in adsp_stop() 738 adsp->sysmon = qcom_add_sysmon_subdev(rproc, in adsp_probe() 741 if (IS_ERR(adsp->sysmon)) { in adsp_probe() 742 ret = PTR_ERR(adsp->sysmon); in adsp_probe() 771 qcom_remove_sysmon_subdev(adsp->sysmon); in adsp_remove()
|
H A D | qcom_q6v5.c | 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 D | qcom_q6v5_mss.c | 232 struct qcom_sysmon *sysmon; member 1625 ret = qcom_q6v5_request_stop(&qproc->q6v5, qproc->sysmon); in q6v5_stop() 2106 qproc->sysmon = qcom_add_sysmon_subdev(rproc, "modem", 0x12); in q6v5_probe() 2107 if (IS_ERR(qproc->sysmon)) { in q6v5_probe() 2108 ret = PTR_ERR(qproc->sysmon); in q6v5_probe() 2123 qcom_remove_sysmon_subdev(qproc->sysmon); in q6v5_probe() 2146 qcom_remove_sysmon_subdev(qproc->sysmon); in q6v5_remove()
|
H A D | Kconfig | 258 tristate "Qualcomm sysmon driver" 264 The sysmon driver implements a sysmon QMI client and a handler for
|
H A D | qcom_q6v5_wcss.c | 132 struct qcom_sysmon *sysmon; member 1058 wcss->sysmon = qcom_add_sysmon_subdev(rproc, in q6v5_wcss_probe()
|