Searched refs:mem_ctx (Results 1 – 2 of 2) sorted by relevance
475 struct ta_mem_context *mem_ctx);476 void psp_ta_free_shared_buf(struct ta_mem_context *mem_ctx);
241 void psp_ta_free_shared_buf(struct ta_mem_context *mem_ctx) in psp_ta_free_shared_buf() argument243 amdgpu_bo_free_kernel(&mem_ctx->shared_bo, &mem_ctx->shared_mc_addr, in psp_ta_free_shared_buf()244 &mem_ctx->shared_buf); in psp_ta_free_shared_buf()245 mem_ctx->shared_bo = NULL; in psp_ta_free_shared_buf()1140 struct ta_mem_context *mem_ctx) in psp_ta_init_shared_buf() argument1146 return amdgpu_bo_create_kernel(psp->adev, mem_ctx->shared_mem_size, in psp_ta_init_shared_buf()1149 &mem_ctx->shared_bo, in psp_ta_init_shared_buf()1150 &mem_ctx->shared_mc_addr, in psp_ta_init_shared_buf()1151 &mem_ctx->shared_buf); in psp_ta_init_shared_buf()