/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/avs2/ |
D | vavs2.c | 225 #define lock_buffer(dec, flags) \ argument 226 spin_lock_irqsave(&dec->buffer_lock, flags) 228 #define unlock_buffer(dec, flags) \ argument 229 spin_unlock_irqrestore(&dec->buffer_lock, flags) 294 static void set_vframe(struct AVS2Decoder_s *dec, 297 static int vavs2_stop(struct AVS2Decoder_s *dec); 299 static void vavs2_prot_init(struct AVS2Decoder_s *dec); 300 static int vavs2_local_init(struct AVS2Decoder_s *dec); 302 static void dump_data(struct AVS2Decoder_s *dec, int size); 304 (struct AVS2Decoder_s *dec, int size); [all …]
|
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/ |
D | mpp_rkvdec.c | 261 static int rkvdec_devf_set_clk(struct rkvdec_dev *dec, in rkvdec_devf_set_clk() argument 267 struct clk *aclk = dec->aclk_info.clk; in rkvdec_devf_set_clk() 268 struct clk *clk_core = dec->core_clk_info.clk; in rkvdec_devf_set_clk() 269 struct clk *clk_cabac = dec->cabac_clk_info.clk; in rkvdec_devf_set_clk() 271 mutex_lock(&dec->set_clk_lock); in rkvdec_devf_set_clk() 275 clk_set_rate(aclk, dec->devf_aclk_rate_hz); in rkvdec_devf_set_clk() 276 clk_set_rate(clk_core, dec->devf_core_rate_hz); in rkvdec_devf_set_clk() 277 clk_set_rate(clk_cabac, dec->devf_cabac_rate_hz); in rkvdec_devf_set_clk() 278 dec->thermal_div = 0; in rkvdec_devf_set_clk() 284 dec->thermal_div = 0; in rkvdec_devf_set_clk() [all …]
|
D | mpp_rkvdec2.c | 158 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in mpp_set_rcbbuf() local 163 if (priv && dec->rcb_iova) { in mpp_set_rcbbuf() 169 if (width < dec->rcb_min_width) in mpp_set_rcbbuf() 176 if ((rcb_offset + rcb_size) > dec->rcb_size) { in mpp_set_rcbbuf() 183 task->reg[reg_idx] = dec->rcb_iova + rcb_offset; in mpp_set_rcbbuf() 580 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec2_procfs_remove() local 582 if (dec->procfs) { in rkvdec2_procfs_remove() 583 proc_remove(dec->procfs); in rkvdec2_procfs_remove() 584 dec->procfs = NULL; in rkvdec2_procfs_remove() 599 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec2_procfs_init() local [all …]
|
D | mpp_jpgdec.c | 357 struct jpgdec_dev *dec = to_jpgdec_dev(mpp); in jpgdec_procfs_remove() local 359 if (dec->procfs) { in jpgdec_procfs_remove() 360 proc_remove(dec->procfs); in jpgdec_procfs_remove() 361 dec->procfs = NULL; in jpgdec_procfs_remove() 369 struct jpgdec_dev *dec = to_jpgdec_dev(mpp); in jpgdec_procfs_init() local 371 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in jpgdec_procfs_init() 372 if (IS_ERR_OR_NULL(dec->procfs)) { in jpgdec_procfs_init() 374 dec->procfs = NULL; in jpgdec_procfs_init() 378 dec->procfs, &dec->aclk_info.debug_rate_hz); in jpgdec_procfs_init() 380 dec->procfs, &mpp->session_max_buffers); in jpgdec_procfs_init() [all …]
|
D | mpp_vdpu2.c | 439 struct vdpu_dev *dec = to_vdpu_dev(mpp); in vdpu_procfs_remove() local 441 if (dec->procfs) { in vdpu_procfs_remove() 442 proc_remove(dec->procfs); in vdpu_procfs_remove() 443 dec->procfs = NULL; in vdpu_procfs_remove() 451 struct vdpu_dev *dec = to_vdpu_dev(mpp); in vdpu_procfs_init() local 453 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in vdpu_procfs_init() 454 if (IS_ERR_OR_NULL(dec->procfs)) { in vdpu_procfs_init() 456 dec->procfs = NULL; in vdpu_procfs_init() 460 dec->procfs, &dec->aclk_info.debug_rate_hz); in vdpu_procfs_init() 462 dec->procfs, &mpp->session_max_buffers); in vdpu_procfs_init() [all …]
|
D | mpp_vdpu1.c | 486 struct vdpu_dev *dec = to_vdpu_dev(mpp); in vdpu_procfs_remove() local 488 if (dec->procfs) { in vdpu_procfs_remove() 489 proc_remove(dec->procfs); in vdpu_procfs_remove() 490 dec->procfs = NULL; in vdpu_procfs_remove() 498 struct vdpu_dev *dec = to_vdpu_dev(mpp); in vdpu_procfs_init() local 500 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in vdpu_procfs_init() 501 if (IS_ERR_OR_NULL(dec->procfs)) { in vdpu_procfs_init() 503 dec->procfs = NULL; in vdpu_procfs_init() 507 dec->procfs, &dec->aclk_info.debug_rate_hz); in vdpu_procfs_init() 509 dec->procfs, &mpp->session_max_buffers); in vdpu_procfs_init() [all …]
|
D | mpp_rkvdec2_link.c | 208 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec_link_dump() local 209 struct rkvdec_link_dev *dev = dec->link_dec; in rkvdec_link_dump() 482 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec2_link_finish() local 484 struct rkvdec_link_dev *link_dec = dec->link_dec; in rkvdec2_link_finish() 622 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec2_link_prepare() local 623 struct rkvdec_link_dev *link_dec = dec->link_dec; in rkvdec2_link_prepare() 651 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec2_link_reset() local 662 mutex_lock(&dec->sip_reset_lock); in rkvdec2_link_reset() 666 mutex_unlock(&dec->sip_reset_lock); in rkvdec2_link_reset() 686 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec2_link_irq() local [all …]
|
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/ |
D | mpp_rkvdec.c | 252 static int rkvdec_devf_set_clk(struct rkvdec_dev *dec, unsigned long aclk_rate_hz, unsigned long co… in rkvdec_devf_set_clk() argument 255 struct clk *aclk = dec->aclk_info.clk; in rkvdec_devf_set_clk() 256 struct clk *clk_core = dec->core_clk_info.clk; in rkvdec_devf_set_clk() 257 struct clk *clk_cabac = dec->cabac_clk_info.clk; in rkvdec_devf_set_clk() 259 mutex_lock(&dec->set_clk_lock); in rkvdec_devf_set_clk() 263 clk_set_rate(aclk, dec->devf_aclk_rate_hz); in rkvdec_devf_set_clk() 264 clk_set_rate(clk_core, dec->devf_core_rate_hz); in rkvdec_devf_set_clk() 265 clk_set_rate(clk_cabac, dec->devf_cabac_rate_hz); in rkvdec_devf_set_clk() 266 dec->thermal_div = 0; in rkvdec_devf_set_clk() 272 dec->thermal_div = 0; in rkvdec_devf_set_clk() [all …]
|
D | mpp_rkvdec2.c | 158 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in mpp_set_rcbbuf() local 163 if (priv && dec->rcb_iova) { in mpp_set_rcbbuf() 169 if (width < dec->rcb_min_width) { in mpp_set_rcbbuf() 177 if ((rcb_offset + rcb_size) > dec->rcb_size) { in mpp_set_rcbbuf() 182 task->reg[reg_idx] = dec->rcb_iova + rcb_offset; in mpp_set_rcbbuf() 576 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec2_procfs_remove() local 578 if (dec->procfs) { in rkvdec2_procfs_remove() 579 proc_remove(dec->procfs); in rkvdec2_procfs_remove() 580 dec->procfs = NULL; in rkvdec2_procfs_remove() 595 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec2_procfs_init() local [all …]
|
D | mpp_jpgdec.c | 345 struct jpgdec_dev *dec = to_jpgdec_dev(mpp); in jpgdec_procfs_remove() local 347 if (dec->procfs) { in jpgdec_procfs_remove() 348 proc_remove(dec->procfs); in jpgdec_procfs_remove() 349 dec->procfs = NULL; in jpgdec_procfs_remove() 357 struct jpgdec_dev *dec = to_jpgdec_dev(mpp); in jpgdec_procfs_init() local 359 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in jpgdec_procfs_init() 360 if (IS_ERR_OR_NULL(dec->procfs)) { in jpgdec_procfs_init() 362 dec->procfs = NULL; in jpgdec_procfs_init() 365 mpp_procfs_create_u32("aclk", FILE_RIGHT_644, dec->procfs, &dec->aclk_info.debug_rate_hz); in jpgdec_procfs_init() 366 … mpp_procfs_create_u32("session_buffers", FILE_RIGHT_644, dec->procfs, &mpp->session_max_buffers); in jpgdec_procfs_init() [all …]
|
D | mpp_vdpu2.c | 421 struct vdpu_dev *dec = to_vdpu_dev(mpp); in vdpu_procfs_remove() local 423 if (dec->procfs) { in vdpu_procfs_remove() 424 proc_remove(dec->procfs); in vdpu_procfs_remove() 425 dec->procfs = NULL; in vdpu_procfs_remove() 433 struct vdpu_dev *dec = to_vdpu_dev(mpp); in vdpu_procfs_init() local 435 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in vdpu_procfs_init() 436 if (IS_ERR_OR_NULL(dec->procfs)) { in vdpu_procfs_init() 438 dec->procfs = NULL; in vdpu_procfs_init() 441 mpp_procfs_create_u32("aclk", FILE_RIGHT_644, dec->procfs, &dec->aclk_info.debug_rate_hz); in vdpu_procfs_init() 442 … mpp_procfs_create_u32("session_buffers", FILE_RIGHT_644, dec->procfs, &mpp->session_max_buffers); in vdpu_procfs_init() [all …]
|
D | mpp_vdpu1.c | 469 struct vdpu_dev *dec = to_vdpu_dev(mpp); in vdpu_procfs_remove() local 471 if (dec->procfs) { in vdpu_procfs_remove() 472 proc_remove(dec->procfs); in vdpu_procfs_remove() 473 dec->procfs = NULL; in vdpu_procfs_remove() 481 struct vdpu_dev *dec = to_vdpu_dev(mpp); in vdpu_procfs_init() local 483 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in vdpu_procfs_init() 484 if (IS_ERR_OR_NULL(dec->procfs)) { in vdpu_procfs_init() 486 dec->procfs = NULL; in vdpu_procfs_init() 489 mpp_procfs_create_u32("aclk", FILE_RIGHT_644, dec->procfs, &dec->aclk_info.debug_rate_hz); in vdpu_procfs_init() 490 … mpp_procfs_create_u32("session_buffers", FILE_RIGHT_644, dec->procfs, &mpp->session_max_buffers); in vdpu_procfs_init() [all …]
|
D | mpp_rkvdec2_link.c | 208 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec_link_dump() local 209 struct rkvdec_link_dev *dev = dec->link_dec; in rkvdec_link_dump() 480 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec2_link_finish() local 482 struct rkvdec_link_dev *link_dec = dec->link_dec; in rkvdec2_link_finish() 606 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec2_link_prepare() local 607 struct rkvdec_link_dev *link_dec = dec->link_dec; in rkvdec2_link_prepare() 635 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec2_link_reset() local 646 mutex_lock(&dec->sip_reset_lock); in rkvdec2_link_reset() 650 mutex_unlock(&dec->sip_reset_lock); in rkvdec2_link_reset() 670 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec2_link_irq() local [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/video/rockchip/mpp/ |
D | mpp_rkvdec.c | 259 static int rkvdec_devf_set_clk(struct rkvdec_dev *dec, in rkvdec_devf_set_clk() argument 265 struct clk *aclk = dec->aclk_info.clk; in rkvdec_devf_set_clk() 266 struct clk *clk_core = dec->core_clk_info.clk; in rkvdec_devf_set_clk() 267 struct clk *clk_cabac = dec->cabac_clk_info.clk; in rkvdec_devf_set_clk() 269 mutex_lock(&dec->set_clk_lock); in rkvdec_devf_set_clk() 273 clk_set_rate(aclk, dec->devf_aclk_rate_hz); in rkvdec_devf_set_clk() 274 clk_set_rate(clk_core, dec->devf_core_rate_hz); in rkvdec_devf_set_clk() 275 clk_set_rate(clk_cabac, dec->devf_cabac_rate_hz); in rkvdec_devf_set_clk() 276 dec->thermal_div = 0; in rkvdec_devf_set_clk() 282 dec->thermal_div = 0; in rkvdec_devf_set_clk() [all …]
|
D | mpp_rkvdec2.c | 167 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in mpp_set_rcbbuf() local 172 if (priv && dec->rcb_iova) { in mpp_set_rcbbuf() 178 if (width < dec->rcb_min_width) in mpp_set_rcbbuf() 185 if ((rcb_offset + rcb_size) > dec->rcb_size) { in mpp_set_rcbbuf() 192 task->reg[reg_idx] = dec->rcb_iova + rcb_offset; in mpp_set_rcbbuf() 548 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec2_procfs_remove() local 550 if (dec->procfs) { in rkvdec2_procfs_remove() 551 proc_remove(dec->procfs); in rkvdec2_procfs_remove() 552 dec->procfs = NULL; in rkvdec2_procfs_remove() 567 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec2_procfs_init() local [all …]
|
D | mpp_av1dec.c | 482 static int av1dec_set_l2_cache(struct av1dec_dev *dec, struct av1dec_task *task) in av1dec_set_l2_cache() argument 506 dec->reg_base[AV1DEC_CLASS_CACHE] + AV1_L2_CACHE_PP0_Y_CONFIG0); in av1dec_set_l2_cache() 508 writel_relaxed(val, dec->reg_base[AV1DEC_CLASS_CACHE] + AV1_L2_CACHE_PP0_Y_CONFIG2); in av1dec_set_l2_cache() 511 writel_relaxed(val, dec->reg_base[AV1DEC_CLASS_CACHE] + AV1_L2_CACHE_PP0_Y_CONFIG3); in av1dec_set_l2_cache() 520 dec->reg_base[AV1DEC_CLASS_CACHE] + AV1_L2_CACHE_PP0_U_CONFIG0); in av1dec_set_l2_cache() 522 writel_relaxed(val, dec->reg_base[AV1DEC_CLASS_CACHE] + AV1_L2_CACHE_PP0_U_CONFIG2); in av1dec_set_l2_cache() 525 writel_relaxed(val, dec->reg_base[AV1DEC_CLASS_CACHE] + AV1_L2_CACHE_PP0_U_CONFIG3); in av1dec_set_l2_cache() 528 dec->reg_base[AV1DEC_CLASS_CACHE] + AV1_L2_CACHE_SHAPER_CTRL); in av1dec_set_l2_cache() 534 writel_relaxed(0x00000001, dec->reg_base[AV1DEC_CLASS_CACHE] + AV1_L2_CACHE_RD_ONLY_CONFIG); in av1dec_set_l2_cache() 536 writel_relaxed(0x00000081, dec->reg_base[AV1DEC_CLASS_CACHE] + AV1_L2_CACHE_RD_ONLY_CTRL); in av1dec_set_l2_cache() [all …]
|
D | mpp_jpgdec.c | 357 struct jpgdec_dev *dec = to_jpgdec_dev(mpp); in jpgdec_procfs_remove() local 359 if (dec->procfs) { in jpgdec_procfs_remove() 360 proc_remove(dec->procfs); in jpgdec_procfs_remove() 361 dec->procfs = NULL; in jpgdec_procfs_remove() 369 struct jpgdec_dev *dec = to_jpgdec_dev(mpp); in jpgdec_procfs_init() local 371 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in jpgdec_procfs_init() 372 if (IS_ERR_OR_NULL(dec->procfs)) { in jpgdec_procfs_init() 374 dec->procfs = NULL; in jpgdec_procfs_init() 378 dec->procfs, &dec->aclk_info.debug_rate_hz); in jpgdec_procfs_init() 380 dec->procfs, &mpp->session_max_buffers); in jpgdec_procfs_init() [all …]
|
D | mpp_vdpu2.c | 438 struct vdpu_dev *dec = to_vdpu_dev(mpp); in vdpu_procfs_remove() local 440 if (dec->procfs) { in vdpu_procfs_remove() 441 proc_remove(dec->procfs); in vdpu_procfs_remove() 442 dec->procfs = NULL; in vdpu_procfs_remove() 450 struct vdpu_dev *dec = to_vdpu_dev(mpp); in vdpu_procfs_init() local 452 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in vdpu_procfs_init() 453 if (IS_ERR_OR_NULL(dec->procfs)) { in vdpu_procfs_init() 455 dec->procfs = NULL; in vdpu_procfs_init() 459 dec->procfs, &dec->aclk_info.debug_rate_hz); in vdpu_procfs_init() 461 dec->procfs, &mpp->session_max_buffers); in vdpu_procfs_init() [all …]
|
D | mpp_vdpu1.c | 486 struct vdpu_dev *dec = to_vdpu_dev(mpp); in vdpu_procfs_remove() local 488 if (dec->procfs) { in vdpu_procfs_remove() 489 proc_remove(dec->procfs); in vdpu_procfs_remove() 490 dec->procfs = NULL; in vdpu_procfs_remove() 498 struct vdpu_dev *dec = to_vdpu_dev(mpp); in vdpu_procfs_init() local 500 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in vdpu_procfs_init() 501 if (IS_ERR_OR_NULL(dec->procfs)) { in vdpu_procfs_init() 503 dec->procfs = NULL; in vdpu_procfs_init() 507 dec->procfs, &dec->aclk_info.debug_rate_hz); in vdpu_procfs_init() 509 dec->procfs, &mpp->session_max_buffers); in vdpu_procfs_init() [all …]
|
D | mpp_rkvdec2_link.c | 206 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec_link_dump() local 207 struct rkvdec_link_dev *dev = dec->link_dec; in rkvdec_link_dump() 478 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec2_link_finish() local 480 struct rkvdec_link_dev *link_dec = dec->link_dec; in rkvdec2_link_finish() 618 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec2_link_prepare() local 619 struct rkvdec_link_dev *link_dec = dec->link_dec; in rkvdec2_link_prepare() 647 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec2_link_reset() local 658 mutex_lock(&dec->sip_reset_lock); in rkvdec2_link_reset() 662 mutex_unlock(&dec->sip_reset_lock); in rkvdec2_link_reset() 682 struct rkvdec2_dev *dec = to_rkvdec2_dev(mpp); in rkvdec2_link_irq() local [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/amvdec_ports/decoder/ |
D | vdec_vp9_if.c | 104 struct vdec_vp9_dec_info dec; member 161 *dpb_sz = inst->vsi->dec.dpb_sz; in get_dpb_size() 188 if (ctx->config.parm.dec.parms_status & in vdec_parser_parms() 194 ctx->config.parm.dec.cfg.ref_buf_margin); in vdec_parser_parms() 196 ctx->config.parm.dec.cfg.double_write_mode); in vdec_parser_parms() 198 ctx->config.parm.dec.cfg.init_width); in vdec_parser_parms() 200 ctx->config.parm.dec.cfg.init_height); in vdec_parser_parms() 204 ctx->config.parm.dec.cfg.canvas_mem_mode); in vdec_parser_parms() 206 ctx->config.parm.dec.cfg.canvas_mem_endian); in vdec_parser_parms() 209 ctx->config.parm.dec.cfg.double_write_mode = 16; in vdec_parser_parms() [all …]
|
D | vdec_mpeg12_if.c | 92 struct vdec_mpeg12_dec_info dec; member 146 *dpb_sz = inst->vsi->dec.dpb_sz; in get_dpb_size() 165 if (ctx->config.parm.dec.parms_status & in vdec_parser_parms() 171 ctx->config.parm.dec.cfg.canvas_mem_mode); in vdec_parser_parms() 173 ctx->config.parm.dec.cfg.ref_buf_margin); in vdec_parser_parms() 180 inst->parms.cfg = ctx->config.parm.dec.cfg; in vdec_parser_parms() 268 struct vdec_mpeg12_dec_info *dec = &inst->vsi->dec; in fill_vdec_params() local 289 dec->dpb_sz = 15; in fill_vdec_params() 294 pic->visible_width, pic->visible_height, dec->dpb_sz); in fill_vdec_params() 313 return inst->vsi->dec.dpb_sz ? 0 : -1; in parse_stream_ucode() [all …]
|
D | vdec_mpeg4_if.c | 92 struct vdec_mpeg4_dec_info dec; member 146 *dpb_sz = inst->vsi->dec.dpb_sz; in get_dpb_size() 165 if (ctx->config.parm.dec.parms_status & in vdec_parser_parms() 171 ctx->config.parm.dec.cfg.canvas_mem_mode); in vdec_parser_parms() 173 ctx->config.parm.dec.cfg.ref_buf_margin); in vdec_parser_parms() 180 inst->parms.cfg = ctx->config.parm.dec.cfg; in vdec_parser_parms() 278 struct vdec_mpeg4_dec_info *dec = &inst->vsi->dec; in fill_vdec_params() local 299 dec->dpb_sz = 8; in fill_vdec_params() 304 pic->visible_width, pic->visible_height, dec->dpb_sz); in fill_vdec_params() 323 return inst->vsi->dec.dpb_sz ? 0 : -1; in parse_stream_ucode() [all …]
|
D | vdec_hevc_if.c | 93 struct vdec_hevc_dec_info dec; member 146 *dpb_sz = inst->vsi->dec.dpb_sz; in get_dpb_size() 170 if (ctx->config.parm.dec.parms_status & in vdec_parser_parms() 176 ctx->config.parm.dec.cfg.ref_buf_margin); in vdec_parser_parms() 178 ctx->config.parm.dec.cfg.double_write_mode); in vdec_parser_parms() 183 ctx->config.parm.dec.cfg.canvas_mem_mode); in vdec_parser_parms() 185 ctx->config.parm.dec.cfg.canvas_mem_endian); in vdec_parser_parms() 188 ctx->config.parm.dec.cfg.double_write_mode = 16; in vdec_parser_parms() 189 ctx->config.parm.dec.cfg.ref_buf_margin = 7; in vdec_parser_parms() 194 inst->parms.cfg = ctx->config.parm.dec.cfg; in vdec_parser_parms() [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/modules/sensor/nvp6134/ |
D | csi_dev_nvp6134.c | 78 int check_id(unsigned int dec) in check_id() argument 82 gpio_i2c_write(dec, 0xFF, 0x00); in check_id() 83 ret = gpio_i2c_read(dec, 0xf4); in check_id() 94 int check_rev(unsigned int dec) in check_rev() argument 98 gpio_i2c_write(dec, 0xFF, 0x00); in check_rev() 99 ret = gpio_i2c_read(dec, 0xf5); in check_rev()
|