• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
8 #include <linux/gunyah.h>
9 #include <linux/gunyah_rsc_mgr.h>
10 #include <linux/types.h>
11 
12 struct gh_rm;
13 int gh_rm_call(void *rsc_mgr, u32 message_id, const void *req_buf, size_t req_buf_size,
14 		void **resp_buf, size_t *resp_buf_size);
15 
16 int gh_rm_platform_pre_mem_share(struct gh_rm *rm, struct gh_rm_mem_parcel *mem_parcel);
17 int gh_rm_platform_post_mem_reclaim(struct gh_rm *rm, struct gh_rm_mem_parcel *mem_parcel);
18 
19 #endif
20