Home
last modified time | relevance | path

Searched refs:vdpu_write_relaxed (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/media/platform/verisilicon/
Dhantro_g1_h264_dec.c49 vdpu_write_relaxed(vpu, reg, G1_REG_DEC_CTRL0); in set_params()
55 vdpu_write_relaxed(vpu, reg, G1_REG_DEC_CTRL1); in set_params()
65 vdpu_write_relaxed(vpu, reg, G1_REG_DEC_CTRL2); in set_params()
71 vdpu_write_relaxed(vpu, reg, G1_REG_DEC_CTRL3); in set_params()
85 vdpu_write_relaxed(vpu, reg, G1_REG_DEC_CTRL4); in set_params()
100 vdpu_write_relaxed(vpu, reg, G1_REG_DEC_CTRL5); in set_params()
107 vdpu_write_relaxed(vpu, reg, G1_REG_DEC_CTRL6); in set_params()
110 vdpu_write_relaxed(vpu, 0, G1_REG_ERR_CONC); in set_params()
113 vdpu_write_relaxed(vpu, in set_params()
120 vdpu_write_relaxed(vpu, 0, G1_REG_REF_BUF_CTRL); in set_params()
[all …]
Drockchip_vpu2_hw_h264_dec.c207 vdpu_write_relaxed(vpu, reg, VDPU_SWREG(50)); in set_params()
211 vdpu_write_relaxed(vpu, reg, VDPU_SWREG(51)); in set_params()
216 vdpu_write_relaxed(vpu, reg, VDPU_SWREG(52)); in set_params()
219 vdpu_write_relaxed(vpu, reg, VDPU_SWREG(53)); in set_params()
227 vdpu_write_relaxed(vpu, reg, VDPU_SWREG(54)); in set_params()
233 vdpu_write_relaxed(vpu, reg, VDPU_SWREG(56)); in set_params()
248 vdpu_write_relaxed(vpu, reg, VDPU_SWREG(57)); in set_params()
253 vdpu_write_relaxed(vpu, reg, VDPU_SWREG(59)); in set_params()
256 vdpu_write_relaxed(vpu, reg, VDPU_SWREG(65)); in set_params()
259 vdpu_write_relaxed(vpu, reg, VDPU_SWREG(109)); in set_params()
[all …]
Drockchip_vpu2_hw_mpeg2_dec.c90 vdpu_write_relaxed(vpu, ctx->mpeg2_dec.qtable.dma, VDPU_REG_QTABLE_BASE); in rockchip_vpu2_mpeg2_dec_set_quantisation()
114 vdpu_write_relaxed(vpu, addr, VDPU_REG_RLC_VLC_BASE); in rockchip_vpu2_mpeg2_dec_set_buffers()
122 vdpu_write_relaxed(vpu, addr, VDPU_REG_DEC_OUT_BASE); in rockchip_vpu2_mpeg2_dec_set_buffers()
136 vdpu_write_relaxed(vpu, forward_addr, VDPU_REG_REFER0_BASE); in rockchip_vpu2_mpeg2_dec_set_buffers()
137 vdpu_write_relaxed(vpu, forward_addr, VDPU_REG_REFER1_BASE); in rockchip_vpu2_mpeg2_dec_set_buffers()
139 vdpu_write_relaxed(vpu, forward_addr, VDPU_REG_REFER0_BASE); in rockchip_vpu2_mpeg2_dec_set_buffers()
140 vdpu_write_relaxed(vpu, current_addr, VDPU_REG_REFER1_BASE); in rockchip_vpu2_mpeg2_dec_set_buffers()
142 vdpu_write_relaxed(vpu, current_addr, VDPU_REG_REFER0_BASE); in rockchip_vpu2_mpeg2_dec_set_buffers()
143 vdpu_write_relaxed(vpu, forward_addr, VDPU_REG_REFER1_BASE); in rockchip_vpu2_mpeg2_dec_set_buffers()
147 vdpu_write_relaxed(vpu, backward_addr, VDPU_REG_REFER2_BASE); in rockchip_vpu2_mpeg2_dec_set_buffers()
[all …]
Dhantro_g1_mpeg2_dec.c88 vdpu_write_relaxed(vpu, ctx->mpeg2_dec.qtable.dma, G1_REG_QTABLE_BASE); in hantro_g1_mpeg2_dec_set_quantisation()
111 vdpu_write_relaxed(vpu, addr, G1_REG_RLC_VLC_BASE); in hantro_g1_mpeg2_dec_set_buffers()
119 vdpu_write_relaxed(vpu, addr, G1_REG_DEC_OUT_BASE); in hantro_g1_mpeg2_dec_set_buffers()
133 vdpu_write_relaxed(vpu, forward_addr, G1_REG_REFER0_BASE); in hantro_g1_mpeg2_dec_set_buffers()
134 vdpu_write_relaxed(vpu, forward_addr, G1_REG_REFER1_BASE); in hantro_g1_mpeg2_dec_set_buffers()
136 vdpu_write_relaxed(vpu, forward_addr, G1_REG_REFER0_BASE); in hantro_g1_mpeg2_dec_set_buffers()
137 vdpu_write_relaxed(vpu, current_addr, G1_REG_REFER1_BASE); in hantro_g1_mpeg2_dec_set_buffers()
139 vdpu_write_relaxed(vpu, current_addr, G1_REG_REFER0_BASE); in hantro_g1_mpeg2_dec_set_buffers()
140 vdpu_write_relaxed(vpu, forward_addr, G1_REG_REFER1_BASE); in hantro_g1_mpeg2_dec_set_buffers()
144 vdpu_write_relaxed(vpu, backward_addr, G1_REG_REFER2_BASE); in hantro_g1_mpeg2_dec_set_buffers()
[all …]
Dhantro_g1_vp8_dec.c161 vdpu_write_relaxed(vpu, reg, G1_REG_REF_PIC(0)); in cfg_lf()
269 vdpu_write_relaxed(vpu, (mb_offset_bytes & (~DEC_8190_ALIGN_MASK)) in cfg_parts()
306 vdpu_write_relaxed(vpu, in cfg_parts()
383 vdpu_write_relaxed(vpu, ref, G1_REG_ADDR_REF(0)); in cfg_ref()
393 vdpu_write_relaxed(vpu, ref, G1_REG_ADDR_REF(4)); in cfg_ref()
403 vdpu_write_relaxed(vpu, ref, G1_REG_ADDR_REF(5)); in cfg_ref()
416 vdpu_write_relaxed(vpu, ctx->vp8_dec.prob_tbl.dma, in cfg_buffers()
426 vdpu_write_relaxed(vpu, reg, G1_REG_FWD_PIC(0)); in cfg_buffers()
429 vdpu_write_relaxed(vpu, dst_dma, G1_REG_ADDR_DST); in cfg_buffers()
464 vdpu_write_relaxed(vpu, reg, G1_REG_CONFIG); in hantro_g1_vp8_dec_run()
[all …]
Drockchip_vpu2_hw_vp8_dec.c302 vdpu_write_relaxed(vpu, reg, VDPU_REG_FILTER_MB_ADJ); in cfg_lf()
381 vdpu_write_relaxed(vpu, (mb_offset_bytes & (~DEC_8190_ALIGN_MASK)) + in cfg_parts()
459 vdpu_write_relaxed(vpu, ref, VDPU_REG_VP8_ADDR_REF0); in cfg_ref()
469 vdpu_write_relaxed(vpu, ref, VDPU_REG_VP8_ADDR_REF2_5(2)); in cfg_ref()
479 vdpu_write_relaxed(vpu, ref, VDPU_REG_VP8_ADDR_REF2_5(3)); in cfg_ref()
492 vdpu_write_relaxed(vpu, ctx->vp8_dec.prob_tbl.dma, in cfg_buffers()
502 vdpu_write_relaxed(vpu, reg, VDPU_REG_VP8_SEGMENT_VAL); in cfg_buffers()
506 vdpu_write_relaxed(vpu, dst_dma, VDPU_REG_ADDR_DST); in cfg_buffers()
545 vdpu_write_relaxed(vpu, reg, VDPU_REG_EN_FLAGS); in rockchip_vpu2_vp8_dec_run()
553 vdpu_write_relaxed(vpu, reg, VDPU_REG_DATA_ENDIAN); in rockchip_vpu2_vp8_dec_run()
[all …]
Dhantro.h392 static inline void vdpu_write_relaxed(struct hantro_dev *vpu, in vdpu_write_relaxed() function
436 vdpu_write_relaxed(vpu, vdpu_read_mask(vpu, reg, val), reg->base); in hantro_reg_write()