Lines Matching refs:reg_buf
70 av1dVdpuBuf reg_buf[VDPU_FAST_REG_SET_CNT]; member
144 reg_ctx->reg_buf[i].regs = mpp_calloc(VdpuAv1dRegSet, 1); in hal_av1d_alloc_res()
145 memset(reg_ctx->reg_buf[i].regs, 0, sizeof(VdpuAv1dRegSet)); in hal_av1d_alloc_res()
149 reg_ctx->regs = reg_ctx->reg_buf[0].regs; in hal_av1d_alloc_res()
237 RK_U32 loop = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in hal_av1d_release_res()
240 MPP_FREE(reg_ctx->reg_buf[i].regs); in hal_av1d_release_res()
1884 for (i = 0; i < MPP_ARRAY_ELEMS(ctx->reg_buf); i++) { in vdpu_av1d_gen_regs()
1885 if (!ctx->reg_buf[i].valid) { in vdpu_av1d_gen_regs()
1887 ctx->regs = ctx->reg_buf[i].regs; in vdpu_av1d_gen_regs()
1888 ctx->reg_buf[i].valid = 1; in vdpu_av1d_gen_regs()
2249 reg_ctx->reg_buf[task->dec.reg_index].regs : in vdpu_av1d_start()
2311 reg_ctx->reg_buf[task->dec.reg_index].regs : in vdpu_av1d_wait()
2356 reg_ctx->reg_buf[task->dec.reg_index].valid = 0; in vdpu_av1d_wait()