watchdog/core: Rename some softlockup_* functions
[linux/fpc-iii.git] / drivers / remoteproc / qcom_common.h
blob4f8bc168473c1dbec573d24519749e63ba4a977c
1 #ifndef __RPROC_QCOM_COMMON_H__
2 #define __RPROC_QCOM_COMMON_H__
4 #include <linux/remoteproc.h>
5 #include "remoteproc_internal.h"
7 struct qcom_rproc_glink {
8 struct rproc_subdev subdev;
10 struct device *dev;
11 struct device_node *node;
12 struct qcom_glink *edge;
15 struct qcom_rproc_subdev {
16 struct rproc_subdev subdev;
18 struct device *dev;
19 struct device_node *node;
20 struct qcom_smd_edge *edge;
23 struct qcom_rproc_ssr {
24 struct rproc_subdev subdev;
26 const char *name;
29 struct resource_table *qcom_mdt_find_rsc_table(struct rproc *rproc,
30 const struct firmware *fw,
31 int *tablesz);
33 void qcom_add_glink_subdev(struct rproc *rproc, struct qcom_rproc_glink *glink);
34 void qcom_remove_glink_subdev(struct rproc *rproc, struct qcom_rproc_glink *glink);
36 void qcom_add_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd);
37 void qcom_remove_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd);
39 void qcom_add_ssr_subdev(struct rproc *rproc, struct qcom_rproc_ssr *ssr,
40 const char *ssr_name);
41 void qcom_remove_ssr_subdev(struct rproc *rproc, struct qcom_rproc_ssr *ssr);
43 #endif