Home
last modified time | relevance | path

Searched refs:p_enc_info (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/media/platform/chips-media/wave5/
Dwave5-vpuapi.c668 struct enc_info *p_enc_info; in wave5_vpu_enc_open() local
685 p_enc_info = &inst->codec_info->enc_info; in wave5_vpu_enc_open()
686 p_enc_info->open_param = *open_param; in wave5_vpu_enc_open()
696 struct enc_info *p_enc_info = &inst->codec_info->enc_info; in wave5_vpu_enc_close() local
726 wave5_vdi_free_dma_memory(vpu_dev, &p_enc_info->vb_work); in wave5_vpu_enc_close()
729 wave5_vdi_free_dma_memory(vpu_dev, &p_enc_info->vb_sub_sam_buf); in wave5_vpu_enc_close()
730 wave5_vdi_free_dma_memory(vpu_dev, &p_enc_info->vb_mv); in wave5_vpu_enc_close()
731 wave5_vdi_free_dma_memory(vpu_dev, &p_enc_info->vb_fbc_y_tbl); in wave5_vpu_enc_close()
732 wave5_vdi_free_dma_memory(vpu_dev, &p_enc_info->vb_fbc_c_tbl); in wave5_vpu_enc_close()
735 wave5_vdi_free_dma_memory(vpu_dev, &p_enc_info->vb_task); in wave5_vpu_enc_close()
[all …]
Dwave5-hw.c1545 struct enc_info *p_enc_info = &inst->codec_info->enc_info; in wave5_vpu_build_up_enc_param() local
1551 p_enc_info->cycle_per_tick = 256; in wave5_vpu_build_up_enc_param()
1553 p_enc_info->sec_axi_info.use_enc_rdo_enable = 1; in wave5_vpu_build_up_enc_param()
1554 p_enc_info->sec_axi_info.use_enc_lf_enable = 1; in wave5_vpu_build_up_enc_param()
1557 p_enc_info->vb_work.size = WAVE521ENC_WORKBUF_SIZE; in wave5_vpu_build_up_enc_param()
1558 ret = wave5_vdi_allocate_dma_memory(vpu_dev, &p_enc_info->vb_work); in wave5_vpu_build_up_enc_param()
1560 memset(&p_enc_info->vb_work, 0, sizeof(p_enc_info->vb_work)); in wave5_vpu_build_up_enc_param()
1564 wave5_vdi_clear_memory(vpu_dev, &p_enc_info->vb_work); in wave5_vpu_build_up_enc_param()
1566 vpu_write_reg(inst->dev, W5_ADDR_WORK_BASE, p_enc_info->vb_work.daddr); in wave5_vpu_build_up_enc_param()
1567 vpu_write_reg(inst->dev, W5_WORK_SIZE, p_enc_info->vb_work.size); in wave5_vpu_build_up_enc_param()
[all …]