Home
last modified time | relevance | path

Searched refs:amvdec_write_dos (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/staging/media/meson/vdec/
H A Dvdec_1.c57 amvdec_write_dos(core, MPSR, 0); in vdec_1_load_firmware()
58 amvdec_write_dos(core, CPSR, 0); in vdec_1_load_firmware()
92 amvdec_write_dos(core, POWER_CTL_VLD, BIT(4)); in vdec_1_stbuf_power_up()
120 amvdec_write_dos(core, DOS_GEN_CTRL0, 0); in vdec_1_conf_esparser()
137 amvdec_write_dos(core, MPSR, 0); in vdec_1_stop()
138 amvdec_write_dos(core, CPSR, 0); in vdec_1_stop()
142 amvdec_write_dos(core, DOS_SW_RESET0, 0); in vdec_1_stop()
194 amvdec_write_dos(core, DOS_GCLK_EN0, 0x3ff); in vdec_1_start()
197 amvdec_write_dos(core, DOS_MEM_PD_VDEC, 0); in vdec_1_start()
207 amvdec_write_dos(core, GCLK_EN, 0x3ff); in vdec_1_start()
[all …]
H A Dvdec_hevc.c59 amvdec_write_dos(core, HEVC_MPSR, 0); in vdec_hevc_load_firmware()
60 amvdec_write_dos(core, HEVC_CPSR, 0); in vdec_hevc_load_firmware()
84 amvdec_write_dos(core, HEVC_STREAM_CONTROL, in vdec_hevc_stbuf_init()
87 amvdec_write_dos(core, HEVC_STREAM_END_ADDR, in vdec_hevc_stbuf_init()
99 amvdec_write_dos(core, DOS_GEN_CTRL0, 3 << 1); in vdec_hevc_conf_esparser()
100 amvdec_write_dos(core, HEVC_STREAM_CONTROL, in vdec_hevc_conf_esparser()
102 amvdec_write_dos(core, HEVC_STREAM_CONTROL, in vdec_hevc_conf_esparser()
104 amvdec_write_dos(core, HEVC_STREAM_FIFO_CTL, in vdec_hevc_conf_esparser()
121 amvdec_write_dos(core, HEVC_MPSR, 0); in vdec_hevc_stop()
216 amvdec_write_dos(core, DOS_SW_RESET3, 0); in vdec_hevc_start()
[all …]
H A Dcodec_mpeg12.c89 amvdec_write_dos(core, MREG_CO_MV_START, in codec_mpeg12_start()
92 amvdec_write_dos(core, MPEG1_2_REG, 0); in codec_mpeg12_start()
93 amvdec_write_dos(core, PSCALE_CTRL, 0); in codec_mpeg12_start()
94 amvdec_write_dos(core, PIC_HEAD_INFO, 0x380); in codec_mpeg12_start()
95 amvdec_write_dos(core, M4_CONTROL_REG, 0); in codec_mpeg12_start()
96 amvdec_write_dos(core, MREG_BUFFERIN, 0); in codec_mpeg12_start()
97 amvdec_write_dos(core, MREG_BUFFEROUT, 0); in codec_mpeg12_start()
99 amvdec_write_dos(core, MREG_ERROR_COUNT, 0); in codec_mpeg12_start()
100 amvdec_write_dos(core, MREG_FATAL_ERROR, 0); in codec_mpeg12_start()
101 amvdec_write_dos(core, MREG_WAIT_BUFFER, 0); in codec_mpeg12_start()
[all …]
H A Dcodec_hevc_common.c38 amvdec_write_dos(core, HEVCD_MPP_DECOMP_CTL1, BIT(31)); in codec_hevc_setup_decode_head()
44 amvdec_write_dos(core, HEVCD_MPP_DECOMP_CTL1, BIT(4)); in codec_hevc_setup_decode_head()
46 amvdec_write_dos(core, HEVCD_MPP_DECOMP_CTL1, 0); in codec_hevc_setup_decode_head()
50 amvdec_write_dos(core, HEVC_CM_BODY_LENGTH, body_size); in codec_hevc_setup_decode_head()
51 amvdec_write_dos(core, HEVC_CM_HEADER_OFFSET, body_size); in codec_hevc_setup_decode_head()
52 amvdec_write_dos(core, HEVC_CM_HEADER_LENGTH, head_size); in codec_hevc_setup_decode_head()
83 amvdec_write_dos(core, HEVCD_MPP_ANC2AXI_TBL_CMD_ADDR, in codec_hevc_setup_buffers_gxbb()
88 amvdec_write_dos(core, HEVCD_MPP_ANC2AXI_TBL_CMD_ADDR, in codec_hevc_setup_buffers_gxbb()
121 amvdec_write_dos(core, HEVCD_MPP_ANC2AXI_TBL_CONF_ADDR, in codec_hevc_setup_buffers_gxl()
137 amvdec_write_dos(core, HEVCD_MPP_ANC2AXI_TBL_DATA, in codec_hevc_setup_buffers_gxl()
[all …]
H A Dcodec_vp9.c561 amvdec_write_dos(core, HEVC_DBLK_CFGB, in vp9_loop_filter_init()
732 amvdec_write_dos(core, HEVC_DBLK_CFGE, in codec_vp9_setup_workspace()
752 amvdec_write_dos(core, VP9_MMU_MAP_BUFFER, in codec_vp9_setup_workspace()
805 amvdec_write_dos(core, VP9_WAIT_FLAG, 1); in codec_vp9_start()
812 amvdec_write_dos(core, HEVC_PSCALE_CTRL, 0); in codec_vp9_start()
814 amvdec_write_dos(core, NAL_SEARCH_CTL, 0x8); in codec_vp9_start()
816 amvdec_write_dos(core, DECODE_STOP_POS, 0); in codec_vp9_start()
929 amvdec_write_dos(core, HEVC_SAO_Y_LENGTH, in codec_vp9_set_sao()
931 amvdec_write_dos(core, HEVC_SAO_C_LENGTH, in codec_vp9_set_sao()
1004 amvdec_write_dos(core, HEVC_MPRED_MV_WPTR, in codec_vp9_set_mpred_mv()
[all …]
H A Dcodec_h264.c161 amvdec_write_dos(core, AV_SCRATCH_7, buf_idx + 1); in codec_h264_recycle()
163 amvdec_write_dos(core, AV_SCRATCH_8, buf_idx + 1); in codec_h264_recycle()
188 amvdec_write_dos(core, AV_SCRATCH_1, workspace_offset); in codec_h264_start()
190 amvdec_write_dos(core, AV_SCRATCH_I, h264->sei_paddr - in codec_h264_start()
194 amvdec_write_dos(core, AV_SCRATCH_F, in codec_h264_start()
198 amvdec_write_dos(core, MDEC_PIC_DC_THRESH, 0x404038aa); in codec_h264_start()
312 amvdec_write_dos(core, AV_SCRATCH_1, h264->ref_paddr); in codec_h264_resume()
387 amvdec_write_dos(core, AV_SCRATCH_D, 0); in codec_h264_frames_ready()
454 amvdec_write_dos(core, AV_SCRATCH_0, 0); in codec_h264_threaded_isr()
458 amvdec_write_dos(core, AV_SCRATCH_J, 0); in codec_h264_threaded_isr()
[all …]
H A Dvdec_helpers.c23 void amvdec_write_dos(struct amvdec_core *core, u32 reg, u32 val) in amvdec_write_dos() function
27 EXPORT_SYMBOL_GPL(amvdec_write_dos);
31 amvdec_write_dos(core, reg, amvdec_read_dos(core, reg) | val); in amvdec_write_dos_bits()
37 amvdec_write_dos(core, reg, amvdec_read_dos(core, reg) & ~val); in amvdec_clear_dos_bits()
133 amvdec_write_dos(core, reg, in set_canvas_yuv420m()
171 amvdec_write_dos(core, reg, in set_canvas_nv12m()
H A Dvdec_helpers.h24 void amvdec_write_dos(struct amvdec_core *core, u32 reg, u32 val);