| /rockchip-linux_mpp/mpp/inc/ |
| H A D | mpp_cfg.h | 23 MPP_RET mpp_cfg_set_s32(MppCfgInfo *info, void *cfg, RK_S32 val); 24 MPP_RET mpp_cfg_get_s32(MppCfgInfo *info, void *cfg, RK_S32 *val); 25 MPP_RET mpp_cfg_set_u32(MppCfgInfo *info, void *cfg, RK_U32 val); 26 MPP_RET mpp_cfg_get_u32(MppCfgInfo *info, void *cfg, RK_U32 *val); 27 MPP_RET mpp_cfg_set_s64(MppCfgInfo *info, void *cfg, RK_S64 val); 28 MPP_RET mpp_cfg_get_s64(MppCfgInfo *info, void *cfg, RK_S64 *val); 29 MPP_RET mpp_cfg_set_u64(MppCfgInfo *info, void *cfg, RK_U64 val); 30 MPP_RET mpp_cfg_get_u64(MppCfgInfo *info, void *cfg, RK_U64 *val); 31 MPP_RET mpp_cfg_set_st(MppCfgInfo *info, void *cfg, void *val); 32 MPP_RET mpp_cfg_get_st(MppCfgInfo *info, void *cfg, void *val); [all …]
|
| H A D | mpp_impl.h | 30 MPP_RET mpp_dump_init(MppDump *info); 31 MPP_RET mpp_dump_deinit(MppDump *info); 33 MPP_RET mpp_ops_init(MppDump info, MppCtxType type, MppCodingType coding); 35 MPP_RET mpp_ops_dec_put_pkt(MppDump info, MppPacket pkt); 36 MPP_RET mpp_ops_dec_get_frm(MppDump info, MppFrame frame); 37 MPP_RET mpp_ops_enc_put_frm(MppDump info, MppFrame frame); 38 MPP_RET mpp_ops_enc_get_pkt(MppDump info, MppPacket pkt); 40 MPP_RET mpp_ops_ctrl(MppDump info, MpiCmd cmd); 41 MPP_RET mpp_ops_reset(MppDump info);
|
| /rockchip-linux_mpp/mpp/base/ |
| H A D | mpp_cfg.c | 22 #define CFG_TO_PTR(info, cfg) ((char *)cfg + info->data_offset) argument 23 #define CFG_TO_s32_PTR(info, cfg) ((RK_S32 *)CFG_TO_PTR(info, cfg)) argument 24 #define CFG_TO_u32_PTR(info, cfg) ((RK_U32 *)CFG_TO_PTR(info, cfg)) argument 25 #define CFG_TO_s64_PTR(info, cfg) ((RK_S64 *)CFG_TO_PTR(info, cfg)) argument 26 #define CFG_TO_u64_PTR(info, cfg) ((RK_U64 *)CFG_TO_PTR(info, cfg)) argument 27 #define CFG_TO_ptr_PTR(info, cfg) ((void **)CFG_TO_PTR(info, cfg)) argument 32 #define CFG_TO_FLAG_PTR(info, cfg) ((rk_ul *)((rk_u8 *)cfg + ELEM_FLAG_U32_POS(info->flag_offs… argument 34 #define CFG_SET_FLAG(info, cfg) \ argument 35 *CFG_TO_FLAG_PTR(info, cfg) |= 1ul << (ELEM_FLAG_BIT_POS(info->flag_offset)) 63 static MPP_RET mpp_cfg_set(MppCfgInfo *info, void *cfg, void *val) in mpp_cfg_set() argument [all …]
|
| H A D | mpp_buffer.c | 15 MPP_RET mpp_buffer_import_with_tag(MppBufferGroup group, MppBufferInfo *info, MppBuffer *buffer, in mpp_buffer_import_with_tag() argument 18 if (NULL == info) { in mpp_buffer_import_with_tag() 27 if ((p->type & MPP_BUFFER_TYPE_MASK) != info->type || in mpp_buffer_import_with_tag() 31 p->type, info->type, p->mode, caller); in mpp_buffer_import_with_tag() 36 p = mpp_buffer_get_misc_group(MPP_BUFFER_EXTERNAL, info->type); in mpp_buffer_import_with_tag() 44 ret = mpp_buffer_create(tag, caller, p, info, &buf); in mpp_buffer_import_with_tag() 47 ret = mpp_buffer_create(tag, caller, p, info, NULL); in mpp_buffer_import_with_tag() 72 MppBufferInfo info = { in mpp_buffer_get_with_tag() local 81 mpp_buffer_create(tag, caller, p, &info, &buf); in mpp_buffer_get_with_tag() 130 if (NULL == p->info.ptr) in mpp_buffer_read_with_caller() [all …]
|
| H A D | mpp_trie.c | 286 MppTrieInfo *info; in mpp_trie_init_by_root() local 301 info = mpp_trie_get_info_from_root(root, "__name__"); in mpp_trie_init_by_root() 302 if (info) in mpp_trie_init_by_root() 303 p->name = mpp_trie_info_ctx(info); in mpp_trie_init_by_root() 305 info = mpp_trie_get_info_from_root(root, "__node__"); in mpp_trie_init_by_root() 306 if (info) in mpp_trie_init_by_root() 307 p->node_used = *(rk_u32 *)mpp_trie_info_ctx(info); in mpp_trie_init_by_root() 309 info = mpp_trie_get_info_from_root(root, "__info__"); in mpp_trie_init_by_root() 310 if (info) in mpp_trie_init_by_root() 311 p->info_count = *(rk_u32 *)mpp_trie_info_ctx(info); in mpp_trie_init_by_root() [all …]
|
| H A D | mpp_task_impl.c | 48 MppTaskStatusInfo info[MPP_TASK_STATUS_BUTT]; member 146 curr = &queue->info[port_impl->status_curr]; in _mpp_port_poll() 219 curr = &queue->info[task_impl->status]; in _mpp_port_move() 220 next = &queue->info[status]; in _mpp_port_move() 264 curr = &queue->info[port_impl->status_curr]; in _mpp_port_dequeue() 265 next = &queue->info[port_impl->next_on_dequeue]; in _mpp_port_dequeue() 330 curr = &queue->info[task_impl->status]; in _mpp_port_enqueue() 331 next = &queue->info[port_impl->next_on_enqueue]; in _mpp_port_enqueue() 366 curr = &queue->info[port_impl->status_curr]; in _mpp_port_awake() 400 INIT_LIST_HEAD(&p->info[i].list); in mpp_task_queue_init() [all …]
|
| H A D | mpp_enc_refs.c | 52 MppEncCpbInfo info; member 134 MppEncCpbInfo *info = &cpb->info; in _dump_cpb() local 139 info->dpb_size, info->max_lt_cnt, info->max_st_cnt); in _dump_cpb() 141 info->max_lt_idx, info->max_st_tid); in _dump_cpb() 143 info->lt_gop, info->st_gop); in _dump_cpb() 251 MppEncCpbInfo *info = &cpb->info; in mpp_enc_refs_set_cfg() local 253 if (info->dpb_size && info->dpb_size < cfg->cpb_info.dpb_size) in mpp_enc_refs_set_cfg() 256 memcpy(info, &cfg->cpb_info, sizeof(cfg->cpb_info)); in mpp_enc_refs_set_cfg() 259 info->max_lt_cnt, info->max_st_cnt, in mpp_enc_refs_set_cfg() 260 info->max_lt_idx, info->max_st_tid); in mpp_enc_refs_set_cfg() [all …]
|
| /rockchip-linux_mpp/osal/ |
| H A D | mpp_singleton.c | 27 rk_s32 mpp_singleton_add(MppSingletonInfo *info, const char *caller) in mpp_singleton_add() argument 31 if (!info) { in mpp_singleton_add() 36 if (info->id >= MPP_SGLN_MAX_CNT) { in mpp_singleton_add() 37 sgln_dbg("id %d larger than max %d at %s\n", info->id, MPP_SGLN_MAX_CNT, caller); in mpp_singleton_add() 41 if (sgln_mask & ((rk_u64)1 << info->id)) { in mpp_singleton_add() 42 sgln_dbg("info %d has been registered at %s\n", info->id, caller); in mpp_singleton_add() 46 sgln_info[info->id] = *info; in mpp_singleton_add() 47 sgln_mask |= ((rk_u64)1 << info->id); in mpp_singleton_add() 50 rk_u32 name_len = strlen(info->name); in mpp_singleton_add() 56 sgln_dbg("info %2d %-*s registered at %s\n", info->id, in mpp_singleton_add() [all …]
|
| H A D | mpp_allocator.c | 45 MppBufferInfo *info, in mpp_allocator_api_wrapper() argument 52 if (!p || !info || id >= ALLOC_API_BUTT) { in mpp_allocator_api_wrapper() 54 allocator, info, id); in mpp_allocator_api_wrapper() 81 ret = func(p->ctx, info); in mpp_allocator_api_wrapper() 88 static MPP_RET mpp_allocator_alloc(MppAllocator allocator, MppBufferInfo *info) in mpp_allocator_alloc() argument 90 return mpp_allocator_api_wrapper(allocator, info, ALLOC_API_ALLOC); in mpp_allocator_alloc() 93 static MPP_RET mpp_allocator_free(MppAllocator allocator, MppBufferInfo *info) in mpp_allocator_free() argument 95 return mpp_allocator_api_wrapper(allocator, info, ALLOC_API_FREE); in mpp_allocator_free() 98 static MPP_RET mpp_allocator_import(MppAllocator allocator, MppBufferInfo *info) in mpp_allocator_import() argument 100 return mpp_allocator_api_wrapper(allocator, info, ALLOC_API_IMPORT); in mpp_allocator_import() [all …]
|
| /rockchip-linux_mpp/mpp/hal/rkdec/ |
| H A D | vdpu34x_com.c | 43 static RK_S32 update_size_offset(Vdpu34xRcbInfo *info, RK_U32 reg, in update_size_offset() argument 49 info[idx].reg = reg; in update_size_offset() 50 info[idx].offset = offset; in update_size_offset() 51 info[idx].size = buf_size; in update_size_offset() 56 RK_S32 vdpu34x_get_rcb_buf_size(Vdpu34xRcbInfo *info, RK_S32 width, RK_S32 height) in vdpu34x_get_rcb_buf_size() argument 60 offset += update_size_offset(info, 139, offset, width, RCB_DBLK_ROW); in vdpu34x_get_rcb_buf_size() 61 offset += update_size_offset(info, 133, offset, width, RCB_INTRA_ROW); in vdpu34x_get_rcb_buf_size() 62 offset += update_size_offset(info, 134, offset, width, RCB_TRANSD_ROW); in vdpu34x_get_rcb_buf_size() 63 offset += update_size_offset(info, 136, offset, width, RCB_STRMD_ROW); in vdpu34x_get_rcb_buf_size() 64 offset += update_size_offset(info, 137, offset, width, RCB_INTER_ROW); in vdpu34x_get_rcb_buf_size() [all …]
|
| H A D | vdpu382_com.c | 43 static RK_S32 update_size_offset(Vdpu382RcbInfo *info, RK_U32 reg, in update_size_offset() argument 49 info[idx].reg = reg; in update_size_offset() 50 info[idx].offset = offset; in update_size_offset() 51 info[idx].size = buf_size; in update_size_offset() 56 RK_S32 vdpu382_get_rcb_buf_size(Vdpu382RcbInfo *info, RK_S32 width, RK_S32 height) in vdpu382_get_rcb_buf_size() argument 60 offset += update_size_offset(info, 139, offset, width, RCB_DBLK_ROW); in vdpu382_get_rcb_buf_size() 61 offset += update_size_offset(info, 133, offset, width, RCB_INTRA_ROW); in vdpu382_get_rcb_buf_size() 62 offset += update_size_offset(info, 134, offset, width, RCB_TRANSD_ROW); in vdpu382_get_rcb_buf_size() 63 offset += update_size_offset(info, 136, offset, width, RCB_STRMD_ROW); in vdpu382_get_rcb_buf_size() 64 offset += update_size_offset(info, 137, offset, width, RCB_INTER_ROW); in vdpu382_get_rcb_buf_size() [all …]
|
| H A D | vdpu383_com.c | 32 static RK_S32 update_size_offset(Vdpu383RcbInfo *info, RK_U32 reg_idx, in update_size_offset() argument 38 info[idx].reg_idx = reg_idx; in update_size_offset() 39 info[idx].offset = offset; in update_size_offset() 40 info[idx].size = buf_size; in update_size_offset() 45 RK_S32 vdpu383_get_rcb_buf_size(Vdpu383RcbInfo *info, RK_S32 width, RK_S32 height) in vdpu383_get_rcb_buf_size() argument 49 offset += update_size_offset(info, 140, offset, width, RCB_STRMD_ROW); in vdpu383_get_rcb_buf_size() 50 offset += update_size_offset(info, 142, offset, width, RCB_STRMD_TILE_ROW); in vdpu383_get_rcb_buf_size() 51 offset += update_size_offset(info, 144, offset, width, RCB_INTER_ROW); in vdpu383_get_rcb_buf_size() 52 offset += update_size_offset(info, 146, offset, width, RCB_INTER_TILE_ROW); in vdpu383_get_rcb_buf_size() 53 offset += update_size_offset(info, 148, offset, width, RCB_INTRA_ROW); in vdpu383_get_rcb_buf_size() [all …]
|
| H A D | vdpu384a_com.c | 33 static RK_S32 update_size_offset(Vdpu384aRcbInfo *info, RK_U32 reg_idx, in update_size_offset() argument 39 info[idx].reg_idx = reg_idx; in update_size_offset() 40 info[idx].offset = offset; in update_size_offset() 41 info[idx].size = buf_size; in update_size_offset() 46 RK_S32 vdpu384a_get_rcb_buf_size(Vdpu384aRcbInfo *info, RK_S32 width, RK_S32 height) in vdpu384a_get_rcb_buf_size() argument 50 offset += update_size_offset(info, 140, offset, width, RCB_STRMD_ROW); in vdpu384a_get_rcb_buf_size() 51 offset += update_size_offset(info, 142, offset, width, RCB_STRMD_TILE_ROW); in vdpu384a_get_rcb_buf_size() 52 offset += update_size_offset(info, 144, offset, width, RCB_INTER_ROW); in vdpu384a_get_rcb_buf_size() 53 offset += update_size_offset(info, 146, offset, width, RCB_INTER_TILE_ROW); in vdpu384a_get_rcb_buf_size() 54 offset += update_size_offset(info, 148, offset, width, RCB_INTRA_ROW); in vdpu384a_get_rcb_buf_size() [all …]
|
| /rockchip-linux_mpp/osal/allocator/ |
| H A D | allocator_ext_dma.c | 43 static MPP_RET allocator_ext_dma_alloc(void *ctx, MppBufferInfo *info) in allocator_ext_dma_alloc() argument 45 if (!ctx || !info) { in allocator_ext_dma_alloc() 53 static MPP_RET allocator_ext_dma_free(void *ctx, MppBufferInfo *info) in allocator_ext_dma_free() argument 55 if (!ctx || !info) { in allocator_ext_dma_free() 63 static MPP_RET allocator_ext_dma_import(void *ctx, MppBufferInfo *info) in allocator_ext_dma_import() argument 67 mpp_assert(info->size); in allocator_ext_dma_import() 69 if (info->ptr) { in allocator_ext_dma_import() 74 return ((info->fd < 0) ? MPP_ERR_VALUE : MPP_OK); in allocator_ext_dma_import() 77 static MPP_RET allocator_ext_dma_mmap(void *ctx, MppBufferInfo *info) in allocator_ext_dma_mmap() argument 83 mpp_assert(info->size); in allocator_ext_dma_mmap() [all …]
|
| H A D | allocator_std.c | 42 static MPP_RET allocator_std_alloc(void *ctx, MppBufferInfo *info) in allocator_std_alloc() argument 50 (void)info; in allocator_std_alloc() 55 static MPP_RET allocator_std_free(void *ctx, MppBufferInfo *info) in allocator_std_free() argument 58 if (info->ptr) in allocator_std_free() 59 os_free(info->ptr); in allocator_std_free() 63 static MPP_RET allocator_std_import(void *ctx, MppBufferInfo *info) in allocator_std_import() argument 67 mpp_assert(info->ptr); in allocator_std_import() 68 mpp_assert(info->size); in allocator_std_import() 69 info->hnd = NULL; in allocator_std_import() 70 info->fd = p->fd_count++; in allocator_std_import() [all …]
|
| H A D | allocator_dma_heap.c | 117 DmaHeapInfo *info = NULL; in dma_heap_init() local 125 info = &heap_infos[i]; in dma_heap_init() 127 if (info->fd > 0) in dma_heap_init() 130 info->fd = try_open_path(info->name); in dma_heap_init() 131 if (info->fd <= 0) in dma_heap_init() 138 info = &heap_infos[i]; in dma_heap_init() 140 if (info->fd > 0) in dma_heap_init() 155 dma_heap_dbg_chk("dma-heap type %x - %s remap failed\n", i, info->name); in dma_heap_init() 166 DmaHeapInfo *info = &heap_infos[i]; in dma_heap_deinit() local 168 if (info->fd > 0) { in dma_heap_deinit() [all …]
|
| /rockchip-linux_mpp/mpp/codec/rc/ |
| H A D | vp8e_rc.c | 59 EncRcTaskInfo *info = &task->info; in rc_model_v2_vp8_hal_start() local 64 RK_S32 bit_min = info->bit_min; in rc_model_v2_vp8_hal_start() 65 RK_S32 bit_max = info->bit_max; in rc_model_v2_vp8_hal_start() 66 RK_S32 bit_target = info->bit_target; in rc_model_v2_vp8_hal_start() 67 RK_S32 quality_min = info->quality_min; in rc_model_v2_vp8_hal_start() 68 RK_S32 quality_max = info->quality_max; in rc_model_v2_vp8_hal_start() 69 RK_S32 quality_target = info->quality_target; in rc_model_v2_vp8_hal_start() 77 info->quality_target = qp; in rc_model_v2_vp8_hal_start() 78 info->quality_max = qp; in rc_model_v2_vp8_hal_start() 79 info->quality_min = qp; in rc_model_v2_vp8_hal_start() [all …]
|
| H A D | rc_model_v2.c | 327 MPP_RET bits_model_preset(RcModelV2Ctx *ctx, EncRcTaskInfo *info) in bits_model_preset() argument 330 RK_S32 preset_bit = info->bit_target; in bits_model_preset() 346 switch (info->frame_type) { in bits_model_preset() 373 mpp_data_update_v2(ctx->madi, info->madi); in bits_model_preset() 781 void rc_hier_calc_dealt_qp(RcModelV2Ctx *p, EncRcTaskInfo *info) in rc_hier_calc_dealt_qp() argument 788 if (info->frame_type == INTRA_FRAME || info->frame_type == INTER_VI_FRAME) { in rc_hier_calc_dealt_qp() 1392 EncRcTaskInfo *info = &task->info; in rc_model_v2_start() local 1414 info->quality_max = usr_cfg->max_i_quality; in rc_model_v2_start() 1415 info->quality_min = usr_cfg->min_i_quality; in rc_model_v2_start() 1416 info->quality_target = usr_cfg->init_quality; in rc_model_v2_start() [all …]
|
| /rockchip-linux_mpp/mpp/vproc/iep/test/ |
| H A D | iep_test.c | 250 IepTestInfo *info = (IepTestInfo*)param; in iep_process_thread() local 251 IepTestCfg *cfg = info->cfg; in iep_process_thread() 253 config_iep_img(&info->src, cfg->src_w, cfg->src_h, cfg->src_fmt, info->phy_src0); in iep_process_thread() 254 config_iep_img(&info->dst, cfg->dst_w, cfg->dst_h, cfg->dst_fmt, info->phy_dst0); in iep_process_thread() 256 if (info->src_size > fread(info->vir_src0, 1, info->src_size, cfg->fp_src)) { in iep_process_thread() 261 iep_control(info->ctx, IEP_CMD_INIT, NULL); in iep_process_thread() 262 iep_control(info->ctx, IEP_CMD_SET_SRC, &info->src); in iep_process_thread() 263 iep_control(info->ctx, IEP_CMD_SET_DST, &info->dst); in iep_process_thread() 267 iep_control(info->ctx, IEP_CMD_SET_YUV_ENHANCE, cfg->yuv_enh); in iep_process_thread() 270 iep_control(info->ctx, IEP_CMD_SET_RGB_ENHANCE, cfg->rgb_enh); in iep_process_thread() [all …]
|
| /rockchip-linux_mpp/mpp/base/inc/ |
| H A D | mpp_trie.h | 58 static inline const char *mpp_trie_info_name(MppTrieInfo *info) in mpp_trie_info_name() argument 60 return (info) ? (const char *)(info + 1) : NULL; in mpp_trie_info_name() 63 static inline void *mpp_trie_info_ctx(MppTrieInfo *info) in mpp_trie_info_ctx() argument 65 return (info) ? (void *)((char *)(info + 1) + info->str_len) : NULL; in mpp_trie_info_ctx() 68 static inline rk_s32 mpp_trie_info_is_self(MppTrieInfo *info) in mpp_trie_info_is_self() argument 70 return (info) ? !!strstr((const char *)(info + 1), "__") : 0; in mpp_trie_info_is_self() 81 MppTrieInfo *mpp_trie_get_info_next(MppTrie trie, MppTrieInfo *info);
|
| /rockchip-linux_mpp/mpp/hal/common/ |
| H A D | hal_info.c | 78 HalInfoImpl *info = (HalInfoImpl *)ctx; in hal_info_set() local 81 switch (info->type) { in hal_info_set() 103 mpp_err_f("found invalid ctx type %d\n", info->type); in hal_info_set() 108 elems = &info->elems[type]; in hal_info_set() 115 info->updated |= (1 << type); in hal_info_set() 133 HalInfoImpl *info = (HalInfoImpl *)ctx; in hal_info_get() local 134 if (!info->updated) { in hal_info_get() 140 RK_S32 elem_size = sizeof(info->elems[0]); in hal_info_get() 145 switch (info->type) { in hal_info_get() 153 mpp_err_f("found invalid ctx type %d\n", info->type); in hal_info_get() [all …]
|
| /rockchip-linux_mpp/kmpp/base/ |
| H A D | kmpp_obj.c | 295 static rk_s32 kmpp_ktrie_get(KmppKtrieInfo *info, const char *path, rk_ul cmd) in kmpp_ktrie_get() argument 303 info->fd = fd; in kmpp_ktrie_get() 304 info->trie = NULL; in kmpp_ktrie_get() 305 info->root = NULL; in kmpp_ktrie_get() 330 info->trie = trie; in kmpp_ktrie_get() 331 info->root = root; in kmpp_ktrie_get() 337 rk_s32 kmpp_ktrie_put(KmppKtrieInfo *info) in kmpp_ktrie_put() argument 339 if (info->fd >= 0) { in kmpp_ktrie_put() 340 close(info->fd); in kmpp_ktrie_put() 341 info->fd = -1; in kmpp_ktrie_put() [all …]
|
| /rockchip-linux_mpp/utils/ |
| H A D | mpp_opt.c | 74 MPP_RET mpp_opt_add(MppOpt opt, MppOptInfo *info) in mpp_opt_add() argument 81 if (NULL == info) in mpp_opt_add() 84 return mpp_trie_add_info(impl->trie, info->name, info, sizeof(*info)); in mpp_opt_add() 107 MppOptInfo *info = NULL; in mpp_opt_parse() local 116 info = mpp_trie_info_ctx(node); in mpp_opt_parse() 117 if (info->proc) in mpp_opt_parse() 118 step = info->proc(impl->ctx, next); in mpp_opt_parse()
|
| /rockchip-linux_mpp/mpp/ |
| H A D | mpp_impl.c | 282 MPP_RET mpp_dump_init(MppDump *info) in mpp_dump_init() argument 285 *info = NULL; in mpp_dump_init() 301 *info = p; in mpp_dump_init() 306 MPP_RET mpp_dump_deinit(MppDump *info) in mpp_dump_deinit() argument 308 if (info && *info) { in mpp_dump_deinit() 309 MppDumpImpl *p = (MppDumpImpl *)*info; in mpp_dump_deinit() 322 MPP_RET mpp_ops_init(MppDump info, MppCtxType type, MppCodingType coding) in mpp_ops_init() argument 324 MppDumpImpl *p = (MppDumpImpl *)info; in mpp_ops_init() 326 if (NULL == info) in mpp_ops_init() 368 MPP_RET mpp_ops_dec_put_pkt(MppDump info, MppPacket pkt) in mpp_ops_dec_put_pkt() argument [all …]
|
| /rockchip-linux_mpp/osal/driver/ |
| H A D | mpp_service.c | 204 RegOffsetInfo *info = NULL; in mpp_service_next_reg_offset() local 222 info = &p->reg_offset_info[p->reg_offset_count + p->reg_offset_pos]; in mpp_service_next_reg_offset() 226 return info; in mpp_service_next_reg_offset() 232 RcbInfo *info = NULL; in mpp_service_next_rcb_info() local 246 info = &p->rcb_info[p->rcb_count + p->rcb_pos]; in mpp_service_next_rcb_info() 250 return info; in mpp_service_next_rcb_info() 522 RegOffsetInfo *info; in mpp_service_reg_offset() local 534 info = &p->reg_offset_info[p->reg_offset_pos + i]; in mpp_service_reg_offset() 536 if (info->reg_idx == cfg->reg_idx) { in mpp_service_reg_offset() 538 info->reg_idx, info->offset, cfg->offset); in mpp_service_reg_offset() [all …]
|