aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tee_drv.h')
-rw-r--r--include/linux/tee_drv.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/tee_drv.h b/include/linux/tee_drv.h
index f5d5f455660c..0f175b8f6456 100644
--- a/include/linux/tee_drv.h
+++ b/include/linux/tee_drv.h
@@ -164,7 +164,6 @@ struct tee_shm_pool_mem_info {
164/** 164/**
165 * tee_shm_pool_alloc_res_mem() - Create a shared memory pool from reserved 165 * tee_shm_pool_alloc_res_mem() - Create a shared memory pool from reserved
166 * memory range 166 * memory range
167 * @dev: Device allocating the pool
168 * @priv_info: Information for driver private shared memory pool 167 * @priv_info: Information for driver private shared memory pool
169 * @dmabuf_info: Information for dma-buf shared memory pool 168 * @dmabuf_info: Information for dma-buf shared memory pool
170 * 169 *
@@ -176,8 +175,7 @@ struct tee_shm_pool_mem_info {
176 * @returns pointer to a 'struct tee_shm_pool' or an ERR_PTR on failure. 175 * @returns pointer to a 'struct tee_shm_pool' or an ERR_PTR on failure.
177 */ 176 */
178struct tee_shm_pool * 177struct tee_shm_pool *
179tee_shm_pool_alloc_res_mem(struct device *dev, 178tee_shm_pool_alloc_res_mem(struct tee_shm_pool_mem_info *priv_info,
180 struct tee_shm_pool_mem_info *priv_info,
181 struct tee_shm_pool_mem_info *dmabuf_info); 179 struct tee_shm_pool_mem_info *dmabuf_info);
182 180
183/** 181/**
@@ -268,7 +266,8 @@ int tee_shm_get_pa(struct tee_shm *shm, size_t offs, phys_addr_t *pa);
268int tee_shm_get_id(struct tee_shm *shm); 266int tee_shm_get_id(struct tee_shm *shm);
269 267
270/** 268/**
271 * tee_shm_get_from_id() - Find shared memory object and increase referece count 269 * tee_shm_get_from_id() - Find shared memory object and increase reference
270 * count
272 * @ctx: Context owning the shared memory 271 * @ctx: Context owning the shared memory
273 * @id: Id of shared memory object 272 * @id: Id of shared memory object
274 * @returns a pointer to 'struct tee_shm' on success or an ERR_PTR on failure 273 * @returns a pointer to 'struct tee_shm' on success or an ERR_PTR on failure