Lines Matching refs:reg_buf
152 av1dVdpu383Buf reg_buf[VDPU_FAST_REG_SET_CNT]; member
1314 reg_ctx->reg_buf[i].regs = mpp_calloc(Vdpu383Av1dRegSet, 1); in hal_av1d_alloc_res()
1315 memset(reg_ctx->reg_buf[i].regs, 0, sizeof(Vdpu383Av1dRegSet)); in hal_av1d_alloc_res()
1320 reg_ctx->regs = reg_ctx->reg_buf[0].regs; in hal_av1d_alloc_res()
1346 RK_U32 max_cnt = p_hal->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->reg_buf) : 1; in hal_av1d_release_res()
1349 MPP_FREE(reg_ctx->reg_buf[i].regs); in hal_av1d_release_res()
2204 for (i = 0; i < MPP_ARRAY_ELEMS(ctx->reg_buf); i++) { in vdpu383_av1d_gen_regs()
2205 if (!ctx->reg_buf[i].valid) { in vdpu383_av1d_gen_regs()
2207 ctx->regs = ctx->reg_buf[i].regs; in vdpu383_av1d_gen_regs()
2208 ctx->reg_buf[i].valid = 1; in vdpu383_av1d_gen_regs()
2492 reg_ctx->reg_buf[task->dec.reg_index].regs : in vdpu383_av1d_start()
2567 reg_ctx->reg_buf[task->dec.reg_index].regs : in vdpu383_av1d_wait()
2636 reg_ctx->reg_buf[task->dec.reg_index].valid = 0; in vdpu383_av1d_wait()