Lines Matching refs:hw_regs
48 void* hw_regs; member
145 hw_ctx->g_buf[i].hw_regs = mpp_calloc_size(void, sizeof(Vdpu383Vp9dRegSet)); in hal_vp9d_alloc_res()
169 hw_ctx->hw_regs = mpp_calloc_size(void, sizeof(Vdpu383Vp9dRegSet)); in hal_vp9d_alloc_res()
254 if (hw_ctx->g_buf[i].hw_regs) { in hal_vp9d_release_res()
255 mpp_free(hw_ctx->g_buf[i].hw_regs); in hal_vp9d_release_res()
256 hw_ctx->g_buf[i].hw_regs = NULL; in hal_vp9d_release_res()
288 if (hw_ctx->hw_regs) { in hal_vp9d_release_res()
289 mpp_free(hw_ctx->hw_regs); in hal_vp9d_release_res()
290 hw_ctx->hw_regs = NULL; in hal_vp9d_release_res()
443 static void hal_vp9d_rcb_info_update(void *hal, Vdpu383Vp9dRegSet *hw_regs, void *data) in hal_vp9d_rcb_info_update() argument
452 (void) hw_regs; in hal_vp9d_rcb_info_update()
723 hw_ctx->hw_regs = hw_ctx->g_buf[i].hw_regs; in hal_vp9d_vdpu383_gen_regs()
733 vp9_hw_regs = (Vdpu383Vp9dRegSet*)hw_ctx->hw_regs; in hal_vp9d_vdpu383_gen_regs()
1133 Vdpu383Vp9dRegSet *hw_regs = (Vdpu383Vp9dRegSet *)hw_ctx->hw_regs; in hal_vp9d_vdpu383_start() local
1139 hw_regs = (Vdpu383Vp9dRegSet *)hw_ctx->g_buf[index].hw_regs; in hal_vp9d_vdpu383_start()
1142 mpp_assert(hw_regs); in hal_vp9d_vdpu383_start()
1148 wr_cfg.reg = &hw_regs->ctrl_regs; in hal_vp9d_vdpu383_start()
1149 wr_cfg.size = sizeof(hw_regs->ctrl_regs); in hal_vp9d_vdpu383_start()
1157 wr_cfg.reg = &hw_regs->common_addr; in hal_vp9d_vdpu383_start()
1158 wr_cfg.size = sizeof(hw_regs->common_addr); in hal_vp9d_vdpu383_start()
1166 wr_cfg.reg = &hw_regs->vp9d_paras; in hal_vp9d_vdpu383_start()
1167 wr_cfg.size = sizeof(hw_regs->vp9d_paras); in hal_vp9d_vdpu383_start()
1175 wr_cfg.reg = &hw_regs->vp9d_addrs; in hal_vp9d_vdpu383_start()
1176 wr_cfg.size = sizeof(hw_regs->vp9d_addrs); in hal_vp9d_vdpu383_start()
1184 rd_cfg.reg = &hw_regs->ctrl_regs.reg15; in hal_vp9d_vdpu383_start()
1185 rd_cfg.size = sizeof(hw_regs->ctrl_regs.reg15); in hal_vp9d_vdpu383_start()
1211 Vdpu383Vp9dRegSet *hw_regs = (Vdpu383Vp9dRegSet *)hw_ctx->hw_regs; in hal_vp9d_vdpu383_wait() local
1214 hw_regs = (Vdpu383Vp9dRegSet *)hw_ctx->g_buf[task->dec.reg_index].hw_regs; in hal_vp9d_vdpu383_wait()
1216 mpp_assert(hw_regs); in hal_vp9d_vdpu383_wait()
1261 RK_U32 *p = (RK_U32 *)hw_regs; in hal_vp9d_vdpu383_wait()
1270 (!hw_regs->ctrl_regs.reg15.rkvdec_frame_rdy_sta) || in hal_vp9d_vdpu383_wait()
1271 hw_regs->ctrl_regs.reg15.rkvdec_strm_error_sta || in hal_vp9d_vdpu383_wait()
1272 hw_regs->ctrl_regs.reg15.rkvdec_core_timeout_sta || in hal_vp9d_vdpu383_wait()
1273 hw_regs->ctrl_regs.reg15.rkvdec_ip_timeout_sta || in hal_vp9d_vdpu383_wait()
1274 hw_regs->ctrl_regs.reg15.rkvdec_bus_error_sta || in hal_vp9d_vdpu383_wait()
1275 hw_regs->ctrl_regs.reg15.rkvdec_buffer_empty_sta || in hal_vp9d_vdpu383_wait()
1276 hw_regs->ctrl_regs.reg15.rkvdec_colmv_ref_error_sta) { in hal_vp9d_vdpu383_wait()