Home
last modified time | relevance | path

Searched refs:mem_ctx (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_opr.c37 int s5p_mfc_alloc_priv_buf(struct s5p_mfc_dev *dev, unsigned int mem_ctx, in s5p_mfc_alloc_priv_buf() argument
57 struct device *mem_dev = dev->mem_dev[mem_ctx]; in s5p_mfc_alloc_priv_buf()
58 dma_addr_t base = dev->dma_base[mem_ctx]; in s5p_mfc_alloc_priv_buf()
60 b->ctx = mem_ctx; in s5p_mfc_alloc_priv_buf()
79 int s5p_mfc_alloc_generic_buf(struct s5p_mfc_dev *dev, unsigned int mem_ctx, in s5p_mfc_alloc_generic_buf() argument
82 struct device *mem_dev = dev->mem_dev[mem_ctx]; in s5p_mfc_alloc_generic_buf()
86 b->ctx = mem_ctx; in s5p_mfc_alloc_generic_buf()
Ds5p_mfc_opr.h329 int s5p_mfc_alloc_priv_buf(struct s5p_mfc_dev *dev, unsigned int mem_ctx,
333 int s5p_mfc_alloc_generic_buf(struct s5p_mfc_dev *dev, unsigned int mem_ctx,
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_psp.h475 struct ta_mem_context *mem_ctx);
476 void psp_ta_free_shared_buf(struct ta_mem_context *mem_ctx);
Damdgpu_psp.c241 void psp_ta_free_shared_buf(struct ta_mem_context *mem_ctx) in psp_ta_free_shared_buf() argument
243 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() argument
1146 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()
/linux-6.6.21/drivers/media/platform/st/sti/bdisp/
Dbdisp-v4l2.c595 goto mem_ctx; in bdisp_open()
639 mem_ctx: in bdisp_open()