qcom_common.h 569 B

12345678910111213141516171819202122
  1. #ifndef __RPROC_QCOM_COMMON_H__
  2. #define __RPROC_QCOM_COMMON_H__
  3. #include <linux/remoteproc.h>
  4. #include "remoteproc_internal.h"
  5. struct qcom_rproc_subdev {
  6. struct rproc_subdev subdev;
  7. struct device *dev;
  8. struct device_node *node;
  9. struct qcom_smd_edge *edge;
  10. };
  11. struct resource_table *qcom_mdt_find_rsc_table(struct rproc *rproc,
  12. const struct firmware *fw,
  13. int *tablesz);
  14. void qcom_add_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd);
  15. void qcom_remove_smd_subdev(struct rproc *rproc, struct qcom_rproc_subdev *smd);
  16. #endif