Lines Matching refs:global_base
42 MppBuffer global_base; member
147 &hw_ctx->g_buf[i].global_base, GBL_SIZE); in hal_vp9d_alloc_res()
148 mpp_buffer_attach_dev(hw_ctx->g_buf[i].global_base, p_hal->dev); in hal_vp9d_alloc_res()
170 ret = mpp_buffer_get(p_hal->group, &hw_ctx->global_base, PROB_SIZE); in hal_vp9d_alloc_res()
175 mpp_buffer_attach_dev(hw_ctx->global_base, p_hal->dev); in hal_vp9d_alloc_res()
233 if (hw_ctx->g_buf[i].global_base) { in hal_vp9d_release_res()
234 ret = mpp_buffer_put(hw_ctx->g_buf[i].global_base); in hal_vp9d_release_res()
267 if (hw_ctx->global_base) { in hal_vp9d_release_res()
268 ret = mpp_buffer_put(hw_ctx->global_base); in hal_vp9d_release_res()
720 hw_ctx->global_base = hw_ctx->g_buf[i].global_base; in hal_vp9d_vdpu383_gen_regs()
750 … memcpy(mpp_buffer_get_ptr(hw_ctx->global_base), hw_ctx->header_data, sizeof(hw_ctx->header_data)); in hal_vp9d_vdpu383_gen_regs()
751 mpp_buffer_sync_end(hw_ctx->global_base); in hal_vp9d_vdpu383_gen_regs()
753 vp9_hw_regs->common_addr.reg131_gbl_base = mpp_buffer_get_fd(hw_ctx->global_base); in hal_vp9d_vdpu383_gen_regs()