2017-01-27 18:28:32 +08:00
|
|
|
#ifndef __RPROC_QCOM_COMMON_H__
|
|
|
|
#define __RPROC_QCOM_COMMON_H__
|
|
|
|
|
2017-01-27 23:04:54 +08:00
|
|
|
#include <linux/remoteproc.h>
|
|
|
|
#include "remoteproc_internal.h"
|
|
|
|
|
|
|
|
struct qcom_rproc_subdev {
|
|
|
|
struct rproc_subdev subdev;
|
|
|
|
|
|
|
|
struct device *dev;
|
|
|
|
struct device_node *node;
|
|
|
|
struct qcom_smd_edge *edge;
|
|
|
|
};
|
2017-01-27 18:28:32 +08:00
|
|
|
|
|
|
|
struct resource_table *qcom_mdt_find_rsc_table(struct rproc *rproc,
|
|
|
|
const struct firmware *fw,
|
|
|
|
int *tablesz);
|
|
|
|
|
2017-01-27 23:04:54 +08:00
|
|
|
void qcom_add_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd);
|
|
|
|
void qcom_remove_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd);
|
|
|
|
|
2017-01-27 18:28:32 +08:00
|
|
|
#endif
|