rsc_mgr.h 610 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
  4. */
  5. #ifndef __GH_RSC_MGR_PRIV_H
  6. #define __GH_RSC_MGR_PRIV_H
  7. #include <linux/gunyah.h>
  8. #include <linux/gunyah_rsc_mgr.h>
  9. #include <linux/types.h>
  10. struct gh_rm;
  11. int gh_rm_call(void *rsc_mgr, u32 message_id, const void *req_buf, size_t req_buf_size,
  12. void **resp_buf, size_t *resp_buf_size);
  13. int gh_rm_platform_pre_mem_share(struct gh_rm *rm, struct gh_rm_mem_parcel *mem_parcel);
  14. int gh_rm_platform_post_mem_reclaim(struct gh_rm *rm, struct gh_rm_mem_parcel *mem_parcel);
  15. #endif