| /OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/vp9d/ |
| H A D | hal_vp9d_rkv.c | 35 Vp9dRegBuf g_buf[MAX_GEN_REG]; member 63 hw_ctx->g_buf[i].hw_regs = mpp_calloc_size(void, sizeof(VP9_REGS)); in hal_vp9d_alloc_res() 65 &hw_ctx->g_buf[i].probe_base, PROB_SIZE); in hal_vp9d_alloc_res() 71 &hw_ctx->g_buf[i].count_base, COUNT_SIZE); in hal_vp9d_alloc_res() 77 &hw_ctx->g_buf[i].segid_cur_base, MAX_SEGMAP_SIZE); in hal_vp9d_alloc_res() 83 &hw_ctx->g_buf[i].segid_last_base, MAX_SEGMAP_SIZE); in hal_vp9d_alloc_res() 124 if (hw_ctx->g_buf[i].probe_base) { in hal_vp9d_release_res() 125 ret = mpp_buffer_put(hw_ctx->g_buf[i].probe_base); in hal_vp9d_release_res() 131 if (hw_ctx->g_buf[i].count_base) { in hal_vp9d_release_res() 132 ret = mpp_buffer_put(hw_ctx->g_buf[i].count_base); in hal_vp9d_release_res() [all …]
|
| H A D | hal_vp9d_vdpu382.c | 47 Vp9dRegBuf g_buf[MAX_GEN_REG]; member 108 hw_ctx->g_buf[i].hw_regs = mpp_calloc_size(void, sizeof(Vdpu382Vp9dRegSet)); in hal_vp9d_alloc_res() 109 … ret = mpp_buffer_get(p_hal->group, &hw_ctx->g_buf[i].probe_base, VDPU382_PROBE_BUFFER_SIZE); in hal_vp9d_alloc_res() 157 if (hw_ctx->g_buf[i].probe_base) { in hal_vp9d_release_res() 158 ret = mpp_buffer_put(hw_ctx->g_buf[i].probe_base); in hal_vp9d_release_res() 164 if (hw_ctx->g_buf[i].hw_regs) { in hal_vp9d_release_res() 165 mpp_free(hw_ctx->g_buf[i].hw_regs); in hal_vp9d_release_res() 166 hw_ctx->g_buf[i].hw_regs = NULL; in hal_vp9d_release_res() 168 if (hw_ctx->g_buf[i].rcb_buf) { in hal_vp9d_release_res() 169 ret = mpp_buffer_put(hw_ctx->g_buf[i].rcb_buf); in hal_vp9d_release_res() [all …]
|
| H A D | hal_vp9d_vdpu34x.c | 47 Vp9dRegBuf g_buf[MAX_GEN_REG]; member 108 hw_ctx->g_buf[i].hw_regs = mpp_calloc_size(void, sizeof(Vdpu34xVp9dRegSet)); in hal_vp9d_alloc_res() 109 … ret = mpp_buffer_get(p_hal->group, &hw_ctx->g_buf[i].probe_base, VDPU34X_PROBE_BUFFER_SIZE); in hal_vp9d_alloc_res() 156 if (hw_ctx->g_buf[i].probe_base) { in hal_vp9d_release_res() 157 ret = mpp_buffer_put(hw_ctx->g_buf[i].probe_base); in hal_vp9d_release_res() 163 if (hw_ctx->g_buf[i].hw_regs) { in hal_vp9d_release_res() 164 mpp_free(hw_ctx->g_buf[i].hw_regs); in hal_vp9d_release_res() 165 hw_ctx->g_buf[i].hw_regs = NULL; in hal_vp9d_release_res() 167 if (hw_ctx->g_buf[i].rcb_buf) { in hal_vp9d_release_res() 168 ret = mpp_buffer_put(hw_ctx->g_buf[i].rcb_buf); in hal_vp9d_release_res() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h265d/ |
| H A D | hal_h265d_rkv.c | 48 reg_ctx->g_buf[i].hw_regs = in hal_h265d_alloc_res() 51 ®_ctx->g_buf[i].scaling_list_data, in hal_h265d_alloc_res() 58 ret = mpp_buffer_get(reg_ctx->group, ®_ctx->g_buf[i].pps_data, in hal_h265d_alloc_res() 65 ret = mpp_buffer_get(reg_ctx->group, ®_ctx->g_buf[i].rps_data, in hal_h265d_alloc_res() 104 if (reg_ctx->g_buf[i].scaling_list_data) { in hal_h265d_release_res() 105 ret = mpp_buffer_put(reg_ctx->g_buf[i].scaling_list_data); in hal_h265d_release_res() 111 if (reg_ctx->g_buf[i].pps_data) { in hal_h265d_release_res() 112 ret = mpp_buffer_put(reg_ctx->g_buf[i].pps_data); in hal_h265d_release_res() 119 if (reg_ctx->g_buf[i].rps_data) { in hal_h265d_release_res() 120 ret = mpp_buffer_put(reg_ctx->g_buf[i].rps_data); in hal_h265d_release_res() [all …]
|
| H A D | hal_h265d_vdpu382.c | 143 reg_ctx->g_buf[i].hw_regs = mpp_calloc_size(void, sizeof(Vdpu382H265dRegSet)); in hal_h265d_vdpu382_init() 151 reg_ctx->hw_regs = reg_ctx->g_buf[0].hw_regs; in hal_h265d_vdpu382_init() 193 RK_U32 loop = reg_ctx->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->g_buf) : 1; in hal_h265d_vdpu382_deinit() 215 MPP_FREE(reg_ctx->g_buf[i].hw_regs); in hal_h265d_vdpu382_deinit() 579 RK_U32 loop = reg_ctx->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->g_buf) : 1; in hal_h265d_rcb_info_update() 659 if (!reg_ctx->g_buf[i].use_flag) { in hal_h265d_vdpu382_gen_regs() 666 reg_ctx->hw_regs = reg_ctx->g_buf[i].hw_regs; in hal_h265d_vdpu382_gen_regs() 667 reg_ctx->g_buf[i].use_flag = 1; in hal_h265d_vdpu382_gen_regs() 966 p = (RK_U8*)reg_ctx->g_buf[index].hw_regs; in hal_h265d_vdpu382_start() 967 hw_regs = ( Vdpu382H265dRegSet *)reg_ctx->g_buf[index].hw_regs; in hal_h265d_vdpu382_start() [all …]
|
| H A D | hal_h265d_vdpu34x.c | 143 reg_ctx->g_buf[i].hw_regs = mpp_calloc_size(void, sizeof(Vdpu34xH265dRegSet)); in hal_h265d_vdpu34x_init() 151 reg_ctx->hw_regs = reg_ctx->g_buf[0].hw_regs; in hal_h265d_vdpu34x_init() 189 RK_U32 loop = reg_ctx->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->g_buf) : 1; in hal_h265d_vdpu34x_deinit() 211 MPP_FREE(reg_ctx->g_buf[i].hw_regs); in hal_h265d_vdpu34x_deinit() 784 RK_U32 loop = reg_ctx->fast_mode ? MPP_ARRAY_ELEMS(reg_ctx->g_buf) : 1; in hal_h265d_rcb_info_update() 864 if (!reg_ctx->g_buf[i].use_flag) { in hal_h265d_vdpu34x_gen_regs() 871 reg_ctx->hw_regs = reg_ctx->g_buf[i].hw_regs; in hal_h265d_vdpu34x_gen_regs() 872 reg_ctx->g_buf[i].use_flag = 1; in hal_h265d_vdpu34x_gen_regs() 1155 p = (RK_U8*)reg_ctx->g_buf[index].hw_regs; in hal_h265d_vdpu34x_start() 1156 hw_regs = ( Vdpu34xH265dRegSet *)reg_ctx->g_buf[index].hw_regs; in hal_h265d_vdpu34x_start() [all …]
|
| H A D | hal_h265d_ctx.h | 67 H265dRegBuf g_buf[MAX_GEN_REG]; member
|
| /OK3568_Linux_fs/u-boot/drivers/rknand/ |
| H A D | rk_zftl_arm_v8.S | 27343 .global g_buf symbol 27775 .section .bss.g_buf,"aw",@nobits 27778 .type g_buf, %object 27779 .size g_buf, 2048 27780 g_buf: label
|
| H A D | rk_zftl_spl_arm_v8.S | 26934 .global g_buf symbol 27366 .section .bss.g_buf,"aw",@nobits 27369 .type g_buf, %object 27370 .size g_buf, 1024 27371 g_buf: label
|
| H A D | rk_zftl_arm_v7.S | 30408 .global g_buf symbol 30840 .section .bss.g_buf,"aw",%nobits 30843 .type g_buf, %object 30844 .size g_buf, 1536 30845 g_buf: label
|
| /OK3568_Linux_fs/kernel/drivers/rk_nand/ |
| H A D | rk_zftl_arm32.S | 31035 .global g_buf symbol 35804 .type g_buf, %object 35805 .size g_buf, 1536 35806 g_buf: label
|
| H A D | rk_zftl_arm64.S | 29102 .global g_buf symbol 32393 .type g_buf, %object 32394 .size g_buf, 2048 32395 g_buf: label
|