Home
last modified time | relevance | path

Searched refs:buffer_pool (Results 1 – 10 of 10) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/video/rockchip/rga3/
H A Drga_drv.c609 struct rga_buffer_pool buffer_pool; in rga_ioctl_import_buffer() local
612 if (unlikely(copy_from_user(&buffer_pool, in rga_ioctl_import_buffer()
614 sizeof(buffer_pool)))) { in rga_ioctl_import_buffer()
619 if (buffer_pool.size > RGA_BUFFER_POOL_SIZE_MAX) { in rga_ioctl_import_buffer()
625 if (buffer_pool.buffers_ptr == 0) { in rga_ioctl_import_buffer()
630 external_buffer = kmalloc(sizeof(struct rga_external_buffer) * buffer_pool.size, in rga_ioctl_import_buffer()
638 u64_to_user_ptr(buffer_pool.buffers_ptr), in rga_ioctl_import_buffer()
639 sizeof(struct rga_external_buffer) * buffer_pool.size))) { in rga_ioctl_import_buffer()
646 for (i = 0; i < buffer_pool.size; i++) { in rga_ioctl_import_buffer()
665 if (unlikely(copy_to_user(u64_to_user_ptr(buffer_pool.buffers_ptr), in rga_ioctl_import_buffer()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/
H A Dintel_gt_buffer_pool.c14 return container_of(pool, struct intel_gt, buffer_pool); in to_gt()
179 struct intel_gt_buffer_pool *pool = &gt->buffer_pool; in intel_gt_get_buffer_pool()
224 struct intel_gt_buffer_pool *pool = &gt->buffer_pool; in intel_gt_init_buffer_pool()
235 struct intel_gt_buffer_pool *pool = &gt->buffer_pool; in intel_gt_flush_buffer_pool()
245 struct intel_gt_buffer_pool *pool = &gt->buffer_pool; in intel_gt_fini_buffer_pool()
H A Dintel_gt_types.h111 struct intel_gt_buffer_pool buffer_pool; member
/OK3568_Linux_fs/external/linux-rga/im2d_api/src/
H A Dim2d_impl.cpp1311 IM_API IM_STATUS rga_import_buffers(struct rga_buffer_pool *buffer_pool) { in rga_import_buffers() argument
1318 if (buffer_pool == NULL) { in rga_import_buffers()
1323 ret = ioctl(rgaCtx->rgaFd, RGA_IOC_IMPORT_BUFFER, buffer_pool); in rga_import_buffers()
1333 struct rga_buffer_pool buffer_pool; in rga_import_buffer() local
1336 memset(&buffer_pool, 0x0, sizeof(buffer_pool)); in rga_import_buffer()
1343 buffer_pool.buffers = ptr_to_u64(buffers); in rga_import_buffer()
1344 buffer_pool.size = 1; in rga_import_buffer()
1346 if (rga_import_buffers(&buffer_pool) != IM_STATUS_SUCCESS) in rga_import_buffer()
1354 struct rga_buffer_pool buffer_pool; in rga_import_buffer() local
1357 memset(&buffer_pool, 0x0, sizeof(buffer_pool)); in rga_import_buffer()
[all …]
H A Dim2d_impl.h110 IM_API IM_STATUS rga_import_buffers(struct rga_buffer_pool *buffer_pool);
111 IM_API IM_STATUS rga_release_buffers(struct rga_buffer_pool *buffer_pool);
/OK3568_Linux_fs/kernel/drivers/crypto/
H A Dixp4xx_crypto.c221 static struct dma_pool *buffer_pool = NULL; variable
336 dma_pool_free(buffer_pool, buf, phys); in free_buf_chain()
356 dma_pool_free(buffer_pool, req_ctx->hmac_virt, crypt->icv_rev_aes); in finish_scattered_hmac()
412 dma_pool_free(buffer_pool, crypt->regist_buf, crypt->src_buf); in one_packet()
494 buffer_pool = dma_pool_create("buffer", dev, in init_ixp_crypto()
497 if (!buffer_pool) { in init_ixp_crypto()
526 dma_pool_destroy(buffer_pool); in init_ixp_crypto()
541 dma_pool_destroy(buffer_pool); in release_ixp_crypto()
634 buf = dma_pool_alloc(buffer_pool, GFP_KERNEL, &buf_phys); in register_chain_var()
642 dma_pool_free(buffer_pool, buf, buf_phys); in register_chain_var()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rk_stream/
H A DCMakeLists.txt43 ${AIQ_DIR}/xcore/buffer_pool.cpp
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/
H A DAndroid.bp185 "xcore/buffer_pool.cpp",
352 "xcore/buffer_pool.cpp",
H A DCMakeLists.txt701 xcore/buffer_pool.cpp
/OK3568_Linux_fs/external/camera_engine_rkaiq/media_enquiry/
H A DCMakeLists.txt158 ${RK_AIQ_SOURCE_DIR}/xcore/buffer_pool.cpp