| /OK3568_Linux_fs/external/mpp/mpp/hal/vpu/av1d/ |
| H A D | hal_av1d_api.c | 67 if (p_hal->buf_group == NULL) { in hal_av1d_init() 69 (&p_hal->buf_group, MPP_BUFFER_TYPE_ION)); in hal_av1d_init() 79 if (p_hal->buf_group == NULL) { in hal_av1d_init() 81 (&p_hal->buf_group, MPP_BUFFER_TYPE_ION)); in hal_av1d_init() 104 if (p_hal->buf_group) { in hal_av1d_deinit() 105 FUN_CHECK(ret = mpp_buffer_group_put(p_hal->buf_group)); in hal_av1d_deinit()
|
| H A D | hal_av1d_common.h | 186 MppBufferGroup buf_group; member
|
| H A D | hal_av1d_vdpu.c | 153 …BUF_CHECK(ret, mpp_buffer_get(p_hal->buf_group, ®_ctx->prob_tbl_base, MPP_ALIGN(sizeof(AV1CDFs)… in hal_av1d_alloc_res() 154 …BUF_CHECK(ret, mpp_buffer_get(p_hal->buf_group, ®_ctx->prob_tbl_out_base, MPP_ALIGN(sizeof(AV1C… in hal_av1d_alloc_res() 155 BUF_CHECK(ret, mpp_buffer_get(p_hal->buf_group, ®_ctx->tile_info, AV1_TILE_INFO_SIZE)); in hal_av1d_alloc_res() 156 …BUF_CHECK(ret, mpp_buffer_get(p_hal->buf_group, ®_ctx->film_grain_mem, MPP_ALIGN(sizeof(AV1Film… in hal_av1d_alloc_res() 157 …BUF_CHECK(ret, mpp_buffer_get(p_hal->buf_group, ®_ctx->global_model, MPP_ALIGN(GLOBAL_MODEL_SIZ… in hal_av1d_alloc_res() 158 …BUF_CHECK(ret, mpp_buffer_get(p_hal->buf_group, ®_ctx->tile_buf, MPP_ALIGN(32 * MaxTiles, 4096)… in hal_av1d_alloc_res() 227 if (!mpp_buffer_get(p_hal->buf_group, &ctx->filter_mem, MPP_ALIGN(size, SZ_4K))) in vdpu_av1d_filtermem_alloc()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/avs2d/ |
| H A D | hal_avs2d_api.c | 53 if (p_hal->buf_group) { in hal_avs2d_deinit() 54 FUN_CHECK(ret = mpp_buffer_group_put(p_hal->buf_group)); in hal_avs2d_deinit() 121 if (p_hal->buf_group == NULL) in hal_avs2d_init() 122 FUN_CHECK(ret = mpp_buffer_group_get_internal(&p_hal->buf_group, MPP_BUFFER_TYPE_ION)); in hal_avs2d_init()
|
| H A D | hal_avs2d_global.h | 96 MppBufferGroup buf_group; member
|
| H A D | hal_avs2d_rkv.c | 314 ret = mpp_buffer_get(p_hal->buf_group, &rcb_buf, reg_ctx->rcb_buf_size); in hal_avs2d_rcb_info_update() 520 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, ®_ctx->bufs, AVS2_ALL_TBL_BUF_SIZE(loop))); in hal_avs2d_rkv_init()
|
| H A D | hal_avs2d_vdpu382.c | 375 ret = mpp_buffer_get(p_hal->buf_group, &rcb_buf, reg_ctx->rcb_buf_size); in hal_avs2d_rcb_info_update() 594 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, ®_ctx->bufs, AVS2_ALL_TBL_BUF_SIZE(loop))); in hal_avs2d_vdpu382_init()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h264d/ |
| H A D | hal_h264d_api.c | 211 if (p_hal->buf_group == NULL) { in hal_h264d_init() 213 (&p_hal->buf_group, MPP_BUFFER_TYPE_ION)); in hal_h264d_init() 243 if (p_hal->buf_group) { in hal_h264d_deinit() 244 FUN_CHECK(ret = mpp_buffer_group_put(p_hal->buf_group)); in hal_h264d_deinit()
|
| H A D | hal_h264d_rkv_reg.c | 554 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init() 556 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init() 563 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init() 565 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init() 567 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, in rkv_h264d_init()
|
| H A D | hal_h264d_global.h | 126 MppBufferGroup buf_group; member
|
| H A D | hal_h264d_vdpu34x.c | 715 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, ®_ctx->bufs, in vdpu34x_h264d_init() 878 mpp_buffer_get(p_hal->buf_group, &rcb_buf, ctx->rcb_buf_size); in hal_h264d_rcb_info_update()
|
| H A D | hal_h264d_vdpu382.c | 741 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, ®_ctx->bufs, in vdpu382_h264d_init() 924 mpp_buffer_get(p_hal->buf_group, &rcb_buf, ctx->rcb_buf_size); in hal_h264d_rcb_info_update()
|
| H A D | hal_h264d_vdpu1.c | 759 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, ®_ctx->reg_buf[i].buf, buf_size)); in vdpu1_h264d_init()
|
| H A D | hal_h264d_vdpu2.c | 816 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, ®_ctx->reg_buf[i].buf, buf_size)); in vdpu2_h264d_init()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/avsd/ |
| H A D | hal_avsd_api.c | 131 if (p_hal->buf_group) { in hal_avsd_deinit() 132 FUN_CHECK(ret = mpp_buffer_group_put(p_hal->buf_group)); in hal_avsd_deinit() 165 FUN_CHECK(ret = mpp_buffer_group_get_internal(&p_hal->buf_group, MPP_BUFFER_TYPE_ION)); in hal_avsd_init()
|
| H A D | hal_avsd_base.h | 105 MppBufferGroup buf_group; member
|
| H A D | hal_avsd_vdpu2.c | 482 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, &p_hal->mv_buf, buf_size)); in hal_avsd_vdpu2_init()
|
| H A D | hal_avsd_vdpu1.c | 486 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, &p_hal->mv_buf, buf_size)); in hal_avsd_vdpu1_init()
|
| H A D | hal_avsd_plus.c | 578 FUN_CHECK(ret = mpp_buffer_get(p_hal->buf_group, &p_hal->mv_buf, buf_size)); in hal_avsd_plus_init()
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | io_uring.h | 55 __u16 buf_group; member
|
| /OK3568_Linux_fs/kernel/io_uring/ |
| H A D | io_uring.c | 4222 p->bgid = READ_ONCE(sqe->buf_group); in io_remove_buffers_prep() 4305 p->bgid = READ_ONCE(sqe->buf_group); in io_provide_buffers_prep() 4906 sr->bgid = READ_ONCE(sqe->buf_group); in io_recvmsg_prep() 10945 BUILD_BUG_SQE_ELEM(40, __u16, buf_group); in io_uring_init()
|