Lines Matching full:vpu

3  * Rockchip RK3288 VPU codec driver
28 struct hantro_dev *vpu = ctx->dev; in set_params() local
49 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()
123 vdpu_write_relaxed(vpu, G1_REG_REF_BUF_CTRL2_APF_THRESHOLD(8), in set_params()
130 struct hantro_dev *vpu = ctx->dev; in set_ref() local
135 vdpu_write_relaxed(vpu, ctx->h264_dec.dpb_valid, G1_REG_VALID_REF); in set_ref()
136 vdpu_write_relaxed(vpu, ctx->h264_dec.dpb_longterm, G1_REG_LT_REF); in set_ref()
147 vdpu_write_relaxed(vpu, reg, G1_REG_REF_PIC(i / 2)); in set_ref()
166 vdpu_write_relaxed(vpu, reg, G1_REG_BD_REF_PIC(reg_num++)); in set_ref()
180 vdpu_write_relaxed(vpu, reg, G1_REG_BD_P_REF_PIC); in set_ref()
194 vdpu_write_relaxed(vpu, reg, G1_REG_FWD_PIC(reg_num++)); in set_ref()
201 vdpu_write_relaxed(vpu, dma_addr, G1_REG_ADDR_REF(i)); in set_ref()
209 struct hantro_dev *vpu = ctx->dev; in set_buffers() local
215 vdpu_write_relaxed(vpu, src_dma, G1_REG_ADDR_STR); in set_buffers()
223 vdpu_write_relaxed(vpu, dst_dma + offset, G1_REG_ADDR_DST); in set_buffers()
243 vdpu_write_relaxed(vpu, dst_dma + offset, G1_REG_ADDR_DIR_MV); in set_buffers()
247 vdpu_write_relaxed(vpu, ctx->h264_dec.priv.dma, G1_REG_ADDR_QTABLE); in set_buffers()
252 struct hantro_dev *vpu = ctx->dev; in hantro_g1_h264_dec_run() local
270 vdpu_write_relaxed(vpu, in hantro_g1_h264_dec_run()
281 vdpu_write(vpu, G1_REG_INTERRUPT_DEC_E, G1_REG_INTERRUPT); in hantro_g1_h264_dec_run()